Explaining Bayesian Networks in Natural Language using Factor Arguments. Evaluation in the medical domain

Jaime Sevilla, Nikolay Babakov, Ehud Reiter, Alberto BugarínarXiv 2024 · DOI

Abstract

Bayesian Networks (BNs) are powerful tools for modeling uncertainty, yet their complex, multi-directional reasoning often remains a "black box" to human users. This paper presents a framework that translates BN reasoning into natural language using "Factor Arguments" (FAs). By representing BNs as factor graphs and quantifying the influence of evidence along specific paths, the proposed method generates structured, persuasive explanations. Evaluation on medical BNs demonstrates that this approach significantly improves human understandability compared to existing baselines.

Introduction

Bayesian Networks are widely used in critical domains like medical diagnosis due to their ability to handle uncertainty and complex dependencies. However, the inherent complexity of these models often hinders their adoption. Reasoning in a BN can flow in multiple directions—for instance, from symptoms to diseases (diagnostic) or from one cause to another via a shared effect (inter-causal). For a non-expert, understanding why a specific piece of evidence changes a target probability is often counter-intuitive.

Existing interpretability methods typically identify which variables are most influential but fail to articulate the "reasoning path"—the step-by-step logic connecting evidence to a conclusion. This paper addresses this gap by introducing Factor Arguments (FAs), a structured approach to generating natural language explanations that mirror human argumentative logic.

The Factor Argument Framework

The core of the proposed method involves transforming a standard Bayesian Network into a factor graph representation. A factor graph is a bipartite graph consisting of variable nodes and factor nodes (representing the conditional probability tables). This structure allows the system to trace the "flow" of evidence through the network as a sequence of updates.

The pipeline from a Bayesian Network to a natural language explanation via factor graphs and factor arguments.

As shown in Figure 4, the process begins with the original BN (a). This is converted into a factor graph (b), from which a "Factor Argument" is derived (c). This argument is a directed acyclic graph that represents the most significant path of influence from the observed evidence to the target variable. Finally, a template-based Natural Language Generation (NLG) system converts this path into a human-readable explanation (d).

Technical Implementation and Metrics

To rank and present the most effective arguments, the authors introduce several key metrics:

  1. Step Effect (SE) & Factor Argument Effect (FAE): These heuristic measures quantify how much a specific step in a reasoning path updates the belief of the subsequent node.
  2. Factor Argument Strength (FAS): A log-odds-based metric used to rank different reasoning paths, ensuring the most "persuasive" chains of logic are presented first.
  3. Factor Argument Distance (FAD): This metric determines whether multiple pieces of evidence should be explained as independent arguments or merged into a single "proper" argument (e.g., when they interact through an "AND" logic gate).
Detailed calculation of the Factor Argument Effect (FAE) through normalization and marginalization of probability tables.

The underlying mathematical grounding of these explanations is shown in Figure 6. The system performs products with direct predecessors, followed by normalization and marginalization, to calculate the exact impact of evidence on the target node. This ensures that the natural language explanations are not just plausible-sounding stories but are mathematically consistent with the BN's internal state.

Evaluation and Results

The framework was evaluated using several benchmark BNs, with a primary focus on the ASIA network for human studies. The computational validation showed that the "Factor Argument Effect" heuristic has a high Spearman correlation (0.92+) with exact inference algorithms, confirming its reliability.

In a user study involving 25 participants, the proposed method significantly outperformed baselines. Participants rated the Factor Argument explanations with an average understandability score of 4.1/5, compared to 3.24/5 for standard variable-importance lists. Furthermore, when asked which method best helped them understand the model's reasoning, a majority of responses across various tasks preferred the FA approach over incremental or baseline methods.

Conclusion

By decomposing complex probabilistic reasoning into structured Factor Arguments, this research provides a bridge between the mathematical rigor of Bayesian Networks and the communicative needs of human users. While future work is needed to scale these methods to very large networks and validate them with clinical experts, the current framework represents a significant step toward transparent and trustworthy AI in the medical domain.

Summary updated

BibTeX
@misc{sevilla2024explaining,
  author = {Jaime Sevilla and Nikolay Babakov and Ehud Reiter and Alberto Bugarín},
  title = {{Explaining Bayesian Networks in Natural Language using Factor Arguments. Evaluation in the medical domain}},
  year = {2024},
  eprint = {2410.18060},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.18060},
}
Figure