Proceedings

Large Linear Classification When Data Cannot Fit in Memory

Download BibTeX Cite

Proceedings of the Twenty-Second International Joint Conference on Artificial Intelligence. Pages 2777-2781.

https://doi.org/10.5591/978-1-57735-516-8/IJCAI11-462

© 2011 International Joint Conferences on Artificial Intelligence

Abstract

Linear classification is a useful tool for dealing with large-scale data in applications such as document classification and natural language processing. Recent developments of linear classification have shown that the training process can be efficiently conducted. However, when the data size exceeds the memory capacity, most training methods suffer from very slow convergence due to the severe disk swapping. Although some methods have attempted to handle such a situation, they are usually too complicated to support some important functions such as parameter selection. In this paper, we introduce a block minimization framework for data larger than memory. Under the framework, a solver splits data into blocks and stores them into separate files. Then, at each time, the solver trains a data block loaded from disk. Although the framework is simple, the experimental results show that it effectively handles a data set 20 times larger than the memory capacity.

  1. [Bertsekas, 1999] Dimitri P. Bertsekas. Nonlinear Program- ming. Athena Scientific, Belmont, MA 02178-9998, sec- ond edition, 1999.
  2. yahoo-korea: Function value reduction. ((b)) webspam: Function value reduction. ((c)) epsilon: Function value reduction.
  3. d)) webspam: Testing performance. ((e)) yahoo-korea: Testing performance. ((f)) epsilon: Testing performance. Figure 2: The relative function value difference to the minimum (top row) and the accuracy difference to the best testing accuracy (bottom row). Time (in seconds) is log scaled. The blue dotted vertical line indicates time spent by Algorithms 1- based methods for the initial split of data to blocks. Note that in Figure 2(f), the curve of BLOCK-L-D is not connected, where the missing point corresponds to the best accuracy. [Bottou, 2007]
  4. Leon Bottou. Stochastic gradient de- scent examples, 2007. http://leon.bottou.org/ projects/sgd. Link
  5. [Breiman, 1996] Leo Breiman. Bagging predictors. Machine Learning, 24(2):123-140, August 1996.
  6. [Chang and Lin, 2001] Chih-Chung Chang and Chih-Jen Lin. LIBSVM: a library for support vector machines, 2001. Software available at http://www.csie.ntu. edu.tw/˜cjlin/libsvm. Link
  7. [Chang et al., 2007] Edward Chang, Kaihua Zhu, Hao Wang, Hingjie Bai, Jian Li, Zhihuan Qiu, and Hang Cui. Parallelizing support vector machines on distributed com- puters. In NIPS 21, 2007.
  8. [Fan et al., 2008] Rong-En Fan, Kai-Wei Chang, Cho-Jui Hsieh, Xiang-Rui Wang, and Chih-Jen Lin. LIBLINEAR: A library for large linear classification. JMLR, 9:1871- 1874, 2008.
  9. [Hsieh et al., 2008] C.-J. Hsieh, K.-W. Chang, C.-J. Lin, S. S. Keerthi, and S. Sundararajan. A dual coordinate de- scent method for large-scale linear SVM. In ICML, 2008.
  10. [Joachims, 1998] Thorsten Joachims. Making large-scale SVM learning practical. In Advances in Kernel Methods - Support Vector Learning. MIT Press, 1998.
  11. [Joachims, 2006] T. Joachims. Training linear SVMs in lin- ear time. In ACM KDD, 2006. [Memisevic, 2006] Roland Memisevic. Dual optimization of conditional probability models. Technical report, Depart- ment of Computer Science, University of Toronto, 2006.
  12. [Morse, 2005] Kingsley G. Morse, Jr. Compression tools compared. Linux Journal, 2005.
  13. [Pérez-Cruz et al., 2004] Fernando Pérez-Cruz, Aníbal R. Figueiras-Vidal, and Antonio Artés-Rodríguez. Double chunking for solving SVMs for very large datasets. In Pro- ceedings of Learning 2004, Spain, 2004.
  14. [Shalev-Shwartz et al., 2007] S. Shalev-Shwartz, Y. Singer, and N. Srebro. Pegasos: primal estimated sub-gradient solver for SVM. In ICML, 2007.
  15. [Yu et al., 2010] Hsiang-Fu Yu, Cho-Jui Hsieh, Kai-Wei Chang, and Chih-Jen Lin. Large linear classification when data cannot fit in memory. In ACM KDD, 2010.
  16. [Zhu et al., 2009] Zeyuan A. Zhu, Weizhu Chen, Gang Wang, Chenguang Zhu, and Zheng Chen. P-packSVM: Parallel primal gradient descent kernel SVM. In ICDM, 2009.
  17. [Zinkevich et al., 2010] Martin Zinkevich, Markus Weimer, Alex Smola, and Lihong Li. Parallelized stochastic gradi- ent descent. In NIPS 23, pages 2595-2603. 2010.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards