Introduction
Graph-based semi-supervised learning (SSL) is a cornerstone of modern data science, enabling the propagation of labels from a small set of "seed" nodes to a vast unlabeled population based on similarity. However, as datasets grow to encompass millions of labels and billions of edges, traditional SSL methods encounter severe scalability bottlenecks. This paper presents EXPANDER-S, a novel framework that leverages streaming approximations and deep learning-based graph augmentation to achieve unprecedented scale and accuracy.
The Scaling Challenge in Graph-Based SSL
Traditional graph-based SSL faces three primary hurdles:
- Label Explosion: In large-scale knowledge graphs like Freebase, the number of potential labels ($m$) can reach millions. Storing a full probability distribution for every node requires $O(m)$ space, which is prohibitive for massive graphs.
- Data Volume: Real-world graphs often contain billions of edges, necessitating distributed processing across hundreds of machines.
- Graph Sparsity: Graphs constructed from raw features are frequently too sparse, preventing effective label propagation.
Previous attempts to mitigate memory issues used sketching techniques like Count-Min Sketch. While these reduce space complexity to $O(\log m)$, they introduce noise and collisions that degrade the signal of the most relevant labels.
EXPANDER-S: Streaming Approximation
The core innovation of EXPANDER-S is treating label propagation as a streaming frequent-item problem. Instead of maintaining a full distribution, the algorithm identifies the "heavy hitters"—the top-$k$ most significant labels—using an adaptation of the Manku-Motwani algorithm. By keeping only a small constant number of labels (e.g., $k=5$ or $10$), the memory requirement per node is reduced from $O(m)$ to $O(1)$. This approach provides a theoretical bound on approximation error while explicitly preserving the most important labels, leading to higher precision than traditional sketching.
Graph Augmentation via Deep Learning Embeddings
To address graph sparsity, the authors propose a hybrid graph construction strategy. They use unsupervised deep learning (specifically the Skip-gram model) to generate dense semantic embeddings for each node. By applying Locality Sensitive Hashing (LSH) to these embeddings, they can efficiently identify and add "semantic" edges between nodes that are conceptually related but lack direct feature-based connections.
This augmentation creates a "Sparse+Dense" graph, providing more pathways for labels to flow and significantly improving the quality of the final predictions.
Distributed Implementation and Scalability
To handle the sheer volume of modern data, the authors implemented DIST-EXPANDER using a distributed Bulk Synchronous Parallel (BSP) model (Pregel/Giraph). This allows the graph to be partitioned across a cluster, enabling the processing of datasets that would be impossible to fit on a single machine.
Experimental Results
The framework was evaluated on massive real-world datasets:
- Freebase-Entity (FB-E): EXPANDER-S outperformed the state-of-the-art MAD-SKETCH baseline in both Mean Reciprocal Rank (MRR) and Precision@K, while achieving a 12x reduction in memory footprint.
- Video Dataset: In a massive-scale test involving 2.6 billion nodes and 6.5 billion edges, the distributed system completed an iteration in approximately 9 minutes using 300 machines.
- Augmentation Impact: The inclusion of semantic edges via deep learning embeddings provided a measurable "quality jump," demonstrating that the structure of the graph is as important as the propagation algorithm itself.
Conclusion
EXPANDER-S represents a significant leap forward in large-scale SSL. By combining streaming algorithms for memory efficiency with deep learning for graph densification, it enables high-accuracy label propagation on graphs with billions of edges and millions of labels. This work paves the way for applying SSL to the world's largest and most complex datasets.
Summary updated