Efficient Ensemble for Fine-tuning Language Models on Multiple Datasets
Not on the map. Why?
Abstract (arXiv)
This paper develops an ensemble method for fine-tuning a language model to multiple datasets. Existing methods, such as quantized LoRA (QLoRA), are efficient when adapting to a single dataset. When training on multiple datasets of different tasks, a common setup in practice, it remains unclear how to design an efficient adaptation for fine-tuning language models. We propose to use an ensemble of multiple smaller adapters instead of a single adapter per task. We design an efficient algorithm that partitions n datasets into m groups, where m is typically much smaller than n in practice, and train one adapter for each group before taking a weighted combination to form the ensemble. The algorithm leverages a first-order approximation property of low-rank adaptation to quickly obtain the fine-tuning performances of dataset combinations since methods like LoRA stay close to the base model. Hence, we use the gradients of the base model to estimate its behavior during fine-tuning. Empirically, this approximation holds with less than 1% error on models with up to 34 billion parameters, leading to an estimation of true fine-tuning performances under 5% error while speeding up computation compared to base fine-tuning by 105 times. When applied to fine-tune Llama and GPT models on ten text classification tasks, our approach provides up to 10% higher average test accuracy over QLoRA, with only 9% more FLOPs. On a Llama model with 34 billion parameters, an ensemble of QLoRA increases test accuracy by 3% compared to QLoRA, with only 8% more FLOPs.
Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Builds on 29 of its 37 references that are in the map. First posted on arXiv 28 May 2025.
Builds on
29 of 37 references.
References · 29
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,073
- 2017Understanding Black-box Predictions via Influence Functionscited by 1,741
- 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,729
- 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,396
- 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,375
17 more
- 2020AdapterFusion: Non-Destructive Task Composition for Transfer Learningcited by 788
- 2024LESS: Selecting Influential Data for Targeted Instruction Tuningcited by 532
- 2021Recent Advances in Natural Language Processing via Large Pre-Trained Language Models: A Surveycited by 463
- 2019Multi-Task Deep Neural Networks for Natural Language Understandingcited by 350
- 2017A PAC-Bayesian Approach to Spectrally-Normalized Margin Bounds for Neural Networkscited by 314
- 2023TRAK: Attributing Model Behavior at Scalecited by 283
- 2021Efficiently Identifying Task Groupings for Multi-Task Learningcited by 222
- 2021Multi-Task Reinforcement Learning with Context-based Representationscited by 174
- 2020Understanding and Improving Information Transfer in Multi-Task Learningcited by 114
- 2023LQ-LoRA: Low-rank Plus Quantized Matrix Decomposition for Efficient Language Model Finetuningcited by 92
- 2023Parameter-Efficient Fine-Tuning Design Spacescited by 67
- 2024CogBench: a large language model walks into a psychology labcited by 63
- 2022Robust Fine-Tuning of Deep Neural Networks with Hessian-based Generalization Guaranteescited by 34
- 2020Precise High-Dimensional Asymptotics for Quantifying Heterogeneous Transferscited by 27
- 2024Scalable Multitask Learning Using Gradient-based Estimation of Task Affinitycited by 20
- 2024Scalable Fine-tuning from Multiple Data Sources: A First-Order Approximation Approachcited by 13
- 2024Interactive Machine Teaching by Labeling Rules and Instancescited by 2
Built on by
Citing papers per year: 2025: 5; 2026: 5.
10 papers.
- 2025Linear-Time Demonstration Selection for In-Context Learning via Gradient Estimationcited by 8
- 2025Scalable Multi-Objective and Meta Reinforcement Learning via Gradient Estimationcited by 8
- 2025Causal Representation Learning from Multimodal Clinical Records under Non-Random Modality Missingnesscited by 5
- 2025Efficiently Learning Branching Networks for Multitask Algorithmic Reasoningcited by 1
- 2026Uncertainty-Aware Gradient Signal-to-Noise Data Selection for Instruction Tuningcited by 1
- 2025Learning Multimodal Embeddings for Traffic Accident Prediction and Causal Estimationcited by 0
- 2026Learning Dynamic Representations and Policies from Multimodal Clinical Time-Series with Informative Missingnesscited by 0
- 2026MoPLEx: Estimating Plackett-Luce Mixture Models for Multi-Objective Alignmentcited by 0
- 2026Long-Context Demonstration Selection Using State Space Modelscited by 0
- 2026A Distributional Optimisation Perspective on Combining Models in Deep Learningcited by 0
- 2026A Distributional Optimisation Perspective on Combining Models in Deep Learning21 Sep 2026
- 2026Long-Context Demonstration Selection Using State Space Models15 Sep 2026
- 2026MoPLEx: Estimating Plackett-Luce Mixture Models for Multi-Objective Alignment25 Aug 2026
- 2026Learning Dynamic Representations and Policies from Multimodal Clinical Time-Series with Informative Missingness23 Apr 2026
- 2026Uncertainty-Aware Gradient Signal-to-Noise Data Selection for Instruction Tuning20 Jan 2026
- 2025Learning Multimodal Embeddings for Traffic Accident Prediction and Causal Estimation2 Dec 2025
- 2025Efficiently Learning Branching Networks for Multitask Algorithmic Reasoning30 Nov 2025
- 2025Scalable Multi-Objective and Meta Reinforcement Learning via Gradient Estimation16 Nov 2025
- 2025Causal Representation Learning from Multimodal Clinical Records under Non-Random Modality Missingness21 Sep 2025
- 2025Linear-Time Demonstration Selection for In-Context Learning via Gradient Estimation27 Aug 2025
Similar, not cited
Close in wording, no citation either way
- 2025Rank Also Matters: Hierarchical Configuration for Mixture of Adapter Experts in LLM Fine-Tuning
- 2024Take the essence and discard the dross: A Rethinking on Data Selection for Fine-Tuning Large Language Models
- 2025LoRA Is Slower Than You Think
- 2024Scaling Sparse Fine-Tuning to Large Language Models
- 2026GPart: End-to-End Isometric Fine-Tuning via Global Parameter Partitioning
- 2025ScaLoRA: Optimally Scaled Low-Rank Adaptation for Efficient High-Rank Fine-Tuning
- 2025GoRA: Gradient-driven Adaptive Low Rank Adaptation
- 2024Rethinking Data Selection at Scale: Random Selection is Almost All You Need