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

LM-CPPF: 面向基于对比提示的少样本微调的释义引导数据增强

LM-CPPF: Paraphrasing-Guided Data Augmentation for Contrastive Prompt-Based Few-Shot Fine-Tuning

Google DeepMind(谷歌DeepMind);Tehran Institute for Advanced Studies, Khatam University(德黑兰高级研究学院,哈塔姆大学)

Amirhossein Abaskohi, Sascha Rothe, Yadollah Yaghoobzadeh

AI总结:

针对预训练语言模型小数据集微调效果差的问题,提出LM-CPPF方法,借助大语言模型的少样本释义能力做数据增强,结合对比提示微调,在多个文本分类基准上优于现有增强方法。

摘要:

近年来,面向自然语言处理(NLP)的预训练语言模型研发取得了显著进展,但这类模型在小数据集上微调时往往表现不佳。为解决这一问题,研究者提出了多种适配方法,其中基于提示的调优可以说是最常用的方式,针对更大规模的模型尤其如此。已有研究表明,在基于提示的微调中加入对比学习十分有效,它能帮助模型生成类别间区分度更高的嵌入,同时由于模型可同时从正例和负例中学习,样本效率也更高。对比学习最重要的组成部分之一是数据增强,但与计算机视觉不同,NLP领域有效的数据增强方法仍具挑战性。本文提出LM-CPPF,即基于对比释义引导的语言模型提示微调方法,利用生成式语言模型(尤其是GPT-3、OPT-175B等大语言模型)的基于提示的少样本释义能力来实现数据增强。我们在多个文本分类基准上的实验表明,该增强方法的性能优于简易数据增强、回译、多模板等其他方法。

英文摘要:

In recent years, there has been significant progress in developing pre-trained language models for NLP. However, these models often struggle when fine-tuned on small datasets. To address this issue, researchers have proposed various adaptation approaches. Prompt-based tuning is arguably the most common way, especially for larger models. Previous research shows that adding contrastive learning to prompt-based fine-tuning is effective as it helps the model generate embeddings that are more distinguishable between classes, and it can also be more sample-efficient as the model learns from positive and negative examples simultaneously. One of the most important components of contrastive learning is data augmentation, but unlike computer vision, effective data augmentation for NLP is still challenging. This paper proposes LM-CPPF, Contrastive Paraphrasing-guided Prompt-based Fine-tuning of Language Models, which leverages prompt-based few-shot paraphrasing using generative language models, especially large language models such as GPT-3 and OPT-175B, for data augmentation. Our experiments on multiple text classification benchmarks show that this augmentation method outperforms other methods, such as easy data augmentation, back translation, and multiple templates.

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

↑