Temporal Heterogeneous Graph Pretraining for Relational Deep Learning
Abstract
Relational deep learning models database rows and foreign-key links as a heterogeneous graph for prediction from record attributes and relational context. These graphs contain two distinct temporal signals: record age changes with the prediction cutoff, while intervals between observed records remain fixed. Prior work often treats time as a single signal or studies temporal representation and pretraining separately. We investigate how explicitly encoding both signals affects temporal pretraining for downstream tasks. Our framework combines Multi-scale Time Encoding, which captures record age using learnable time scales and type-specific projections, with Rotary Time Encoding, which represents signed inter-record intervals through rotary transformations during graph propagation. We pair these encodings with three self-supervised objectives: historical relation recovery, horizon-aware future relation activity prediction, and temporal subgraph contrast. All inputs respect their observation cutoffs. Pretraining proceeds in two stages: subgraph contrast first learns neighborhood representations, followed by refinement through either relation recovery or future activity prediction. We evaluate on five RelBench datasets across 11 classification and regression tasks using heterogeneous GNN and graph Transformer backbones. With both encodings, the best evaluated staged schedules improve over supervised training with the same encodings by 3.02% and 1.06% on the two backbones, respectively, and over controls without pretraining or either encoding by 3.24% and 2.37%.
Authors 4
-
Yixin Peng Aachen
Affiliation as printed
RWTH Aachen University , Aachen , Germany
-
金儿 Aachen
Affiliation as printed
RWTH Aachen University , Aachen , Germany
-
Fraunhofer Institute for Applied Information Technology
Affiliation as printed
Fraunhofer FIT , Sankt Augustin , Germany
-
Stefan Decker Aachen
Fraunhofer Institute for Applied Information Technology · RWTH Aachen University
Affiliation as printed
Fraunhofer FIT , Sankt Augustin , Germany
RWTH Aachen University , Aachen , Germany
Cited by 0 stored of 0
No patents citing this paper on Lens.org (checked 2026-10-06).