LLMs Know They're Wrong and Agree Anyway: The Shared Sycophancy-Lying Circuit

Manav Pandey
4/21/2026
cs.LG

No official code found. Best implementation: MVPandey/shared-sycophancy-lying-circuit (2 stars, last commit 2026-05-02). 1 more below.

Abstract

When a language model agrees with a user's false belief, is it failing to detect the error, or noticing and agreeing anyway? We show the latter. Across twelve open-weight models from five labs, spanning small to frontier scale, the same small set of attention heads carries a "this statement is wrong" signal whether the model is evaluating a claim on its own or being pressured to agree with a user. Silencing these heads flips sycophantic behavior sharply while leaving factual accuracy intact, so the circuit controls deference rather than knowledge. Edge-level path patching confirms that the same head-to-head connections drive sycophancy, factual lying, and instructed lying. Opinion-agreement, where no factual ground truth exists, reuses these head positions but writes into an orthogonal direction, ruling out a simple "truth-direction" reading of the substrate. Alignment training leaves this circuit in place: an RLHF refresh cuts sycophantic behavior roughly tenfold while the shared heads persist or grow, a pattern that replicates on an independent model family and under targeted anti-sycophancy DPO. When these models sycophant, they register that the user is wrong and agree anyway.

View on arXivView PDF

Code Implementations(2)

Paper Code for "LLMs Know They're Wrong and Agree Anyway: The Shared Sycophancy-Lying Circuit"

20Python, MakefileApr 27, 20265 months ago

Interactive explainer for the paper 'LLMs Know They're Wrong and Agree Anyway: The Shared Sycophancy-Lying Circuit'.

00CSS, JavaScriptJun 9, 20264 months ago

Similar Papers

Cite this paper

@article{pandey2026llms,
  title  = {LLMs Know They're Wrong and Agree Anyway: The Shared Sycophancy-Lying Circuit},
  author = {Manav Pandey},
  year   = {2026},
  eprint = {2604.19117},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.19117v1}
}

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

Discussion