Natural Language Counterfactual Explanations for Graphs Using Large Language Models

  • 2025-01-27 13:30:57
  • Flavio Giorgi, Cesare Campagnano, Fabrizio Silvestri, Gabriele Tolomei
  • 0

Abstract

Explainable Artificial Intelligence (XAI) has emerged as a critical area ofresearch to unravel the opaque inner logic of (deep) machine learning models.Among the various XAI techniques proposed in the literature, counterfactualexplanations stand out as one of the most promising approaches. However, these"what-if" explanations are frequently complex and technical, making themdifficult for non-experts to understand and, more broadly, challenging forhumans to interpret. To bridge this gap, in this work, we exploit the power ofopen-source Large Language Models to generate natural language explanationswhen prompted with valid counterfactual instances produced by state-of-the-artexplainers for graph-based models. Experiments across several graph datasetsand counterfactual explainers show that our approach effectively producesaccurate natural language representations of counterfactual instances, asdemonstrated by key performance metrics.

 

Quick Read (beta)

loading the full paper ...