arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.01238cs.CLcs.AIcs.LG

EvalxNLP:一个用于在NLP模型上对事后可解释性方法进行基准测试的框架

EvalxNLP: A Framework for Benchmarking Post-Hoc Explainability Methods on NLP Models

Technical University of Munich, School of Computation, Information and Technology, Department of Computer Science(慕尼黑技术大学,计算信息学院,计算机科学系)

Mahdi Dhaini, Kafaite Zahra Hussain, Efstratios Zaradoukas, Gjergji Kasneci

AI总结:

本文提出EvalxNLP框架,集成八种可解释性技术,支持对基于Transformer的NLP模型生成和评估解释,并提供基于LLM的交互式文本解释,用户满意度高。

摘要:

随着自然语言处理(NLP)模型不断发展并成为高风险应用不可或缺的一部分,确保其可解释性仍是一项关键挑战。鉴于可解释性方法的日益增多和利益相关者需求的多样性,帮助利益相关者选择适合其特定用例的解释的框架变得越来越重要。为满足这一需求,我们引入了EvalxNLP,这是一个用于对基于Transformer的NLP模型进行最先进特征归因方法基准测试的Python框架。EvalxNLP集成了来自可解释人工智能(XAI)文献的八种广泛认可的可解释性技术,使用户能够基于忠实度、合理性和复杂性等关键属性生成和评估解释。我们的框架还提供基于LLM的交互式文本解释,促进用户对生成的解释和评估结果的理解。人类评估结果表明用户对EvalxNLP的满意度很高,表明它是一个有前景的框架,适用于跨不同用户群体的解释方法基准测试。通过提供一个用户友好且可扩展的平台,EvalxNLP旨在普及可解释性工具,并支持NLP中XAI技术的系统比较和进步。

英文摘要:

As Natural Language Processing (NLP) models continue to evolve and become integral to high-stakes applications, ensuring their interpretability remains a critical challenge. Given the growing variety of explainability methods and diverse stakeholder requirements, frameworks that help stakeholders select appropriate explanations tailored to their specific use cases are increasingly important. To address this need, we introduce EvalxNLP, a Python framework for benchmarking state-of-the-art feature attribution methods for transformer-based NLP models. EvalxNLP integrates eight widely recognized explainability techniques from the Explainable AI (XAI) literature, enabling users to generate and evaluate explanations based on key properties such as faithfulness, plausibility, and complexity. Our framework also provides interactive, LLM-based textual explanations, facilitating user understanding of the generated explanations and evaluation outcomes. Human evaluation results indicate high user satisfaction with EvalxNLP, suggesting it is a promising framework for benchmarking explanation methods across diverse user groups. By offering a user-friendly and extensible platform, EvalxNLP aims at democratizing explainability tools and supporting the systematic comparison and advancement of XAI techniques in NLP.

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

↑