arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2401.04051cs.LGcs.CL
收藏

大型预训练语言模型高效微调方法的实证分析

Empirical Analysis of Efficient Fine-Tuning Methods for Large Pre-Trained Language Models

Halıcıoğlu Data Science Institute(哈勒奇奥卢数据科学研究所);University of California San Diego(加利福尼亚大学圣迭戈分校)

Nigel Doering, Cyril Gorlla, Trevor Tuttle, Adhvaith Vijay

AI总结:

本文实证比较了BitFit和adapter模块等高效微调方法,发现BitFit在参数效率和性能间取得优异平衡,在数据受限时稳定性强,为大型预训练模型的高效适应提供了实用指南。

摘要:

针对下游任务微调大型预训练语言模型仍是自然语言处理中的关键挑战。本文对两种高效微调方法——BitFit和adapter模块——与标准全模型微调进行了实证分析比较。在GLUE基准数据集(MRPC、COLA、STS-B)上进行的实验揭示了几个关键见解。仅训练偏置项和任务头的BitFit方法在不同训练数据量和时间限制下均能匹配全微调性能。它即使在仅使用30%数据时也表现出显著的稳定性,在中等数据量上优于全微调。adapter模块表现出高变异性,对默认模型的增益不一致。研究结果表明BitFit在性能和参数效率之间提供了有吸引力的平衡。本研究为模型微调提供了有价值的视角,强调鲁棒性,并突显BitFit作为资源受限或流式任务环境的有前景替代方案。该分析为大型预训练模型的高效适应提供了可操作指南,同时阐明了稳定adapter模块等技术面临的开放挑战。

英文摘要:

Fine-tuning large pre-trained language models for downstream tasks remains a critical challenge in natural language processing. This paper presents an empirical analysis comparing two efficient fine-tuning methods - BitFit and adapter modules - to standard full model fine-tuning. Experiments conducted on GLUE benchmark datasets (MRPC, COLA, STS-B) reveal several key insights. The BitFit approach, which trains only bias terms and task heads, matches full fine-tuning performance across varying amounts of training data and time constraints. It demonstrates remarkable stability even with only 30\% of data, outperforming full fine-tuning at intermediate data levels. Adapter modules exhibit high variability, with inconsistent gains over default models. The findings indicate BitFit offers an attractive balance between performance and parameter efficiency. Our work provides valuable perspectives on model tuning, emphasizing robustness and highlighting BitFit as a promising alternative for resource-constrained or streaming task settings. The analysis offers actionable guidelines for efficient adaptation of large pre-trained models, while illustrating open challenges in stabilizing techniques like adapter modules.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑