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

让模糊规则说话:通过可解释性增强上下文学习去偏

Let the Fuzzy Rule Speak: Enhancing In-context Learning Debiasing with Interpretability

National University of Singapore(新加坡国立大学)

Ruixi Lin, Yang You

AI总结:

针对大型语言模型在上下文学习文本分类中类别准确率不平衡问题,提出基于模糊规则优化的FuRud方法,通过样本级概率修正提升可解释性,在七个数据集上降低COBias超56%且相对提高准确率21%。

摘要:

大型语言模型(LLMs)在使用上下文学习(ICL)进行文本分类任务时,往往难以实现均衡的类别准确率,这会因错误分类导致用户不满或安全风险,阻碍部分实际应用。重新训练LLMs以解决数据或模型先验中的根本原因既不简单也不具成本效益。本文深入研究类别准确率不平衡问题,发现其源于某些类别持续获得不成比例的高ICL概率,导致其他类别预测不足和准确率较低。更重要的是,概率范围对不平衡的影响不同,可进行精确的、针对特定范围的修正。我们引入FuRud(基于模糊规则优化的去偏),一种样本级类别概率修正方法。FuRud通过确定某些类别为何需要修正,并为每个实例的类别概率量身定制调整(由具有三角隶属函数的模糊集驱动,根据所属范围转换类别概率),解决了可解释性挑战。通过使用带标签的ICL类别概率集解决非线性整数规划问题,以最小化类别准确率偏差(COBias)并最大化整体准确率,每个类别从19个三角隶属函数中选择最优修正函数,无需更新LLM,所选函数在推理时修正测试实例。在七个基准数据集上,FuRud将COBias降低超一半(56%),相对提高整体准确率21%,优于最先进的去偏方法。

英文摘要:

Large language models (LLMs) often struggle with balanced class accuracy in text classification tasks using in-context learning (ICL), hindering some practical uses due to user dissatisfaction or safety risks caused by misclassifications. Retraining LLMs to address root causes in data or model priors is neither easy nor cost-effective. This paper delves deeper into the class accuracy imbalance issue, identifying that it arises because certain classes consistently receive disproportionately high ICL probabilities, causing under-prediction and lower accuracy for others. More importantly, probability ranges affect the imbalance differently, allowing for precise, range-specific corrections. We introduce FuRud (Fuzzy Rule Optimization-based Debiasing), a method for sample-level class probability correction. FuRud tackles interpretability challenges by determining why certain classes need corrections and tailoring adjustments for each instance's class probabilities which is powered by fuzzy sets with triangular membership functions, transforming a class probability based on the range it belongs to. By solving a nonlinear integer programming problem with a labeled set of ICL class probabilities to minimize class accuracy bias (COBias) and maximize overall accuracy, each class selects an optimal correction function from 19 triangular membership functions without updating an LLM, and the selected functions correct test instances at inference. Across seven benchmark datasets, FuRud reduces COBias by over half (56%) and improves overall accuracy by 21% relatively, outperforming state-of-the-art debiasing methods.

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

↑