Training-Free Task Vectors for LLM Behavioral Control
Gabriel J. Perin, Lucas Boscaini, André Araujo, Nina S. T. Hirata
Abstract
Task vectors enable post-training model editing by identifying semantically meaningful directions in weight space, typically computed as the difference between a fine-tuned model and its pretrained initialization. However, this reliance on fine-tuning makes discovering such directions costly and limits the practicality of post-training model editing. To address this limitation, we introduce Training-Free Task Vectors (TFTVs), a novel method to compute task-vector-like directions without requiring fine-tuning. Our method maps activation steering vectors to rank-one weight-space edits using only forward-pass statistics, while satisfying arithmetic properties that directly support learning via addition, forgetting via subtraction, and the composition of multiple edits. Empirically, we evaluate TFTVs on large language model behavioral control tasks and show that they consistently amplify, suppress, and compose target behaviors while preserving general knowledge and problem-solving skills. We also validate our method against other editing and steering baselines, experimentally demonstrating that TFTVs achieve stronger trait control with better or competitive utility preservation. We hope our work opens new directions for the community in post-training model editing and broader training-free model control. Code is available on the project website: tftv-llm.github.io.
Create a lesson
Metadata
- Categories
- cs.LG, cs.AI
- Comments
- Conference on Neural Information Processing Systems (NeurIPS 2026)
Related papers
Zero-shot rib design: merging training-free generative prior with topology optimization
Shared title terminologycs.LGYongmin Kwon, Namwoo Kang
Kernel-Complexity Edge Sanitization for Training-Free Defense against Structural Graph Attacks
Shared title terminologycs.LGYaning Jia, Shenyang Deng, Yaoqing Yang et al.
Mid-JEPA: Learning Representations and Control through Multiscale Goal Decomposition
Shared title terminologycs.LGJiazhe Hu, Donghai Hong, Jingqi Wang et al.
Grokking Is a High-Overlap, High-Capacity Regime of Ordinary Training
Shared title terminologycs.LGMian Wang
Optimal Model-Free Learning in Average-Reward MDPs via Bellman Sharpness
Shared title terminologycs.LGMatthew Zurek, Yudong Chen
CHORD: Rollout-Free Off-Policy Replay of the Denoising Chain for Sample-Efficient Diffusion-Policy Reinforcement Learning
Shared title terminologycs.LGKuanyen Liu, Ren-jyun Huang, Chong-Yan Chen et al.