arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2310.17041cs.CLcs.AIcs.IR
收藏

关于语言编码器的外科手术式微调

On Surgical Fine-tuning for Language Encoders

University of Massachusetts, Amherst(马萨诸塞大学阿默斯特分校);Microsoft Corp.(微软公司);University of Maryland, College Park(马里兰大学学院公园分校)

Abhilasha Lodha, Gayatri Belapurkar, Saloni Chalkapurkar, Yuanming Tao, Reshmi Ghosh, Samyadeep Basu, Dmitrii Petrov, Soundararajan Srinivasan

AI总结:

本文提出基于Fisher信息矩阵对角线的FIM分数来选择语言编码器中需微调的关键层,证明仅微调少数层即可在GLUE和SuperGLUE等任务上达到甚至超过全层微调的性能。

摘要:

对预训练神经语言编码器的所有层进行微调(无论是使用全部参数还是使用参数高效方法)通常是将其适配到新任务的事实标准方式。我们给出证据表明,对于不同的下游语言任务,仅微调语言编码器中的一个子集层就足以获得接近且往往优于微调所有层的性能。我们提出一种基于Fisher信息矩阵对角线的高效度量(FIM分数),用于为选择性微调选择候选层。我们在GLUE和SuperGLUE任务上以及跨不同语言编码器的实验表明,该度量能够有效选择出带来强大下游性能的层。我们的工作强调,与给定下游任务相对应的任务特定信息通常集中在少数几层内,仅微调这些层就足以获得强大性能。此外,我们证明了FIM分数在对层进行排序时具有鲁棒性,其排序方式在优化过程中保持不变。

英文摘要:

Fine-tuning all the layers of a pre-trained neural language encoder (either using all the parameters or using parameter-efficient methods) is often the de-facto way of adapting it to a new task. We show evidence that for different downstream language tasks, fine-tuning only a subset of layers is sufficient to obtain performance that is close to and often better than fine-tuning all the layers in the language encoder. We propose an efficient metric based on the diagonal of the Fisher information matrix (FIM score), to select the candidate layers for selective fine-tuning. We show, empirically on GLUE and SuperGLUE tasks and across distinct language encoders, that this metric can effectively select layers leading to a strong downstream performance. Our work highlights that task-specific information corresponding to a given downstream task is often localized within a few layers, and tuning only those is sufficient for strong performance. Additionally, we demonstrate the robustness of the FIM score to rank layers in a manner that remains constant during the optimization process.

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

↑