Manuscript Offprint

arXiv:2610.02391

Hesitation Has a Geometry: Entropy-Trained Hyperbolic Probes for Sparse Activation Steering

Zeyong Zhang, Tung Sum Thomas Kwok, Tengfei Ma, Mengjia Xu

Zeyong Zhang

Department of Data Science

New Jersey Institute of Technology

Newark, NJ, USA

zz63@njit.edu

Tengfei Ma

Department of Biomedical Informatics

Stony Brook University

Stony Brook, NY, USA

tengfei.ma@stonybrook.edu

Tung Sum Thomas Kwok

Department of Statistics and Data Science

University of California, Los Angeles

Los Angeles, CA, USA

tk1018@ucla.edu

Mengjia Xu ∗^{*}

Department of Data Science

New Jersey Institute of Technology

Newark, NJ, USA

mx6@njit.edu

ABSTRACT

When a large language model solves a mathematical problem, its reasoning is largely hierarchical, and the solution often branches at a few tokens where the next-token entropy is high. Such tree-like structure embeds in hyperbolic space with far lower distortion than in Euclidean space. Activation steering, however, usually edits the hidden states of a pretrained model by adding one fixed Euclidean vector at every token, even though most tokens of a solution are already determined by the context. We propose Hyperbolic Entropy Steering (HEST), which embeds the hidden states in the Poincaré ball with a lightweight probe whose only label is the model's own next-token entropy. Where this entropy exceeds a threshold, HEST moves the embedded state along the geodesic of steepest descent of a readout of the probe and maps the change back to the hidden state. For the Busemann readout of a learned ideal point, we prove that a step of fixed length lowers it by the same amount at every state. On three instruction-tuned models from the Qwen2.5-Math and Llama-3.1 families, HEST with the Busemann readout improves greedy accuracy on MATH-500 and GSM8K in five of six settings, by up to 1.8 points, whereas a contrastive steering vector added at every token lowers accuracy. With a Euclidean probe trained in the same way, this gain disappears on Qwen2.5-Math-1.5B-Instruct. The gains are largest on problems where the model hesitates often, and accuracy on the remaining problems is almost unchanged.

1 INTRODUCTION

Large language models solve mathematical problems through multi-step reasoning, and such reasoning, like language itself, is largely hierarchical. Hierarchical relations between concepts are reflected in the geometry of their representations (Park et al., 2025). In mathematical reasoning, a chain of thought also tends to branch at a small number of high-entropy tokens, which can determine the subsequent solution path (Wang et al., 2026). Hyperbolic space suits such tree-like structure, since its volume grows exponentially with the radius, and trees embed in it with far lower distortion than in a Euclidean space of the same dimension (Nickel and Kiela, 2017; Sala et al., 2018). This property has been used to model hierarchies in neural networks, Transformers and language models (Ganea et al., 2018; Yang et al., 2024b; 2026; He et al., 2026; Patil et al., 2026a;b), and it also makes hyperbolic space a natural candidate for representing the hidden states of Euclidean language models.

∗^{*}Corresponding author.

Fixed-vector steering

(a) Same direction at every token

Figure

hi′=hi+αv,∀ih'_{i}=h_{i}+\alpha v,\quad\forall i

Steering direction v; strength α\alpha

HEST: entropy-trained hyperbolic steering

State-entropy pairs (h,H)⟶(h, H) \longrightarrow learn hyperbolic probe

(b) Busemann readout

Figure

s(z)=b(z)=Bξ(cz)s(z) = b(z) = B_{\xi}(\sqrt{c}z)

Low H

High H

(c) Radius readout

Figure

s(z)=r(z)s(z) = r(z)

Steering direction

(d) Entropy gate

Figure

All-token steering

Entropy-gated steering

(e) Hyperbolic steering

Encode E Hyperbolic Pullback

steering

h⟶z⟶z′⟶h′=h+Δhh \longrightarrow z \longrightarrow z' \longrightarrow h' = h + \Delta h

u=−∇Rs(z)∥∇Rs(z)∥,z′=z⊕c(tanh⁡(ct2)uc)u = -\frac{\nabla^R s(z)}{\|\nabla^R s(z)\|}, \quad z' = z \oplus_c \left( \tanh \left( \frac{\sqrt{c} t}{2} \right) \frac{u}{\sqrt{c}} \right)

Steering strength t

Figure 1: HEST steers only the tokens at which the model hesitates, along a geodesic in the space of a hyperbolic probe. (a) Fixed-vector steering adds the same vector αv\alpha v at every token. (b, c) HEST maps hidden states into the Poincaré ball with a probe trained on next-token entropy. The readout s is either the Busemann function of the ideal point ξ\xi or the distance r to the origin O, and the arrows show the steering direction u. (d) HEST steers only tokens whose entropy HiH_i exceeds the threshold θ\theta. (e) At such a token, h is mapped to z, moved by hyperbolic distance t along the geodesic in the direction u, and mapped back. In (e), ∥⋅∥\|\cdot\| is the Euclidean norm. The point clouds and step lengths in (b, c) are schematic, and Appendix O shows real embedded states.

Activation steering changes the behavior of a pretrained language model at inference time without updating its weights. It shifts the hidden activations along a direction extracted from contrastive examples (Turner et al., 2023; Li et al., 2023; Zou et al., 2023; Rimsky et al., 2024). In activation-addition methods, this direction is a Euclidean vector that is typically the same at every token position (Figure 1a). Contrastive Activation Addition (CAA; Rimsky et al., 2024), for example, applies the same steering vector throughout generation. In mathematical reasoning, such a vector perturbs every token of a solution, although most tokens are largely determined by the preceding context and the solution branches at only a few high-entropy tokens. Existing steering methods for mathematical reasoning mostly act at the step boundaries of long reasoning models (Chen et al., 2025; Li et al., 2026b) and classify the steps by keywords such as “Wait”, which instruction-tuned models rarely produce. We instead steer instruction-tuned language models only at high-entropy tokens, and we take the direction from a hyperbolic embedding of their hidden states that a lightweight probe learns from the same entropy.

We start from an observation about the model’s own uncertainty. The entropy of the next-token distribution is low at most positions and exceeds a threshold at only a small fraction of them, which we call hesitation points. The same entropy can also serve as a training signal, and we train a probe that maps hidden states into the Poincaré ball and orders them by entropy. Without external labels, it learns a geometry in which confident states lie closer than hesitant ones to an ideal point on the boundary of the ball, or to its origin. The Busemann function of this ideal point and the distance to the origin serve as readouts, and the negative Riemannian gradient of a readout gives a steering direction that depends on the state. We build Hyperbolic Entropy Steering (HEST) on this observation (Figure 1). During greedy decoding, HEST embeds the hidden state at every hesitation point and moves the embedding along a geodesic that lowers the readout. It then maps the change back to the hidden state, decodes the next token from the edited state and edits no other position. We show that a step of hyperbolic length t lowers the Busemann readout by exactly ct\sqrt{c}t, where -c is the curvature, and the radius readout by exactly t whenever the step does not pass the origin. Hence, the step length has the same meaning at every state (Proposition 1).

We evaluate HEST on Qwen2.5-Math-1.5B-Instruct, our development model, Qwen2.5-Math-7B-Instruct and Llama-3.1-8B-Instruct, using MATH-500, GSM8K and, for the development model, OlympiadBench. With the Busemann readout, HEST improves greedy accuracy in five of the six model and dataset pairs on MATH-500 and GSM8K, by up to 1.8 points, while steering a median of 0.8 to 3.0% of solution tokens. A difference-of-means vector built from the same states and added at every token, as in CAA, lowers accuracy in all six pairs. With a Euclidean probe trained in the same way and edits of the same size, the Busemann readout also lowers accuracy for the development model. The gains are largest on the few problems on which the greedy solution hesitates often. Most other greedy solutions are already correct, and HEST rarely changes their outcome. Our contributions are:

• We propose HEST (Section 3), an inference-time steering method in which the model’s own next-token entropy decides where to steer and also trains the hyperbolic probe that gives the direction. HEST requires no correctness labels, contrastive prompts, language model training or additional sampled solutions.

• We give a geometric account of the method (Sections 3.1 and 3.2, Appendix B). Both readouts have a direct interpretation, one geodesic step lowers a readout by an exact amount, and in the probe space the Busemann direction depends on the state, whereas its Euclidean counterpart does not.

• We evaluate HEST on three models against greedy decoding and CAA (Section 4), ablate where to steer, in which direction and in which geometry (Section 5), and analyze which problems benefit (Section 4.3).

References (49)