mlsanityData to 14 Oct 2026

Variational Task Vector Composition

arXiv 2509.18208 ↗First posted 21 Sep 2025cs.LG cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

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 additional inference costs. In this paper, we propose variational task vector composition, 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 preserves only 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 consistently outperforms existing approaches across all datasets by selectively leveraging the most reliable and informative components in task vectors. These findings highlight the practical value of our approach, establishing a new standard for efficient and effective task vector composition.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 43 of its 57 references that are in the map. First posted on arXiv 21 Sep 2025.

Builds on

43 of 57 references.

References · 43

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  5. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  6. 2013Describing Textures in the Wildcited by 2,125
  7. 2022Editing Models with Task Arithmeticcited by 1,120
  8. 2023TIES-Merging: Resolving Interference When Merging Modelscited by 818
  9. 2017Remote Sensing Image Scene Classification: Benchmark and State of the Artcited by 797
  10. 2023Language Models are Super Mario: Absorbing Abilities from Homologous Models as a Free Lunchcited by 694
  11. 2023In-Context Learning Creates Task Vectorscited by 312
  12. 2023Function Vectors in Large Language Modelscited by 308
31 more
  1. 2024Knowledge Conflicts for LLMs: A Surveycited by 283
  2. 2024Model Merging in LLMs, MLLMs, and Beyond: Methods, Theories, Applications and Opportunitiescited by 254
  3. 2023AdaMerging: Adaptive Model Merging for Multi-Task Learningcited by 252
  4. 2023Task Arithmetic in the Tangent Space: Improved Editing of Pre-Trained Modelscited by 221
  5. 2023Knowledge Editing for Large Language Models: A Surveycited by 194
  6. 2024A Comprehensive Study of Knowledge Editing for Large Language Modelscited by 163
  7. 2023Composing Parameter-Efficient Modules with Arithmetic Operationscited by 156
  8. 2024Task Singular Vectors: Reducing Task Interference in Model Mergingcited by 147
  9. 2024Localizing Task Information for Improved Model Merging and Compressioncited by 131
  10. 2025Whoever Started the Interference Should End It: Guiding Data-Free Model Merging via Task Vectorscited by 62
  11. 2024Multimodal Task Vectors Enable Many-Shot Multimodal In-Context Learningcited by 50
  12. 2024Localize-and-Stitch: Efficient Model Merging via Sparse Task Arithmeticcited by 50
  13. 2025When is Task Vector Provably Effective for Model Editing? A Generalization Analysis of Nonlinear Transformerscited by 38
  14. 2024Knowledge Composition using Task Vectors with Learned Anisotropic Scalingcited by 37
  15. 2021Challenges and Opportunities in High-dimensional Variational Inferencecited by 35
  16. 2020On spike-and-slab priors for Bayesian equation discovery of nonlinear dynamical systems via sparse linear regressioncited by 24
  17. 2024Finding Visual Task Vectorscited by 24
  18. 2024Efficient and Effective Weight-Ensembling Mixture of Experts for Multi-Task Model Mergingcited by 23
  19. 2020Learning to Learn Variational Semantic Memorycited by 17
  20. 2020Spike and slab variational Bayes for high dimensional logistic regressioncited by 16
  21. 2025Efficient Model Editing with Task-Localized Sparse Fine-tuningcited by 16
  22. 2024Vision-Language Models Create Cross-Modal Task Representationscited by 15
  23. 2021Hierarchical Variational Memory for Few-shot Learning Across Domainscited by 14
  24. 2020Spike-and-Slab Meets LASSO: A Review of the Spike-and-Slab LASSOcited by 10
  25. 2021Fast and Scalable Spike and Slab Variable Selection in High-Dimensional Gaussian Processescited by 7
  26. 2025Dynamic Task Vector Grouping for Efficient Multi-Task Prompt Tuningcited by 6
  27. 2025BADTV: Unveiling Backdoor Threats in Third-Party Task Vectorscited by 3
  28. 2025Spike-and-Slab Posterior Sampling in High Dimensionscited by 3
  29. 2017Dynamic Variable Selection with Spike-and-Slab Process Priorscited by 2
  30. 2018Comparing Spike and Slab Priors for Bayesian Variable Selectioncited by 2
  31. 2023Rethinking Variational Inference for Probabilistic Programs with Stochastic Supportcited by 2

Built on by

Not cited yet.