arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.08648cs.CLcs.AI
收藏

探索文本分类语言模型中概念层面的虚假相关性

Explore Spurious Correlations at the Concept Level in Language Models for Text Classification

College of Information Studies, University of Maryland(马里兰大学信息研究学院);Department of Computer Science, University of Maryland(马里兰大学计算机科学系)

Yuhang Zhou, Paiheng Xu, Xiaoyu Liu, Bang An, Wei Ai, Furong Huang

AI总结:

针对文本分类语言模型依赖概念—标签虚假相关性的问题,本文用ChatGPT标注概念并评估偏差,同时提出结合反事实生成的数据再平衡方法,效果优于传统词元移除。

摘要:

语言模型(LMs)已在众多NLP任务中取得显著成功,采用了微调和上下文学习(ICL)两种方法。尽管语言模型表现出卓越性能,但由于训练数据或ICL示例中标签分布不平衡所产生的虚假相关性,它们面临鲁棒性挑战。以往研究主要集中在词汇、短语和句法特征上,忽视了概念层面,这通常是因为缺乏概念标签且难以识别输入文本中的概念内容。本文提出两项主要贡献。首先,我们利用ChatGPT为文本分配概念标签,在测试数据上评估模型在微调或ICL过程中的概念偏差。我们发现,当语言模型在训练或提示中遇到概念与标签之间的虚假相关性时,会依赖捷径进行预测。其次,我们提出一种数据再平衡技术,该技术结合ChatGPT生成的反事实数据,从而平衡标签分布并缓解虚假相关性。通过大量测试验证,我们方法的有效性优于传统的词元移除方法。

英文摘要:

Language models (LMs) have achieved notable success in numerous NLP tasks, employing both fine-tuning and in-context learning (ICL) methods. While language models demonstrate exceptional performance, they face robustness challenges due to spurious correlations arising from imbalanced label distributions in training data or ICL exemplars. Previous research has primarily concentrated on word, phrase, and syntax features, neglecting the concept level, often due to the absence of concept labels and difficulty in identifying conceptual content in input texts. This paper introduces two main contributions. First, we employ ChatGPT to assign concept labels to texts, assessing concept bias in models during fine-tuning or ICL on test data. We find that LMs, when encountering spurious correlations between a concept and a label in training or prompts, resort to shortcuts for predictions. Second, we introduce a data rebalancing technique that incorporates ChatGPT-generated counterfactual data, thereby balancing label distribution and mitigating spurious correlations. Our method's efficacy, surpassing traditional token removal approaches, is validated through extensive testing.

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

↑