An Effective and Efficient Generation Framework for Condensing the Graph Repository

Yiyang Zhang, Yutong Ye, Yingbo Zhou, Qi Wen, Zhen Wu, Xiang Lian, Mingsong ChenOpenReview 2026 · Submission to ICLR 2026 · Rejected

TL;DR

Researchers have developed GRCOND, the first end-to-end framework designed to condense large repositories of multiple graphs into tiny, highly informative synthetic subsets. By optimizing continuous latent vectors instead of discrete graph structures, GRCOND preserves both individual graph features and the complex relationships between graphs, enabling significantly faster GNN training with minimal loss in accuracy.

What Problem Does This Paper Address?

As Graph Neural Networks (GNNs) become the standard for analyzing everything from molecular structures to social networks, we face a scaling problem. Training models on massive repositories containing thousands or millions of individual graphs is computationally exhausting and slow.

Dataset condensation—the process of creating a small "distilled" version of a dataset that yields similar model performance to the original—has seen success in computer vision. However, applying this to graphs is tricky. Most existing graph condensation methods focus on a single, massive graph (like a social network). They struggle with graph repositories (collections of many small graphs, like a database of molecules) because:

  1. Discreteness: Graphs are made of discrete nodes and edges, making them hard to optimize using standard gradient-based methods.
  2. Inter-graph Relationships: You don't just need to preserve the structure of one graph; you need to preserve the distribution and differences between different categories of graphs in the set.

Methods

The authors propose GRCOND (Graph Repository Condensation), which moves the optimization problem from the discrete graph space into a continuous latent space.

The Core Workflow:

  1. Pre-training & Latent Embedding: They use a pre-trained GNN to encode the original graphs into latent vectors ($Z$). This captures the "structural semantics" of the data.
  2. Representative Initialization: Instead of picking random graphs to start, they find "cluster centers" for each category—graphs that are most representative of their class—to initialize the synthetic set.
  3. Bi-level Optimization via Gradient Matching: This is the "secret sauce." The framework tries to make the training trajectory (the path the model's weights take during learning) on the synthetic data match the trajectory on the real data.
  4. Dual Decoders: To turn the optimized latent vectors back into graphs, GRCOND uses two separate decoders: one for the graph structure (adjacency matrix) and one for node features. This separation helps maintain the sparsity of graph structures while keeping node features smooth and continuous.

By optimizing the latent vectors rather than the edges and nodes directly, the authors bypass the mathematical "jaggedness" of discrete graph data.

Datasets

The framework was evaluated on five diverse real-world graph classification benchmarks:

  • NCI1: Chemical compounds screened for activity against cancer cells.
  • DD & PROTEINS: Bioinformatics datasets representing protein structures.
  • ogbg-molhiv, ogbg-molbbbp, & ogbg-molbace: Large-scale molecular property prediction datasets from the Open Graph Benchmark (OGB).

Key Insights and Ideas

  • Latent Space is Key: The most significant "aha moment" is that optimizing a continuous representation of a graph is far more efficient and effective than trying to "wire" a synthetic graph node-by-node.
  • Preserving the "Inter-graph" Vibe: Unlike previous methods, GRCOND explicitly focuses on the relationships between graphs. By matching gradients class-by-class, the synthetic graphs learn to represent the boundaries that separate different categories.
  • Amortized Efficiency: While the initial condensation process takes time, the authors show that if you plan to run multiple experiments (e.g., hyperparameter tuning or architecture searches), the time saved by training on the tiny synthetic set far outweighs the upfront cost.

Key Results

  • High Fidelity: GRCOND achieved a "recurrence rate" (performance relative to the full dataset) of up to 98.27% using only 50 synthetic graphs per class. Even with just one graph per class, it maintained over 81% accuracy on some datasets.
  • Superiority over Baselines: It consistently outperformed existing methods like DosCond and KiDD, particularly in preserving structural diversity.
  • Cross-Architecture Transferability: Synthetic graphs generated using one type of GNN (e.g., DGCNN) worked remarkably well when used to train entirely different architectures (e.g., GAT or GraphSAGE), proving the condensed data captures generalizable features.
  • Speedup: In a scenario involving three different training tasks, using GRCOND reduced total training time from 2265 seconds to 1290 seconds (including the time taken to condense the data).

Limitations and Future Work

While GRCOND is a major step forward, the authors note a few areas for growth:

  • Pre-trained Model Dependency: The quality of the condensation is somewhat tied to the quality of the initial pre-trained GNN used for embedding.
  • Static Graphs: The current framework is designed for static graphs. Extending this to dynamic graphs (where structure changes over time) or heterogeneous graphs (with different types of nodes and edges) remains an open challenge.
  • Scalability to Ultra-Large Graphs: While it handles repositories well, extremely large individual graphs within a repository might still pose memory challenges during the decoding phase.

Summary updated

BibTeX
@misc{zhang2026effective,
  author = {Yiyang Zhang and Yutong Ye and Yingbo Zhou and Qi Wen and Zhen Wu and Xiang Lian and Mingsong Chen},
  title = {{An Effective and Efficient Generation Framework for Condensing the Graph Repository}},
  year = {2026},
  url = {https://openreview.net/forum?id=EqiObUpo9w},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2026},
}
Figure