Towards Understanding Sycophancy in Language Models

Mrinank Sharma, Meg Tong, Tomasz Korbak, D. Duvenaud, Amanda Askell +14 more
10/1/2023

No official code found. Best implementation: meg-tong/sycophancy-eval (129 stars, last commit 2023-10-25).

Abstract

Human feedback is commonly utilized to finetune AI assistants. But human feedback may also encourage model responses that match user beliefs over truthful ones, a behaviour known as sycophancy. We investigate the prevalence of sycophancy in models whose finetuning procedure made use of human feedback, and the potential role of human preference judgments in such behavior. We first demonstrate that five state-of-the-art AI assistants consistently exhibit sycophancy across four varied free-form text-generation tasks. To understand if human preferences drive this broadly observed behavior, we analyze existing human preference data. We find that when a response matches a user's views, it is more likely to be preferred. Moreover, both humans and preference models (PMs) prefer convincingly-written sycophantic responses over correct ones a non-negligible fraction of the time. Optimizing model outputs against PMs also sometimes sacrifices truthfulness in favor of sycophancy. Overall, our results indicate that sycophancy is a general behavior of state-of-the-art AI assistants, likely driven in part by human preference judgments favoring sycophantic responses.

View on arXivView PDF

Code Implementations(1)

datasets from the paper "Towards Understanding Sycophancy in Language Models"

12913Python, Jupyter NotebookSep 30, 20232 years ago

Similar Papers

Cite this paper

@article{sharma2023towards,
  title  = {Towards Understanding Sycophancy in Language Models},
  author = {Mrinank Sharma and Meg Tong and Tomasz Korbak and D. Duvenaud and Amanda Askell and Samuel R. Bowman and Newton Cheng and Esin Durmus and Zac Hatfield-Dodds and Scott Johnston and Shauna Kravec and Tim Maxwell and Sam McCandlish and Kamal Ndousse and Oliver Rausch and Nicholas Schiefer and Da Yan and Miranda Zhang and Ethan Perez},
  year   = {2023},
  eprint = {2310.13548},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2310.13548},
  journal = {ICLR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.13548.svg)](https://codeofpaper.com/paper/2310.13548)

Discussion