Circuit Fingerprints: How Answer Tokens Encode Their Geometrical Path
Andres Saurez, Neha Sengar, Dongsoo Har
TL;DR
This work proposes the Circuit Fingerprint Hypothesis: transformer circuits are geometric structures encoded in activation space, and answer tokens reveal the directions that would produce them. By reading these directions, the authors perform gradient-free circuit discovery that matches gradient-based baselines in identifying influential components, and they show that the same directions can be used to steer model outputs, achieving higher emotion-control accuracy than instruction prompting while maintaining factual grounding. The approach relies on reading by aligning target directions from answer tokens with component outputs, and on writing via steering interventions in a subspace constructed from prompt-derived directions, using Shapley-valued channel attribution to allocate credit across Q, K, and V. Experiments across IOI, SVA, and MCQA on four model families demonstrate comparable circuit discovery performance to gradient-based methods and effective steering toward affective outputs, supporting a read-write duality where interpretability and controllability are two facets of the same geometric structure. The practical implications include gradient-free circuit identification and more precise feature steering, with persona and instruction-prompt based prompt engineering offering a pathway to flexible, dataset-free circuit discovery and manipulation, albeit with limitations in zero-shot robustness and potential factual degradation under certain steering conditions.
Abstract
Circuit discovery and activation steering in transformers have developed as separate research threads, yet both operate on the same representational space. Are they two views of the same underlying structure? We show they follow a single geometric principle: answer tokens, processed in isolation, encode the directions that would produce them. This Circuit Fingerprint hypothesis enables circuit discovery without gradients or causal intervention -- recovering comparable structure to gradient-based methods through geometric alignment alone. We validate this on standard benchmarks (IOI, SVA, MCQA) across four model families, achieving circuit discovery performance comparable to gradient-based methods. The same directions that identify circuit components also enable controlled steering -- achieving 69.8\% emotion classification accuracy versus 53.1\% for instruction prompting while preserving factual accuracy. Beyond method development, this read-write duality reveals that transformer circuits are fundamentally geometric structures: interpretability and controllability are two facets of the same object.
