Search papers, labs, and topics across Lattice.
This paper introduces CircuitSteer, a framework that utilizes Sparse Autoencoders to manipulate multi-layer semantic circuits in large language models for improved behavioral steering. By focusing on geometric alignment and feature co-activation, CircuitSteer isolates specific subcircuits responsible for desired behaviors, allowing for more nuanced and effective interventions. The results show that CircuitSteer consistently outperforms existing methods, maintaining fluency while effectively addressing complex behaviors like sycophancy and refusal across various tasks and model families.
Multi-layer circuit steering can achieve robust behavioral control in LLMs without sacrificing text quality, outperforming traditional single-point interventions.
Controlling the behavior of large language models (LLMs) remains a critical challenge for AI alignment. Existing steering methods, such as Contrastive Activation Addition (CAA), typically rely on fixed single-layer interventions derived from aggregate activation differences. These methods impose a single intervention across semantically diverse inputs and often fail to sustain consistent behavioral changes across layers, limiting the effectiveness of the steering. In this work, we introduce CircuitSteer, a novel framework that leverages Sparse Autoencoders (SAEs) to identify and manipulate coherent semantic circuits distributed across multiple layers. By constructing a feature flow circuit based on feature co-activation and the geometric alignment of decoder directions, we isolate the specific multi-layer subcircuits responsible for a target behavior. We then synthesize dense steering vectors from these sparse features and apply multi-point interventions to guide the model's internal semantic trajectory. We evaluate CircuitSteer using contrastive examples across a diverse set of tasks, including toxicity, emotion-intensity, sycophancy, and refusal, spanning two model families. Across all models and datasets, CircuitSteer is the only method to consistently produce fluency-preserving interventions; competing methods either sacrifice text quality or lack coverage, failing entirely on complex behaviors like sycophancy and refusal. These results demonstrate that multi-layer circuit steering, enabled by enforcing geometric alignment among selected features, yields strictly more robust and effective behavioral control than static single-point interventions. Code is available at https://github.com/mehrshad-sdtn/CircuitSteer.