Integrating Local and Global Interpretability for Deep Concept-Based Reasoning Models

David Debot, Giuseppe MarraWorkshops @ ECCV 2024

Introduction

Concept-Based Models (CBMs) represent a significant step toward "intrinsically explainable" AI. By utilizing human-understandable intermediate concepts—such as identifying a bird's species based on beak shape or wing color—these models allow users to trace the reasoning behind a prediction. However, a persistent divide exists in how these explanations are generated: local explanations focus on individual instances, while global explanations provide a comprehensive "rulebook" for the entire model. This paper introduces the Unified Concept Reasoner (UCR), a novel architecture that bridges this gap, offering both local flexibility and global verifiability without compromising predictive performance.

The Local-Global Interpretability Trade-off

Current research in CBMs typically bifurcates into two methodologies:

  1. Locally Interpretable Models (e.g., Deep Concept Reasoner - DCR): These models generate a unique logic rule for every input. While highly expressive and accurate, they lack global transparency. It is difficult for a human auditor to understand the model's aggregate behavior or ensure it isn't using contradictory logic across different cases.
  2. Globally Interpretable Models (e.g., Concept-based Memory Reasoner - CMR): These models rely on a fixed "rulebook" stored in memory. While this allows for easier verification of the model's logic, these systems are often more difficult to train and can suffer from reduced accuracy compared to their local counterparts.

The UCR architecture addresses this divide by mathematically linking these two paradigms, ensuring that instance-specific reasoning remains consistent with a global set of learned rules.

Methodology: The Unified Concept Reasoner (UCR)

The core of UCR is a two-headed architecture that treats local reasoning as a variational approximation of a global rulebook.

Probabilistic Semantic Reformulation

The authors first reformulate the standard DCR into a Probabilistic DCR (PDCR). By moving away from traditional fuzzy logic toward probabilistic semantics, the model can generate rule embeddings for specific inputs within a framework compatible with standard machine learning optimization techniques.

The Variational Bridge

The "aha" moment of the research lies in the application of Variational Inference. The local head (PDCR) acts as a variational distribution that approximates the selection of a rule from the global head (CMR). During training, the model minimizes the Kullback–Leibler (KL) divergence between the local rule embedding and the selected global rule embedding. This joint training forces the "on-the-fly" local logic to stay coherent with the "permanent" global rulebook, effectively using interpretability as a regularizer.

Experimental Evaluation: MNIST-Addition

The authors evaluated UCR using the MNIST-addition dataset, a benchmark for neurosymbolic AI. In this task, the model receives two images of handwritten digits and must predict their sum (0–18). The intermediate concepts are the identities of the two digits (0–9). This task is particularly challenging because it requires both high-level perception (digit recognition) and symbolic reasoning (arithmetic).

Key Results and Insights

The UCR demonstrated several advantages over existing state-of-the-art models:

  • Performance: UCR achieved a test accuracy of approximately 97.8%, outperforming the purely local DCR (~93–94%) and matching or slightly exceeding the global CMR (~97.5%).
  • Stability: Unlike DCR, which is highly sensitive to its "temperature" hyperparameter, UCR proved stable across various settings. It replaces abstract hyperparameters with more intuitive ones, such as "rulebook size."
  • Coherence: On correctly predicted instances, the local and global heads matched 98.86% of the time. This high correspondence suggests that the model has learned a unified, consistent logic rather than two disparate strategies.
  • Quality Metrics: The authors identified that the accuracy gap between the local and global heads serves as a proxy for rule quality. A large gap indicates that the global rules have not yet converged to a meaningful logical structure.

Conclusion and Future Directions

The Unified Concept Reasoner represents a significant advancement in neurosymbolic AI by providing a mathematical framework to unify local and global explanations. While the results on MNIST-addition are promising, the authors note that future work should focus on scaling UCR to more complex, real-world datasets and extending the logic from simple conjunctions (AND rules) to more sophisticated logical structures. Additionally, establishing formal mathematical bounds for the correspondence between the local and global heads remains an open theoretical challenge.

Summary updated

BibTeX
@inproceedings{debot2024integrating,
  author = {David Debot and Giuseppe Marra},
  title = {{Integrating Local and Global Interpretability for Deep Concept-Based Reasoning Models}},
  booktitle = {Workshops @ ECCV},
  year = {2024},
  doi = {10.1007/978-3-031-92648-8\_14},
}
Figure