用迭代方法提升大模型生成噪声标签时的分类器性能
Calibrating Pre-trained Language Classifiers on LLM-generated Noisy Labels via Iterative Refinement
- 通过文本嵌入空间邻近标签分布,动态筛选真实标签候选
- 在零样本和少样本场景下,使BERT分类器准确率平均提升7.21%和7.30%
- 适用于使用LLM生成标签的NLP任务,尤其适合资源有限的场景
传统标注数据集构建过程耗时且成本高。近年来,开源大语言模型(LLM)的发展为自动生成各类自然语言处理任务的标注数据提供了新途径,成为人工标注的替代方案。然而,自动生成标签的可靠性仍受固有误差影响。当模型从噪声标签中学习时,容易过拟合噪声,损害泛化能力。现有研究多关注合成噪声或真实世界噪声,对LLM生成的标签噪声关注较少。本文提出SiDyP:Simplex Label Diffusion with Dynamic Prior,通过检索文本嵌入空间中的邻近标签分布来获取潜在真实标签候选,并利用单纯形扩散模型进行迭代优化。该框架在不同LLM和多种NLP任务上的基准测试中均表现优异,使在零样本和少样本条件下微调的BERT分类器性能分别平均提升7.21%和7.30%。代码已公开于GitHub。
原文摘要 · Abstract (English)
The traditional process of creating labeled datasets is labor-intensive and expensive. Recent breakthroughs in open-source large language models (LLMs) have opened up a new avenue in generating labeled datasets automatically for various natural language processing (NLP) tasks, providing an alternative to such an expensive annotation process. However, the reliability of such auto-generated labels remains a significant concern due to inherent inaccuracies. When learning from noisy labels, the model's generalization is likely to be harmed as it is prone to overfit to those label noises. While previous studies in learning from noisy labels mainly focus on synthetic noise and real-world noise, LLM-generated label noise receives less attention. In this paper, we propose SiDyP: Simplex Label Diffusion with Dynamic Prior to calibrate the classifier's prediction, thus enhancing its robustness towards LLM-generated noisy labels. SiDyP retrieves potential true label candidates by neighborhood label distribution in text embedding space and iteratively refines noisy candidates using a simplex diffusion model. Our framework can increase the performance of the BERT classifier fine-tuned on both zero-shot and few-shot LLM-generated noisy label datasets by an average of 7.21% and 7.30% respectively. We demonstrate the effectiveness of SiDyP by conducting extensive benchmarking for different LLMs over a variety of NLP tasks. Our code is available on Github.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。