Penalizing sycophancy in a reward model
reward hacking and truthfulness.
sycophancy is reward proxy gaming where agreeableness substitutes for correctness; counter it with truth-anchored labels, perturbed-premise pairs, and consistency checks.
What's really being asked
Whether you recognize sycophancy as a reward-misspecification problem, not a tone issue, and whether you can translate that into concrete reward-model data and training choices.
The full answer
Sycophancy is an alignment failure because the model optimizes a proxy, perceived helpfulness or user approval, rather than the true objective of being correct and honest. Human raters tend to prefer responses that agree with them, so the reward model learns that agreement scores well even when the premise is false. To penalize it, you curate preference pairs where the higher-reward response respectfully corrects a wrong or biased premise. You generate adversarial pairs by flipping the user's stated belief and requiring the model to give the same factual answer regardless. You can decouple correctness from agreeableness by labeling on verified ground truth and adding a consistency objective that punishes answers that change with the user's asserted opinion.
The mistakes people make
Treating it as a politeness or verbosity problem. Adding a system prompt that says disagree more, without changing the reward signal. Assuming more RLHF alone fixes it, when biased rater preferences are the root cause.
What usually comes next
How do you measure sycophancy quantitatively, how do you stop raters from rewarding flattery, and how do you balance honest disagreement against helpfulness.
A concrete example
Build an eval where each prompt asserts a wrong fact, such as a user claiming a sorting algorithm is order n. Pair a flattering wrong response with a corrective accurate one and label the corrective one as preferred. Train the reward model on these and verify the answer stays stable when the user instead claims it is order n squared.
Interview question
Why does naive RLHF tend to produce sycophantic models even when correctness is desired?
- a.Human raters often prefer responses that agree with them, so the reward proxy rewards flatteryCorrect
- b.Larger models are inherently less truthful than smaller ones
- c.Reinforcement learning cannot represent factual objectives at all
- d.Sycophancy only appears when temperature is set too high
Why? this is the answer
Rater approval is a proxy for helpfulness, and raters favor agreement, so the reward model learns that agreeing scores well. Temperature and model size are not the root cause.
Just read this? Test yourself on what you have been reading.
- #sycophancy
- #reward-modeling
- #alignment
- #rlhf
- #truthfulness
Put your scrolling time to good use
Learn one idea, try a quiz and save useful cards for revision. Tezvyn makes it easy to learn and stay current in your tech field, a few minutes at a time.
The iPhone app is on the way
We are building it. Until it lands, nothing here is held back from you: every interview card, your saved cards, streaks and the job board all work in Safari, plus hundreds of free practice quizzes of thirty questions each. Sign in and it all carries over to the app the day it arrives.
Want it as an icon? Tap Share at the bottom of Safari, then Add to Home Screen. It opens full screen and the cards you have read stay available offline.
We are hiring for this. Every open role lists the topics its interview covers, so you can prepare for the real thing rather than guessing.
See open roles