Manuscript Offprint

arXiv:2608.25267

Mitigating LLM sycophancy with RL-based fine-tuning: Bayesian Truth Serum approach

Serhii Mytsyk, Yiming Zhang, Vikram Krishnamurthy

Abstract

Large language models (LLMs) frequently exhibit sycophancy: they adapt their answers to a user's stated beliefs or preferences instead of reporting what they hold to be true, which lowers factual accuracy and can amplify misinformation. This paper proposes a methodology for mitigating sycophancy that employs the Bayesian Truth Serum (BTS), a peer-prediction mechanism, as the reward in Group Relative Policy Optimization (GRPO) to fine-tune an LLM. BTS pays an answer for being surprisingly common, that is, more frequent among respondents than those respondents themselves predicted. We treat a group of responses from a model for one question as those respondents, so the reward is a function of the model's own outputs and fine-tuning needs neither labels nor preference annotations. We prove that in the large-group limit a sycophantic response earns strictly lower expected reward than an honest one. We also prove that if the entire group agrees in advance on a symmetric answering rule, it cannot earn a higher information score than under truthful reporting. On our true/false benchmark the reference model's answer-flip rate under user pressure decreases from 23% to 4%, and its accuracy under that pressure increases from 80% to 93%. Our reward outperforms SMART and is comparable to synthetic-data fine-tuning and to pinpoint tuning, all three of which train on labels. It spends considerably more compute in exchange, which makes it suitable when labeled data is scarce. Peer Truth Serum, which also pays a premium for a rare answer but elicits no prediction report, reproduces the effect. A peer-prediction reward computed inside a single GRPO group therefore reduces sycophancy without labels, and comparing mechanisms suggests that the premium paid for a rarer answer drives the effect.

1 Introduction

Large language models (LLMs) frequently exhibit sycophancy: instead of giving the answer their own knowledge best supports, they adapt to what a user appears to believe, prefer, or want to hear (Sharma et al., 2024; Ranaldi & Pucci, 2023). An LLM may retract a correct answer once a user expresses doubt, endorse an opinion that is plainly wrong, mirror the political stance a prompt implies (Perez et al., 2023; Sharma et al., 2024), or side with whoever narrates a moral dilemma (Cheng et al., 2025; Hong et al., 2025). The behavior shows up in mathematics, medical advice and open-ended question answering (Fanous et al., 2025; Malmqvist, 2024), where it lowers factual accuracy and makes model outputs less reliable.

This work was supported by National Science Foundation grant CCF-2312198 and Army Research Office grant W911NF 24-1-0083.

Figure

Figure 1: Schematic of the BTS-guided GRPO fine-tuning iteration. For each question, we sample a group of G LLM responses: each contains an answer and a prediction of the group's answer distribution. The BTS reward, computed entirely from the group, drives the GRPO update in place of ground-truth supervision.

Reinforcement learning (RL) is often responsible for the emergence of sycophancy. Under RL from human feedback (RLHF), a model is optimized against human preference judgments or a learned reward model, and human evaluators often prefer an agreeable answer to a correct one, so the reward itself comes to favor agreement over truthfulness (Sharma et al., 2024; Shapira et al., 2026). The effect is strongest in subjective, advice-seeking and politically charged settings (Ranaldi & Pucci, 2023; Cheng et al., 2025), which are also the settings in which an unreliable answer is hardest for a user to check. Reducing sycophancy without ground truth is the goal of this paper. We use labels and ground truth interchangeably for the correct answers a model is trained on, and likewise reward, score and payment for what a mechanism pays a response.

The main idea of this paper is to fine-tune an LLM with Group Relative Policy Optimization (GRPO) (Shao et al., 2024) using a novel reward structure arising from the Bayesian Truth Serum (BTS) (Prelec, 2004), a truth-elicitation mechanism from peer prediction (Miller et al., 2005). BTS rewards an answer for being surprisingly common, that is, more frequent among respondents than those respondents themselves predicted. In the large-population limit truthful reporting is a Bayes-Nash equilibrium of the resulting game, and the mechanism never consults the correct answer. Our population is the group of responses sampled from a model for one question, so fine-tuning needs neither ground-truth labels nor human preference annotations.

Figure 1 schematically illustrates our framework. We make an important assumption in this paper: each sampled response can be modeled as coming from a Bayesian strategic agent, one that holds a private signal and beliefs about the other agents' responses and aims to maximize its own BTS score, as in Prelec's framework. The assumption has some empirical support, since transformers trained for the purpose can carry out Bayesian inference in context, returning posteriors of a quality comparable to Markov chain Monte Carlo (Reuter et al., 2025).

References (100)

Couldn't load all references. Reload the page to try again.