Sparse Coding for Classification via Discrimination Ensemble

Yuhui Quan, Yong Xu, Yuping Sun, Yan Huang, Hui Ji

Introduction

Sparse coding has emerged as a robust technique for representing high-dimensional data, such as images, by expressing them as linear combinations of a few "atoms" from a learned dictionary. While initial research focused on signal reconstruction, the field has shifted towards discriminative sparse coding, where the goal is to learn a dictionary that not only reconstructs data but also enhances class separability for tasks like face recognition and object detection.

The Bottleneck: Single-Classifier Feedback

Traditional discriminative dictionary learning methods often rely on a single linear classifier to provide feedback during the learning process. This approach faces several challenges:

  1. Model Weakness: A single linear boundary often fails to capture the intricate distributions of real-world data.
  2. Overfitting: Dictionaries can become overly tuned to specific noise or peculiarities in the training set.
  3. Inflexibility: If data is not perfectly linearly separable, a single classifier cannot provide the nuanced feedback necessary to refine the dictionary atoms effectively.
Visualizing the goal of discriminative dictionary learning: aligning dictionary atoms with class-specific data clusters to improve separability.

The EasyDL Framework

To overcome these limitations, the authors propose EasyDL (Ensemble Classifier-based Dictionary Learning). Instead of a single predictor, EasyDL integrates an ensemble of linear classifiers directly into the dictionary learning loop. This "committee" approach leverages the "wisdom of the crowd" to supervise feature learning.

The ensemble's diversity is maintained through three key strategies:

  • Subspace Projection: Classifiers operate on different subsets of features or random projections of the sparse codes.
  • Data Subsampling: Different classifiers are trained on varying subsets of the training data.
  • Baseline Consistency: A standard base classifier is included to ensure a reliable performance floor.

The optimization process iteratively updates sparse codes (via Orthogonal Matching Pursuit), refines dictionary atoms (via projected gradient descent), and trains the ensemble (using a closed-form ridge regression solution).

Experimental Results

EasyDL was evaluated against state-of-the-art methods like SRC, LC-KSVD, and FDDL across five diverse datasets, including face recognition (Extended YaleB, AR Face), object classification (Caltech-101), and scene recognition (Scene-15).

Accuracy and Robustness

As shown in the results below, EasyDL consistently achieves superior or competitive accuracy. Notably, it reached a near-perfect 98.46% on the Scene-15 dataset and outperformed the popular LC-KSVD on Caltech-101.

Comparison of classification accuracy (%) across various datasets and methods. EasyDL consistently outperforms or matches state-of-the-art baselines.

Efficiency and Speed

Beyond accuracy, EasyDL offers significant practical advantages:

  • Training Efficiency: On the Caltech-101 dataset, EasyDL's training time per iteration was approximately 601 seconds, nearly 16 times faster than the FDDL method (~9891 seconds).
  • Real-time Inference: Once the dictionary is learned, classification is extremely rapid, ranging from 0.3ms to 1.37ms per sample, making it ideal for real-time applications.

Conclusion

By replacing the traditional single-classifier bottleneck with a diverse ensemble, EasyDL produces dictionaries that are more robust, generalizable, and discriminative. The method demonstrates that ensemble learning is not just a tool for final classification, but a powerful mechanism for guiding the underlying feature representation process. Future work may explore non-linear ensembles and unsupervised applications to further extend these gains.

Summary updated

BibTeX
@inproceedings{quan2016sparse,
  author = {Yuhui Quan and Yong Xu and Yuping Sun and Yan Huang and Hui Ji},
  title = {{Sparse Coding for Classification via Discrimination Ensemble}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2016},
  doi = {10.1109/cvpr.2016.629},
}
Figure