arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2406.07001cs.CLcs.AI
收藏

大语言模型时代缓解文本分类中的边界模糊与固有偏差

Mitigating Boundary Ambiguity and Inherent Bias for Text Classification in the Era of Large Language Models

School of Computer Science and Technology, Huazhong University of Science and Technology(华中科技大学计算机科学与技术学院);Joint Laboratory of HUST and Pingan Property & Casualty Research (HPL)(华中科技大学与平安财产保险研究联合实验室);Shanghai AI Laboratory(上海人工智能实验室);The Chinese University of Hong Kong(香港中文大学);Ping An Property & Casualty Insurance Company of China, Ltd.(中国平安财产保险股份有限公司)

Zhenyi Lu, Jie Tian, Wei Wei, Xiaoye Qu, Yu Cheng, Wenfeng xie, Dangyang Chen

AI总结:

针对LLM文本分类中选项变化导致的边界模糊与位置/token偏差,提出自归约加成对对比思维链的两阶段框架,并在四个数据集上验证其跨模型一致提升。

摘要:

文本分类是实际场景中频繁遇到的一项关键任务,但在大语言模型(LLM)时代,它仍未得到充分研究。本研究表明,LLM容易受到文本分类中选项数量和排列变化的影响。大量实证分析揭示,关键瓶颈源于模糊的决策边界以及对特定 token 和位置的固有偏差。为缓解这些问题,我们首次进行尝试,为 LLM 提出了一种新颖的两阶段分类框架。该方法基于一项实证观察:成对比较能够有效缓解边界模糊和固有偏差。具体而言,我们首先采用自归约技术高效缩小众多选项的范围,从而减少决策空间并加快比较过程。随后,以思维链方式进行成对对比比较,以引出细微差别并区分易混淆选项,进而细化模糊的决策边界。在 Banking77、HWU64、LIU54 和 Clinic150 四个数据集上的大量实验验证了该框架的有效性。此外,得益于该框架,多种 LLM 都能获得一致提升。代码和数据可在 https://github.com/Chuge0335/PC-CoT 获取。

英文摘要:

Text classification is a crucial task encountered frequently in practical scenarios, yet it is still under-explored in the era of large language models (LLMs). This study shows that LLMs are vulnerable to changes in the number and arrangement of options in text classification. Our extensive empirical analyses reveal that the key bottleneck arises from ambiguous decision boundaries and inherent biases towards specific tokens and positions. To mitigate these issues, we make the first attempt and propose a novel two-stage classification framework for LLMs. Our approach is grounded in the empirical observation that pairwise comparisons can effectively alleviate boundary ambiguity and inherent bias. Specifically, we begin with a self-reduction technique to efficiently narrow down numerous options, which contributes to reduced decision space and a faster comparison process. Subsequently, pairwise contrastive comparisons are employed in a chain-of-thought manner to draw out nuances and distinguish confusable options, thus refining the ambiguous decision boundary. Extensive experiments on four datasets (Banking77, HWU64, LIU54, and Clinic150) verify the effectiveness of our framework. Furthermore, benefitting from our framework, various LLMs can achieve consistent improvements. Our code and data are available in \url{https://github.com/Chuge0335/PC-CoT}.

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

↑