Large linear classification when data cannot fit in memory

  • Authors:
  • Hsiang-Fu Yu;Cho-Jui Hsieh;Kai-Wei Chang;Chih-Jen Lin

  • Affiliations:
  • Dept. of Computer Science, National Taiwan University, Taipei, Taiwan Roc;Dept. of Computer Science, National Taiwan University, Taipei, Taiwan Roc;Dept. of Computer Science, National Taiwan University, Taipei, Taiwan Roc;Dept. of Computer Science, National Taiwan University, Taipei, Taiwan Roc

  • Venue:
  • Proceedings of the 16th ACM SIGKDD international conference on Knowledge discovery and data mining
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

Recent advances in linear classification have shown that for applications such as document classification, the training can be extremely efficient. However, most of the existing training methods are designed by assuming that data can be stored in the computer memory. These methods cannot be easily applied to data larger than the memory capacity due to the random access to the disk. We propose and analyze a block minimization framework for data larger than the memory size. At each step a block of data is loaded from the disk and handled by certain learning methods. We investigate two implementations of the proposed framework for primal and dual SVMs, respectively. As data cannot fit in memory, many design considerations are very different from those for traditional algorithms. Experiments using data sets 20 times larger than the memory demonstrate the effectiveness of the proposed method.