A New Perspective on Target-Conditioned Structural Dynamics for Link Prediction in Dynamic Graphs

Yuanyuan Xu, Yin Chen, Yingxuan Li, Wenjie Zhang, Xuemin Lin, Ying ZhangNeurIPS 2026

TL;DR

Predicting future connections in evolving networks—like who you’ll message next or what you’ll buy—depends heavily on who or what the specific target is. Existing models look for exact past repeats or shared neighbors, slapping those clues onto node features where they often collapse to zeros or get drowned out. This paper introduces TCSD, a framework that combines exact and "fuzzy" structural clues, tracks how they evolve over time, and uses them as active volume knobs to filter out noise during prediction.

What Problem Does This Paper Address?

Imagine trying to predict if Alice will buy a specific brand of laundry detergent tonight. Looking at Alice’s entire shopping history in a vacuum isn’t very helpful; her past purchases of winter coats don't matter here, whereas her recent household-supply runs do. In dynamic graph learning, tailoring a source node's history to a specific candidate destination is called target-conditioned link prediction.

Current state-of-the-art models do this using two rigid heuristics: exact repeats (has Alice bought this exact item before?) and exact co-neighbors (do Alice and this item share identical past connections?). The authors point out two major flaws with how these are used:

  1. Exact matching is brittle: Real-world graphs vary wildly. If Alice is browsing a local restaurant directory (like GoogleLocal) or buying a new brand of detergent, exact repeat and co-neighbor counts drop to zero, leaving the model blind—even when latent similarity exists.
  2. Static feature dilution and misleading "hard negatives": Even when structural clues exist, models usually concatenate them as passive numbers alongside high-dimensional edge and time features, diluting their impact. Worse, ignoring how these clues evolve over time leads to traps: an outdated flurry of shared connections with an irrelevant node (a "hard negative") can score much higher than a smaller, temporally consistent signal for a true target.
Structural statistics across datasets showing varied exact-match regimes, and how static identity-based scores get fooled by hard negatives.

Methods

Instead of treating structural clues as static, passive tags, TCSD (Target-Conditioned Structural Dynamics) elevates them to evolving states that actively steer how historical data is aggregated. While encoding node histories with standard attention mechanisms is familiar territory, TCSD introduces a novel three-stage structural pipeline:

Figure 2: Overview of our target-conditioned structural dynamics framework, including structural state construction, state dynamic modeling, and dynamics-guided aggregation for link prediction.
  1. Hybrid Structural States: For each of the source node’s recent historical interactions, TCSD builds a 4-part state vector. Two parts are time-aware exact indicators (exact repeats and exact co-neighbors weighted by exponential time decay, so recent matches matter more). The other two are relaxed indicators, which use cosine similarity between node embeddings to capture "fuzzy" compatibility—catching that two different brands of detergent are functionally related even without an exact ID match.
  2. Structural Dynamics Modeling: Rather than squashing this sequence of states into a single summary count, TCSD runs 1D convolutions across the timeline of recent interactions. A depthwise convolution checks temporal consistency within each indicator (is support persistent or a one-off fluke?), followed by a pointwise convolution that lets exact and relaxed channels calibrate one another.
  3. Aggregation Controller: Context features (node embeddings, timestamps, edge attributes) are encoded separately without structural tags mixed in. Then, the evolved structural states are passed through a sigmoid gate to act as dimension-wise "volume knobs" on the neighbor representations, amplifying target-relevant history and muting irrelevant noise before final link scoring.

Datasets

The authors evaluate TCSD on 16 existing benchmark dynamic graph datasets (no new datasets are introduced), thoughtfully split into two regimes based on whether new or repeated edges dominate:

  • 8 Unseen-Dominant Datasets: ML-20M, Taobao, GoogleLocal, Flickr, YouTube, WikiLink, tgbl-review, and tgbl-comment.
  • 8 Seen-Dominant Datasets: wikipedia, reddit, mooc, lastfm, uci, Flights, tgbl-coin, and tgbl-flights.

Key Insights and Ideas

  • Exact and relaxed clues are natural complements: Across diverse networks, exact indicators shine when history repeats itself, while embedding-based relaxed indicators step in to prevent "zero-vector collapse" in sparse, unseen-dominant networks.
  • Negative similarity carries signal: Keeping the raw cosine similarity signed (spanning [-1, 1]) works better than normalizing it to [0, 1]. Knowing a historical neighbor is actively dissimilar to your target helps the convolutional gates suppress plausible-looking impostors.
  • Timing beats raw tallying for hard negatives: Static overlap counts get easily tricked by old or isolated interactions. Modeling the trajectory of structural support flips the script: on the uci dataset, where static heuristics scored hard negatives 3.68× higher than true targets, TCSD's hybrid states cleanly rank positives highest (0.54 vs. 0.34 for hard negatives).
  • Active gating dynamically re-weights history: For true positive links on mooc, TCSD boosts the aggregation weight of structurally aligned historical neighbors by over 31× from the lowest to highest dynamic-score bins, while keeping weights relatively flat for random and hard negatives.

Key Results

Evaluated via Mean Reciprocal Rank (MRR) against 10 baselines (including TGN, GraphMixer, CAWN, DyGFormer, CRAFT, and TAMI):

  • Strongest gains on unseen interactions: TCSD achieves an average relative MRR improvement of 5.45% across unseen-dominant graphs, peaking at +14.27% on YouTube, +12.27% on Flickr, and +6.24% on GoogleLocal.
  • Consistent on repeat-heavy graphs: On seen-dominant datasets, TCSD ranks first on 6 out of 8 benchmarks (averaging +1.78% relative MRR), highlighted by a +11.97% jump on mooc.
  • Fast and practical: Despite adding convolutional state tracking and gating, TCSD is the 3rd fastest method per training epoch—running 3.76× to 4.43× faster than DyGFormer and 4.27× to 5.31× faster than CAWN on lastfm and mooc.

Limitations and Future Work

The main text does not include a dedicated section discussing formal limitations or future research directions. However, the empirical results surface a couple of practical trade-offs:

  • Compute overhead vs. ultra-lightweight models: Compared to the lightweight target-conditioned baseline CRAFT, TCSD takes 1.52× to 1.59× longer per training epoch due to its explicit dynamics modeling.
  • Slight dips on specific seen-dominant graphs: TCSD trails the top baseline slightly on ML-20M (-2.26%), Flights (-2.53%), and tgbl-flights (-4.17%).

Summary updated

Abstract

Dynamic link prediction requires determining whether the historical interactions of a source node provide reliable structural support for a specific target. Existing target-conditioned methods capture such support through structural heuristics such as repeated interactions or co-neighbor overlap, but typically instantiate them as identity-based encodings and inject them as passive token-level features before aggregation. This design is brittle when exact structural encodings are sparse, and the resulting structural signals can be diluted after being concatenated with high-dimensional time and edge features, while their dynamics remain unmodeled. In this paper, we revisit target-conditioned dynamic link prediction from a structural dynamics modeling perspective and propose TCSD, which formulates structural signals as target-conditioned states, evolves them over recent histories, and uses them to guide aggregation. Concretely, we construct hybrid structural states from exact indicators that preserve time-aware repeat and co-neighbor matches, and relaxed indicators that recover latent support beyond exact identity matching. TCSD further models the dynamics of these states to capture temporal consistency within indicators and complementarity across indicators. Instead of treating structural states as passive features, TCSD uses the learned dynamics as aggregation controllers to amplify target-relevant interactions and suppress irrelevant ones. Experiments on sixteen dynamic graphs show that TCSD outperforms ten baselines, achieving up to a 14.27% relative improvement in MRR.
BibTeX
@inproceedings{xu2026new,
  author = {Yuanyuan Xu and Yin Chen and Yingxuan Li and Wenjie Zhang and Xuemin Lin and Ying Zhang},
  title = {{A New Perspective on Target-Conditioned Structural Dynamics for Link Prediction in Dynamic Graphs}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=YfsyoH7YFs},
}
Figure