Spherical Steering: Geometry-Aware Activation Rotation for Language Models
Zejia You, Chunyuan Deng, Hanjie Chen
TL;DR
The paper addresses reliable, training-free control of language models at inference by overcoming the magnitude distortion inherent in additive activation edits. It introduces Spherical Steering, a norm-preserving rotation on the unit hypersphere toward a contrastive truthfulness axis, guided by a vMF-based confidence gate for input-adaptive steering. Offline prototype construction creates a direction mu_T that encodes truthfulness, and inference-time rotation along geodesics preserves activation magnitude while sharpening decision boundaries. Across LLaMA-3.1-8B-Instruct and Qwen-2.5-7B-Instruct, the method achieves Pareto improvements in multiple-choice accuracy and open-ended generation, with analyses showing that truthfulness is encoded directionally and rotation yields superior collapse efficiency. The work presents a robust, geometry-aware primitive for precise inference-time control with practical benefits for real-world deployment and prompts future exploration of multi-layer calibration and per-layer tuning.
Abstract
Inference-time steering has emerged as a promising paradigm for controlling language models (LMs) without the cost of retraining. However, standard approaches typically rely on activation addition, a geometric operation that inevitably alters the magnitude of hidden representations. This raises concerns about representation collapse and degradation of open-ended generation capabilities. In this work, we explore Spherical Steering, a training-free primitive that resolves this trade-off through activation rotation. Rather than shifting activations with a fixed vector, our method rotates them along a geodesic toward a target direction, guiding the activation toward the target concept while preserving the integrity of the signal. To further enhance adaptivity, we incorporate a confidence gate that dynamically modulates steering strength based on input uncertainty. Extensive experiments across multiple-choice benchmarks demonstrate that Spherical Steering significantly outperforms addition-based baselines (notably by +10% on TruthfulQA, COPA, and Storycloze), while simultaneously maintaining the model's general open-ended generation quality. This work highlights the value of geometric consistency, suggesting that norm-preserving rotation is a robust and effective primitive for precise inference-time control.
