arXiv:2610.19364cs.LGOct 2026

Manuscript Offprint

arXiv:2610.19364

Dynamic Graph World Modelling: Learning Future Dynamics from Temporal Context

Bo Li, Yue Yang, Yujin Huang, Siao Liu, David Lemphers, Sara E Rodriguez Gomez, Luke Borgnolo, Can Wang, Xin Zheng

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

ABSTRACT

Dynamic graph learning models how entities and their relations evolve from historical observations to predict future graph states. Existing methods do not fully address dynamic graph world modelling, which requires learning transitions from temporal context to future latent graph states. This is difficult for three reasons: nodes and relations rely on different historical evidence, structural evolution is path-dependent, and future snapshots provide sparse and realization-specific targets. We propose Dynamic Graph World Modelling (DYG-WM), the first framework to jointly predict future node and relation representations from temporal context by answering three questions: what has evolved, how it evolved, and what will evolve next. To capture (a) what has evolved, a historical node-relation context encoder summarizes node-neighborhood trajectories and pair-specific histories. To characterize (b) how it evolved, a node-relation path-signature encoder captures ordered structural changes. To predict (c) what will evolve next, a dual-level joint-embedding objective predicts target-snapshot node and relation representations without reconstructing the raw graph. Experiments on 12 link-prediction and two node-classification datasets demonstrate the effectiveness of DYG-WM across both tasks. Our code available at https://github.com/HyoukaLI/DyG-WM

1 INTRODUCTION

Many real-world systems change through the evolution of both entities and their relationships. Dynamic graphs model these systems as sequences of graph-structured states, in which nodes represent entities and time-varying edges record their interactions (Gravina et al., 2024; Feng et al., 2025b; Skarding et al., 2021). They have been widely used to study social networks (Kumar et al., 2019; Zheng et al., 2026), recommender systems (Zhang et al., 2026a; Wang et al., 2026), traffic systems (Zou et al., 2026; Weng et al., 2023), financial transactions (Song et al., 2023; Yuan et al., 2025), and scientific discovery (Bai et al., 2024). By modelling structural dependencies within graph states and temporal dependencies across states, dynamic graph neural networks (DGNNs) can do temporal link prediction and node attribute prediction (Kumar et al., 2019; Rossi et al., 2020; Yu et al., 2023; Li et al., 2026). Although current models perform well on individual prediction tasks, real-world applications require more than forecasting a single edge or node label. Dynamic graph learning aims to model how the graph state evolves from historical observations so that future states can be predicted and used for planning and decision-making.

This motivates us to formulate the problem of dynamic graph world modelling, which extends the general world-modelling paradigm to evolving relational systems. As illustrated in Figure 1, historical graph observations are encoded into compact latent states, and the temporal transitions between these states are learned to predict future system dynamics. From this perspective, existing

∗^{*}Corresponding author dynamic graph learning methods can be broadly divided into two groups, neither of which fully addresses this problem. (1) Task-oriented temporal graph representation learning trains DGNNs with node labels or observed interactions to predict specific outcomes, such as future links or node attributes (Kumar et al., 2019; Rossi et al., 2020; Yu et al., 2023; Li et al., 2026). Although effective on individual tasks, such supervision is often sparse, delayed, or costly to obtain and binds the learned representations to particular tasks and evolving environments. (2) Self-supervised dynamic graph representation learning reduces this dependence through contrastive, reconstruction-based, or latent-predictive objectives. Contrastive methods align temporal views, sampled subgraphs, or interacting nodes (Wang et al., 2021a; Xu et al., 2023). However, they mainly enforce invariance across constructed views, and their effectiveness depends on whether the selected positive-negative pairs preserve temporal semantics. Reconstruction and masking methods recover missing edges, attributes, or temporal observations (Gao et al., 2025; He et al., 2025), but encourage the model to focus on low-level details of the observed graph rather than its predictable dynamics. Dynamic graphs have a natural temporal prediction structure: past graph states provide the context, while future graph states serve as prediction targets. Predictive latent representation learning is therefore well suited to dynamic graph world modelling because temporal progression naturally separates context from target. The goal is to predict, from historical states, what the graph will become in representation space rather than reconstruct every observed interaction.

However, learning a dynamic graph world model involves three challenges. C1: Multi-level historical dependency. Nodes and relations evolve together but draw on different historical evidence. Node evolution depends on the trajectory of a node and its neighborhood, whereas relation evolution also depends on pair-specific structural histories that endpoint representations alone cannot recover. C2: Path-dependent structural evolution. Similar current graph states can result from different sequences of structural changes and may therefore lead to different future dynamics. A world model must retain both the resulting state and the ordered path that produced it. C3:

Figure

Figure 1: Comparison of dynamic graph learning and dynamic graph world modelling. Dynamic graph learning maps historical graphs to task-specific outputs, whereas dynamic graph world modelling predicts future latent state.

Sparse and realization-specific future targets. A future graph snapshot records only the node states and interactions observed within a given time window, offering an incomplete view of the underlying dynamics. Predicting these outcomes separately or reconstructing the snapshot exactly may lead the model to fit a single observed realization rather than capture how nodes and relations evolve more generally. A dynamic graph world model therefore needs a compact future-state target that goes beyond individual node labels and edge observations.

To address these challenges, we introduce DYG-WM, a Dynamic Graph World Modelling method that learns future graph dynamics directly in the latent space through predictive representation learning guided by temporal context. Our proposed DYG-WM is designed and organized around three questions: what has evolved, how it evolved, and what will evolve next. To capture what has evolved, we develop (a) a historical node-relation context encoder that summarizes the trajectories of nodes and their neighborhoods and builds pair-specific structural contexts. This provides the different forms of historical evidence described in C1. To characterize how the graph evolved, we introduce (b) a node-relation path-signature encoder that captures the order of structural changes at both levels. It distinguishes trajectories that reach similar current states through different transition orders, addressing the path dependence described in C2. Finally, to predict what will evolve next, we design (c) a dual-level joint-embedding predictive objective that uses historical contexts and path signatures to predict node and relation representations from the target snapshot. By learning future dynamics in representation space instead of reconstructing a single future graph realization, the objective addresses C3. Our main contributions are as follows:

• To our knowledge, DYG-WM is the first framework to formulate dynamic graph world modelling as the joint prediction of future node and relation representations. It treats relations as temporally evolving latent states rather than only as message-passing channels or endpoint-based scores. Using strictly historical context, DYG-WM learns future dynamics directly in representation space.

• To account for path dependence in dynamic graph evolution, we combine a historical node-relation context encoder with a node-relation path-signature encoder. The two encoders represent accumulated states and ordered structural changes, respectively. A dual-level joint-embedding predictive objective uses these encodings to predict future node and relation states without relying on augmented-view contrast or raw-graph reconstruction for self-supervision.

• Across 12 dynamic link-prediction datasets and two dynamic node-classification datasets, DYG-WM achieves the best average rank in every evaluated link-prediction setting. It also obtains the best Macro-F1 and Micro-F1 scores across all label ratios. Ablation and latent-alignment analyses further confirm the effectiveness of the individual components.

References (39)