Model-Level GNN Explanations via Rule-to-Graph Readout for Logit Reconstruction
This paper introduces a novel model-level GNN explanation framework that reconstructs raw multiclass logits by composing grounded subgraph concepts into symbolic rules and passing them through a frozen classifier, thereby achieving high-fidelity, test-time instantiable global explanations with rule-level contribution analysis that are significantly faster than prior methods.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you have a super-smart robot (a Graph Neural Network, or GNN) that looks at complex networks of dots and lines—like molecules or social networks—and makes predictions. It's incredibly accurate, but it's a "black box." You ask it, "Why did you say this molecule is dangerous?" and it just says, "Because I said so," without explaining how it reached that conclusion.
Existing methods try to explain the robot by pointing out specific patterns it likes. For example, "Oh, it likes molecules with a red ring." But this is like trying to explain a chef's complex recipe by just listing the ingredients they like. It doesn't tell you how the chef mixes them, how much of each they use, or how they balance the flavors to get the final taste.
TreeX is a new tool that changes the game. Instead of just listing ingredients, TreeX tries to rebuild the robot's entire decision-making process using simple, human-readable rules.
Here is how TreeX works, using some creative analogies:
1. The "Recipe Reconstruction" Analogy
Think of the robot's final prediction not as a single "Yes/No" answer, but as a complex flavor profile (like a score for "Spicy," "Sweet," and "Sour").
- Old Way: Previous tools tried to find a rule like "If it has a red ring, it's Spicy." They just matched patterns to labels.
- TreeX Way: TreeX says, "Let's take the robot's raw flavor scores and rebuild them from scratch using a recipe." It breaks the robot's decision down into logical rules (like "If it has a red ring AND no blue square, add 5 points to Spicy").
TreeX doesn't just guess the final label; it tries to mathematically reconstruct the exact numbers (logits) the robot used before making its final choice. If TreeX can rebuild the robot's "flavor profile" perfectly using simple rules, we know those rules are a true explanation of how the robot thinks.
2. The "Construction Kit" (Concept Mining)
To build these rules, TreeX needs building blocks. It looks inside the robot's brain (its hidden layers) and finds subgraph concepts.
- The Analogy: Imagine the robot sees a molecule. TreeX looks at the robot's internal view and says, "Ah, I see a 'Nitro Group' here and a 'Ring Structure' there." It groups similar-looking parts of the graph into reusable "concepts."
- The Twist: TreeX is smart about this. It doesn't just grab random pieces; it finds stable, recurring patterns (like finding the same type of brick in different houses) so it can use them as reliable building blocks for its rules.
3. The "Rule Book" (Symbolic Logic)
Once it has the building blocks, TreeX writes a Rule Book.
- It uses logic like: "IF (Concept A is present) AND (Concept B is missing), THEN increase the score for Class 1."
- The "Negative" Trick: A key feature of TreeX is that it understands absence. Just as a chef might say, "This soup is good because there is no salt," TreeX can create rules based on what is missing. This is crucial for complex decisions where the lack of a feature is just as important as its presence.
4. The "Live Performance" (Test-Time Grounding)
This is where TreeX shines compared to others.
- Old Way: Some tools give you a static rule book that applies to the whole dataset, but they can't show you how it works on a specific new molecule you just handed them.
- TreeX Way: When you give TreeX a new graph, it instantly activates the relevant rules. It points to the exact parts of the graph that triggered the rule (grounding) and shows you exactly how much that rule pushed the score up or down.
- The Analogy: It's like a live sports commentator. Instead of just giving you the final score, TreeX says, "Right now, the team is winning because Player A (Rule 1) scored a goal, which added +2 points, while Player B (Rule 2) missed a shot, which subtracted -1 point."
Why is this better?
The paper claims TreeX is superior for three main reasons:
- Faithfulness: It doesn't just guess the right answer; it mathematically reconstructs the robot's internal "confidence scores" (logits) with high accuracy. If TreeX's rules can recreate the robot's exact numbers, the explanation is trustworthy.
- Speed: It is up to 20 times faster than previous methods. It's like switching from hand-writing a novel to using a high-speed typewriter.
- Actionable Insight: It doesn't just say "This is why." It says, "This rule supports the winning team, while that rule suppresses the losing team." It allows you to see which rules are the "stars" of the show and which are just background noise.
In Summary
TreeX takes a black-box robot, dissects its decision-making into a set of simple, logical "If-Then" rules, and proves those rules work by rebuilding the robot's exact predictions. It handles both what is present and what is missing, works incredibly fast, and gives you a live, detailed breakdown of how the robot thinks for every single new example it sees.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.