Linear Spatial Pyramid Matching Using Sparse Coding for Image Classification

Abstract

Recently SVMs using spatial pyramid matching (SPM) kernel have been highly successful in image classification. Despite its popularity, these nonlinear SVMs have a complexity O(n <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">2</sup> ∼ n <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">3</sup> ) in training and O(n) in testing, where n is the training size, implying that it is nontrivial to scaleup the algorithms to handlemore than thousands of training images. In this paper we develop an extension of the SPM method, by generalizing vector quantization to sparse coding followed by multi-scale spatial max pooling, and propose a linear SPM kernel based on SIFT sparse codes. This new approach remarkably reduces the complexity of SVMs to O(n) in training and a constant in testing. In a number of image categorization experiments, we find that, in terms of classification accuracy, the suggested linear SPM based on sparse coding of SIFT descriptors always significantly outperforms the linear SPM kernel on histograms, and is even better than the nonlinear SPM kernels, leading to state-of-the-art performance on several benchmarks by using a single type of descriptors.

Cite

Text

Yang et al. "Linear Spatial Pyramid Matching Using Sparse Coding for Image Classification." IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2009. doi:10.1109/CVPR.2009.5206757

Markdown

[Yang et al. "Linear Spatial Pyramid Matching Using Sparse Coding for Image Classification." IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2009.](https://mlanthology.org/cvpr/2009/yang2009cvpr-linear/) doi:10.1109/CVPR.2009.5206757

BibTeX

@inproceedings{yang2009cvpr-linear,
  title     = {{Linear Spatial Pyramid Matching Using Sparse Coding for Image Classification}},
  author    = {Yang, Jianchao and Yu, Kai and Gong, Yihong and Huang, Thomas S.},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year      = {2009},
  pages     = {1794-1801},
  doi       = {10.1109/CVPR.2009.5206757},
  url       = {https://mlanthology.org/cvpr/2009/yang2009cvpr-linear/}
}