The reviewed record of science sign in
Pith

arxiv: 2406.17583 · v1 · pith:UWW6W36N · submitted 2024-06-25 · cs.AI · cs.LG· cs.LO· math.CT

Towards Compositional Interpretability for XAI

Reviewed by Pith T0 review T1 audit T2 compute T3 formal T4 kernel pith:UWW6W36Nrecord.jsonopen to challenge →

classification cs.AI cs.LGcs.LOmath.CT
keywords modelscompositionalmodelinterpretabilitystructureallowapproachcausal
0
0 comments X
read the original abstract

Artificial intelligence (AI) is currently based largely on black-box machine learning models which lack interpretability. The field of eXplainable AI (XAI) strives to address this major concern, being critical in high-stakes areas such as the finance, legal and health sectors. We present an approach to defining AI models and their interpretability based on category theory. For this we employ the notion of a compositional model, which sees a model in terms of formal string diagrams which capture its abstract structure together with its concrete implementation. This comprehensive view incorporates deterministic, probabilistic and quantum models. We compare a wide range of AI models as compositional models, including linear and rule-based models, (recurrent) neural networks, transformers, VAEs, and causal and DisCoCirc models. Next we give a definition of interpretation of a model in terms of its compositional structure, demonstrating how to analyse the interpretability of a model, and using this to clarify common themes in XAI. We find that what makes the standard 'intrinsically interpretable' models so transparent is brought out most clearly diagrammatically. This leads us to the more general notion of compositionally-interpretable (CI) models, which additionally include, for instance, causal, conceptual space, and DisCoCirc models. We next demonstrate the explainability benefits of CI models. Firstly, their compositional structure may allow the computation of other quantities of interest, and may facilitate inference from the model to the modelled phenomenon by matching its structure. Secondly, they allow for diagrammatic explanations for their behaviour, based on influence constraints, diagram surgery and rewrite explanations. Finally, we discuss many future directions for the approach, raising the question of how to learn such meaningfully structured models in practice.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 6 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. From Mechanistic to Compositional Interpretability

    cs.LG 2026-05 unverdicted novelty 7.0

    Compositional interpretability defines explanations as commuting syntactic-semantic mapping pairs grounded in compositionality and minimum description length, with compressive refinement and a parsimony theorem guaran...

  2. From Mechanistic to Compositional Interpretability

    cs.LG 2026-05 unverdicted novelty 7.0

    The paper introduces compositional interpretability as a category-theoretic framework that casts mechanistic explanations as commuting syntactic-semantic mappings optimized under faithfulness and complexity constraint...

  3. Bilinear autoencoders find interpretable manifolds

    cs.LG 2026-05 unverdicted novelty 6.0

    Bilinear autoencoders decompose neural activations into low-rank quadratic forms to discover interpretable multi-dimensional manifolds, improving reconstruction in language models and challenging linear representation...

  4. Conversable Complexity: Agentic LLM Collectives as Interpretable Substrates

    cs.CL 2026-07 unverdicted novelty 5.0

    Agentic LLM collectives are proposed as natural-language-interpretable computational substrates for ALife research.

  5. The Standard Interpretable Model: A general theory of interpretable machine learning to deductively design interpretable methods using Lagrangian mechanics

    cs.LG 2026-06 unverdicted novelty 5.0

    The Standard Interpretable Model (SIM) is a Lagrangian mechanics framework that derives interpretability constraints from user premises to identify or construct optimal interpretable models.

  6. When AI meets quantum information: A comprehensive review

    quant-ph 2026-07 unverdicted novelty 2.0

    A comprehensive review organizing progress at the AI-quantum information intersection from both directions.