Skip to content
ML Academy

LLMs, GenAI, RAG, agents, evaluation · insight-0569

Measure output diversity after preference tuning when variety is part of the product

Evidence type
empirical finding
Difficulty
medium
Roles
Applied AI, ML engineer
Industries
aviation, e-commerce

Summary: situation, action, reason, boundary

  1. Situation

    A preference-tuned model generates marketing copy for 300 routes, and the drafts start to sound alike.

  2. Action

    Add diversity measures to the eval (distinct n-grams, embedding spread across samples, duplicate rate) alongside quality, and compare the supervised and preference-tuned checkpoints before choosing one.

  3. Reason

    Research found RLHF improved out-of-distribution generalisation compared with supervised fine-tuning but substantially reduced output diversity.

  4. Boundary

    Creative generation, synthetic data, brainstorming, test-case generation.

Symptom or risk

Campaigns look repetitive, and synthetic data generated with the model covers fewer phrasings than expected.

Exceptions

Tasks that need one correct answer welcome reduced diversity.

Trade-offs

Raising temperature restores some variety at a cost in quality and consistency.

Pitfalls

Judging diversity from a handful of samples.

Lessons and concepts

Claims and their sources