MMR chooses the next candidate s * such that (3) where λ is a hyper-parameter balancing these two aspects.
the fine-grained selection improves the diversity and retains the quality of subsequences at each time of decoding, so the generated replies are of good quality and diversity.