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

大型语言模型作为标注器:以最小成本增强NLP模型的泛化能力

Large Language Models as Annotators: Enhancing Generalization of NLP Models at Minimal Cost

Microsoft Research India(微软印度研究院)

Parikshit Bansal, Amit Sharma

AI总结:

研究使用LLM作为标注器以低成本提升NLP模型泛化能力,提出基于基础模型与微调模型预测分数差异的采样策略,在分类和排序任务中显著提升了训练域和目标域的准确率。

摘要:

最先进的监督式NLP模型实现了高准确率,但也容易在低数据分布的输入上失效,例如训练数据中未表示的领域。作为收集特定领域真实标签的替代方案,我们研究了使用大型语言模型(LLM)标注输入并提高NLP模型泛化能力的方法。具体而言,在给定LLM标注预算的情况下,我们提出了一种算法,用于采样最具信息量的输入进行标注并重新训练NLP模型。我们发现,基于不确定性的采样等流行的主动学习策略效果不佳。相反,我们提出了一种基于基础模型和微调NLP模型之间预测分数差异的采样策略,利用了大多数NLP模型都是从基础模型微调而来的事实。分类(语义相似度)和排序(语义搜索)任务的实验表明,我们的采样策略在训练域和目标域的准确率上都带来了显著提升。

英文摘要:

State-of-the-art supervised NLP models achieve high accuracy but are also susceptible to failures on inputs from low-data regimes, such as domains that are not represented in training data. As an approximation to collecting ground-truth labels for the specific domain, we study the use of large language models (LLMs) for annotating inputs and improving the generalization of NLP models. Specifically, given a budget for LLM annotations, we present an algorithm for sampling the most informative inputs to annotate and retrain the NLP model. We find that popular active learning strategies such as uncertainty-based sampling do not work well. Instead, we propose a sampling strategy based on the difference in prediction scores between the base model and the finetuned NLP model, utilizing the fact that most NLP models are finetuned from a base model. Experiments with classification (semantic similarity) and ranking (semantic search) tasks show that our sampling strategy leads to significant gains in accuracy for both the training and target domains.

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

↑