← Latest papers
🤖 machine learning

Explaining Temporal Graph Predictions With Shapley Values

This paper introduces two novel model-agnostic explainers for Temporal Graph Neural Networks (TGNNs)—an event-level Shapley explainer and a feature-level Owen value-based explainer—that outperform existing methods and can identify flaws in model implementations.

Original authors: Lea-Marie Sussek, Stefan Heindorf

Published 2026-04-28
📖 4 min read☕ Coffee break read

Original authors: Lea-Marie Sussek, Stefan Heindorf

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 are a detective trying to understand why a high-tech security system suddenly decided to sound an alarm. You know the system looks at a massive, constantly changing web of data—who walked through which door, at what exact millisecond, and what they were carrying.

The problem? The security system is a "Black Box." It gives you an answer (Alarm! or No Alarm!), but it won't tell you why. Was it because a specific person walked through a specific door at 3:00 AM? Or was it because of the heavy bag they were carrying?

This paper introduces two new "Digital Detectives" (called Explainers) that help us peek inside these complex, time-sensitive systems, which scientists call Temporal Graph Neural Networks (TGNNs).

The Problem: The "Moving Target"

Most AI tools are good at looking at static pictures (like a single photo of a crowd). But the world is more like a movie. In a "Temporal Graph," everything is moving: people are connecting, disconnecting, and moving through time. Existing tools for explaining these "movies" are either too slow, too complicated, or they only tell you that something happened, but not exactly what caused it.

The Solution: Two New Detectives

The researchers created two tools based on a mathematical concept called Shapley Values. Think of Shapley Values as a way to fairly divide a "bonus" among a team of players based on how much each person actually contributed to a win.

1. The Event Detective (The "Who and When" Specialist)

Imagine a basketball game. The team wins, and you want to know which specific plays (events) were most important.

  • How it works: This detective looks at the whole "movie" of data and assigns a score to every single interaction (an "event").
  • The Result: It tells you, "This specific interaction between Person A and Person B at 2:05 PM was the main reason the alarm went off." It can even tell you if an event helped prevent an alarm (a positive contribution) or triggered one (a negative contribution).

2. The Feature Detective (The "Deep Dive" Specialist)

Now, imagine the Event Detective tells you, "The interaction at 2:05 PM was important." You might say, "Okay, but why? Was it the person, the time, or what they were holding?"

  • How it works: This detective uses a more advanced math trick called Owen Values. It takes that one important event and breaks it down into even smaller pieces.
  • The Result: It provides a "zoom-in" view. It tells you, "The event was important, but specifically because of the timestamp and the weight of the object being carried, not the person themselves." It’s like moving from seeing a whole car to seeing the specific spark plug that caused the engine to roar.

The "Aha!" Moment: Catching a Glitch

The coolest part of this paper isn't just that they built these tools, but that they used them to catch a "liar" in a popular AI model.

They noticed a common AI model was making predictions that seemed too good to be true. By using their Feature Detective, they discovered the model was "cheating." It wasn't actually learning the patterns of the graph; it was accidentally picking up on a tiny mathematical glitch that allowed it to see the "absolute time" (like looking at a clock) instead of just the "relative time" (like seeing how much time passed between two events).

It’s like a student who passes a math test not because they understand algebra, but because they noticed the teacher always uses a blue pen for the correct answers. The researchers' tool caught the "blue pen" glitch!

Why does this matter?

In the real world, we use these "Temporal Graphs" for critical things:

  • Healthcare: Predicting how a disease spreads through a population over time.
  • Finance: Detecting fraudulent transactions in a sea of moving money.
  • Cybersecurity: Spotting a hacker moving through a network.

In these high-stakes areas, "Because the computer said so" isn't a good enough answer. We need to know why. These new detectives provide the "why," making AI more trustworthy, transparent, and easier to fix when it makes a mistake.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →