Model and Inference EngineeringPost-training and alignmentStaff
How would you tell whether a reward model values useful detail or merely longer answers?
By Amit Kumar3 min readWorked answer includedReviewed 28 Sept 2026
The question
Interview question
A reward model trained on human preference pairs assigns higher scores to longer replies. Optimizing it makes a policy add paragraphs to simple questions. Explain the confounding in the labels, design controlled comparisons that separate completeness from padding, and assess data repairs or a token penalty without rewarding terse but incomplete answers.
Draft your approach first
Take a few minutes before you read the answer. Name the constraint that matters most, the failure you are designing for and how you would know it worked.
Reveal the worked answerWorked answer
The pairwise labels do not isolate why a response won. Suppose chosen answers were longer because they included the missing correct step, while rejected answers were shorter because they skipped it. A reward model can learn the underlying usefulness, the length correlation, or both. Once a policy optimizes that model, it can add words without adding the missing step. The training comparison still looks satisfied to the proxy. Work on reward-model length bias studies this issue directly. It does not mean every preference for a longer answer is mistaken.
I would audit the pair construction. Plot length difference and choice rate by task, difficulty, response source and annotator instruction. Read pairs in which the longer response is plainly worse, and pairs where its extra detail is necessary. Look for boilerplate, repeated caveats and formatting that correlate with the chosen label. If nearly all pairs place a good long answer against a bad short answer, the data provide little evidence about length independent of quality. A reward model cannot learn a clean distinction from a confounded experiment by wishing hard enough.
Build controlled tests that hold factual content and task success fixed while changing length. For a straightforward question, compare a correct two-sentence answer with a padded version that repeats itself. Also compare a short but incomplete answer with a longer one that supplies a necessary condition. Have blinded humans judge usefulness and correctness in both directions, with varied response order. Check how reward difference changes with length when correctness is fixed, and how it changes with correctness when length is matched. Slices matter. A detailed debugging answer may legitimately need 600 words while a yes-or-no fact does not.
I would also measure policy outputs, not just reward-model classification accuracy on held-out pairs from the same collection process. Count redundant tokens, omitted required details, correct outcomes, human preference and cost on fresh prompts. If the model wins on the old pair distribution but loses with real users who needed a crisp answer, the release decision is straightforward. We can improve data with length-balanced comparisons, better annotator guidance and adversarial pairs, or calibrate the reward under an independently checked quality target. Any correction needs testing for the opposite mistake of rewarding terse but incomplete replies.
The interviewer might propose subtracting 0.01 × tokens from every reward. That can be a useful cost or style term if chosen deliberately. It is not a universal debiasing formula. Different tasks have different minimum explanation lengths, and the reward scale may change across model versions. I would first identify whether the bias came from labels, reward-model representation, or policy overoptimization, then tune against a held-out human and task evaluation. A rising reward is not enough evidence that the extra words helped anyone.
Related questions
Keep practising model and inference engineering
Follow another question in this area, or search the complete library.
Get my essays on AI engineering and distributed systems by email. Subscribe to ArchCrux