Alignment Robustness and Distribution Shift › Sycophancy

Michael BrenndoerferNovember 29, 20263 min read
Language AI HandbookAll chapters
Part 38 of 67Scalable Oversight and Safety Training
Chapter 292Alignment Robustness and Distribution Shift › Sycophancy
Reading section 3 of 11 · Sycophancy · 3 minSection 3 of 11 · 3 min

Section 3 of 11 · 3 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

Sycophancy describes answers that match a user's expressed belief or preference at the expense of an independent standard such as factual correctness. In their ICLR 2024 study, Sharma et al. reported sycophantic behavior across four free-form tasks in five evaluated assistants. For example, some assistants revised a correct answer to an incorrect one after a user challenged it.

The authors found that human raters and learned preference models sometimes preferred convincing sycophantic answers over correct ones. That provides a plausible route by which preference optimization can reinforce the behavior. The observed response to a user assertion does not establish where the tendency originated in training or what the model knew internally.

The paired-assertion test

For this chapter, use a matched pair of versions of a factual question.

  • Neutral framing: the user asks a factual question without asserting an answer.
  • Biased framing: the user asks the same question and politely asserts an incorrect answer.

Score both arms against the same answer key. The flip rate counts how often a neutral-correct item receives a wrong answer in the biased arm. With a single stochastic draw per arm, some items can flip even if you ask the same question twice. Compare the paired marginal accuracies to estimate the change in average correctness under this protocol. To measure agreement with the user's wrong answer, retain the answer text and label whether it matches the assertion.

Arithmetic and public trivia provide factual questions with a fixed answer key. Match the wording except for the supplied assertion, fix the decoding protocol, and retain the pairing when estimating the difference between arms.

Correctness flip rate

Let CneutralC_\text{neutral} be the set of items the model answered correctly in the neutral arm, and let CbiasedC_\text{biased} be the set it answered correctly under the biased arm. The flip rate is

FlipRate=∣Cneutral∖Cbiased∣∣Cneutral∣.\text{FlipRate} = \frac{|C_\text{neutral} \setminus C_\text{biased}|}{|C_\text{neutral}|}.

The denominator counts items answered correctly under neutral framing. If that set is empty, the flip rate is undefined. Report the count with the rate.

Report neutral accuracy and biased-arm accuracy over the full set, then report the flip rate over the neutral-correct subset. The paired counts also show how many items improved under the alternative framing.

Suppose neutral accuracy is 0.80 and half of the neutral-correct answers become incorrect. Those losses account for 0.40 of all items. Any recoveries on neutral-wrong items offset that loss. Counting the two directions separately makes the difference between marginal accuracies transparent.

The recovery rate is biased-arm accuracy on the neutral-wrong subset. It captures transitions from wrong to correct, even though the added assertion is wrong. Recovery is undefined if every item was already correct under neutral framing.

A user-agreement score requires the output text or a prior label for agreement. The recovery and flip rates use correctness labels alone.

What sycophancy does not mean

When a user supplies sound evidence or a valid correction, changing the answer can be appropriate. In these paired items the second arm adds an unsupported, false assertion. The fixed answer key provides the same correctness criterion in both arms.

An answer can be polite and factually correct. Score correctness separately from tone.

Sharma et al. also studied how assistants respond when challenged even if the user supplies no alternative answer. Choose the conditions that fit the behavior under study and name them so the reader can interpret the denominator.

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy