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

使用 LLMs 为最终用户解释反事实示例集合

Using LLMs for Explaining Sets of Counterfactual Examples to Final Users

Universitat de Barcelona(巴塞罗那大学)

Arturo Fredes, Jordi Vitria

AI总结:

本文提出一种多步流水线,利用 LLMs 将表格数据分类器中的反事实示例集合转化为自然语言解释,以帮助最终用户理解如何改变决策结果,并通过闭环评估验证了其有效性。

摘要:

因果性对于理解预测模型中变量之间的真实因果关系至关重要,而非仅仅依赖相关性,这使得它在可解释 AI 领域具有高度相关性。在自动化决策场景中,因果推断方法可以分析底层数据生成过程,通过操纵特征并创建反事实示例来解释模型的决策。这些反事实示例探索了改变最少数量因素的假设场景,为最终用户提供了关于如何改变其状况的宝贵信息。然而,对于不习惯分析原始数据记录的最终用户来说,解释多个反事实的集合可能具有挑战性。在我们的工作中,我们提出了一种新颖的多步流水线,该流水线使用反事实示例生成自然语言解释,说明在表格数据分类器中将导致结果改变的操作,并使用 LLMs。该流水线旨在引导 LLM 完成较小的任务,这些任务模仿了人类在基于反事实案例解释决策时的推理过程。我们使用公开数据集进行了各种实验,并提出了一种闭环评估方法,以评估最终解释与反事实示例的一致性以及内容质量。结果令人鼓舞,尽管应该使用其他数据集进行进一步的实验和人类评估。

英文摘要:

Causality is vital for understanding true cause-and-effect relationships between variables within predictive models, rather than relying on mere correlations, making it highly relevant in the field of Explainable AI. In an automated decision-making scenario, causal inference methods can analyze the underlying data-generation process, enabling explanations of a model's decision by manipulating features and creating counterfactual examples. These counterfactuals explore hypothetical scenarios where a minimal number of factors are altered, providing end-users with valuable information on how to change their situation. However, interpreting a set of multiple counterfactuals can be challenging for end-users who are not used to analyzing raw data records. In our work, we propose a novel multi-step pipeline that uses counterfactuals to generate natural language explanations of actions that will lead to a change in outcome in classifiers of tabular data using LLMs. This pipeline is designed to guide the LLM through smaller tasks that mimic human reasoning when explaining a decision based on counterfactual cases. We conducted various experiments using a public dataset and proposed a method of closed-loop evaluation to assess the coherence of the final explanation with the counterfactuals, as well as the quality of the content. Results are promising, although further experiments with other datasets and human evaluations should be carried out.

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

↑