Introduction
Training Graph Neural Networks (GNNs) on massive, dynamic datasets like social networks or recommendation systems presents significant computational challenges. Graph Condensation (GC) has emerged as a promising solution, aiming to reduce a large-scale graph into a small, synthetic counterpart that preserves the original's essential information.
However, traditional GC methods typically assume a static environment. In reality, real-world graphs are "open-world"—they continuously evolve, with new nodes, edges, and categories appearing over time. As shown in the performance trends for Yelp and Taobao, standard models often see a steady decline in accuracy as they encounter these new tasks and distribution shifts.
The Challenge of Open-World Evolution
Existing GC methods struggle in dynamic scenarios due to two primary issues:
- Distribution Shift: As graphs grow, their structural properties change. A synthetic graph optimized for a static snapshot fails to generalize to future states, leading to significant performance drops as the graph evolves.
- Computational Complexity: Most GC techniques rely on expensive "nested loop" optimization strategies. Re-condensing a graph every time it updates is computationally prohibitive, negating the efficiency benefits of condensation.
The OpenGC Framework
To address these limitations, the OpenGC (Open-world Graph Condensation) framework incorporates three core innovations designed for speed and robustness:
KRR-based Feature Condensation
OpenGC replaces the traditional iterative optimization with a Kernel Ridge Regression (KRR) approach. By formulating condensation as a regression problem with a closed-form solution, OpenGC eliminates the need for a costly "inner loop" of model training. This shift enables near-instantaneous condensation of large-scale features.
Structure-aware Environment Generation
To anticipate future distribution shifts, OpenGC analyzes historical graph changes. It uses these "residuals" to simulate multiple potential "temporal environments." This process effectively "hallucinates" future graph structures, allowing the model to prepare for new nodes and edges before they arrive.
Temporal Invariance Condensation
Drawing on Invariant Risk Minimization (IRM), OpenGC identifies structural patterns that remain stable across the simulated temporal environments. By embedding these invariant features into the condensed graph, the resulting GNNs become significantly more robust to future structural evolution.
Experimental Evaluation
The framework was evaluated on four real-world datasets: Yelp and Taobao (naturally evolving) and Flickr and Coauthor (segmented to simulate growth).
Key Findings
- Superior Generalization: OpenGC consistently outperforms state-of-the-art (SOTA) baselines like GCond and SFGC. On the Yelp dataset, it achieved a nearly 3% improvement in mean Average Performance (mAP) over the strongest baseline.
- Efficiency Gains: The KRR-based optimization provides massive speedups. On the Taobao dataset, OpenGC completed condensation in just 25 seconds, compared to over 3,200 seconds for the SOTA method SFGC.
- Model Agnostic: The synthetic graphs produced are highly transferable across various GNN architectures, including GCN, GraphSAGE, and APPNP, proving the condensed data captures fundamental graph properties rather than model-specific noise.
Conclusion
OpenGC represents a significant step toward practical graph condensation in dynamic, real-world settings. By prioritizing temporal invariance and leveraging efficient closed-form optimizations, it enables GNNs to maintain high accuracy on evolving graphs while drastically reducing the computational overhead of data preparation. Future work will explore integrating more advanced open-set recognition to better handle entirely new node classes during deployment.
Summary updated