mlsanityData to 14 Oct 2026

Efficient Ensemble for Fine-tuning Language Models on Multiple Datasets

arXiv 2505.21930 ↗First posted 28 May 2025cs.LG cs.CLcited by 10

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

  1. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  2. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  3. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  4. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
  5. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
  6. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
  7. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
  8. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,073
  9. 2017Understanding Black-box Predictions via Influence Functionscited by 1,741
  10. 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,729
  11. 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,396
  12. 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,375
17 more
  1. 2020AdapterFusion: Non-Destructive Task Composition for Transfer Learningcited by 788
  2. 2024LESS: Selecting Influential Data for Targeted Instruction Tuningcited by 532
  3. 2021Recent Advances in Natural Language Processing via Large Pre-Trained Language Models: A Surveycited by 463
  4. 2019Multi-Task Deep Neural Networks for Natural Language Understandingcited by 350
  5. 2017A PAC-Bayesian Approach to Spectrally-Normalized Margin Bounds for Neural Networkscited by 314
  6. 2023TRAK: Attributing Model Behavior at Scalecited by 283
  7. 2021Efficiently Identifying Task Groupings for Multi-Task Learningcited by 222
  8. 2021Multi-Task Reinforcement Learning with Context-based Representationscited by 174
  9. 2020Understanding and Improving Information Transfer in Multi-Task Learningcited by 114
  10. 2023LQ-LoRA: Low-rank Plus Quantized Matrix Decomposition for Efficient Language Model Finetuningcited by 92
  11. 2023Parameter-Efficient Fine-Tuning Design Spacescited by 67
  12. 2024CogBench: a large language model walks into a psychology labcited by 63
  13. 2022Robust Fine-Tuning of Deep Neural Networks with Hessian-based Generalization Guaranteescited by 34
  14. 2020Precise High-Dimensional Asymptotics for Quantifying Heterogeneous Transferscited by 27
  15. 2024Scalable Multitask Learning Using Gradient-based Estimation of Task Affinitycited by 20
  16. 2024Scalable Fine-tuning from Multiple Data Sources: A First-Order Approximation Approachcited by 13
  17. 2024Interactive Machine Teaching by Labeling Rules and Instancescited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 5; 2026: 5.

10 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Rank Also Matters: Hierarchical Configuration for Mixture of Adapter Experts in LLM Fine-Tuning
  2. 2024Take the essence and discard the dross: A Rethinking on Data Selection for Fine-Tuning Large Language Models
  3. 2025LoRA Is Slower Than You Think
  4. 2024Scaling Sparse Fine-Tuning to Large Language Models
  5. 2026GPart: End-to-End Isometric Fine-Tuning via Global Parameter Partitioning
  6. 2025ScaLoRA: Optimally Scaled Low-Rank Adaptation for Efficient High-Rank Fine-Tuning
  7. 2025GoRA: Gradient-driven Adaptive Low Rank Adaptation
  8. 2024Rethinking Data Selection at Scale: Random Selection is Almost All You Need