A linear subspace learning approach via sparse coding

Lei Zhang, Pengfei Zhu, Qinghua Hu, David Zhang

Abstract

Traditional linear subspace learning methods often fail to distinguish between discriminative features and noise in high-dimensional image data. This paper proposes a novel "decompose-then-learn" framework that utilizes sparse coding to filter images before learning the optimal projection. By separating data into More Discriminative Parts (MDP) and Less Discriminative Parts (LDP), the method enhances classification performance for tasks like face recognition. Experimental results on standard benchmarks demonstrate that this approach significantly outperforms traditional holistic methods like PCA and LDA.

Introduction

In computer vision, high-dimensional data, such as $32 \times 32$ pixel face images, is typically projected into a lower-dimensional subspace to facilitate efficient classification. Classic techniques like Principal Component Analysis (PCA) or Linear Discriminant Analysis (LDA) compute statistics directly from raw training samples. However, raw images are inherently noisy, containing stable identity-related features (e.g., facial structure) mixed with transient "trivial" structures like shadows, sensor grain, or minor expression changes. Standard methods lack a mechanism to ignore this noise during the learning phase, often leading to suboptimal subspaces.

This paper addresses this limitation by asking: Why don't we decompose the image first and then use the different components to guide the subspace learning?

The Proposed Framework

The authors introduce a two-stage strategy designed to isolate useful features from noise before defining the subspace.

The three-stage framework: Dictionary Learning, Feature Grouping, and Linear Subspace Learning.

1. Adaptive Decomposition via Sparse Coding

First, a patch-based dictionary ($D$) is learned from the training data. Each training image is then decomposed into $k$ components based on the atoms in this dictionary. These components are grouped into two sets: the More Discriminative Part (MDP) and the Less Discriminative Part (LDP).

2. Subspace Learning

The method offers two variants depending on the availability of labels:

  • Unsupervised Sparse Coding based Projection (USCP): Components are grouped based on variance. High-variance components are considered informative (MDP), while low-variance ones are treated as noise (LDP).
  • Supervised Sparse Coding based Projection (SSCP): When labels are available, the Fisher ratio is used to identify components that best separate different individuals.

The optimization objective is to find a projection matrix $P$ that maximizes the energy of the MDP while simultaneously suppressing the energy of the LDP. Crucially, sparse coding is only required during training; testing remains lightning-fast as it only involves multiplying a new image by the learned matrix $P$.

Visualizing Image Decomposition

A key insight of this work is the effectiveness of the dictionary in separating identity-related features from environmental noise. As shown in the visualization below, the MDP components typically represent a "cleaned" version of the face, while the LDP components capture ghostly outlines or high-frequency noise.

Visualization of image decomposition: (a) original image, (b) More Discriminative Part (MDP), and (c-e) Less Discriminative Parts (LDP).

By explicitly seeking a projection that suppresses the LDP, the resulting subspace is significantly cleaner and more robust to variations in lighting and expression.

Experimental Results

The proposed methods were evaluated on three standard face recognition benchmarks: Extended Yale B, Multi-PIE, and the AR Database. The results consistently outperformed state-of-the-art linear subspace learning schemes:

  • Unsupervised Performance: USCP significantly outperformed PCA and Locality Preserving Projections (LPP). On the Yale B database, USCP achieved 81.2% accuracy, compared to PCA's 67.5%.
  • Supervised Performance: SSCP outperformed standard Fisher Linear Discriminant Analysis (FLDA). On the AR database, SSCP reached a top accuracy of 96.2%, surpassing FLDA's 93.7%.

Conclusion and Future Work

This research demonstrates that sparse coding can serve as a sophisticated feature selector to clean data before learning begins. While the training phase is more computationally expensive than traditional methods due to dictionary learning, the performance gains and testing efficiency make it a compelling approach for robust face recognition.

Future work may involve extending this logic to local feature-based methods (like SIFT or LBP) and developing automated methods for determining the optimal threshold for splitting MDP and LDP components.

Summary updated

BibTeX
@inproceedings{zhang2011linear,
  author = {Lei Zhang and Pengfei Zhu and Qinghua Hu and David Zhang},
  title = {{A linear subspace learning approach via sparse coding}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2011},
  doi = {10.1109/iccv.2011.6126313},
}
Figure