arXiv:2610.24875cs.LGOct 2026

Manuscript Offprint

arXiv:2610.24875

RAFT: Redundancy-Aware Input Filtering for Temporal Graph Neural Network Training

Yue Dai, Sarah Zhou, Youtao Zhang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Yue Dai

Department of Computer Science

Illinois Institute of Technology

Chicago, USA

{ydai21}@illinoistech.edu

Sarah Zhou

BASIS Independent Silicon Valley

San Jose, CA, USA

fire.and.ice7123@gmail.com

Youtao Zhang

Department of Computer Science

University of Pittsburgh

Pittsburgh, USA

youtao@pitt.edu

ABSTRACT

Temporal graph neural networks (TGNNs) have shown strong performance on dynamic graph learning tasks by continuously updating node memories from evolving interactions (i.e., events) and leveraging these memories for downstream predictions. As graphs grow rapidly in modern applications, training requires processing an increasing number of events; meanwhile, each event can update node memories used by later events, creating dependencies that constrain parallel execution and limit the benefits of additional computing resources. These costs motivate an upstream question: are all events, and the dependencies they introduce, necessary for learning? We investigate this question through two roles of temporal events: prediction targets and historical events sampled as inputs. We observe that targets involving stable node memories tend to exhibit lower prediction loss, while filtering historical events associated with stable memories can retain similar training-loss trajectories in several evaluated settings. Together, these observations suggest an opportunity to identify input redundancy through changes in node memories. Building on this opportunity, we propose RAFT, a redundancy-aware input-filtering framework for TGNN training. RAFT tracks memory changes during training and uses them to guide two filters: a root-event filter removes selected prediction targets before training, and a support-event filter excludes selected historical context during sampling. Filtering inputs before their downstream preparation and processing reduces the work they trigger. Across three TGNN models and five datasets, RAFT reduces training inputs by 35.23% on average and up to 97.11%, while reducing recorded training time by up to 52.56% with negligible changes to model precisions.

1 INTRODUCTION

Dynamic graphs are central to applications such as recommendation, social interaction analysis, and temporal knowledge reasoning (Trivedi et al., 2019; Kumar et al., 2019; Rossi et al., 2020; Zhang et al., 2023; You et al., 2022; Wang et al., 2021; Zhou et al., 2022; Kazemi et al., 2020; Xu et al., 2020; Sankar et al., 2020; Wang & Mendis, 2024). In these applications, relationships evolve over time, requiring learning models to capture both structural patterns and temporal dependencies. Temporal graph neural networks (TGNNs) address this need by learning from evolving events, where each event describes a temporal interaction between a source node and a destination node, such as adding an edge or a node to existing graphs (Kumar et al., 2018; 2019; Rossi et al., 2020; Belli et al., 2020; Chen et al., 2019; Jia et al., 2018; Chaintreau et al., 2007). In particular, recent TGNNs maintain per-node states—often called node memories—that summarize historical interactions that occurred around these nodes (Kumar et al., 2019; Rossi et al., 2020; Wang et al., 2021;

Zhou et al., 2022; Dai et al., 2025b; Zhou et al., 2023; Dai et al., 2025a). Each incoming event can update the memories of its participating nodes, which then support subsequent predictions. These memory-based designs allow TGNNs to capture changing interaction histories and achieve strong performance on dynamic graph learning tasks.

As graphs grow rapidly in modern applications, TGNN training must process an increasing number of events. However, scaling TGNN training is challenging because events cannot always be processed independently. An earlier event may update a node memory needed by a later prediction; for example, successive interactions involving the same user may require the later prediction to incorporate the earlier memory update. These dependencies constrain parallel execution and limit the benefits of additional computing resources (Dai et al., 2025b; Gao et al., 2024). Meanwhile, processing events requires fetching node and edge features and moving data between CPUs and GPUs, adding substantial preparation costs. Existing systems address these challenges through dependency-aware batching and scheduling (Dai et al., 2025b; Gao et al., 2024), efficient data preparation and execution (Zhou et al., 2022; Wang & Mendis, 2024), and distributed training (Zhou et al., 2023). Yet their efficiency is still significantly bounded by the natural dependency of input events. If processing an event introduces both preparation costs and memory-update dependencies, determining whether that event needs to participate in training could address these costs at their source. We therefore raise a fundamental question:

Are all events from the training dynamic graphs, and the dependencies they introduce, necessary for learning?

To answer this question, we examine two roles of an event, a temporal interaction between a source node and a destination node. A root event is a prediction target that contributes to the training loss, whereas a support event is a historical interaction sampled as input for that prediction. The same interaction can serve both roles at different times. At the root-event level, we observe that targets whose endpoint memories are stable (i.e., changing little during updates) tend to have lower prediction loss, suggesting that the model already predicts these targets well. At the support-event level, we observe that omitting historical interactions associated with stable memories can retain similar training-loss trajectories, suggesting that some historical context provides limited additional benefit. Together, these observations reveal an opportunity to use memory stability to identify redundancy in both prediction targets and their historical inputs. Reducing unnecessary inputs at these two levels could avoid the data preparation and computation they would otherwise trigger.

Building on this opportunity, we propose RAFT, a redundancy-aware input-filtering framework for efficient TGNN training. RAFT tracks memory changes during executed updates and uses the resulting stability information to guide two filters. First, a root-event filter removes selected root events whose source and destination memories are stable, before these targets enter subsequent training stages. Second, a support-event filter excludes selected support events during temporal sampling, reducing the historical context returned for retained targets. Both filters use information from already executed memory updates, avoiding an additional prediction pass merely to decide whether an input should be filtered. By making these decisions before downstream feature preparation and model computation, RAFT reduces the work triggered by selected training inputs. Our evaluation across three TGNN models and five datasets shows that RAFT reduces training inputs by 35.23% on average and up to 97.11%. The training time decreases by 17.80% on average and up to 52.56%, with mean absolute relative changes in validation AP and AUC of 0.13% and 0.14%, respectively. We summarize our contributions as follows:

• We investigate input redundancy in memory-based TGNN training and identify two filtering opportunities through observations of prediction targets and sampled historical inputs.

• We propose RAFT, a redundancy-aware input-filtering framework that uses shared memory-stability information to select prediction targets before training and historical context during sampling, reducing downstream preparation and computation.

• We evaluate RAFT across three TGNN models and five datasets, demonstrating substantial input reduction and training-time savings while assessing the associated changes in prediction quality.

Figure

Figure 1: Batched memory-based TGNN training. Root events (e.g., e23e_{23} and e34e_{34}) are prediction targets, while support events (e.g., e12e_{12}, e13e_{13}, and e14e_{14}) provide historical inputs. Step 1 samples support events and fetches the required information. Step 2 updates node memories ( sv−→sv+s_v^- \to s_v^+) and computes embeddings hvh_v. Step 3 predicts root events (e.g., e~(ti)=f(h2,h3)\tilde{e}(t_i) = f(h_2, h_3)), computes the loss, and updates model parameters through backpropagation.

References (44)