Manuscript Offprint

arXiv:2610.07469

COMPASS: Finding Where Reasoning Lives in Language Models

Pratyay Dutta, Kowshik Thopalli, Vivek Narayanaswamy

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Explicitly eliciting reasoning substantially improves LLM performance. Existing approaches require a predefined characterization of reasoning, whether through CoT prompt design, contrastive CoT directions, or via SAE derived reasoning features. For mathematical reasoning with verifiable answers, we show that a much simpler signal suffices, which is the correctness of the model's own direct answer attempts. This signal yields a latent direction that elicits reasoning. This direction is decodable within the activations of most attention heads, but only a small subset of them can be effectively intervened. We introduce COMPASS, an inference-time steering method that identifies these heads using a logit-space attribution score and steers their activations along the correctness direction, requiring only per-head activation statistics. Across three model families and multiple math benchmarks, COMPASS outperforms the activation-steering baselines we compare against, improves GSM8K accuracy by 16 percentage points on average, and approaches CoT accuracy with 20-70% fewer generated tokens. Interventions transfer without re-fitting to unseen benchmarks, and ablations show that both the correctness direction and the small set of heads carrying it are necessary, with the effect concentrated in remarkably few heads.

1 Introduction

Large language models (LLMs) exhibit strong reasoning capabilities across a wide range of tasks [1, 2]. A standard approach for eliciting reasoning is chain-of-thought (CoT) prompting [3], which encourages the model to generate intermediate steps before producing a final answer. Recent work, however, suggests that reasoning-relevant computation also resides in the model's hidden states and can be elicited without explicit CoT prompting [4, 5, 6], indicating that internal representations contain meaningful computational signatures that can be intervened upon.

For instance, Sparse Autoencoders (SAEs) have been used to elicit reasoning by identifying a reasoning-associated feature, though doing so requires a contrast condition prompt and a separate SAE per layer [4]. More broadly, linear probes, including probes trained on individual attention head activations, have been shown to decode or steer behavioral properties such as truthfulness from internal states. However only such specific properties have been steered so far, not reasoning [7, 8, 9, 10]. Each of these approaches requires some predefined characterization of reasoning, whether through a contrast prompt, a trained auxiliary model, or a property specific probe. For mathematical reasoning with verifiable answers, which is our focus, whether an intervention can be found without additional requirements and specifications remains underexplored.

Surprisingly, we find that an effective reasoning intervention can be elicited from a signal as simple as a direction separating correctly and incorrectly answered samples, requiring no CoT demonstra-

*University of California, Riverside, CA 92521. Work performed during a summer internship at Lawrence Livermore National Laboratory

†^{\dagger}Lawrence Livermore National Laboratory, Livermore, CA 94550.

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

tions, reasoning-specific information, or contrastive direct-versus-CoT prompting. This direction is estimated locally, at each attention head, by using last token activations of the brief input prompts alone associated with the correct and incorrect generations.

The key remaining challenge is where to intervene. Correctness information is decodable across many attention heads. However, this decodability alone is not causally sufficient for effective steering [8, 7]. Heads selected without regard to causal effect, including at random, yield no reliable benefit (Fig. 5, left). We find that only a small subset of heads are thus useful for reasoning intervention. To that end, we introduce COMPASS (CORrectness-Mapped Per-head Attribution for Steering), an inference-time steering framework that identifies and steers the heads with the highest output sensitivity to the correctness direction, rather than selecting heads by decodability alone. Unlike SAE-based approaches, COMPASS needs no trained auxiliary model, only the per-head mean activation computed separately over correct and incorrect samples, making the method as cheap to deploy as it is effective.

Remarkably, COMPASS is never provided with a representation of reasoning itself, yet steering the selected heads elicits concise intermediate computations that often convert incorrect direct answers into correct solutions. Across three model families [11, 12, 13] and multiple mathematical reasoning benchmarks [14, 15, 2], COMPASS outperforms existing activation-steering baselines in most model–benchmark pairs, improves GSM8K accuracy by 16 points on average, and approaches CoT performance with substantially shorter generations. Ablations show that both the correctness direction and its intervention location are necessary, with much of the effect concentrated in only a few heads. The identified interventions further transfer without re-fitting to GSM-Plus [16] and HARP [17].

Our main contributions are:

• Reasoning intervention from outcome supervision alone. We show that correct/incorrect outcomes help recover an effective reasoning intervention, without CoT demonstrations, predefined reasoning directions, or identified reasoning features.

• Attribution-based steering. We introduce COMPASS, which combines per-head correctness directions with their predicted downstream logit effect to identify effective intervention sites.

• Concentrated internal control. Controlled head and direction ablations show that both, what is injected and where it is injected matter, with much of the intervention effect concentrated in remarkably few attention heads.

• Accuracy, efficiency, and transfer. Across three model families and multiple reasoning benchmarks, COMPASS closes much of the gap to explicit CoT, with substantially shorter generations and without any re-fitting on unseen distributions, demonstrating that the same lightweight intervention is simultaneously accurate, efficient, and general.

References (34)