GReTo: Remedying dynamic graph topology-task discordance via target homophily

Zhengyang Zhou, Qihe Huang, Gengyu Lin, Kuo Yang, Lei Bai, Yang WangICLR 2023

Introduction

GReTo (Graph Remedy for Topology-task discordance) is a novel framework designed to fix a fundamental flaw in how Graph Neural Networks (GNNs) handle dynamic data like traffic or weather. By moving beyond the simple assumption that "connected nodes are similar" and instead using "target homophily" to filter and weight neighbors based on their actual contribution to the task, GReTo achieves massive accuracy gains—up to 24.79% on air quality forecasting tasks.

What Problem Does This Paper Address?

Most GNNs are built on the homophily assumption: the idea that connected nodes share similar features or labels. While this works well for static structures like social networks, it often fails in dynamic physical systems.

Consider a road network: two sensors might be physically close (connected in the graph), but if one is upstream and the other is on a parallel competing route, their traffic volumes might move in opposite directions. The authors call this topology-task discordance.

Illustration of topology-task discordance and heterophily in dynamic graphs.

When a standard GNN aggregates data from these "discordant" neighbors, it introduces noise that degrades the model's performance. Furthermore, most existing research on "heterophily" (the opposite of homophily, where connected nodes are dissimilar) focuses on static classification tasks. This leaves a significant gap in how to handle continuous regression in time-varying graphs where relationships between nodes can be negatively correlated or shift over time.

Methods: The GReTo Framework

To resolve this discordance, the authors propose GReTo, which introduces three key innovations to rethink how messages are passed in dynamic graphs:

The GReTo framework architecture.
  1. Dynamic Graph Homophily Theory: The authors extend traditional homophily to include "signed-distance proximity." This measures not just if nodes are different, but how they differ (positive vs. negative correlation) and how that relationship evolves over time, termed inter-graph transition homophily.
  2. Signed Target-Oriented Message Passing: Instead of relying on a standard weighted average of neighbors, GReTo uses a predictor to estimate the "transition homophily" for the next time step. It then disentangles neighbors into positive (helpful) and negative (opposing) components, applying different "signed kernels" to each. This allows the model to explicitly account for neighbors that move in the opposite direction of the target.
  3. Personalized High-Order Layer Propagation: Not every node needs to look the same distance away in the graph. GReTo uses an Adaptive Layer Importance Measure (LiM). Based on a node's local environment, the model decides how much weight to give to 1st-hop, 2nd-hop, or higher-order neighbors, effectively customizing the "receptive field" for every single node.

Key Insights and Ideas

  • The "V-Shape" of Discordance: The authors found that GNN performance follows a 'V' shape relative to the target coefficient (the gap between current observations and future targets). When this gap is large, standard GNNs fail because they cannot find an "optimal degree" to aggregate, highlighting the need for target-aware routing.
  • Negative Weights are Features, Not Bugs: In many GNNs, negative edge weights are avoided or zeroed out. GReTo shows that for regression tasks, a negative weight is a powerful way to model "contended relationships" (like parallel roads) where one node's increase implies another's decrease.
  • Sparsity vs. Depth: The paper demonstrates that nodes with lower "activeness" or lower target-oriented homophily actually benefit from larger receptive fields (more hops). Conversely, highly active, well-aligned nodes only need local information.

Datasets and Key Results

The model was evaluated on four real-world dynamic graph benchmarks spanning traffic and climate domains:

  • Traffic: Metr-LA (highway traffic in Los Angeles) and PeMS-Bay (Bay Area traffic sensors).
  • Climate: KnowAir (PM2.5 concentrations across 184 Chinese cities) and Temperature (urban temperatures for the same cities).

The authors specifically noted that KnowAir and Temperature exhibit high "negative heterophily," making them perfect test cases for GReTo’s signed message passing. GReTo significantly outperformed state-of-the-art baselines (including GCN, GAT, STGCN, and GraphWaveNet) across all datasets:

  • KnowAir: Improved Mean Absolute Percentage Error (MAPE) by 24.79%.
  • Metr-LA: Improved MAPE by 3.60%.
  • Temperature: Improved MAPE by 18.8% over the best baseline.
  • Efficiency: Despite the added complexity of the homophily predictor, GReTo maintains a parameter volume comparable to or smaller than other spatiotemporal models like MTGNN.

Limitations and Future Work

While highly effective, the authors note a few limitations. First, GReTo’s "direction expressivity" (predicting the positive or negative trend) weakens as the forecasting horizon increases (e.g., predicting 12 steps ahead instead of 1). Second, while the model uses layer-wise importance, it lacks fine-grained, node-by-node interpretability to explain exactly why a specific neighbor was filtered out.

Moving forward, the team plans to explore how this target-homophily theory can be applied to other tasks, such as dynamic link prediction (e.g., predicting when a new connection will form in a social network) and improving long-term time-series forecasting.

Summary updated

BibTeX
@inproceedings{zhou2023greto,
  author = {Zhengyang Zhou and Qihe Huang and Gengyu Lin and Kuo Yang and LEI BAI and Yang Wang},
  title = {{GReTo: Remedying dynamic graph topology-task discordance via target homophily}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=8duT3mi_5n},
}
Figure