arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.06648cs.CLcs.AIcs.LG
收藏

通过LLM生成的对比集增强NLP鲁棒性与泛化能力:一个用于系统评估与对抗训练的可扩展框架

Enhancing NLP Robustness and Generalization through LLM-Generated Contrast Sets: A Scalable Framework for Systematic Evaluation and Adversarial Training

College of Natural Sciences, The University of Texas at Austin(德克萨斯大学奥斯汀分校自然科学学院)

Hender Lin

AI总结:

本文提出利用LLM自动生成多样化对比集,并在SNLI上构建3000样本对比集,通过微调提升模型鲁棒性和泛化能力,为NLP系统评估与对抗训练提供可扩展框架。

摘要:

标准NLP基准测试往往无法捕捉由数据集伪影和虚假相关性导致的脆弱性。对比集通过在决策边界附近挑战模型来弥补这一不足,但传统上创建对比集劳动密集且多样性有限。本研究利用大型语言模型来自动化生成多样化的对比集。使用SNLI数据集,我们创建了一个包含3,000个样本的对比集,用于评估和改进模型鲁棒性。在这些对比集上进行微调提升了对系统性扰动样本的性能,保持了标准测试准确率,并适度改善了对新扰动的泛化能力。这种自动化方法为评估和改进NLP模型提供了一种可扩展的解决方案,应对系统性泛化挑战,并提升现实世界应用中的鲁棒性。

英文摘要:

Standard NLP benchmarks often fail to capture vulnerabilities stemming from dataset artifacts and spurious correlations. Contrast sets address this gap by challenging models near decision boundaries but are traditionally labor-intensive to create and limited in diversity. This study leverages large language models to automate the generation of diverse contrast sets. Using the SNLI dataset, we created a 3,000-example contrast set to evaluate and improve model robustness. Fine-tuning on these contrast sets enhanced performance on systematically perturbed examples, maintained standard test accuracy, and modestly improved generalization to novel perturbations. This automated approach offers a scalable solution for evaluating and improving NLP models, addressing systematic generalization challenges, and advancing robustness in real-world applications.

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

↑