RIFF:学习改写输入以实现语言模型的少样本微调
RIFF: Learning to Rephrase Inputs for Few-shot Fine-tuning of Language Models
AI总结:
本文提出RIFF方法,通过训练少样本释义模型改写输入文本,并与参数高效微调结合,在六个文本分类数据集上提升少样本性能。
摘要:
预训练语言模型(PLMs)可以针对下游文本处理任务进行精确微调。近年来,研究者提出了多种参数高效微调方法,这些方法优化输入提示或调整少量模型参数(例如LoRA)。在本研究中,我们探索了在结合参数高效微调方法的情况下,改写原始任务输入文本所带来的影响。为了最有效地改写输入文本,我们使用最大边际似然目标训练了一个少样本释义模型。通过在六个少样本文本分类数据集上的实验,我们表明在训练和测试阶段利用释义丰富数据,能够将性能提升到仅靠参数高效微调无法达到的水平。我们的实验代码可在 https://github.com/SaeedNajafi/RIFF 获取。
英文摘要:
Pre-trained Language Models (PLMs) can be accurately fine-tuned for downstream text processing tasks. Recently, researchers have introduced several parameter-efficient fine-tuning methods that optimize input prompts or adjust a small number of model parameters (e.g LoRA). In this study, we explore the impact of altering the input text of the original task in conjunction with parameter-efficient fine-tuning methods. To most effectively rewrite the input text, we train a few-shot paraphrase model with a Maximum-Marginal Likelihood objective. Using six few-shot text classification datasets, we show that enriching data with paraphrases at train and test time enhances the performance beyond what can be achieved with parameter-efficient fine-tuning alone. The code used for our experiments can be found at https://github.com/SaeedNajafi/RIFF.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。