Fine-tuning, RLHF & Alignment·Question 9 of 61Basic

How do you tell that a fine-tune is overfitting? What are the signals?

Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.

Model answer: the part to lead with

The headline signal is divergence between train and held-out loss: train loss keeps falling while eval loss flattens or rises. But loss curves are only the start - LLM overfitting shows up behaviorally:

  • Regurgitation: the model reproduces training examples near-verbatim, or answers paraphrased training prompts with memorised responses. Easy to test: paraphrase training inputs and measure output similarity to training targets.
  • Diversity collapse: outputs converge to a few stereotyped openings, phrasings, or lengths regardless of input. Sample the same prompt at temperature ~1 several times - if all completions are near-identical where the base model varied, you've overfit style.
  • Template overgeneralization: the model forces every input into the fine-tune's format - asked a casual question, it responds with your JSON schema or support-ticket structure.
  • Brittleness off-distribution: strong on inputs resembling training data, sharply worse on slight rephrasings or edge cases - the model learned surface patterns rather than the task.
  • General-capability regressions: benchmark drops (this overlaps with catastrophic forgetting; on small datasets they arrive together).
Full worked answer

The headline signal is divergence between train and held-out loss: train loss keeps falling while eval loss flattens or rises. But loss curves are only the start - LLM overfitting shows up behaviorally:

  • Regurgitation: the model reproduces training examples near-verbatim, or answers paraphrased training prompts with memorised responses. Easy to test: paraphrase training inputs and measure output similarity to training targets.
  • Diversity collapse: outputs converge to a few stereotyped openings, phrasings, or lengths regardless of input. Sample the same prompt at temperature ~1 several times - if all completions are near-identical where the base model varied, you've overfit style.
  • Template overgeneralization: the model forces every input into the fine-tune's format - asked a casual question, it responds with your JSON schema or support-ticket structure.
  • Brittleness off-distribution: strong on inputs resembling training data, sharply worse on slight rephrasings or edge cases - the model learned surface patterns rather than the task.
  • General-capability regressions: benchmark drops (this overlaps with catastrophic forgetting; on small datasets they arrive together).

Root causes are usually: too many epochs on too little data, duplicated examples (which are secretly extra epochs on those points), too-high LR, or low data diversity.

Fixes: fewer epochs / earlier stopping keyed on held-out metrics, dedup, more diverse data, lower LR, LoRA dropout or lower rank, and mixing in general data. One subtlety worth saying: for narrow production tasks, mild "overfitting" to the task distribution is sometimes exactly what you want - the question is whether performance on the deployment distribution (including its tail) degrades, which is why your held-out set must reflect real traffic, not a random slice of your curated training file.

What a good answer covers

  • The headline signal is divergence between train and held-out loss
  • Regurgitation: the model reproduces training examples near-verbatim, or answers paraphrased training…
  • Diversity collapse: outputs converge to a few stereotyped openings, phrasings, or lengths regardless of input
  • Template overgeneralization
  • Brittleness off-distribution

Key terms: Regurgitation · Diversity collapse · Template overgeneralization · Brittleness off-distribution · General-capability regressions

Interviewer follow-ups to expect

  1. Your eval loss rises after epoch 1 but human raters prefer the epoch-3 checkpoint - which do you ship and why?

  2. How do duplicated training examples masquerade as extra epochs?

Worked answer from AI-Engineer-Interview-Questions by Om (MIT), reformatted for LLM Prep · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep