arXiv · 2502.12055
Designing Role Vectors to Improve LLM Inference Behaviour
Abstract
The influence of personas on Large Language Models (LLMs) has been widely studied, yet their direct impact on performance remains uncertain. This work explores a novel approach to guiding LLM behaviour through role vectors, an alternative to persona-based prompting. We construct 29 role vectors derived from model activations and evaluate their impact on benchmark performance across multiple domains. Our analysis investigates whether these vectors can effectively steer models toward domain-specific expertise. We measure two key interventions: (i) activation addition, which reinforces role-specific directions, and (ii) directional ablation, which removes them. Results on well-established benchmarks indicate that role vectors do, in fact, influence model behaviour, improving task performance in relevant domains while marginally affecting unrelated tasks. This, in turn, suggests that manipulating internal model representations has a greater impact on outcomes than persona-based prompting.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Daniele Potertì, Andrea Seveso, Fabio Mercorio. 2025-02-17. Designing Role Vectors to Improve LLM Inference Behaviour. https://arxiv.org/abs/2502.12055
Cite the original work for its findings. Save a collection to share your selection of sources.