NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Conditional Optimal Bridge for Riemannian Activation Steering

Seyed Arshan Dalili, Ajay Narayanan Sridhar, Vijaykrishnan Narayanan, Mehrdad Mahdavi

NeurIPS page · OpenReview · alphaXiv · Open on the map

Category: LLM Reasoning, Memory & RAG › Activation Steering for LLM Control · Type: new method · Keywords: activation steering, Schrödinger Bridge, optimal transport, language model alignment, query-adaptive

Summary

COBRAS introduces a principled activation steering method based on a Schrödinger Bridge on the residual-stream hypersphere, yielding query-adaptive directions that improve alignment without degrading OOD performance.

Explained to a 5-year-old

People make big computer brain models that can talk. They want these models to say nice things and not say bad things. To help, researchers give the model a little push in the right direction while it talks. The new idea makes this push change depending on what the model is saying, so it works better for new or weird words. This helps the model be nicer without having to teach it everything from scratch.

Explained to a 5-year-old, longer

Big computer programs called language models can write sentences. Sometimes they write things that are not nice or true. To fix this, researchers give the model a small push while it works, called activation steering. Old steering methods always give the same push, no matter what the model is saying. This can make the model worse when it sees new or strange words. The new paper finds a better way to make this push. It uses a math idea that thinks of the push as moving along a special curve. This math makes the push change depending on what the model is currently doing. Because the push changes, the model stays nice even on new words. The method also works for making the model helpful, truthful, and safe. It works on many different language models and helps them more than before. Overall, it gives a smarter, more reliable way to steer language models without retraining them.

For a technical reader

Activation steering lets you influence a language model's behavior at inference time without full fine-tuning. Existing techniques use a heuristic gradient that assumes a fixed relationship between desired and undesired activations. The paper reframes steering as a Schrödinger Bridge problem on the model's residual stream, solved via entropic optimal transport. This yields query-adaptive directions that improve alignment on axes like helpfulness, truthfulness, and detoxification while preserving performance on out-of-distribution inputs. The approach also recovers the classic density-ratio gradient as a special case, providing a unified theoretical foundation for prior heuristics.

Problem

Existing activation steering methods rely on heuristic log-density-ratio objectives and produce fixed steering directions that can harm performance on both in-distribution and out-of-distribution inputs. This leaves a need for a principled, query-adaptive steering approach that avoids such degradation.

Method

The approach casts activation steering as a Schrödinger Bridge problem on the residual-stream hypersphere, solves it via entropic optimal transport, and extracts a probability flow ODE that yields query-adaptive steering directions. When the Sinkhorn potentials are uniform, this reduces to the classic density-ratio gradient, providing a principled derivation of prior heuristics.

Results

The approach shows consistent improvements over prior baselines across models and alignment axes and does not suffer the OOD performance drop seen with existing methods.

Contributions

It provides the first principled derivation of activation steering from a well-posed Schrödinger Bridge formulation and introduces query-adaptive steering directions that mitigate OOD degradation. The method also recovers the classic density-ratio gradient as a special case, unifying prior heuristics.

Practical relevance

Provides a lightweight, inference-time alignment method that improves model behavior reliably across diverse inputs, enabling safer deployment of large language models.

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