Leveraging Temporal Graph Networks Using Module Decoupling
Or Feldman, Chaim Baskin
TL;DR
The paper addresses the bottleneck of missing updates in memory-based dynamic-graph learning when operating under streaming conditions that rely on batching. It introduces a decoupling strategy that separates memory and prediction modules, enabling frequent memory updates with small memory batches while using larger batch sizes for prediction by leveraging a saved neighborhood view. Building on EdgeBank, the Lightweight Decoupled Temporal Graph Network (LDTGN) and its LDTGN-mem variant deliver high throughput and competitive or state-of-the-art accuracy on transductive and inductive future-edge prediction benchmarks. The approach significantly improves throughput with a minimal parameter footprint and demonstrates robustness across diverse dynamic-graph datasets, positioning it as a practical solution for real-time dynamic graph tasks.
Abstract
Modern approaches for learning on dynamic graphs have adopted the use of batches instead of applying updates one by one. The use of batches allows these techniques to become helpful in streaming scenarios where updates to graphs are received at extreme speeds. Using batches, however, forces the models to update infrequently, which results in the degradation of their performance. In this work, we suggest a decoupling strategy that enables the models to update frequently while using batches. By decoupling the core modules of temporal graph networks and implementing them using a minimal number of learnable parameters, we have developed the Lightweight Decoupled Temporal Graph Network (LDTGN), an exceptionally efficient model for learning on dynamic graphs. LDTG was validated on various dynamic graph benchmarks, providing comparable or state-of-the-art results with significantly higher throughput than previous art. Notably, our method outperforms previous approaches by more than 20\% on benchmarks that require rapid model update rates, such as USLegis or UNTrade. The code to reproduce our experiments is available at \href{https://orfeld415.github.io/module-decoupling}{this http url}.
