arXiv(opens in a new tab)cs.LGSep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.10658

GEOSTEER: Geodesic Optimization for Activation Steering in Large Language Models

Xuan Cuong Ngo, Hao Vo, Ngan Le

Abstract

Activation steering provides a lightweight way to control large language models (LLMs) by modifying their hidden activations at inference time. Among these approaches, norm-preserving steering aims to change model behavior without altering the activation norm, reducing the risk of representation collapse and degradation. However, existing norm-preserving methods are limited by predefined steering trajectories and by their reliance on one-step updates, which may fail to capture the complex structure of activation distributions. We propose GEOSTEER, an optimization-based method for norm-preserving activation steering. GEOSTEER formulates steering as a Riemannian optimization problem and updates activations through a sequence of small geodesic steps on the representation manifold. To avoid fixed steering directions, GEOSTEER learns a nonlinear activation-space objective that distinguishes desired from undesired activations, and uses this function to adaptively guide each steering step. This multistep formulation yields smoother, more stable, and more consistent steering behavior while preserving the activation norm. Across TruthfulQA, RealToxicityPrompts, and UltraFeedback benchmarks, GEOSTEER consistently improves over state-of-the-art activation steering baselines. These results suggest that norm-preserving steering can be made more effective by replacing predefined one-step edits with adaptive, geometry-aware optimization.

1 Introduction

Large language models (LLMs) have demonstrated remarkable capabilities and have become an essential component of modern AI, supporting a wide range of applications (Achiam et al., 2023; Dubey et al., 2024; Liu et al., 2024; Yang et al., 2025). However, as LLMs continue to develop rapidly, it is increasingly important to study and control their societal impacts, including hallucination, bias, toxicity, and other harmful behaviors. Since modern LLMs often contain hundreds of billions of parameters (Chowdhery et al., 2023; Brown et al., 2020), controlling and aligning them through fine-tuning is becoming increasingly challenging and resource-intensive. This motivates the need for lightweight alternatives that can adapt model behavior without updating model parameters.

Activation steering, or representation engineering, offers a lightweight way to influence LLM behavior by modifying hidden states at inference time (Rimsky et al., 2024; Wehner et al., 2025; Bartoszcze et al., 2025). A common strategy is to construct a steering vector from contrastive examples and add it to model activations during generation (Li et al., 2023; Rimsky et al., 2024; Liu et al., 2023; Lee et al., 2024). While effective in many settings, such additive edits are highly sensitive to the intervention scale. If the intervention is too weak, the model behavior changes little; if it is too strong, the edited activation may move away from the model's natural representation space and harm generation quality (You et al., 2026). This limitation has motivated recent work on more structured intervention mechanisms, including learnable and geometry-aware approaches (Wu et al., 2024; Deng et al., 2026). At the same time, the architecture of modern LLMs suggests a useful geometric perspective: normalization layers such as RMSNorm (Zhang and Sennrich, 2019) regulate activation scale, making the direction of the hidden representation an important target for controlled steering.

Norm-preserving steering methods have therefore been proposed as a way to control model behavior while maintaining the activation norm (Pham and Nguyen, 2024; You et al., 2026; Vu and Nguyen, 2026). However, existing norm-preserving methods still have important limitations, as conceptually illustrated in Figure 1. While they

Figure

Figure 1: Conceptual illustration of GEOSTEER. Additive steering can move activations off the sphere, while existing norm-preserving steering keeps activations on the sphere but typically follows predefined or heuristic trajectories. In contrast, GEOSTEER adaptively optimizes the steering path by decomposing the intervention into multiple geodesic updates. This produces smoother trajectories toward the desired activation region while preserving the activation norm.

avoid the unconstrained Euclidean shifts used by additive steering, they often follow predefined or heuristic trajectories rather than adaptively optimizing the steering path. For example, one-step approaches such as Angular Steering (Vu and Nguyen, 2026) and Spherical Steering (You et al., 2026) typically rely on simple statistical features, such as mean activation differences, while ignoring richer distributional structure and interactions among activation dimensions. Their reliance on one-step updates may also fail to capture the complex patterns of activation distributions, limiting their expressive power when steering nuanced model behaviors.

Other methods, such as HPR (Pham and Nguyen, 2024), introduce more complex training procedures involving neural networks, but still assume that the correct steering direction lies within a predefined two-dimensional plane. This geometric restriction can limit flexibility, especially when the desired behavioral change requires movement along more complex directions in representation space. Moreover, existing methods are often sensitive to hyperparameters and may not generalize consistently across different models or tasks.

To address these limitations, we propose GEOSTEER, an optimization-based framework for norm-preserving activation steering. We observe that norm-preserving steering can be naturally viewed as moving an activation point on a Riemannian manifold from an undesired region toward a desired region, while keeping its norm fixed. Rather than applying a single large update or following a predefined rotation, GEOSTEER decomposes steering into a sequence of small geodesic updates (Absil et al., 2008). Each update is guided by the current activation state, and together these steps form a smooth, adaptive trajectory on the manifold. We formulate this process as a Riemannian optimization problem (Absil et al., 2008). Specifically, we define a nonlinear activation-space objective that distinguishes desired from undesired activations. This objective provides an adaptive signal for selecting steering directions that increase alignment with desired activations while moving away from undesired ones. At inference time, GEOSTEER performs iterative geodesic updates guided by this objective, ensuring that activations remain on the norm-preserving manifold throughout the steering process. By replacing predefined one-step rotations with adaptive multistep optimization, GEOSTEER captures richer and more fine-grained structure in the activation space. This leads to more stable and expressive steering while preserving activation norms. Experiments on TruthfulQA (Lin et al., 2021), UltraFeedback (Cui et al., 2023), and Real-ToxicityPrompts (Gehman et al., 2020) show that GEOSTEER consistently outperforms state-of-the-art activation steering baselines.

Our contributions are summarized as follows:

• We formulate norm-preserving activation steering as Riemannian optimization on the activation sphere, providing a principled geometric view of activation intervention.

• We propose GEOSTEER, an adaptive multi-step steering method that replaces fixed one-step transformations with a sequence of small geodesic updates guided by the current activation state.

• We conduct experiments on TruthfulQA, UltraFeedback, and RealToxicityPrompts, showing that GEOSTEER consistently improves over strong activation steering baselines while maintaining efficient inference.

References (17)