ROAST: Rollout-based On-distribution Activation Steering Technique
Xuanbo Su, Hao Luo, Yingfang Zhang, Lijun Zhang
TL;DR
ROAST tackles driving LLM behavior at inference via efficient activation steering without fine-tuning. It introduces three components—ROC for on-distribution, Continuous Soft Scaling to preserve activation energy, and Grouped Mean Normalization to stabilize estimates—providing robust, scalable steering directions. Empirically, ROAST yields consistent gains across models from $0.6\mathrm{B}$ to $32\mathrm{B}$ and diverse tasks (e.g., GSM8K, TruthfulQA) and often rivals or exceeds few-shot prompts without in-context demonstrations. The results highlight the importance of aligning interventions with the model's native distribution and stabilizing magnitude across samples for reliable deployment.
Abstract
Activation steering provides parameter-efficient control over large language models (LLMs) at inference time, but many methods rely on off-distribution supervision and discrete masking, leading to brittle interventions. We propose ROAST (Rollout-based On-distribution Activation Steering Technique), which estimates steering directions from the model's own on-distribution rollouts via ROC and avoids hard sparsification via Continuous Soft Scaling (CSS) and Grouped Mean Normalization. Our empirical analysis reveals that while activation magnitude correlates moderately with directional consistency, the variance in magnitude is significant and often disproportionate to semantic quality. This suggests that high-magnitude activations risk dominating the global steering direction if not properly normalized. To address this, ROAST employs grouped normalization to balance contributions across samples, ensuring a more robust estimation of the consensus steering direction. Across models (0.6B to 32B), ROAST consistently improves performance on diverse tasks (e.g., +9.7% on GSM8K for Qwen3-0.6B and +12.1% on TruthfulQA for GLM4-32B), and analyses show that CSS better preserves activation energy.
