Variational Task Vector Composition
| Authors | |
|---|---|
| Publication date | 2025 |
| Host editors |
|
| Book title | 39th Annual Conference on Neural Information Processing Systems (NeurIPS 2025) |
| Book subtitle | 2-7 December 2025, San Diego, California, USA and 30 November-5 December 2025, Mexico City, Mexico |
| ISBN (electronic) |
|
| Series | Advances in Neural Information Processing Systems |
| Event | 39th Annual Conference on Neural Information Processing Systems |
| Pages (from-to) | 139718-139743 |
| Publisher | Neural Information Processing Systems Foundation |
| Organisations |
|
| Abstract |
Task vectors capture how a model changes during fine-tuning by recording the difference between pre-trained and task-specific weights. The composition of task vectors, a key operator in task arithmetic, enables models to integrate knowledge from multiple tasks without incurring significant additional inference costs. In this paper, we propose variational task vector composition (VTVC), where composition coefficients are taken as latent variables and estimated in a Bayesian inference framework. Unlike previous methods that operate at the task level, our framework focuses on sample-specific composition. Motivated by the observation of structural redundancy in task vectors, we introduce a Spike-and-Slab prior that promotes sparsity and aims to preserve the most informative components. To further address the high variance and sampling inefficiency in sparse, high-dimensional spaces, we develop a gated sampling mechanism that constructs a controllable posterior by filtering the composition coefficients based on both uncertainty and importance. This yields a more stable and interpretable variational framework by deterministically selecting reliable task components, reducing sampling variance while improving transparency and generalization. Experimental results demonstrate that our method achieves state-of-the-art average performance across a diverse range of benchmarks, including image classification and natural language understanding. These findings highlight the practical value of our approach, offering a new, efficient, and effective framework for task vector composition.
|
| Document type | Conference contribution |
| Note | With supplementary ZIP-file |
| Language | English |
| Published at |
https://doi.org/10.52202/085713-4202
(Final published version)
|
| Published at |
https://papers.nips.cc/paper_files/paper/2025/hash/b7685e50e035fc6f35ae031932f45500-Abstract-Conference.html
(Accepted author manuscript)
|
| Other links | |
| Downloads |
NeurIPS-2025-variational-task-vector-composition-Paper-Conference
(Accepted author manuscript)
085713-4202open
(Final published version)
|
| Supplementary materials | |
| Permalink to this page | |