arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.02422cs.CLcs.LG

利用 PEFT 与合成数据增强低资源 LLM 分类

Enhancing Low-Resource LLMs Classification with PEFT and Synthetic Data

Amazon(亚马逊)

Parth Patwa, Simone Filice, Zhiyu Chen, Giuseppe Castellucci, Oleg Rokhlenko, Shervin Malmasi

AI总结:

针对每类仅4个示例的低资源文本分类,提出结合合成数据生成、过滤与PEFT的单LLM流程,在保持零样本效率的同时达到媲美ICL的准确率。

摘要:

在零样本或少样本设置下运行的大型语言模型(LLM)能够在文本分类任务中取得具有竞争力的结果。上下文学习(ICL)通常比零样本设置获得更高的准确率,但由于输入提示更长,其在效率方面付出代价。本文提出一种策略,使 LLM 具备与零样本文本分类器相当的效率,同时获得与 ICL 相当甚至更好的准确率。该方案面向低资源设置,即每个类别仅有 4 个示例可用。我们使用单个 LLM 和少样本真实数据,依次执行生成、过滤以及参数高效微调(PEFT)步骤,以构建鲁棒且高效的分类器。实验结果表明,该方法在多个文本分类数据集上取得了具有竞争力的结果。

英文摘要:

Large Language Models (LLMs) operating in 0-shot or few-shot settings achieve competitive results in Text Classification tasks. In-Context Learning (ICL) typically achieves better accuracy than the 0-shot setting, but it pays in terms of efficiency, due to the longer input prompt. In this paper, we propose a strategy to make LLMs as efficient as 0-shot text classifiers, while getting comparable or better accuracy than ICL. Our solution targets the low resource setting, i.e., when only 4 examples per class are available. Using a single LLM and few-shot real data we perform a sequence of generation, filtering and Parameter-Efficient Fine-Tuning steps to create a robust and efficient classifier. Experimental results show that our approach leads to competitive results on multiple text classification datasets.

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

↑