arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2309.06759cs.CL
收藏

面向少样本自然语言生成的缩放提示微调

Scaled Prompt-Tuning for Few-Shot Natural Language Generation

Hasso Plattner Institute(哈索·普拉特纳研究所);University of Potsdam(波茨坦大学)

Ting Hu, Christoph Meinel, Haojin Yang

AI总结:

针对少样本自然语言生成,提出缩放提示微调(SPT)方法,在冻结大部分参数的同时提升性能与泛化能力,为数据匮乏和计算受限场景提供高效解决方案。

摘要:

日益庞大的大型语言模型(LLMs)展现出更强的语言理解与生成能力,但在下游任务上微调LLMs的内存需求与计算成本不容忽视。此外,微调通常需要来自各个任务的一定数量的数据,而数据收集成本是实际应用中需要考虑的另一个问题。在本研究中,我们专注于少样本自然语言生成(NLG)的参数高效微调(PEFT)方法,该方法冻结LLMs中的大部分参数,并在少样本情况下调整一小部分参数,从而在保持甚至提高性能的同时减少内存占用、训练成本和标注成本。我们提出了一种缩放提示微调(SPT)方法,它以更好的性能和泛化能力超越了传统的PT,且没有明显增加训练成本。对中间SPT的进一步研究表明,SPT在少样本场景中具有卓越的可迁移性,为数据匮乏和计算受限的环境提供了方案。此外,对现有PEFT方法的全面比较显示,某些在先前研究中以适度训练成本表现出不错性能的方法(如Prefix-Tuning)在少样本NLG任务中可能会遇到困难,尤其是在具有挑战性的数据集上。

英文摘要:

The increasingly Large Language Models (LLMs) demonstrate stronger language understanding and generation capabilities, while the memory demand and computation cost of fine-tuning LLMs on downstream tasks are non-negligible. Besides, fine-tuning generally requires a certain amount of data from individual tasks whilst data collection cost is another issue to consider in real-world applications. In this work, we focus on Parameter-Efficient Fine-Tuning (PEFT) methods for few-shot Natural Language Generation (NLG), which freeze most parameters in LLMs and tune a small subset of parameters in few-shot cases so that memory footprint, training cost, and labeling cost are reduced while maintaining or even improving the performance. We propose a Scaled Prompt-Tuning (SPT) method which surpasses conventional PT with better performance and generalization ability but without an obvious increase in training cost. Further study on intermediate SPT suggests the superior transferability of SPT in few-shot scenarios, providing a recipe for data-deficient and computation-limited circumstances. Moreover, a comprehensive comparison of existing PEFT methods reveals that certain approaches exhibiting decent performance with modest training cost such as Prefix-Tuning in prior study could struggle in few-shot NLG tasks, especially on challenging datasets.

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

↑