Never Skip a Batch: Continuous Training of Temporal GNNs via Adaptive Pseudo-Supervision
Alexander Panyshev, Dmitry Vinichenko, Oleg Travkin, Roman Alferov, Alexey Zaytsev
TL;DR
The paper addresses label sparsity in temporal graphs by introducing History-Averaged Labels (HAL), a lightweight pseudo-labeling approach that enriches training batches through temporally aggregated historical supervision signals. It provides a theoretical analysis showing HAL reduces gradient variance and accelerates SGD convergence, with a speedup roughly proportional to $ ext{min}(h,k)$ compared to one-hot history. Empirically, HAL (in its HA, MA, and PF variants) enables up to ~15x faster convergence on the Temporal Graph Benchmark when applied to the state-of-the-art TGNv2 model, without sacrificing predictive quality. The method is architecture-agnostic and entails no extra parameters or training stages, offering a practical and scalable solution to supervision sparsity in dynamic graphs. Potential extensions include adaptive aggregation schemes and applications to link prediction and temporal graph completion.
Abstract
Temporal Graph Networks (TGNs), while being accurate, face significant training inefficiencies due to irregular supervision signals in dynamic graphs, which induce sparse gradient updates. We first theoretically establish that aggregating historical node interactions into pseudo-labels reduces gradient variance, accelerating convergence. Building on this analysis, we propose History-Averaged Labels (HAL), a method that dynamically enriches training batches with pseudo-targets derived from historical label distributions. HAL ensures continuous parameter updates without architectural modifications by converting idle computation into productive learning steps. Experiments on the Temporal Graph Benchmark (TGB) validate our findings and an assumption about slow change of user preferences: HAL accelerates TGNv2 training by up to 15x while maintaining competitive performance. Thus, this work offers an efficient, lightweight, architecture-agnostic, and theoretically motivated solution to label sparsity in temporal graph learning.
