arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.05157cs.CL
收藏

跨类别与样本层级的集成去偏,以实现更公平的提示准确率

Ensemble Debiasing Across Class and Sample Levels for Fairer Prompting Accuracy

Department of Computer Science(计算机科学系);National University of Singapore(新加坡国立大学)

Ruixi Lin, Ziqiao Wang, Yang You

AI总结:

针对少样本文本分类中的类别准确率不平衡,提出基于 Heaviside 阶跃函数的类别级与样本级集成去偏方法,在 Llama-2 多个基准上实现更公平且最先进的准确率提升。

摘要:

语言模型是强大的少样本学习器,在文本分类任务中取得了良好的总体准确率,但这掩盖了其结果存在严重类别准确率不平衡的事实。我们认为,追求总体准确率不应来自增强强势类别,而应提升弱势类别。为解决这种不平衡,我们提出一种基于 Heaviside 阶跃函数的集成去偏方法,能够在类别和样本两个层级对上下文学习得到的类别概率进行灵活校正。使用 Llama-2-13B 在七个文本分类基准上的评估表明,我们的方法在类别准确率保持平衡的同时,取得了最先进的总体准确率提升。更重要的是,我们对所得概率校正方案进行分析,结果表明样本级校正对于提升弱势类别是必要的。由于能够有效校正弱势类别,我们的方法还为更大的模型变体 Llama-2-70B 带来显著性能提升,尤其是在生物医学领域任务上,进一步证明了在两个层级进行集成去偏的必要性。源代码可在 https://github.com/NUS-HPC-AI-Lab/DCS 获取。

英文摘要:

Language models are strong few-shot learners and achieve good overall accuracy in text classification tasks, masking the fact that their results suffer from great class accuracy imbalance. We believe that the pursuit of overall accuracy should not come from enriching the strong classes, but from raising up the weak ones. To address the imbalance, we propose a Heaviside step function based ensemble debiasing method, which enables flexible rectifications of in-context learned class probabilities at both class and sample levels. Evaluations with Llama-2-13B on seven text classification benchmarks show that our approach achieves state-of-the-art overall accuracy gains with balanced class accuracies. More importantly, we perform analyses on the resulted probability correction scheme, showing that sample-level corrections are necessary to elevate weak classes. Due to effectively correcting weak classes, our method also brings significant performance gains to a larger model variant, Llama-2-70B, especially on a biomedical domain task, further demonstrating the necessity of ensemble debiasing at both levels. Our source code is available at https://github.com/NUS-HPC-AI-Lab/DCS.

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

↑