Forget Less, Generalize More: Unifying Temporal and Structural Adaptation for Dynamic Graphs
Anonymous authors
ICLR 2027
Abstract. Representation learning on dynamic graphs requires capturing complex dependencies that evolve across both time and structure. Existing approaches typically adopt fixed temporal decay schemes or predetermined structural propagation depths, limiting their ability to generalize across graphs with diverse interaction frequencies and topological characteristics. We propose Dual-Scale Retentive Dynamics (DSRD), a unified framework that maintains a retentive representation state encoding both temporal memory and structural context. DSRD introduces two key components: (i) a retentive state with dual-scale adaptation that jointly models temporal dynamics and structural propagation within a single recurrent formulation, and (ii) adaptive decay kernels with learnable time-sensitivity parameters that automatically balance short-term responsiveness and long-term retention based on the underlying temporal and structural interaction patterns. We provide theoretical analysis that expands the recurrent state updates into weighted aggregation over temporal walks, together with boundedness guarantees for the learned dynamics. Extensive experiments on 14 real-world benchmarks demonstrate that DSRD achieves state-of-the-art performance on both link prediction and node classification tasks, with strong generalization across transductive and inductive settings. The implementation code is available at [Code].
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
ICLR 2027
Under review · 3 reviews · OpenReview
Updated 25 Nov 2026, 10:33 UTC.
- Rating
- 2/4
- Confidence
- 3/4
- Soundness
- 2/3
- Presentation
- 2/3
- Informativeness
- 2/3
Read review
Summary
To address the challenge in dynamic graph learning of balancing short-term changes with long-term dependencies, as well as the common issue of overlooking interaction sequence, this paper proposes the DSRD method. Its core idea is to integrate the retention of historical information with message passing between nodes, dynamically adjusting the influence of historical context based on interaction characteristics while preserving chronological sequence. This enables a better understanding of how relationships evolve over time. Experiments on multiple real-world datasets demonstrate that DSRD generally outperforms most baseline methods in link prediction and node classification tasks, all while maintaining good computational efficiency.
Strengths
The paper jointly models temporal and structural dependencies in dynamic graphs by integrating adaptive temporal retention and high-order structural diffusion within a shared retentive state. Learnable decay kernels and gated state updates allow the model to balance short-term responsiveness and long-term retention. The experimental evaluation is also solid, covering link prediction on multiple real-world dynamic graph datasets under both transductive and inductive settings with three negative sampling strategies, where DSRD demonstrates consistently strong performance.
Weaknesses
Despite the extensive experimental evaluation, the additional benefits of the core design choices over existing methods remain insufficiently established. The ablation studies support the usefulness of individual components, but more targeted comparisons are needed to isolate the gains from learnable decay kernels and from coupling temporal retention with structural diffusion within a unified retentive state.
Questions for the authors
How much does DSRD benefit from learning the decay parameters compared with using well-tuned fixed values?
1 comment
- Rating
- 3/4(+1)
- Confidence
- 3/4
- Soundness
- 1/3
- Presentation
- 2/3
- Informativeness
- 2/3
Read review
Summary
In this work, the authors present a dynamic graph learning framework named Dual-Scale Retentive Dynamics (DSRD), that captures long-term as well as short-term temporal and structural context. The model is primarily based on learning retentive states (second order states) through recurrent adaptive scale update equation coupled with structural diffusion. By introducing learnable decay kernels and gated memory updates, DSRD adaptively balances short-term responsiveness and long-term retention. Through numerical experiments the authors show that these retentive states are competitively viable alternatives for existing memory-based models with limited capabilities in modeling long-term information.
Strengths
Good empirical performance: The paper demonstrates strong results across 14 diverse real-world benchmarks, achieving state-of-the-art performance on both dynamic link prediction and node classification tasks in both transductive and inductive settings. It obtains an impressive average rank of 1.29 across link prediction benchmarks and shows strong generalization across both discrete- and continuous-time graphs.
Weaknesses
Missing long range models: The paper addresses temporal trade-offs and structural conflation but omits recent state-space and continuous-time models, such as CTAN [1], CTDG-SSM [2], and GraphSSM [3]. CTAN and CTDG-SSM use continuous ODE updates to handle short-term and long-term dependencies. Omitting these baselines creates a major gap in the evaluation.
Adaptive temporal Scaling: Given the missing latest baselines, the technical novelty of learnable scale is limited. Recent models like GraphSSM and CTDG-SSM use input-dependent adaptive scaling via selective scans, where decay is modeled as using softplus parameterization. In contrast, DSRD uses a feature-agnostic decay parameter meaning each layer globally favors either short-term or long-term memory.
Technical issues: The paper defines instantaneous injection in Eq 2, note here that this term explicitly limits the the injection to only one-hop interaction, i.e., if there is no direct link between nodes and , then . Further, from Eq. 4, one cannot model the influence of all nodes that are hops away, but only of those that have hop path as well as direct single hop path. This limited propagation is not seen in the implementation because the propagation is replaced through single-hop aggregation of the node state instead of injection in Eq. 10.
Minor issues, readability: Could the authors please clarify the definition of the “instantaneous transition matrix”? Given that represents all edges in the interval , it is slightly ambiguous whether the induced transition matrix incorporates all historical edges up to or only those appearing at the exact timestamp. Assuming the latter is intended, it would greatly improve clarity to make this distinction explicit in the paper.
[1] Gravina, Alessio, et al. “Long range propagation on continuous-time dynamic graphs.” arXiv preprint arXiv:2406.02740 (2024). [2] Raghuvanshi, Ayushman, et al. “Learning Long Range Spatio-Temporal Representations over Continuous Time Dynamic Graphs with State Space Models.” arXiv preprint arXiv:2606.04672 (2026). [3] Li, Jintang, et al. “State space models on temporal graphs: A first-principles study.”Advances in Neural Information Processing Systems 37 (2024): 127030-127058.
Questions for the authors
address weakness
3 comments
Response to Reviewer e5zD [Part 1/2]
We sincerely appreciate the detailed assessment and your recognition of DSRD's strong empirical performance across multiple real-world benchmarks. We address each of the Questions (Q) below. All changes in the revised paper are highlighted in blue.
Q1. Missing baselines CTAN, CTDG-SSM and GraphSSM.
RQ1: We added CTAN, CTDG-SSM and GraphSSM, together with CRAFT. DSRD achieves the best performance on every dataset, as shown below.
| Dataset | CRAFT | CTAN | CTDG-SSM | GraphSSM | DSRD |
|---|---|---|---|---|---|
| Wikipedia | 95.71±0.29 | 75.45±0.69 | 86.75±0.71 | 99.55±0.10 | |
| 97.18±0.05 | 71.68±2.23 | 91.79±0.94 | 99.94±0.02 | ||
| MOOC | 58.33±3.09 | 74.97±0.97 | 71.87±0.83 | 95.75±0.66 | |
| Enron | 82.45±0.41 | 64.49±2.10 | 73.95±1.15 | 93.78±1.10 | |
| UCI | 75.76±0.66 | 79.88±7.06 | 83.35±1.75 | 92.59±0.05 | |
| US Legis. | 51.10±3.29 | 56.34±0.29 | 48.49±0.47 | 84.42±1.03 | |
| UN Trade | 51.38±0.67 | 62.60±2.04 | 64.29±0.64 | 99.23±0.07 |
These baselines make our evaluation more comprehensive, and we have incorporated them into Tables 6 and 7 of the revised paper. We are grateful for the pointers.
Q2. is feature-agnostic, whereas recent models use input-dependent decay.
RQ2: We are grateful for this insightful comparison. Indeed, does not depend on the input. In DSRD, as in RetNet [1], input-dependent selection is performed by the matrix-valued retentive state, where the query–key weight in Eq. (6) decides what is written and the readout decides what is retrieved. Selective-scan models such as GraphSSM and CTDG-SSM keep a vector state, so an input-dependent step size is their main means of selection, while in DSRD only sets how fast stored content fades. Since is learned separately for each head (), heads in the same layer can still retain short-term and long-term memory simultaneously. We agree that the decay form is just part of the contribution of DSRD, which lies in coupling temporal retention and multi-hop structural propagation within one shared state (Eq. (10)).
Following your suggestion, we implemented an input-dependent in the selective-scan form described in your comment. Omitting layer and head indices, node uses $ \gamma_j=\gamma^{,\mathrm{softplus}(w^{\top}X_j+b)}, $ where is the normalized layer input of node , and replaces in Eqs. (7) and (9). This leads to with and . We compare this variant with a tuned fixed under the same training protocol:
| Dataset | Tuned fixed γ | Input-dependent γ | DSRD |
|---|---|---|---|
| Wikipedia | 98.33±0.04 | 99.55±0.10 | |
| 98.23±0.03 | 99.94±0.02 | ||
| MOOC | 83.54±0.17 | 95.75±0.66 | |
| Enron | 82.53±0.94 | 93.78±1.10 | |
| UCI | 94.74±0.23 | 92.59±0.05 | |
| US Legis. | 63.77±0.87 | 84.42±1.03 | |
| UN Trade | 88.57±1.56 | 99.23±0.07 |
Compared with the tuned fixed , the input-dependent changes AP by less than 0.5% on five of the seven datasets. Its gains on UN Trade and US Legis. are measured against a fixed and thus also include the benefit of learning , which DSRD already has. DSRD, with a learned but input-independent , achieves the highest AP on six of the seven datasets. We have added this discussion to Section 3.1 and the results to Section 4.4 and Appendix C.12 of the revised paper.
Reference
[1] Sun, Yutao, et al. “Retentive network: A successor to transformer for large language models.” arXiv preprint arXiv:2307.08621 (2023).
(Please see Part 2 for the remaining responses.)
Response to Reviewer e5zD [Part 2/2]
(Continued from the previous comment.)
Q3. The one-hop injection in Eq. 2 limits multi-hop propagation in Eq. 4 and differs from Eq. 10.
RQ3: Thank you for pointing this out, and we apologize for the indexing mistake in Eq. (2). We have revised the definition of the injection in Section 2.2 to make it clear. The injection is collected locally at each node, and the walk diffusion then routes it to non-adjacent nodes. The corrected Eq. (2) is
In , each interaction collected at node therefore contributes to whenever a temporal walk of length that starts after it connects them, without requiring a direct edge. In the implementation, Eq. (8) builds the local injections and Eq. (10) passes the accumulated states further. Proposition A.4 gives the walk expansion of this update.
For example, in with , first absorbs information from , and its state later carries it to , although and are not adjacent. With a unit signal placed at the start of such a chain, the terminal-state norm is 0.177 after two hops and 0.044 after three, and exactly zero when the order is reversed, the first edge is removed, or propagation is disabled.
Q4. Does include all edges up to or only those at ?
RQ4: We appreciate the careful reading. The transition matrix incorporates only the edges appearing at the exact timestamp , not all historical edges up to , i.e., counts the events . still denotes all events up to . History enters through , and extends previous walks with current events. Following your suggestion, we have made this distinction explicit in the revised definition of in Section 2.2.
We are grateful again for your thoughtful review and would welcome any additional questions or suggestions.
Thanks for the new set of experiments
I thank the authors for the clarification and the new set of experiments. Although the contributions and novelty are still limited, given the experimental value that this submission might add I will slightly increase my score.
- Rating
- 3/4
- Confidence
- 3/4
- Soundness
- 2/3
- Presentation
- 3/3
- Informativeness
- 2/3
Read review
Summary
This paper focuses on representation learning on dynamic graphs. The innovative point is that the temporal decay and the structural propagation depths are not determined before model training, which enables model adaption to various graphs. The experiments demonstrate the superiority of the proposed method.
Strengths
S1. The motivation is reasonable that the temporal decay and the structural propagation depths should not be fixed. S2. The model design is reasonable and achieves great performance across several datasets.
Weaknesses
W1. The datasets included in the experiments are limited. Several challenging benchmarks are proposed in 2024-2025, such as TGB[R0] and TGB-Seq[R1]. And these benchmarks also point out that MRR is a better measurement for link prediction than AP and AUROC. W2. Several strong baselines are not evaluated, such as CRAFT [R2].
Additional results on these benchmarks and against these baselines would strengthen the empirical evidence, particularly if the proposed method maintains its advantages under these settings. If not, I encourage the authors to provide a more detailed analysis of which dataset characteristics favor the proposed method, and under what conditions the method may be less effective.
[R0] Temporal Graph Benchmark for Machine Learning on Temporal Graphs [R1] TGB-Seq Benchmark: Challenging Temporal GNNs with Complex Sequential Dynamics [R2] Future Link Prediction Without Memory or Aggregation
Questions for the authors
Table 3 indicates that none of the 14 datasets provides node features. How are the input node features in Eq. (1) constructed and initialized?
1 comment
Response to Reviewer x7Q1
We are grateful for your careful review and glad that you found our motivation reasonable, the model design sound and its performance strong. Below, we respond to each of the Questions (Q) point by point. All changes in the revised paper are highlighted in blue.
Q1. The datasets included in the experiments are limited. Several challenging benchmarks are proposed in 2024-2025, such as TGB[R0] and TGB-Seq[R1]. And these benchmarks also point out that MRR is a better measurement for link prediction than AP and AUROC.
RQ1: Thank you for this valuable suggestion. We agree that MRR on TGB and TGB-Seq gives a more informative evaluation of link prediction, and we considered it when designing our experiments. Unfortunately, our computing resources are limited, and MRR evaluation is computationally demanding, since it ranks every positive edge against a large set of negative candidates and most TGB and TGB-Seq datasets are large. We could therefore evaluate MRR only to a limited extent, and adopted the widely used DyGLib benchmark for our main experiments. Following your suggestion and within this budget, we evaluated DSRD and four representative baselines on two small TGB datasets, tgbl-review and tgbl-wiki, and DSRD achieves the best test MRR on both:
| Dataset | TGN | PINT | DyGFormer | TPNet | DSRD |
|---|---|---|---|---|---|
| tgbl-review | 34.91±2.11 | 23.56±2.04 | 18.71±1.03 | 42.83±0.92 | |
| tgbl-wiki | 38.59±0.67 | 75.34±0.19 | 75.70±0.42 | 82.15±0.37 |
Q2. Several strong baselines are not evaluated, such as CRAFT [R2]. Additional results against these baselines would strengthen the empirical evidence, particularly if the proposed method maintains its advantages. If not, I encourage the authors to provide a more detailed analysis of which dataset characteristics favor the proposed method, and under what conditions the method may be less effective.
RQ2: We appreciate this suggestion. To make the comparison more complete, we add CRAFT, together with CTAN, CTDG-SSM and GraphSSM suggested by Reviewer e5zD. With these strong baselines added, DSRD still achieves the best performance:
| Dataset | CRAFT | CTAN | CTDG-SSM | GraphSSM | DSRD |
|---|---|---|---|---|---|
| Wikipedia | 95.71±0.29 | 75.45±0.69 | 86.75±0.71 | 99.55±0.10 | |
| 97.18±0.05 | 71.68±2.23 | 91.79±0.94 | 99.94±0.02 | ||
| MOOC | 58.33±3.09 | 74.97±0.97 | 71.87±0.83 | 95.75±0.66 | |
| Enron | 82.45±0.41 | 64.49±2.10 | 73.95±1.15 | 93.78±1.10 | |
| UCI | 75.76±0.66 | 79.88±7.06 | 83.35±1.75 | 92.59±0.05 | |
| US Legis. | 51.10±3.29 | 56.34±0.29 | 48.49±0.47 | 84.42±1.03 | |
| UN Trade | 51.38±0.67 | 62.60±2.04 | 64.29±0.64 | 99.23±0.07 |
Section 4.3 and Appendix C.9 further relate the learned decay patterns to dataset characteristics such as time granularity, density and interaction scale. We have added these baselines and their results to Tables 6 and 7 of the revised paper.
Q3. Table 3 indicates that none of the 14 datasets provides node features. How are the input node features () in Eq. (1) constructed and initialized?
RQ3: Following DyGLib, the raw node features are zero vectors of dimension 172. Before the projections in Eq. (1), they pass through a linear layer with a trainable bias (standard PyTorch initialization), so the first-layer input is the same learned bias vector for every node. Edge attributes, elapsed-time encodings and retained interaction states supply event-specific information. We have added this description to the implementation details in Appendix C.3.
Thank you again for your time and insightful feedback. We would be glad to address any further questions.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Response to Reviewer FL5D
Thank you for the constructive review. It is encouraging that you consider the joint modeling of temporal retention and structural diffusion a strength and the experimental evaluation solid. Our point-by-point responses to the Questions (Q) follow. All changes in the revised paper are highlighted in blue.
RQ1: We appreciate this insightful question. To quantify the contribution of adaptive decay, we evaluated two controls that keep the architecture and decay functions unchanged. Fixed decay fixes γ(ℓ), λ, α and δ(ℓ), while fixed γ only fixes γ(ℓ) and learns the remaining decay terms. Constants are selected by validation AP via grid search. The all-fixed search includes different time scales across layers and heads. All results below are inductive AP under random negative sampling.
DSRD is higher on all datasets except UCI, where the fixed controls are better. Tuning all decay constants is clearly stronger than fixing γ alone on US Legis. (+10.90%). Careful tuning can therefore help, but its accuracy is bounded by the grid resolution and its cost grows with the number of decay parameters, as our all-fixed search already requires 15 training runs per dataset. DSRD learns these parameters end-to-end in a single training run and exceeds the tuned fixed decay by more than 9% on MOOC, Enron, US Legis. and UN Trade.
RQ2: We are grateful for this thoughtful suggestion. To test the benefit of coupling directly, we added a separate state control whose temporal recurrence never reads the structurally propagated state. A second state bank stores structural propagation, and the two output embeddings are averaged. Projection and feed-forward weights are shared. We also evaluated temporal-only recurrence without diffusion. Each architecture is tested with learned decay and with the same fixed constants selected in RQ1.
DSRD (full) outperforms the temporal-only and separate-state variants on all datasets except UCI. Compared with the separate-state variant, the gains are largest on long-span datasets (e.g., US Legis. +27.39%, UN Trade +23.54%, Enron +12.62%, MOOC +12.47%), while the one-month Wikipedia and Reddit differ by less than 2%. Under the same fixed decay, the shared-state model (Fixed decay in RQ1) also exceeds the separate-state and temporal-only controls, by up to +16.56% and +26.40% on UN Trade. Appendix C.9 shows that DSRD learns strong long-term retention on long-span datasets, so structural context helps most when it is retained in the same state over long horizons.
In addition, separate states double the persistent-state storage (144.19 → 288.38 MiB on Wikipedia) and require an additional query projection, state readout and feed-forward pass per layer. Overall, coupling temporal retention and structural diffusion within one shared state, as in DSRD, is both more accurate and more efficient than keeping them in separate states. We have added the analyses in RQ1 and RQ2 to Section 4.4 and Appendix C.12 of the revised paper.
We appreciate your helpful comments. Please do not hesitate to let us know if you have any questions.