[Paper Review] Scaling Graph-based Semi Supervised Learning to Large Number of Labels Using Count-Min Sketch
This paper proposes MAD-Sketch, a graph-based semi-supervised learning algorithm that uses Count-min Sketch to compactly store label distributions on each node, reducing space complexity from O(m) to O(log m) and enabling significant speedups. It achieves state-of-the-art performance on large-scale datasets with up to one million labels, where traditional methods fail due to memory constraints.
Graph-based Semi-supervised learning (SSL) algorithms have been successfully used in a large number of applications. These methods classify initially unlabeled nodes by propagating label information over the structure of graph starting from seed nodes. Graph-based SSL algorithms usually scale linearly with the number of distinct labels (m), and require O(m) space on each node. Unfortunately, there exist many applications of practical significance with very large m over large graphs, demanding better space and time complexity. In this paper, we propose MAD-Sketch, a novel graph-based SSL algorithm which compactly stores label distribution on each node using Count-min Sketch, a randomized data structure. We present theoretical analysis showing that under mild conditions, MAD-Sketch can reduce space complexity at each node from O(m) to O(log m), and achieve similar savings in time complexity as well. We support our analysis through experiments on multiple real world datasets. We observe that MAD-Sketch achieves similar performance as existing state-of-the-art graph-based SSL algorithms, while requiring smaller memory footprint and at the same time achieving up to 10x speedup. We find that MAD-Sketch is able to scale to datasets with one million labels, which is beyond the scope of existing graph-based SSL algorithms.
Motivation & Objective
- Address the scalability bottleneck in graph-based semi-supervised learning when the number of labels (m) is very large.
- Reduce the O(m) space and time complexity per node inherent in traditional label propagation methods.
- Enable practical deployment of graph-based SSL on datasets with hundreds of thousands to millions of labels.
- Provide theoretical and empirical justification for using Count-min Sketch in SSL under realistic data conditions like label skew and community structure.
- Demonstrate that sketch-based storage maintains high performance while drastically reducing memory footprint and runtime.
Proposed method
- Uses Count-min Sketch to represent the label score vector at each node instead of storing it explicitly as a dense vector.
- Leverages the linearity of Count-min Sketch to perform efficient, approximate updates during iterative label propagation.
- Applies the Modified Adsorption (MAD) algorithm with sketch-based representations to propagate label scores over the graph.
- Employs randomized hash functions and a matrix structure (w × d) to enable probabilistic, bounded-error approximations of label scores.
- Tunes sketch parameters (width w and depth d) based on theoretical bounds to control overestimation error with high probability.
- Extends the MAD algorithm to work with sketches, creating MAD-Sketch, which supports iterative updates and convergence.
Experimental results
Research questions
- RQ1Can Count-min Sketch be used to compactly represent label distributions in graph-based SSL without significant accuracy loss?
- RQ2Under what conditions does sketching reduce space and time complexity from O(m) to O(log m)?
- RQ3How does MAD-Sketch perform in terms of accuracy, memory usage, and speed compared to exact label propagation (MAD-Exact) on large-scale datasets?
- RQ4Can sketch-based SSL scale to datasets with one million labels, where exact methods fail due to memory overflow?
- RQ5Does the presence of label skew or community structure in real graphs enhance the effectiveness of sketching in SSL?
Key findings
- MAD-Sketch achieves the same Mean Reciprocal Rank (MRR) as MAD-Exact on Freebase and Flickr-10k, demonstrating no significant accuracy degradation.
- On Freebase, MAD-Sketch with w=109, d=8 achieves a 4.7x speedup and lower per-iteration memory usage than MAD-Exact.
- On the Flickr-1m dataset with 1 million labels, MAD-Exact runs out of memory by the third iteration, while MAD-Sketch with w=55, d=17 successfully completes 20 iterations with stable, low memory usage.
- Theoretical analysis shows that sketching reduces space complexity from O(m) to O(log m) under mild conditions, including label skew and community structure.
- Experiments confirm that real-world datasets exhibit power-law label score distributions, justifying the theoretical assumptions and enabling effective sketching.
- Even smaller sketches than predicted by theory maintain good performance, suggesting additional structural benefits from label skew and graph communities.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.