Training-Free Task Vectors for LLM Behavioral Control
Gabriel J Perin, Lucas Boscaini, Andre Araujo, Nina S T Hirata
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: LLM Reasoning, Memory & RAG › Activation Steering for LLM Control · Type: new method · Keywords: training-free model editing, LLM behavioral control, weight-space directions, activation steering, post-training editing
Summary
Training-Free Task Vectors (TFTVs) compute task-vector-like directions without fine-tuning by mapping activation steering vectors to rank-one weight-space edits using only forward-pass statistics.
Explained to a 5-year-old
We can change a big computer program’s behavior without retraining it from scratch. We find special directions in the program’s numbers that let us make it say new things, like being nicer or less noisy. These directions can be added together to learn new things, subtracted to forget old ones, and combined in other ways. We test it on language models to see if we can make them behave better while keeping them smart. It works better than other methods for controlling how the model talks.
Explained to a 5-year-old, longer
A big computer program called a language model can write sentences and answer questions. Usually, to change how it writes, you have to train it a lot, which takes a long time and a lot of computer power. This paper finds a way to change the model without doing all that training. It looks at the numbers inside the model and finds special directions that point to certain behaviors. By moving along these directions, you can make the model say something new, like being friendlier. You can also move the opposite way to make the model forget a behavior. Because the directions work like math, you can add several of them together to get many changes at once. The researchers tested this on language models to see if they could make the model nicer while keeping it smart. They compared it to other ways of editing models and found theirs worked better or just as well. The new method is faster and uses less computer resources than the old training-based methods. It opens the door for people to edit models more easily in the future. The code for this method will be released so others can try it too.
For a technical reader
The paper presents a way to edit a pre-trained language model without the costly fine-tuning step normally required. It does this by extracting rank-one directions in the model’s weight space from activation steering vectors computed during a forward pass. These directions support arithmetic operations, allowing new behaviors to be added, old ones removed, or multiple edits combined. Experiments on LLM behavioral control tasks show the approach can amplify, suppress, or compose target traits while preserving general knowledge. Compared to existing editing and steering baselines, the method achieves stronger trait control with comparable or better utility retention.
Problem
Post-training model editing typically relies on fine-tuning to compute task vectors, which is costly and limits practicality. This creates a need for a method to discover weight-space directions without requiring fine-tuning.
Method
The approach maps activation steering vectors to rank-one weight-space edits using only forward-pass statistics, ensuring arithmetic properties for addition, subtraction, and composition of edits.
Results
The approach consistently amplifies, suppresses, and composes target behaviors while preserving general knowledge and problem-solving skills, and it outperforms or matches other editing and steering baselines in trait control and utility preservation.
Contributions
A training-free method to compute task-vector-like directions that supports arithmetic composition and preserves model utility, along with empirical validation on LLM behavioral control tasks.
Practical relevance
It enables efficient, training-free model editing, opening new possibilities for controlling LLM behavior in real-world applications.
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