Detecting and Controlling Sycophancy with Cascading Linear Features

Maty Bohacek, Rishub Jain, Nicholas Dufour, Thomas Leung, Chris Bregler +1 more
6/23/2026
cs.AI

No confident code implementation found for this paper.

Abstract

Interpreting and controlling model behaviors through activation steering methods requires many pairs of contrastive samples that clearly exhibit desired or undesired behavior. These data pairs determine the degree to which interpretability frameworks can reliably detect model features responsible for a behavior, and therefore the ability to steer models toward or away from such behavior.

Show full abstract

In this work, we present an iterative data generation pipeline that isolates cascading linear features responsible for a behavior. Specifically, we show how moving beyond simple binary pairs of samples, and instead isolating samples that show degrees of features that scale linearly with behavior, allows for better disentanglement of features. We focus on detecting and steering away from sycophancy -- the tendency of language models to prioritize user validation. We demonstrate that sycophancy features discovered through cascading samples form linearly separable subspaces, and allow for selection of model activations that more clearly correspond to the desired behavior than baseline approaches. We also evaluate their ability to enable detection, deterministic scoring, and robust steering, and see that they either match or outperform LLM-as-a-judge and system prompting baselines while providing lower computational demand and more interpretability guarantees. Code & Data: https://cascading-feats.github.io/

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{bohacek2026detecting,
  title  = {Detecting and Controlling Sycophancy with Cascading Linear Features},
  author = {Maty Bohacek and Rishub Jain and Nicholas Dufour and Thomas Leung and Chris Bregler and Roma Patel},
  year   = {2026},
  eprint = {2606.26155},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.26155v1}
}

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

Discussion