arXiv:2609.02089cs.CLSep 2026

Manuscript Offprint

arXiv:2609.02089

IDEEA: training-free Input-Dependent stEEring via Activation cluster matching

Zheng Wang, Muchen Li, Renjie Liao, Yan Leng

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Steering aligns large language models (LLMs) by injecting a bias into selected activations at inference time, offering a far cheaper alternative to weight-update methods such as supervised fine-tuning or reinforcement learning. However, most existing training-free steering methods are input-independent: a single direction is fitted once and shared across all inputs. This is fundamentally limiting as different inputs occupy different regions of the activation space and admit different optimal steering directions toward the same target concept, much as the gradient with respect to a fixed loss varies from input to input. We close this gap with IDEEA (Input-Dependent stEEring via Activation cluster matching), a training-free framework for input-dependent steering. IDEEA clusters the positive and negative activation supports per attention head, and solves an optimal-matching problem to construct a set of cluster-conditional directions, all about the target concept. At inference time, it picks from this pool of directions and uses the one that best matches the input's own activation for steering. IDEEA aligns the model toward the target concept while preserving the input's original representation, evidence that activations encoding a concept occupy several distinct sub-regions of the representation space rather than a single one. IDEEA improves the truth × info rate in TruthfulQA by an average of 9.9% (up to 23.5%) over the best input-independent baseline. Code: https://github.com/DSL-Lab/IDEEA.

1 Introduction

Pre-training equips large language models (LLMs) with broad knowledge but no guidance on how to behave—whether to be truthful, helpful, or safe. Aligning their behavior typically requires weight updates—supervised fine-tuning, RLHF (Ouyang et al., 2022), DPO (Rafailov et al., 2023), GRPO (Shao et al., 2024), or parameter-efficient variants like LoRA (Wang et al., 2024)—all of which demand non-trivial compute, curated data, and, in the RL case, a separate reward model.

Steering offers a markedly cheaper alternative: rather than modifying any weights, a linear bias is added to selected activations at inference time, pushing the response along a chosen direction (Li et al., 2023; Rimsky et al., 2024). This intervention is restricted to a small subset of the model: a single layer (Rimsky et al., 2024; He et al., 2025; Rodriguez et al., 2026) or a subset of attention heads (Li et al., 2023; Kim et al., 2025; Zou et al., 2025). This restrained perturbation allows steering to be effective while being minimally invasive. Steering methods can be further categorized by how the steering direction is obtained – through optimization or training-free instantiations such as Inference-Time Intervention (ITI) (Li et al., 2023), Contrastive Activation Addition (CAA) (Rimsky et al., 2024), and Spectral Editing of Activations (SEA) (Qiu et al., 2024) that skip the optimization stage entirely. The steering directions are computed directly from a small contrastive activation dataset, and conveniently come with a transparent geometric interpretation that is otherwise not obtainable through optimization-based steering. Training-free steering also provides a significant compute saving, as GPUs are only used during the initial activation collection phase, with a single forward pass per training sample regardless of the number of configurations (Appendix A).

However, existing training-free steering methods are still limited. They commit to a single static operator that is shared across every input. In practice the activations associated with a target concept are spread across several distinct sub-regions (Sec. 5.3), making such a construction insufficient for addressing high-dimensional activation spaces and leading

∗^{*}Part of this work was done while an undergraduate student at the University of Waterloo.

†^{\dagger}Corresponding author:

yan.leng@mccombs.utexas.edu

Figure

Figure 1: IDEEA framework for input-dependent steering. (1) Collects per-head activations from contrastive prompts. (2) Clusters the positive (green) and negative (red) supports (Sec. 4.1) and obtains the cluster-optimal direction vectors (Sec. 4.2). (3) Finds the direction that best aligns with the input (pink), and use that for steering (Sec. 4.3).

to unexpected failures (Sec. 5.3).