When a machine learning model makes a complex decision, traditional explainable AI (XAI) techniques typically hand us a flat list of feature importances. We get a heatmap of highlighted pixels, a list of token attention weights, or a vector of tabular feature scores.
But flat explanations suffer from a fundamental mismatch with human cognition. If a model classifies a long article as politically biased, showing a user a list of 500 influential words is overwhelming and unhelpful. Humans do not reason via massive, flat attribution vectors; we organize information into nested concepts, sub-arguments, and overarching narratives. As Hengyi Wang et al. observe in their work on foundation models, a lack of multi-level interpretability frameworks prevents us from seeing how local, low-level features aggregate into global model behaviors.
To bridge this gap, a growing body of research focuses on hierarchical explanation structures. By organizing explanations into trees, tiers, or nested layers, these techniques allow users to dynamically navigate an AI's reasoning process across multiple levels of granularity.
The Intuition: Zoomable Explanations
The core mechanism behind hierarchical explanations can be thought of as a "zoomable map" for model logic. Instead of forcing a user to look at an entire territory at a single, fixed resolution, a hierarchical explanation allows them to view high-level categorical summaries and then "zoom in" on specific details when skepticism or curiosity arises.
This concept of situated, multi-level disclosure has deep roots. Raja Sooriamurthi et al. argued early on that explanations must be goal-driven and adaptive, shifting their depth based on environmental constraints like time pressure. In semantic systems, Fausto Giunchiglia et al. demonstrated that user trust is best supported by providing layered traces, moving from high-level source attributions down to granular internal inference steps.
[Global Model Logic / High-Level Summary]
│
▼
[Subpopulation / Topical Themes]
│
▼
[Local Instance / Feature-Level Evidence]
This architecture is highly practical for complex decision models. For instance, Christophe Labreuche et al. designed a method to calculate feature influence at every level of a hierarchical decision-making model. This allows an auditor to toggle between broad strategic overviews and specific leaf-level data points. To make this interactive, Thilo Spinner developed a visual framework that maps XAI methods across a spectrum of abstraction levels, enabling users to seamlessly traverse from low-level neuron activations up to global conceptual summaries.
Tree-Structured Reasoning and Recursive Decomposition
How do we mathematically or structurally formalize this hierarchy? The most common approach is to represent the model's internal logic or the problem domain as a tree structure, where the root represents the final conclusion and each descending level provides a recursive decomposition of the evidence.
In natural language processing, Andrea Tocchetti et al. formalize this via "Rationale Trees," where high-level nodes represent general logical support and child nodes provide increasingly granular textual evidence. This structure mirrors human text comprehension: words form sentences, sentences form themes, and themes drive the final classification. By explicitly modeling this progression, the framework developed by Hanqi Yan et al. significantly improves a human's ability to predict model decisions compared to using flat word highlights.
[Final Judgment: Fraud]
│
┌───────────────┴───────────────┐
▼ ▼
[Theme: Forged Docs] [Theme: Unusual Activity]
│ │
┌─────┴─────┐ ┌─────┴─────┐
▼ ▼ ▼ ▼
[Word A] [Word B] [Word C] [Word D]
For generative large language models, this recursive decomposition can be used to enforce internal consistency. Jaehun Jung et al. introduced Maieutic Prompting, which forces an LLM to generate a tree of recursive explanations for its own propositions. By treating the final answer as a logical optimization problem over this tree, the system can effectively debug its own inconsistent internal knowledge.
When applied to highly sensitive domains like law, this tree-structured approach becomes a vital tool for public accountability. Jiaxin Shen et al. organize legal reasoning benchmarks into explicit hierarchies linking raw evidence to human experiences and final judicial justifications, ensuring that human auditors can pinpoint the exact sub-argument where a bias or logical failure occurred.
Connecting Local Recourse to Global Patterns
Hierarchical structures also solve a major dilemma in algorithmic recourse: the tension between local actions (what an individual can do to change their specific outcome) and global patterns (how the model behaves across the entire population).
Traditional recourse algorithms operate case-by-case, telling a rejected loan applicant to "increase income by \$10,000." However, this hides systemic trends. To fix this, Karthikeyan Natesan Ramamurthy et al. developed an explanation tree framework that clusters data points into subgroups. This allows users to discover patterns specific to certain demographics, moving fluidly between local insights and global summaries.
[All Loan Applicants]
│
┌───────────────┴───────────────┐
▼ ▼
[Low Credit Subgroup] [High Credit Subgroup]
│ │
┌──────┴──────┐ ┌──────┴──────┐
▼ ▼ ▼ ▼
[Action: Pay Debt] [...] [Action: Increase Income] [...]
When deployed globally, these hierarchies make recourse strategies auditable at scale. Kentaro Kanamori et al. utilize decision trees to generate consistent, population-wide recourse strategies, which significantly accelerates how fast human stakeholders can comprehend and audit the model's underlying rules. Similarly, the framework proposed by Kai Rawal et al. structures recourse summaries into a two-tier hierarchy—using an outer level of conditional rules to define population subgroups and an inner level to detail specific required actions—making systemic biases immediately visible to developers.
Functional Layers for Complex Modalities
For complex, multi-component systems or non-textual modalities, hierarchies are often structured as distinct functional layers rather than strict logical trees.
Consider an autonomous vehicle or a complex industrial pipeline. When a failure occurs, a flat explanation is useless. Leilani H. Gilpin addresses this by proposing "Accountability Layers," where a system is modeled as a hierarchy of self-monitoring subsystems. When a failure happens, explanations are generated across multiple tiers—from low-level raw anomaly detection up to high-level causal narratives—allowing engineers to isolate the exact component responsible for the breakdown.
+-------------------------------------------------------+
| Layer 3: High-Level Causal Narrative (Human-Readable) |
+-------------------------------------------------------+
▲
+-------------------------------------------------------+
| Layer 2: Algorithmic Logic & Subsystem Explanations |
+-------------------------------------------------------+
▲
+-------------------------------------------------------+
| Layer 1: Raw Anomaly Detection & Sensor Metrics |
+-------------------------------------------------------+
This layered strategy is equally effective for translating technical metrics into natural language. Marilyn Bello et al. utilize a three-level framework that takes low-level algorithmic metrics, processes them through intermediate technical explanations, and ultimately outputs high-level social narratives tailored to the user's expertise. Even in audio processing, where explaining signal differences is notoriously difficult, Soham Deshmukh et al. structure explanations into distinct tiers—ranging from concise one-sentence summaries of acoustic scenes to comprehensive paragraphs detailing specific signal properties.
Why It Works: Error Isolation and Cognitive Alignment
Hierarchical explanations work because they provide two distinct advantages: cognitive alignment and structural error isolation.
- Cognitive Alignment: By grouping low-level features into intermediate concepts (such as words into discourse units, as demonstrated by Nicolas Devatine et al.), hierarchies match the abstraction levels that humans naturally use to make sense of the world.
- Structural Error Isolation: When an inference goes wrong, a hierarchy allows an auditor to trace the error to a specific branch or layer. For example, in geographic classification, Hari Krishna Gadi et al. showed that embedding predictions in a hyperbolic tree structure reveals exactly where a model's reasoning diverges from reality—showing whether an error occurred at a coarse regional level or during fine-grained city-level refinement.
By moving away from flat attribution vectors and embracing multi-granularity hierarchies, the AI community is creating explanation frameworks that are not just mathematically faithful to the underlying models, but genuinely interpretable to the humans who deploy and rely on them.
Key Foundational Work
A Tool for Building Second Generation Expert Systems (1987) — contributed 1 concept elements to this direction.
Towards Situated Explanation (1994) — contributed 1 concept elements to this direction.