Abstract
As graph data grows increasingly complicated, training graph neural networks (GNNs) on large-scale datasets presents significant challenges, including computational resource constraints, data redundancy, and transmission inefficiencies. While existing graph condensation techniques have shown promise in addressing these issues, they are predominantly designed for single-label datasets, where each node is associated with a single class label. However, many real-world applications, such as social network analysis and bioinformatics, involve multi-label graph datasets, where one node can have various related labels. To deal with this problem, we extend traditional graph condensation approaches to accommodate multi-label datasets by introducing modifications to synthetic dataset initialization and condensing optimization. Through experiments on eight real-world multi-label graph datasets, we prove the effectiveness of our method. In the experiment, the GCond framework, combined with K-Center initialization and binary cross-entropy loss (BCELoss), generally achieves the best performance. This benchmark for multi-label graph condensation not only enhances the scalability and efficiency of GNNs for multi-label graph data but also offers substantial benefits for diverse real-world applications.
Introduction
Graph Neural Networks (GNNs) have revolutionized the analysis of structured data, yet their application to massive real-world graphs remains bottlenecked by high computational costs and memory requirements. Graph Condensation (GC) has emerged as a powerful paradigm to mitigate these issues by synthesizing a small, representative graph from a large-scale original dataset. Ideally, a GNN trained on this condensed graph achieves performance comparable to one trained on the full dataset, but with significantly reduced overhead.
Despite the success of GC in single-label classification tasks, real-world graphs are often multi-label in nature. For instance, in a protein-protein interaction (PPI) network, a single protein may participate in multiple biological processes simultaneously. Existing GC methods, which assume mutually exclusive labels, fail to capture the complex correlations and overlapping characteristics inherent in multi-label data. This study presents the first comprehensive benchmark for multi-label graph condensation, adapting state-of-the-art frameworks to this more complex domain.
Methodology: Adapting Condensation for Multi-Label Complexity
The core objective of multi-label graph condensation is to generate a synthetic graph $\mathcal{S} = \{A', X', Y'\}$ that preserves the essential information of the original graph $\mathcal{G} = \{A, X, Y\}$, where $Y$ represents multi-label indicators.
The researchers adapted three prominent GC frameworks to the multi-label setting:
- GCond (Gradient Matching): This approach optimizes the synthetic graph such that the gradients of a GNN trained on it match those of a GNN trained on the original graph.
- GCDM (Distribution Matching): This method ensures that the distribution of node embeddings in the synthetic graph closely mirrors the distribution in the original graph.
- SGDD (Structure-broadcasting): This framework utilizes a generative model to synthesize the adjacency matrix ($A'$), focusing on preserving the structural properties of the graph.
Key Modifications
To handle the multi-label nature of the data, two critical components were overhauled:
- Initialization Strategies: Rather than random sampling, the study explored K-Center initialization and Herding. K-Center, in particular, proved effective by selecting a diverse set of nodes that span the feature space, ensuring that rare label combinations are represented in the condensed set.
- Loss Function Adaptation: Standard cross-entropy was replaced with multi-label-friendly objectives. Binary Cross-Entropy (BCELoss) was found to be superior as it treats each label as an independent binary classification task, effectively modeling the non-mutually exclusive relationships between labels.
Experimental Results and Insights
The benchmark evaluated these methods across eight diverse datasets, including bioinformatics (PPI, OGBN-Proteins), social networks (Yelp), and citation graphs (DBLP).
Performance and Efficiency
The results demonstrate that graph condensation can achieve remarkable compression rates while maintaining high predictive accuracy. For example, on the PPI dataset, the GCond method achieved an F1-micro score of 51.35% using a condensation rate of just 1% (approximately 147 nodes), nearly matching the performance of the full dataset (51.26%). Similarly, on DBLP, GCond reached a 70.74% F1-micro score with only 0.8% of the original data.
Key Findings
- The Superiority of GCond: Among the frameworks, GCond emerged as the most robust and scalable, particularly for high-dimensional and complex datasets.
- Importance of Structure Learning: Learning the synthetic adjacency matrix ($A'$) is crucial. Edges in multi-label graphs often encode latent rules regarding label co-occurrence, and preserving this structure significantly boosts GNN performance.
- Diversity Trumps Randomness: For dense, large-scale datasets, K-Center initialization consistently outperformed random sampling by ensuring a more representative "seed" for the condensation process.
Conclusion and Future Directions
This benchmark study successfully extends graph condensation to the multi-label domain, providing a scalable solution for training GNNs on complex, large-scale data. While gradient-matching methods like GCond show great promise, challenges remain regarding the memory efficiency of structure-broadcasting methods on extremely large graphs. Future research should explore the application of these techniques to dynamic and heterogeneous graphs, further bridging the gap between theoretical condensation and real-world production environments.
Summary updated