arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.22326stat.MLcs.LG
收藏

使用共形预测区间的个性化反事实示例

Individualised Counterfactual Examples Using Conformal Prediction Intervals

The Alan Turing Institute(阿尔法·图灵研究院);Department of Statistics, University of Oxford(牛津大学统计学系);University Of Edinburgh(爱丁堡大学);University Of Warwick(沃里克大学);School of Mathematics and Statistics, University of Glasgow(格拉斯哥大学数学与统计学学院)

James M. Adams, Gesine Reinert, Lukasz Szpruch, Carsten Maple, Andrew Elliott

AI总结:

本文提出个性化共形预测区间反事实(CPICFs)方法,通过显式建模个体知识并利用共形预测区间宽度量化预测不确定性,在高维特征空间中选择信息量最大的反事实示例,并在合成和真实数据集上验证了其效用。

摘要:

黑盒模型的反事实解释旨在向接收者提供对算法决策的洞察。对于二分类问题,个体反事实详细说明了为使模型推断出相反类别,可能需要改变哪些特征。机器学习分类模型典型的高维特征空间允许针对一个决策存在许多可能的反事实示例,因此确定额外标准以选择最有用的反事实非常重要。在本文中,我们探讨了这样一个想法:在考虑特定个体对底层分类器的知识时,反事实应当具有最大信息量。为了量化这种信息增益,我们显式地对个体的知识进行建模,并通过共形预测区间的宽度来评估个体所做预测的不确定性。预测区间较宽的特征空间区域对应于决策信心较低的区域,此时额外的反事实示例可能对个体提供更多信息。为了探索和评估我们的个性化共形预测区间反事实(CPICFs),首先,我们提出了一个超立方体上的合成数据集,使我们能够完全可视化决策边界、通过三种不同方法得到的共形区间以及生成的CPICFs。其次,在该合成数据集中,我们探索了单个CPICF对原始查询局部周围个体知识的影响。最后,在我们的合成数据集和包含连续与离散变量组合的复杂真实世界数据集中,我们通过数据增强来衡量这些反事实的效用,并在留出集上测试了性能。

英文摘要:

Counterfactual explanations for black-box models aim to pr ovide insight into an algorithmic decision to its recipient. For a binary classification problem an individual counterfactual details which features might be changed for the model to infer the opposite class. High-dimensional feature spaces that are typical of machine learning classification models admit many possible counterfactual examples to a decision, and so it is important to identify additional criteria to select the most useful counterfactuals. In this paper, we explore the idea that the counterfactuals should be maximally informative when considering the knowledge of a specific individual about the underlying classifier. To quantify this information gain we explicitly model the knowledge of the individual, and assess the uncertainty of predictions which the individual makes by the width of a conformal prediction interval. Regions of feature space where the prediction interval is wide correspond to areas where the confidence in decision making is low, and an additional counterfactual example might be more informative to an individual. To explore and evaluate our individualised conformal prediction interval counterfactuals (CPICFs), first we present a synthetic data set on a hypercube which allows us to fully visualise the decision boundary, conformal intervals via three different methods, and resultant CPICFs. Second, in this synthetic data set we explore the impact of a single CPICF on the knowledge of an individual locally around the original query. Finally, in both our synthetic data set and a complex real world dataset with a combination of continuous and discrete variables, we measure the utility of these counterfactuals via data augmentation, testing the performance on a held out set.

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

↑