Abstract
This paper introduces Low-Rank Sparse Coding (LRSC), a novel framework for image classification that addresses the limitations of independent feature coding in the traditional Bag-of-Words (BoW) pipeline. By leveraging the inherent low-rank structure of local image patches, LRSC jointly encodes features within spatial neighborhoods (superpixels). This approach enforces both sparsity and spatial consistency, leading to improved robustness against noise and significantly higher computational efficiency compared to traditional sparse coding methods. Experimental results across multiple benchmarks demonstrate that LRSC achieves state-of-the-art accuracy while providing a nearly 4x speedup over standard sparse coding techniques.
Introduction
In computer vision, the standard BoW pipeline involves extracting local descriptors (such as SIFT), coding them against a visual dictionary, and pooling them into a final image representation. However, existing coding methods like Sparse Coding (SC) or Locality-constrained Linear Coding (LLC) typically treat every local feature as an independent entity. This ignores the fact that features located near each other in an image—such as patches on the same object or texture—are highly correlated. Independent coding often results in inconsistent codes, where similar patches are represented by different visual words, introducing noise that degrades classification performance.
Methodology: Joint Coding via Superpixels
The core innovation of this work is the Low-Rank Sparse Coding (LRSC) framework. Instead of coding one feature at a time, LRSC processes a group of features from a local spatial neighborhood simultaneously.
- Image Partitioning: The image is first segmented into homogeneous regions, or superpixels, using the SLIC algorithm.
- Joint Coding: Features within each superpixel are gathered into a matrix $X$. The goal is to find a representation matrix $Z$ such that $X \approx DZ$, where $D$ is the learned codebook.
- The Objective Function: LRSC optimizes a function that balances reconstruction error, sparsity ($L_1$ norm), and low-rankness (nuclear norm). Enforcing a low rank on the matrix $Z$ ensures that features in a neighborhood share a similar support, effectively denoising the representation through local consensus.
The optimization is solved efficiently using the Inexact Augmented Lagrange Multiplier (IALM) method, which allows for closed-form update steps.
Experimental Results
The authors evaluated LRSC on four major benchmarks: UIUC 8-Sport, Scene-13, Caltech-101, and Caltech-256.
Accuracy and Robustness
LRSC consistently outperformed seven popular coding methods across all datasets. For instance, on the Caltech-256 benchmark, it achieved a significant improvement over the next best coding-based competitor. The method also proved robust to variations in superpixel size, maintaining high accuracy across different spatial partitions.
Computational Efficiency
Despite the added complexity of low-rank constraints, LRSC is remarkably efficient. Because it solves one joint optimization problem per superpixel rather than thousands of individual problems, it achieved a nearly 4x speedup over standard Sparse Coding (SCSPM), reducing coding time from 8.27 seconds to 2.33 seconds on a standard test image.
Conclusion
Low-Rank Sparse Coding represents a significant step forward for BoW-based image classification. By moving from independent to joint neighborhood-aware coding, the framework captures spatial consistency that previous methods missed. While the approach currently depends on an initial superpixel segmentation, future work may explore unified frameworks that optimize partitioning and coding simultaneously to further enhance robustness.
Summary updated