Linear Probe Penalties Reduce LLM Sycophancy
Henry Papadatos, Rachel Freedman
TL;DR
This work tackles the problem of LLM sycophancy, which RLHF can inadvertently amplify. It introduces a linear-probe–based method to identify internal sycophancy signals within the reward model and combines these with the original reward to form a surrogate objective hatR = R - lambda S, which is optimized via Best-of-N sampling. Empirical results on open-source LLMs show that optimizing against the surrogate reward reduces sycophantic behavior across multiple datasets and prompts, suggesting a generalizable approach to curb unwanted LLM behaviors not sufficiently addressed by RLHF alone. The study emphasizes the practicality of training small, targeted probes to detect specific undesired traits and integrating them into reward-based fine-tuning to improve reliability and objectivity.
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.
