[Paper Review] Provably expressive temporal graph networks
This paper introduces PINT, a provably more expressive temporal graph network that combines injective message passing with relative positional features to overcome limitations of existing MP-TGNs and WA-TGNs. It establishes theoretical foundations showing that injective updates match the expressivity of the temporal Weisfeiler-Leman test, and PINT outperforms prior models on real-world benchmarks by leveraging both global context and local dynamics without sampling overhead.
Temporal graph networks (TGNs) have gained prominence as models for embedding dynamic interactions, but little is known about their theoretical underpinnings. We establish fundamental results about the representational power and limits of the two main categories of TGNs: those that aggregate temporal walks (WA-TGNs), and those that augment local message passing with recurrent memory modules (MP-TGNs). Specifically, novel constructions reveal the inadequacy of MP-TGNs and WA-TGNs, proving that neither category subsumes the other. We extend the 1-WL (Weisfeiler-Leman) test to temporal graphs, and show that the most powerful MP-TGNs should use injective updates, as in this case they become as expressive as the temporal WL. Also, we show that sufficiently deep MP-TGNs cannot benefit from memory, and MP/WA-TGNs fail to compute graph properties such as girth. These theoretical insights lead us to PINT -- a novel architecture that leverages injective temporal message passing and relative positional features. Importantly, PINT is provably more expressive than both MP-TGNs and WA-TGNs. PINT significantly outperforms existing TGNs on several real-world benchmarks.
Motivation & Objective
- To establish a theoretical foundation for the representational power of temporal graph networks (TGNs), which remain poorly understood despite their practical success.
- To identify fundamental limitations of existing TGN categories—MP-TGNs (message-passing with memory) and WA-TGNs (walk-aggregating)—by proving they are incomparable in expressive power.
- To address the lack of theoretical guarantees in TGNs by introducing a new architecture, PINT, that is provably more expressive than both MP-TGNs and WA-TGNs.
- To demonstrate that memory in deep MP-TGNs is redundant and that both MP-TGNs and WA-TGNs fail to compute key graph properties like girth and diameter.
Proposed method
- Proposes a temporal extension of the 1-WL (Weisfeiler-Leman) test to measure the expressive power of TGNs on dynamic graphs.
- Introduces injective message passing and update functions in MP-TGNs, showing that such models achieve the maximum possible expressivity for anonymous message-passing TGNs.
- Develops PINT, a novel architecture that combines injective temporal message passing with learnable relative positional features to emulate the discriminative power of walk-aggregating methods.
- Uses relative positional features to encode temporal walk structure without sampling, reducing computational cost compared to CAW-style walk sampling.
- Employs a memory mechanism enhanced with relative positional encodings to capture long-range dependencies while maintaining efficiency.
- Applies grid search and automatic hyperparameter selection for model tuning, with positional features precomputed and stored as sparse matrices for training efficiency.
Experimental results
Research questions
- RQ1How do the expressive powers of MP-TGNs and WA-TGNs compare, and does one subsume the other?
- RQ2Can memory in MP-TGNs be eliminated in sufficiently deep architectures?
- RQ3Can existing TGNs compute fundamental graph properties such as girth, diameter, or number of cycles?
- RQ4Is there a TGN architecture that is provably more expressive than both MP-TGNs and WA-TGNs?
- RQ5What role do injective functions and relative positional features play in enhancing TGN expressivity?
Key findings
- Injective message passing and update functions in MP-TGNs make them as expressive as the temporal Weisfeiler-Leman test, establishing a theoretical upper bound for anonymous MP-TGNs.
- Sufficiently deep MP-TGNs do not benefit from memory, as their receptive fields already cover distant nodes through depth.
- Neither MP-TGNs nor WA-TGNs are universally more expressive: each can distinguish structures the other cannot, proving they are incomparable.
- MP-TGNs and CAW-style WA-TGNs fail to compute intrinsic graph properties such as girth, diameter, and number of cycles.
- PINT achieves state-of-the-art performance on multiple benchmarks, ranking first on Reddit (AUC: 67.31 ± 0.2) and second on Wikipedia (87.59 ± 0.6) in node classification.
- PINT is faster than CAW after initial preprocessing due to avoiding expensive walk sampling, and training time per epoch is significantly lower than CAW on Enron and LastFM.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.