Explaining Model Behavior with Global Causal Analysis

Publication date

2023-10-30

Authors

Robeer, MarcelORCID 0000-0002-6430-9774ISNI 0000000526331040
Bex, FlorisORCID 0000-0002-5699-9656ISNI 0000000118066508
Feelders, AdISNI 0000000350720316
Prakken, H.ISNI 000000011466763X

Editors

Longo, Luca

Advisors

Supervisors

Document Type

Part of book
Open Access logo

License

taverne

Abstract

We present GLOBAL CAUSAL ANALYSIS (GCA) for text classification. GCA is a technique for global model-agnostic explainability drawing from well-established observational causal structure learning algorithms. GCA generates an explanatory graph from high-level human-interpretable features, revealing how these features affect each other and the black-box output. We show how these high-level features do not always have to be human-annotated, but can also be computationally inferred. Moreover, we discuss how the explanatory graph can be used for global model analysis in natural language processing (NLP): the graph shows the effect of different types of features on model behavior, whether these effects are causal effects or mere (spurious) correlations, and if and how different features interact. We then propose a three-step method for (semi-)automatically evaluating the quality, fidelity and stability of the GCA explanatory graph without requiring a ground truth. Finally, we provide a detailed GCA of a state-of-the-art NLP model, showing how setting a global one-versus-rest contrast can improve explanatory relevance, and demonstrating the utility of our three-step evaluation method.

Keywords

Causal explanation, Explainable Machine Learning (XML), Model-agnostic explanation, Natural Language Processing (NLP), Taverne, General Mathematics, General Computer Science

Citation

Robeer, M, Bex, F, Feelders, A & Prakken, H 2023, Explaining Model Behavior with Global Causal Analysis. in L Longo (ed.), Explainable Artificial Intelligence : First World Conference, xAI 2023, Lisbon, Portugal, July 26–28, 2023, Proceedings, Part I. 1 edn, Communications in Computer and Information Science, vol. 1901, Springer, Cham, pp. 299–323. https://doi.org/10.1007/978-3-031-44064-9_17