# Weisfeiler and Leman Follow the Arrow of Time: Expressive Power of Message Passing in Temporal Event Graphs

*Franziska Heeg, Jonas Sauer, Petra Mutzel, Ingo Scholtes*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/152026) · [Open on the map](../papers.html#p152026)

Category: [Graphs, OOD Detection & Medical Imaging](../pcat/7.md) › [Dynamic Graph Representation Learning](../pgroup/217.md) · Type: new method · Keywords: temporal graph neural networks, Weisfeiler-Leman algorithm, event graph isomorphism, causal topology, message passing

Areas: [Model Architectures & Sequence Modeling](../areas/architectures.md) › Dynamic and relational architectures › Graph Neural Architectures; [Graph Learning](../areas/graph-learning.md) › Multidimensional Graph Learning › Temporal Graph Learning

## Summary
The paper introduces a temporal generalization of the Weisfeiler-Leman algorithm and a novel event-graph message passing scheme for temporal graph neural networks, providing a formal definition of consistent event graph isomorphism that captures causal topology and improves classification performance.

## Explained to a 5-year-old
Some things, like friendships, change over time, and who can influence whom depends on the order of events. Regular computer programs that look at these changing networks often forget the direction of time. The researchers created a new rule to compare these time-based networks that looks at all possible ways events can influence each other. They also made a new way for computers to share information between nodes that respects this time order. This helps the computers better understand and sort different time-based networks, which can be useful for many real-world problems.

## Explained to a 5-year-old, longer
Imagine a group of friends where some meet up, send messages, or help each other over weeks and months. The order of these meetings matters because a friend can only influence another friend after they have met. Regular computer programs that look at such networks often treat all connections as if they happened at the same time. This can make the programs miss important clues about who really can affect whom. The researchers wanted to fix this by creating a new way to compare these time-based networks. They first turned the network into a bigger picture that shows every possible chain of influence respecting the time order. Using this bigger picture, they defined a rule called consistent event graph isomorphism that captures the true causal structure. They then built a new method that lets nodes in the network exchange information step by step, always keeping the time direction in mind. This new sharing rule helps the network notice differences that the old methods ignored. The researchers tested their new approach on tasks where they had to sort different time-based networks into categories. Their method performed better than the older techniques, showing it can understand temporal networks more accurately. In short, the work gives computers a smarter way to read and compare networks that change over time.

## For a technical reader
Existing temporal graph neural networks ignore the direction of time when modeling causal influences, which limits their ability to distinguish graphs. The paper introduces a formal definition of consistent event graph isomorphism based on a time-unfolded representation of time-respecting paths, providing a rigorous comparison framework. Building on this definition, the authors develop a temporal generalization of the Weisfeiler-Leman algorithm and a novel event-graph message passing scheme that respects temporal causality. Experimental evaluation on temporal graph classification tasks shows that the proposed approach outperforms conventional TGNNs.

## Problem
Temporal graph neural networks often overlook the direction of time, making it difficult to distinguish graphs based on time-respecting causal influences. There is a lack of a formal graph isomorphism definition for temporal graphs that captures this causal topology.

## Method
We propose a time-unfolded representation of time-respecting paths and define consistent event graph isomorphism to capture causal topology. Using this foundation, we develop a temporal generalization of the Weisfeiler-Leman algorithm and a novel message passing scheme that operates on the event graph representation. The approach is evaluated experimentally on temporal graph classification tasks.

## Contributions
We provide a formal definition of consistent event graph isomorphism that captures causal topology, a temporal generalization of the Weisfeiler-Leman algorithm for distinguishing non-isomorphic temporal graphs, and a new message passing scheme for TGNNs based on the event graph representation, thereby enhancing the expressive power of temporal graph neural networks.

## Research questions this paper is counted under

- [How can graph neural networks capture long-range temporal dependencies while preserving causal structure and task generalization in dynamic graph data?](../q/416.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/152026)
