Topic 5 of 5 · 5 min read
Sycophancy and refusals from post-training
Goal: Trace an assistant behaviour such as flattery, over-refusal or padding back to post-training and adjust the request to counter it.
Many odd assistant habits, such as flattery, needless refusals, padding and a fixed house style, are side effects of what post-training rewarded. Knowing the cause tells you how to ask around them.
Check yourself · 1 of 3
Why do many assistants tend to agree with users and praise their work?
Why it matters
You may have seen an assistant call a weak plan "excellent", back down when you pushed back, refuse a harmless request or write three paragraphs where one would do. These are not personality. They are patterns that earned reward in training. Research on sycophancy (2023) found that models tuned on human preferences often match the user's views, and that preference data itself can favour agreeable answers.
Where each habit comes from
- Flattery and agreeing. Raters tend to like answers that agree with them and praise their work. The model learns that agreement scores well.
- Over-refusal. Refusals were rewarded when a request looked risky. The model can learn surface cues, so it refuses a question about "killing a process" in a program.
- Padding. Longer answers often won ties. Models add summaries, caveats and restated questions.
- House style. SFT demonstrators and raters shared habits, so you see the same openers, lists and tidy closing lines everywhere.
How to counter it
- Ask for the downside. "List the three biggest weaknesses of this plan" gets more than "What do you think?"
- Hide your preference. Present two options neutrally instead of saying which you like.
- Give context for borderline asks. State why you need it and what the legitimate use is.
- Set the format. "Answer in two sentences, no preamble."
- Ask for evidence. "What would change your mind?" gives more than a firm answer.
Before and after
Weak: "I think we should rewrite the whole app in a new framework. Great idea, right?" The model agrees and lists benefits.
Fixed: "We are weighing a rewrite against fixing the three slow pages. Give the strongest case for each, then say what facts would decide it." The reply covers both sides.
What goes wrong
- Taking agreement as evidence. If the model always agrees, its agreement says little.
- Arguing with a refusal. Pushing harder rarely helps. Rewrite the request with honest context.
- Blaming the model for style. The fix is usually one line in your prompt.
Examples
Removing the flattery
You paste a business plan and ask "Is this good?" The reply opens with praise. Try: "Act as a sceptical investor. Give the three weakest assumptions and the evidence that would test each. Do not praise." The change in framing gives the model permission to disagree.
A harmless request refused
A developer asks how to kill all child processes of a script and gets a refusal. Adding "this is a Linux shell script that manages worker processes" gives the context that the words are about software. The model can now read the request as it was meant.
Key points
- Flattery, over-refusal and padding are patterns that earned reward in training, not personality.
- Models tuned on human preferences often agree with the user and can drop a correct answer under pushback.
- Over-refusal can come from surface cues, where a harmless request looks like a risky one.
- Asking for weaknesses, hiding your own preference and setting the format counter most of these habits.
- Honest context works better than arguing with a refusal or repeating it.
Common mistakes
- Treating the assistant's praise or agreement as an independent opinion.
- Pushing back with "are you sure?" and trusting the new answer more than the first.
- Retrying a refused request with identical words.
- Assuming a long answer is a more thorough one.
Check yourself · 2 of 3
You ask an assistant "Is my plan good?" and get only praise. Which rewrite of the request works best?
Check yourself · 3 of 3
An assistant refuses a harmless question about "killing a process" in Linux. What is the best next step?
Practice items, not counted towards your mastery.
Start here
- Training language models to follow instructions with human feedback (InstructGPT) (opens in a new tab)PaperFree
The 2022 OpenAI paper that describes the supervised, ranking and RL steps, and reports a 1.3B tuned model preferred over the 175B base model.
- RLHF Book (Nathan Lambert) (opens in a new tab)BookFree
A free book that walks through instruction tuning, reward models, DPO and RL on verifiable rewards in order.
- Direct Preference Optimization: Your Language Model is Secretly a Reward Model (opens in a new tab)PaperFree
Shows how preference pairs can train a model directly, without a separate reward model or RL loop.
More for this topic
- Towards Understanding Sycophancy in Language Models (opens in a new tab)PaperFree
Evidence that models trained on human preferences often agree with the user, and that preference data can reward it.