用成对查询提升模型在不确定样本上的判断准确率
Improving Selective Classification with Pairwise Queries for Binary Classification

- 通过让模型对比样本对来识别高错判风险点
- 在5个数据集上均实现更低的非拒绝样本错误率
- 适合需要降低人工标注成本的场景
在选择性分类中,模型仅对自身有信心的样本进行预测,对无把握的样本则放弃预测,这些被拒样本通常需专家标注,成本较高。理想情况下,模型应确保未被拒绝样本的错误率低。然而,模型的置信度估计与实际预测可能不一致,导致未被拒绝样本错误率偏高,这种情况在大语言模型的上下文学习二分类中尤为常见。为此,我们提出引入额外的成对查询:让同一模型对样本对进行比较,以发现高错误风险样本,并将其纳入选择性分类机制,从而降低未被拒绝样本的误差。理论上,我们建立了使用成对查询的简单算法优于原始置信度估计的条件。在1个合成数据集和4个基于上下文学习的真实二分类数据集上,实验表明,使用成对查询的算法相比仅依赖原始置信度(如LLM的下一个词概率)能获得更优的准确率-成本权衡。
原文摘要 · Abstract (English)
In selective classification, a model predicts the labels of data samples where it is confident, and abstains from predicting labels for samples on which it is not confident. The rejected samples are often labeled by an expert, which is expensive. The budget for the expert is best utilized when the model has low error on non-rejected samples. However, the estimate of a model's confidence might be inconsistent with the model's predictions, which can lead to high error on non-rejected points. Such situations can readily occur in in-context binary classification by LLMs. To remedy this, we propose making additional pairwise queries to the same model. These pairwise queries can detect high-error samples and be incorporated into selective classification techniques to reduce the error on non-rejected samples. Theoretically, we establish the conditions under which a simple algorithm using pairwise queries outperforms an inconsistent confidence estimate. We support this insight through extensive experiments for $1$ synthetic and $4$ in-context learning-based real binary classification datasets. In all these cases, we show that our algorithms, using pairwise queries, obtain a better accuracy-cost tradeoff than using only the raw confidence estimates, for instance, the LLM's next-token logits.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。