Task Vector Bases: A Unified and Scalable Framework for Compressed Task Arithmetic
Not on the map. Why?
Abstract (arXiv)
Task arithmetic, representing downstream tasks through linear operations on task vectors, has emerged as a simple yet powerful paradigm for transferring knowledge across diverse settings. However, maintaining a large collection of task vectors introduces scalability challenges in both storage and computation. We propose Task Vector Bases, a framework compressing T task vectors into M < T basis vectors while preserving the functionality of task arithmetic. By representing each task vector as a structured linear combination of basis atoms, our approach supports standard operations such as addition, negation, as well as more advanced arithmetic ones. The framework is orthogonal to other efficiency-oriented improvements in task arithmetic and can be used in combination with them. We provide theoretical analysis showing that basis compression retains addition generalization guarantees and enables principled unlearning, with error bounds depending on reconstruction quality. Empirically, our proposed basis construction methods consistently outperform heuristic basis construction baselines and, in some cases, even surpass the performance of full task vector collections across diverse downstream applications while reducing storage and computational requirements. The code is available at https://github.com/uiuctml/TaskVectorBasis.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 76 of its 114 references that are in the map. First posted on arXiv 3 Feb 2025.
Builds on
76 of 114 references.
References · 76
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2017Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithmscited by 4,283
- 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,131
38 more
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
- 2013Describing Textures in the Wildcited by 2,110
- 2015A large annotated corpus for learning natural language inferencecited by 1,837
- 2017EuroSAT: A Novel Dataset and Deep Learning Benchmark for Land Use and Land Cover Classificationcited by 1,488
- 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,404
- 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,366
- 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,330
- 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,255
- 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,194
- 2023Instruction-Following Evaluation for Large Language Modelscited by 1,143
- 2022Editing Models with Task Arithmeticcited by 1,076
- 2023TIES-Merging: Resolving Interference When Merging Modelscited by 795
- 2017Remote Sensing Image Scene Classification: Benchmark and State of the Artcited by 791
- 2021Robust fine-tuning of zero-shot modelscited by 785
- 2023Language Models are Super Mario: Absorbing Abilities from Homologous Models as a Free Lunchcited by 679
- 2021Merging Models with Fisher-Weighted Averagingcited by 613
- 2023XSTest: A Test Suite for Identifying Exaggerated Safety Behaviours in Large Language Modelscited by 477
- 2024WildGuard: Open One-Stop Moderation Tools for Safety Risks, Jailbreaks, and Refusals of LLMscited by 460
- 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Modelscited by 457
- 2018Rotation Equivariant CNNs for Digital Pathologycited by 420
- 2018Deep Learning for Classical Japanese Literaturecited by 415
- 2022Dataless Knowledge Fusion by Merging Weights of Language Modelscited by 384
- 2013Challenges in Representation Learning: A report on three machine learning contestscited by 301
- 2023AdaMerging: Adaptive Model Merging for Multi-Task Learningcited by 248
- 2024Model Merging in LLMs, MLLMs, and Beyond: Methods, Theories, Applications and Opportunitiescited by 247
- 2023Task Arithmetic in the Tangent Space: Improved Editing of Pre-Trained Modelscited by 218
- 2024Evolutionary Optimization of Model Merging Recipescited by 204
- 2023Okapi: Instruction-tuned Large Language Models in Multiple Languages with Reinforcement Learning from Human Feedbackcited by 189
- 2020On the Theory of Transfer Learning: The Importance of Task Diversitycited by 186
- 2023Handbook of Convergence Theorems for (Stochastic) Gradient Methodscited by 158
- 2023Composing Parameter-Efficient Modules with Arithmetic Operationscited by 155
- 2023QA-LoRA: Quantization-Aware Low-Rank Adaptation of Large Language Modelscited by 154
- 2024Task Singular Vectors: Reducing Task Interference in Model Mergingcited by 143
- 2023Model Breadcrumbs: Scaling Multi-Task Model Merging with Sparse Maskscited by 130
- 2024Localizing Task Information for Improved Model Merging and Compressioncited by 130
50 most cited of 76 All 76 (JSON)
Built on by
Citing papers per year: 2025: 1.
1 paper.