# Towards Understanding Sycophancy in Language Models

**TL;DR: **We show sycophancy is a general behavior of RLHF’ed AI assistants in varied, free-form text-generation settings, extending previous results. Our experiments suggest these behaviors are likely driven in part by imperfections in human preferences–both humans and preference models sometimes prefer convincingly-written sycophantic responses over truthful ones. This provides empirical evidence that we will need scalable oversight approaches.

*Tweet thread summary:* [*link*](https://twitter.com/AnthropicAI/status/1716529993281601798)

Summary of Paper
================

It has been hypothesized that using human feedback to align AI could lead to systems that exploit flaws in human ratings.[^0a4ktd6g4bh] Meanwhile others have empirically found that language models repeat back incorrect human views,[^n2il54kh7o] which is known as sycophancy.[^hnipjetlaaj] But these evaluations are mostly proof-of-concept demonstrations where users introduce themselves as having a particular view. And although these existing empirical results match the theoretical concerns, it isn’t clear whether they are actually caused by issues with human feedback. We decided to investigate these questions more thoroughly. In other words, is sycophancy actually a problem in AI assistants? And what is the role played by human preference judgments in sycophancy?

We first found that sycophancy is a general behavior of RLHF-trained conversational models. Across Anthropic, OpenAI, and Meta assistants, we found clear sycophancy in varied, free-form text tasks: models wrongly admitted mistakes, gave biased feedback, and mimicked user errors. The consistency might indicate a link to RLHF training more broadly, rather than model-specific factors.

![](https://lh7-us.googleusercontent.com/6R-oa2JLsXVISCKdD0ox4VVQmMLLwPqfuLdQW74fyKQcHMxpj0uc7h4Hy0X4ui1iFjukq0STI1vG3BlnpYBHApyByDweLEXx6joEXr17rSIJJ-0hUuyVUn_gjkyofOI3bTmwPCHHeP6HOALL6qal524)![](https://lh7-us.googleusercontent.com/CrhVTuYoE7quR2mvQqp3FXWinyvqhmpMOKshBI_7Mr7PdQYjLCL20Gt8eLvfnI7o51beu1mnoa4NeWC8LaS0VwD6T8LOddf5MXkAXXjV_erVXNY6GncrVKxpmoGKGayNbesfG0Xob2Ze2Jt1QjYZPfc)

![](https://lh7-us.googleusercontent.com/FPW5UmbWATCTgtiqEhmZGxVr_7riQbx6xxJVpz9gZc305dsaeOsWTpQvn1gS55gC34RCmAKpYMxp5m_xCOklJTHyJwnhF-D8jw7wSITvSJa8S8Upl7_PYpHrg6vZRvOo0ZUw4hPD77KEIOUPWyrEYJ4)

We also release our evaluation datasets at [https://github.com/meg-tong/sycophancy-eval.](https://github.com/meg-tong/sycophancy-eval.) We believe they measure more realistic forms of sycophancy than existing datasets.

We then investigated whether human preference judgements play a role in this broadly observed behavior. Analyzing Anthropic's released helpfulness preference data, we found "matching user beliefs and biases" was highly predictive of human judgments. However, other factors, such as a response being truthful or assertive, are also predictive of human preferences.

![](https://lh7-us.googleusercontent.com/IyrBFLyamzBP8-p0kop_TceP0F6x-lbU7H4xlv6GPVnFKyL-wcQ-nC2bjeXQVucQ3j3nire0kN4KN1ZuArRMN7BOJr20iXtqyHHf90iLGelvsW3qWnvm7PAZQEZS_oFth4yQb1iF8AdQ_3CsU8VoO8o)

We looked at the behavior of humans and preference models (PMs) in a specific setting—distinguishing between seemingly correct but incorrect sycophantic responses to user-stated misconceptions, and truthful responses to those misconceptions. We collected human data, and found independent humans sometimes preferred convincing sycophantic responses over correct ones for challenging common misconceptions. As misconceptions became more challenging, humans further struggled to tell apart sycophantic and truthful responses. This behavior also showed up in the Claude 2 PM.

![](https://lh7-us.googleusercontent.com/8QX6F3UClhmV7bh5AmoW7-_JCNwKSwsFD1mJB1-TaVL-zHnn_N02gLJtZfh7ythf9KCNCB9BgI8TrAJUijsm9AxPqTbcT1Zvue-rC7o9LJb8Az3fdbNX28BmgvNGI5ra7vQeUs8IIxrU2Tpi0gnN-hE)

We then looked at whether sycophancy increases or decreases when optimizing against the PM used to train Claude 2. When optimizing the Claude 2 PM using best-of-N sampling, we found feedback sycophancy increases, but surprisingly other forms decrease. However, when compared to an improved “non-sycophantic” PM,[^im1teg6bsg] we see that Claude 2 PM sometimes sacrifices truthfulness in favor of sycophancy. That is, the Claude 2 PM sometimes picks sycophantic responses in favor of truthful ones. This suggests the PM is, to some extent, modeling the flaws in human judgments.

![](https://lh7-us.googleusercontent.com/7Aw4fkFK7j8v11ftCStqW0Euwr3GV86gmr6bOMhoCtiFPTmGwUgdLcqDCctqwXofl6AqCCSAR5O0SvsgbranYEL1bAQgSELPhr68rJalyqj4zg4m1t1L4H5PNxvfEH8rc-RZ5T0-S1thsQAv0JXZo9s)

We also found some forms of sycophancy increased when training Claude 2 throughout RLHF training. However, not all forms of sycophancy increased, and the model was sycophantic even at the start of RLHF training. 

![](https://lh7-us.googleusercontent.com/pCPdvQZvBBbvL1hyT2HxXRNyicXmiY6gC0OoglazgHGMUt44Ukd958YTQ7BA_s7dDeH2BF1DEOc1jky3NRhUQBBzpcCFAKuL56hhOIMk0ZQaDfS80UY-AMbcA2MnLAYdMBpDI1g5lgHpKKV3Mc9BU_0)

Overall, our analysis suggests human judgment plays some role in the observed sycophancy of RLHF-trained AI assistants. But much remains unclear—there are cases where optimizing against the PM reduces sycophancy, and the model that we used was sycophantic even at the start of RLHF training. This suggests other factors, such as pretraining and supervised learning before RLHF, likely also contribute.

**Conclusions and Future Work**
===============================

Our work provides some suggestive empirical evidence that scalable oversight techniques, which go beyond using non-expert human feedback, may be necessary to align AI. We show both that sycophancy shows up in practice in a variety of settings and that human feedback plays a role, as some have hypothesized. We show that preference models can pick up on imperfections in human preferences, which can then get learned by models during RLHF. Optimizing against these PMs could thus lead to unwanted or unsafe behavior.[^xivih3l3odg] However, the reality is not as clean as the theory, and it seems that other factors also play a role.

Our team at Anthropic is actively hiring, so if you’re interested in working on the above directions with us, please apply to the [research scientist](https://jobs.lever.co/Anthropic/eb9e6d83-626c-4f59-8a0e-fa7c413b2014) or [research engineer](https://jobs.lever.co/Anthropic/436ca148-6440-460f-b2a2-3334d9b142a5) roles at Anthropic and mention your interest in alignment!

[^0a4ktd6g4bh]: E.g., https://www.cold-takes.com/why-ai-alignment-could-be-hard-with-modern-deep-learning/ 

[^n2il54kh7o]: E.g., "Discovering language model behaviors with model-written evaluations"; Perez et al. 2022. "Simple synthetic data reduces sycophancy in large language models"; Jerry Wei, et al. 

[^hnipjetlaaj]: Cotra refers to such models as "sycophants" - they seem high-performing by seeking short-term human approval in ways that aren’t beneficial long-term. For example, using human feedback to get reliable code could just produce models that generate bugs humans can't detect. It could also yield models that agree with users rather than correcting factual mistakes. 

[^im1teg6bsg]: This is actually the Claude 2 PM prompted explicitly to be less sycophantic. To do so, we prepend text to the human-assistant conversation seen by the PM where the user explicitly asks for the most truthful answer. 

[^xivih3l3odg]: The failure modes we identify are not in and of themselves dangerous, but some researchers have hypothesized that this approach could exploit flaws or biases in human ratings, producing behavior that appears good on the surface but is actually problematic.