NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Structured Analysis Dictionary Learning for Image Classification

Wen Tang, Ashkan Panahi, Hamid Krim, Liyi Dai

Abstract

This paper presents Structured Analysis Dictionary Learning (SADL), a novel framework for image classification that shifts the paradigm from traditional synthesis-based dictionary learning to a more efficient analysis-based approach. By enforcing a specific subspace structure on sparse codes and integrating joint classifier learning, SADL achieves state-of-the-art accuracy. Most notably, the method delivers a staggering 10,000x speedup in classification time compared to popular methods like LC-KSVD, making it highly suitable for real-time applications on resource-constrained hardware.

Introduction

Dictionary Learning is a cornerstone of modern computer vision, traditionally dominated by Synthesis Dictionary Learning (SDL). SDL represents images as linear combinations of "atoms" from a learned dictionary. However, SDL faces a significant bottleneck: classifying a new image requires solving a computationally expensive optimization problem (sparse coding) at test time.

Analysis Dictionary Learning (ADL) offers a faster alternative by learning a dictionary that directly produces a sparse representation via simple matrix multiplication. Despite its speed, ADL has historically struggled to achieve the discriminative power of SDL. This paper introduces SADL to bridge this performance gap by incorporating structural constraints that enhance class separability.

Methodology

SADL improves upon standard ADL through two primary innovations:

  1. Structural Mapping ($H \approx QU$): The authors introduce a target block-diagonal matrix $H$. By forcing the sparse codes ($U$) to map toward this structure through a transformation matrix $Q$, the model ensures that images from the same class share similar representations (high coherence) while those from different classes are distinct (high disparity).
  2. Joint Classifier Learning ($L \approx W(QU)$): Rather than training a classifier post-hoc, SADL learns a linear classifier ($W$) simultaneously with the dictionary. This task-driven approach ensures the dictionary is optimized specifically for the final classification objective.

To optimize these components, the authors utilize a Linearized Alternating Direction Method (ADM), which decomposes the complex objective function into manageable sub-problems.

Experimental Evaluation

The performance of SADL was validated on four benchmark datasets: Extended YaleB (face recognition under varying light), AR Face Dataset (faces with expressions and disguises), Caltech101 (object recognition), and Scene15 (scene categorization).

Comparison of classification accuracy and computational efficiency on the Extended YaleB dataset.

Results and Discussion

Computational Efficiency

The most significant advantage of SADL is its extreme testing speed. As shown in the comparative results for the Extended YaleB dataset, SADL achieves a testing time of approximately $2.72 \times 10^{-6}$ seconds, which is several orders of magnitude faster than LC-KSVD ($1.63 \times 10^{-2}$ seconds). This efficiency stems from replacing iterative optimization with a direct forward mapping.

Classification Accuracy

SADL consistently outperformed or matched competitive baselines:

  • AR Dataset: Achieved 95.08% accuracy, significantly higher than LC-KSVD (87.78%).
  • Caltech101: Reached 72.36%, the highest among compared methods.
  • Extended YaleB: Achieved 94.91% accuracy while requiring significantly less training time than LC-KSVD (51s vs 234s).

Stability and Dictionary Size

SADL demonstrates superior stability across various dictionary sizes. Unlike SDL-based methods that may fluctuate or degrade when the dictionary size is small, SADL maintains high accuracy, indicating a more robust learning of the underlying class subspaces.

Classification accuracy vs. dictionary size for SADL and LC-KSVD.

Conclusion

Structured Analysis Dictionary Learning (SADL) represents a major step forward in efficient image classification. By combining the speed of analysis-based dictionaries with discriminative subspace regularization, it provides a solution that is both highly accurate and computationally lightweight. Future work may involve integrating SADL with deep feature extraction or scaling the block-diagonal structure to handle thousands of object categories.

Summary updated

BibTeX
@inproceedings{tang2018structured,
  author = {Wen Tang and Ashkan Panahi and Hamid Krim and Liyi Dai},
  title = {{Structured Analysis Dictionary Learning for Image Classification}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2018},
  doi = {10.1109/icassp.2018.8461613},
}
Figure