Lune

ACL2025顶会

Efficient Ensemble for Fine-tuning Language Models on Multiple Datasets

Dongyue Li, Ziniu Zhang, Lu Wang, Hongyang R. Zhang

2025年份
8被引次数
4顶会引用

摘要

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 nn datasets into mm groups, where mm is typically much smaller than nn 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%1\% error on models with up to 3434 billion parameters, leading to an estimation of true fine-tuning performances under 5%5\% error while speeding up computation compared to base fine-tuning by 105105 times. When applied to fine-tune Llama and GPT models on ten text classification tasks, our approach provides up to 10%10\% higher average test accuracy over QLoRA, with only 9%9\% more FLOPs. On a Llama model with 3434 billion parameters, an ensemble of QLoRA increases test accuracy by 3%3\% compared to QLoRA, with only 8%8\% more FLOPs.

问问这篇 Paper

智能体会读完全文。

Lune 把这篇 Paper 索引到了最后一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。

可以从这些问题问起

智能体调用

Luneget_paper_fulltext

在 Lune 里问

免费开始,无需绑卡

lune papers fulltext 94fee990-7d96-4edd-b991-6a67682ededf

引用它的顶会 Paper4

问问它们各自怎么用它

它引用的顶会 Paper17

相关 Paper

黄昏的海面,两侧是细线勾勒的悬崖