NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Grassmannian Geodesic Steering: Rank-Preserving Subspace Control for Inference-Time Alignment of Language Models

Longyi Liu, Zhitao Wang, Jianchao Yu, Mingrui Cai, Yuxing Han, Gene Wen

NeurIPS page · OpenReview · Open on the map

Category: LLM Reasoning, Memory & RAG › Activation Steering for LLM Control · Type: new method · Keywords: inference-time alignment, subspace control, rank preservation, Grassmann manifold, language model steering

Summary

Grassmannian Geodesic Steering (GGS) aligns language models at inference time by controlling activation subspaces on the Grassmann manifold, preserving rank and improving alignment without degrading generation.

Explained to a 5-year-old

Big computer programs called language models sometimes say things that aren't safe or helpful. Scientists want to make them nicer without having to teach them everything again. They tried to change the model's thoughts by adding a small push, but that made the model forget some of its ideas. A new idea uses a special kind of space where they can move whole groups of ideas together, keeping the model's memory intact. This helps the model be safer and smarter while still making up stories and answering questions well.

Explained to a 5-year-old, longer

Language models are computer programs that can write sentences and answer questions. When they are first made, they learn a lot of how language works. Sometimes they say things that are not safe or that we don't want. Scientists want to make them behave better without having to start over and learn again. One way to do this is to give them a small push while they are talking. But this push can make the model forget some of the things it already knows. Other methods try to rotate the model's thoughts, but they only work for simple ideas. The new idea works on a special kind of space where many ideas can be moved together. It looks at how the model thinks about different things and finds groups of related ideas. Then it moves these groups in a way that keeps the model's memory clear. This helps the model stay safe and answer questions well without losing its ability to make up stories. Overall, it lets the model be nicer and more useful while using less computer power.

For a technical reader

The paper addresses the problem of aligning large language models at inference time without full fine-tuning, which is attractive for cost-effective deployment. It shows that simple additive steering can collapse the effective rank of hidden representations, harming generation, and that low-dimensional rotations cannot capture complex, multi-facet behaviors. The proposed solution lifts control from vectors to k-dimensional subspaces on the Grassmann manifold, estimating concept subspaces from contrastive difference covariance. Steering is performed by applying orthogonal operators along Grassmannian geodesics, with an adaptive matrix Bingham gate to modulate intervention strength while preserving the singular-value spectrum. Experiments on LLaMA-3.1-8B and Qwen-2.5-7B demonstrate improved alignment accuracy, preserved generation quality, and a two-order-of-magnitude reduction in rank degradation, all with less than 1.5% per-step overhead.

Problem

Existing inference-time alignment methods, such as additive steering, often distort activation geometry and cause effective-rank collapse, harming generation quality. Additionally, rotation-based approaches are limited to low-dimensional concept axes and cannot capture multi-faceted, low-rank behavioral representations.

Method

The approach lifts activation control from vectors to k-dimensional subspaces on the Grassmann manifold, estimates concept subspaces from contrastive difference covariance, steers hidden states via orthogonal operators along Grassmannian geodesics, and modulates intervention strength with a matrix Bingham gate, all while preserving the singular-value spectrum.

Results

The approach improves alignment accuracy while preserving generation quality and refusal behavior, reduces effective-rank degradation by two orders of magnitude compared to additive baselines, and surpasses existing training-free steering methods.

Contributions

A rank-preserving framework that controls activation subspaces on the Grassmann manifold, a theoretical analysis of rank collapse and preservation, and an efficient implementation with less than 1.5% overhead per decoding step.

Practical relevance

Enables safe and efficient alignment of large language models at inference time, allowing deployment on modest hardware without sacrificing generation quality.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction