Beyond Steering Vector: Flow-based Activation Steering for Inference-Time Intervention

Zehao Jin, Ruixuan Deng, Junran Wang, Xinjie Shen, Chao ZhangNeurIPS 2026

TL;DR

For years, researchers tried to steer large language model (LLM) behavior by adding static "steering vectors" to their internal activations—an elegant idea that, unfortunately, usually loses to simple prompting in practice. This paper introduces FLAS (Flow-based Activation Steering), which treats steering not as a single straight-line shove, but as a continuous, curved flow through activation space. As a result, FLAS becomes the first learned steering method to beat prompting on unseen concepts without breaking the model's fluency.

What Problem Does This Paper Address?

Suppose you want an LLM to weave references to "rental services" into a serious essay on Nietzsche. Fine-tuning the whole model is expensive, and prompting can be brittle. Enter activation steering: keeping the LLM's weights frozen, reaching inside its neural layers during generation, and nudging its intermediate representations (activations) toward your target concept.

It sounds like sci-fi surgery, yet large-scale benchmarks recently delivered a reality check: simple in-context prompting consistently outperforms existing steering methods. Worse, turning up the "steering strength" usually makes the model forget instructions and babble incoherently.

The authors hypothesize that prior methods fail because of unvalidated geometric assumptions. Most methods assume concepts live along straight lines, applying a single, fixed vector jump equally to every token, trained one concept at a time using contrastive pairs (positive vs. negative examples). What if an LLM’s internal representation space isn't so flat and uniform?

Methods

Instead of adding a fixed vector, FLAS learns a concept-conditioned velocity field, $v_\theta(h, t, c)$. Imagine dropping a leaf (the unsteered token activation $h$) into a river whose currents change based on a natural-language concept $c$ and flow time $t$.

FLAS Architecture Overview

To move an activation from unsteered to steered at a chosen layer (e.g., Layer 20), FLAS integrates this velocity field over $N$ discrete Euler steps (default $N=3$). A lightweight transformer module called a FlowBlock computes the velocity at each step:

  1. A frozen Concept Encoder (reusing the base LLM's embedding and first two layers) turns the text concept into vectors.
  2. The FlowBlock injects the current time step $t$, pulls in the concept via cross-attention, coordinates across token positions via self-attention, and outputs the next step's directional nudge via an MLP.

Crucially, FLAS requires positive examples only—no paired negative data needed. It trains end-to-end using standard next-token language modeling loss alongside a diversity loss that pushes velocity vectors for different concepts to point in distinct directions. By randomizing the total integration horizon $T$ during training, users can smoothly dial $T$ up or down at inference time to control steering strength without retraining.

Datasets

The authors train and evaluate on AxBench (Concept16k), an established large-scale benchmark containing 16,000 natural-language steering concepts. No new datasets are introduced. Evaluation strictly separates held-in concepts (seen during training, tested on new prompts) from zero-shot held-out concepts (completely unseen concepts and unseen prompts). An automatic judge (GPT-4o-mini) grades outputs from 0 to 2 on Concept incorporation, Instruction following, and Fluency, combining them into a single Harmonic Mean (HMean).

Key Insights and Ideas

  • Steering trajectories want to curve: When inspecting the learned velocity field, activations don't travel in straight lines. Across concepts, paths leave the origin along a shared initial direction, execute a sharp bend, and only then branch out into concept-specific regions. Single-step vectors ($N=1$) miss this bend entirely, whereas $N=3$ steps capture it.
  • Every token needs its own nudge: Traditional methods add the exact same vector to every token position. In FLAS, the average cosine similarity of displacements between different token positions is just $0.294$—nowhere near $1.0$—proving that effective steering varies substantially from prompt tokens to generated tokens.
  • Decoupling strength from collapse: Because FLAS follows curved paths along the representation manifold rather than shooting linearly off into empty space, increasing flow time $T$ boosts concept incorporation while keeping fluency and instruction-following remarkably intact—even compensating when trained on smaller datasets.
Figure 5: Flow time across training-set sizes (Gemma-2-2B-IT held-out). Score decomposition versus T for five concept scales. Shaded bands show ±1 std, clipped to [0, 2].

Key Results

Using a single fixed flow time ($T=2$) with zero per-concept tuning:

  • Beating Prompting Zero-Shot: On Gemma-2-2B-IT (held-out), FLAS achieves an HMean of 1.015, beating in-context prompting (0.762) and the strongest prior zero-shot steering method, HyperSteer (0.608), despite using less than $1/26$th of HyperSteer's trainable parameters.
  • Scaling Up: On Gemma-2-9B-IT (held-out), FLAS hits 1.113, surpassing prompting (1.091) and HyperSteer (0.934). It also generalizes across model families, scoring 0.960 on Qwen3-4B-Instruct.
Figure 2: Held-in results on Gemma-2-2B- IT, layer 20. FLAS exceeds the in-context prompting baseline by +0.294 and Hyper- Steer by +0.283.
  • Data Scaling: Performance scales monotonically as training concepts grow from 9 up to 16,000, showing no signs of saturation at 16k.

Limitations and Future Work

  • Inference Overhead & Model Specificity: Encoding arbitrary text concepts and running cross-attention across multiple Euler steps adds inference latency. Furthermore, a FlowBlock is tied to its specific frozen LLM backbone and must be trained per base model.
  • Evaluation Scope: Experiments rely solely on AxBench and an LLM-as-a-judge (which may harbor systematic biases).
  • Single-Layer Focus: FLAS currently intervenes at a single layer; future work aims to reduce latency, explore multi-layer interventions, and compose multiple concepts simultaneously.

Summary updated

Abstract

Activation steering has emerged as a promising alternative for controlling language-model behavior at inference time by modifying intermediate representations while keeping model parameters frozen. However, large-scale evaluations such as AxBench show that existing steering methods are often outperformed by simple in-context prompting and generalize poorly to unseen concepts. We hypothesize that these limitations arise from unvalidated simplifying assumptions shared across prior methods, which typically restrict steering interventions to fixed, single-step, position-invariant transforms. We propose FLAS (Flow-based Activation Steering), which learns a general, concept-conditioned velocity field $v_\theta(h,t,c)$ that transports unsteered activations to steered ones without relying on these assumptions. On AxBench, FLAS is the first learned method to outperform prompting, reaching held-out harmonic means of $1.015$ on Gemma-2-2B-IT and $1.113$ on Gemma-2-9B-IT without per-concept tuning. Analysis of the learned flow shows curved, multi-step, token-varying trajectories, which suggests that previous hypotheses on activation space geometry might be incomplete. Our code and demo are available at https://flas-ai.github.io.
BibTeX
@inproceedings{jin2026beyond,
  author = {Zehao Jin and Ruixuan Deng and Junran Wang and Xinjie Shen and Chao Zhang},
  title = {{Beyond Steering Vector: Flow-based Activation Steering for Inference-Time Intervention}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=4edRXBSyRO},
}
Figure