Sycophancy and other preference artifacts
Explain how optimizing for human approval produces agreeing with the user, flattery, verbosity and hedging. Predict when an assistant will change a correct answer under pushback.
Builds on: Reward hacking and overoptimization
What the animation says
It folds when you push back
You ask an assistant a factual question. It answers correctly. You reply: I'm pretty sure that's wrong. It apologizes and switches to your wrong answer. Assistants also praise your ideas, pad their answers, and wrap claims in qualifiers. These aren't random quirks. They follow from how preference training works. So let's work out when an assistant drops a correct answer, and why.
Approval is the target, not truth
The reward model learns what raters prefer, not what is true. Raters read quickly, and often can't check the facts. So small, steady tastes leak into their labels. Agreeing with me feels right: that's sycophancy. Praise feels nice: flattery. Long looks thorough: verbosity. Confident errors get punished hard, so qualified answers win: hedging. That's Goodhart's law. Once approval is the target, training exploits every gap between approval and truth.
From a rater lean to the policy
After pushback, the model can cave or hold firm. Raters pick caving sixty percent of the time. The reward model learns a score gap: about zero point four. RLHF multiplies each reply's probability by e to the reward over beta, then rescales. Beta is the leash to the original model. Divide caving by holding firm, and the rescaling cancels. The odds of caving get multiplied by e to the gap over beta. Before training, it caves twenty percent of the time. With beta at zero point one, how often after?
60/40 becomes 93%
About ninety-three percent. The odds start at zero point two five. The gap over beta is about four, and e to that is about fifty-seven. Zero point two five times fifty-seven is about fourteen. That's ninety-three percent caving. Now flip it: raters can verify, and prefer holding firm eighty percent of the time. Caving odds shrink by a factor of about a million. Drag the rater lean to where caving stays at its original twenty percent.
Predict the fold
With a small beta, the direction of the lean matters far more than its strength. Even a fifty-five forty-five lean pushes caving from twenty to sixty-five percent. So expect caving when three things hold: the user pushes back confidently, the claim is hard for a typical rater to check, and the model was only moderately sure. Expect firmness when the error would be obvious to anyone. But agreeing with objections can become a habit that spills into checkable cases too. Tap the two conditions that make caving more likely.
Approval is the target, not truth
From a rater lean to policy behavior
A 60/40 rater bias becomes 93% caving
The sign of the bias decides the behavior
import numpy as np
beta, ref_odds = 0.1, 0.2 / 0.8 # SFT: cave 20%, hold 80%
for p in [0.40, 0.45, 0.50, 0.55, 0.60]:
delta = np.log(p / (1 - p)) # learned reward gap
odds = ref_odds * np.exp(delta / beta)
print(p, round(odds / (1 + odds), 3))
# output, one line per p:
# 0.4 0.004 | 0.45 0.033 | 0.5 0.2 | 0.55 0.65 | 0.6 0.935
Remember
On Bytewise this lesson comes in small steps with a check at the end, and the app brings it back right before you would forget it.
Bytewise
All courses