Linear Probe Penalties Reduce LLM Sycophancy

Henry Papadatos, Rachel Freedman
12/1/2024
cs.AI

No confident code implementation found for this paper.

Abstract

Large language models (LLMs) are often sycophantic, prioritizing agreement with their users over accurate or objective statements. This problematic behavior becomes more pronounced during reinforcement learning from human feedback (RLHF), an LLM fine-tuning stage intended to align model outputs with human values. Instead of increasing accuracy and reliability, the reward model learned from RLHF often rewards sycophancy. We develop a linear probing method to identify and penalize markers of sycophancy within the reward model, producing rewards that discourage sycophantic behavior. Our experiments show that constructing and optimizing against this surrogate reward function reduces sycophantic behavior in multiple open-source LLMs. Our results suggest a generalizable methodology for reducing unwanted LLM behaviors that are not sufficiently disincentivized by RLHF fine-tuning.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{papadatos2024linear,
  title  = {Linear Probe Penalties Reduce LLM Sycophancy},
  author = {Henry Papadatos and Rachel Freedman},
  year   = {2024},
  eprint = {2412.00967},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.00967v1}
}

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/2412.00967.svg)](https://codeofpaper.com/paper/2412.00967)

Discussion