Storage Fit Learning with Unlabeled Data

Bo-Jian Hou, Lijun Zhang, Zhi-Hua Zhou

Introduction

Graph-based semi-supervised learning (SSL) leverages the relationships between a small set of labeled examples and a large pool of unlabeled data to enhance classification performance. However, a significant bottleneck exists: the "memory wall." Standard graph-based SSL typically requires the construction and storage of an $n \times n$ similarity matrix, where $n$ is the total number of data points. For large-scale applications, such as managing millions of photos on a mobile device, this requirement can reach terabytes, far exceeding the limited RAM (typically 2-4GB) available on edge hardware. This paper introduces "Storage Fit Learning," a framework designed to dynamically adjust its memory footprint to fit specific hardware constraints.

Methodology: From Kernels to Virtual Samples

The authors focus on the Cluster Kernel (ClusK) method, transforming it from a memory-intensive kernel problem into a memory-efficient linear problem. The core innovation lies in finding a low-rank approximation of the similarity matrix and decomposing it into "virtual samples." Instead of storing an $n \times n$ matrix, the system stores an $n \times p$ matrix (where $p \ll n$), which is then processed by a standard linear SVM.

Two primary algorithms are proposed:

  1. SoCK (Stochastic optimization for Cluster Kernel): An iterative approach using Stochastic Proximal Gradient Descent. It refines the low-rank approximation over time, offering mathematical robustness and guaranteed convergence.
  2. NysCK (Nyström Cluster Kernel): Based on the Nyström method, this algorithm samples a subset of instances to approximate the kernel matrix's eigensystem. It is optimized for speed, providing a high-quality approximation rapidly for real-time applications.

Experimental Evaluation

The proposed methods were evaluated on large-scale datasets, including adult-a (32,561 samples) and w8a (49,749 samples), under specific storage budgets of 200MB, 400MB, and 600MB. Additionally, standard UCI benchmarks were used to verify competitiveness in unconstrained scenarios.

AUC performance on the adult-a dataset with 1K labeled examples. NysCK (blue triangles) and SoCK (white hexagons) consistently outperform TSVM+RandSub (red squares) and ClusK+RandSub (green circles) across all memory budgets.

Results and Discussion

The experiments demonstrated that both SoCK and NysCK significantly outperform traditional methods like Transductive SVM (TSVM) and the original Cluster Kernel when these are forced to use random sampling (RandSub) to meet memory constraints.

AUC performance on the w8a dataset with 1K labeled examples. The proposed storage-fit methods maintain superior accuracy even at lower memory budgets compared to baseline approaches.

Beyond accuracy, efficiency is a major advantage. On the adult-a dataset with a 600MB budget, SoCK and NysCK completed training in approximately 2,200 seconds, whereas TSVM required 12,800 seconds. In scenarios with unlimited storage, the proposed methods remained highly competitive, frequently achieving top-three rankings across various UCI datasets.

Conclusion

Storage Fit Learning addresses the practical limitations of deploying advanced SSL on resource-constrained devices. By bridging the gap between kernel-based manifold learning and linear efficiency, SoCK and NysCK allow for the effective use of massive unlabeled datasets within strict memory budgets. Future work may extend these low-rank approximation techniques to other spectral-based learning algorithms, further expanding the toolkit for hardware-aware machine learning.

Summary updated

BibTeX
@inproceedings{hou2017storage,
  author = {Bo-Jian Hou and Lijun Zhang and Zhi-Hua Zhou},
  title = {{Storage Fit Learning with Unlabeled Data}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.24963/ijcai.2017/256},
}
Figure