Semi-supervised learning (SSL) is essential in domains where labeled data is scarce but unlabeled data is abundant, such as speech recognition or web-scale text processing. Graph-based SSL, where data points are vertices and edges represent similarity, is a powerful non-parametric approach to this problem. However, scaling these algorithms to massive datasets while maintaining high classification accuracy presents significant challenges.
This paper introduces a theoretical and practical framework for Measure Propagation (MP), a graph-based SSL algorithm that leverages Kullback-Leibler (KL) divergence and entropy regularization. By pairing this objective with a novel cache-aware node ordering algorithm, the authors demonstrate that MP can scale to massive datasets—specifically a 120-million-node speech graph—while outperforming state-of-the-art methods.
The Challenges of Graph-Based SSL
Traditional graph-based SSL methods face three major hurdles:
- Sub-optimal Loss Functions: Most algorithms minimize squared error. While ideal for regression, squared error is less effective for multi-class classification tasks.
- Degenerate Solutions: In sparse graphs, unlabeled nodes that are far from labeled ones often end up with "flat" or meaningless label distributions.
- Scalability: Many graph methods require expensive matrix inversions or lack efficient parallel implementations, making them unusable for "big data" applications involving millions of samples.
Measure Propagation & Scalability
To address these issues, the authors build upon the Measure Propagation (MP) framework. Instead of squared error, they minimize a cost function based on KL divergence. This objective consists of three parts: a loss term to keep predicted labels close to the original labels, a graph regularization term to ensure neighboring nodes have similar label distributions, and an entropy regularization term. This entropy term acts as a safety net: it encourages higher entropy (less certainty) in regions where the graph is uninformative, preventing the algorithm from making overconfident, arbitrary guesses on disconnected nodes.
To optimize this objective, the authors use Alternating Minimization (AM), proving that the procedure converges to a global optimum and providing a specific test for convergence.
Crucially, to make the algorithm run efficiently on multi-core processors, they developed a Graph Ordering Algorithm. Standard parallelization often suffers from "cache misses" because a processor needs to look up neighbors that aren't in its local memory. Their algorithm reorders nodes to maximize "neighbor overlap," ensuring that when a processor works on a chunk of nodes, the necessary data is likely already in the high-speed cache.
This hardware-aware trick is the "secret sauce" for scalability. As shown above, the node-ordering algorithm achieved near-linear speedup on a 16-core machine, whereas the standard ordering saw diminishing returns after just 4 cores.
Experimental Results
The authors evaluated their approach on two major speech processing benchmarks: TIMIT (a standard phone classification dataset scaled to a 1.4 million node graph) and Switchboard-I (a massive corpus of telephone conversations scaled to 120 million nodes).
On the TIMIT dataset, Measure Propagation significantly outperformed Squared-Loss (SQ-Loss) and standard Multi-Layer Perceptrons (MLP). This performance gap was especially pronounced when labeled data was extremely limited (e.g., using only 0.5% to 5% of the training set).
Furthermore, on the 120-million-node Switchboard graph, the system's accuracy improved consistently as more unlabeled data was added. This proves that the algorithm effectively "harvests" information from unlabeled samples at an unprecedented scale.
Limitations and Future Work
While the inference step scales impressively to 120 million nodes, the paper relies on an Approximate Nearest Neighbor (ANN) library to build the initial graph, which remains a computationally expensive pre-processing step. Additionally, the model introduces several hyperparameters that require tuning on a development set. Future work may explore dynamic graphs where nodes or edges are added over time without needing to re-run the entire optimization from scratch.
Summary updated