A Few Bad Neurons: Isolating and Surgically Correcting Sycophancy

Claire O'Brien, Jessica Seto, Dristi Roy, Aditya Dwivedi, Sunishchal Dev +4 more
1/26/2026
cs.LG

No official code found. Best implementation: kothariprakhar/a-few-bad-neurons-isolating-and-surgically-correct-impl (0 stars, last commit 2026-01-31).

Abstract

Behavioral alignment in large language models (LLMs) is often achieved through broad fine-tuning, which can result in undesired side effects like distributional shift and low interpretability. We propose a method for alignment that identifies and updates only the neurons most responsible for a given behavior, a targeted approach that allows for fine-tuning with significantly less data. Using sparse autoencoders (SAEs) and linear probes, we isolate the 3% of MLP neurons most predictive of a target behavior, decode them into residual space, and fine-tune only those neurons using gradient masking. We demonstrate this approach on the task of reducing sycophantic behavior, where our method matches or exceeds state-of-the-art performance on four benchmarks (Syco-Bench, NLP, POLI, PHIL) using Gemma-2-2B and 9B models. Our results show that sparse, neuron-level updates offer a scalable and precise alternative to full-model fine-tuning, remaining effective even in situations when little data is available

View on arXivView PDF

Code Implementations(1)

Implementation of "A Few Bad Neurons: Isolating and Surgically Correcting Sycophancy" generated by AI

00PythonJan 31, 20268 months ago

Similar Papers

Cite this paper

@article{obrien2026neurons,
  title  = {A Few Bad Neurons: Isolating and Surgically Correcting Sycophancy},
  author = {Claire O'Brien and Jessica Seto and Dristi Roy and Aditya Dwivedi and Sunishchal Dev and Kevin Zhu and Sean O'Brien and Ashwinee Panda and Ryan Lagasse},
  year   = {2026},
  eprint = {2601.18939},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.18939v1}
}

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

Discussion