Abstract
Robust image recognition in large-scale databases faces significant computational challenges, particularly when dealing with image occlusions and noise. We present the Two-Stage Sparse Representation (TSR) framework, which decouples outlier detection from the recognition process. By first identifying corrupted pixels through a robust metric and then performing sparse coding on a filtered subset of the database, TSR achieves state-of-the-art accuracy with a 50x speedup over standard Sparse Representation Classification (SRC).
Introduction
In computer vision, robust recognition refers to the ability to identify objects despite image degradation, such as occlusions (e.g., a face wearing sunglasses) or sensor noise. While Sparse Representation Classification (SRC) has become a gold standard for these tasks, it suffers from two primary limitations: extreme computational cost on large-scale databases due to $l_1$-minimization, and sensitivity to non-Gaussian noise models.
The TSR framework addresses these issues by adopting a "divide and conquer" strategy, ensuring that the system remains both accurate under noise and efficient enough for real-world deployment.
The TSR Framework
Stage 1: Outlier Detection and Metric Learning
Instead of treating all pixels with equal importance, TSR utilizes weighted linear regression based on the Maximum Correntropy Criterion. This stage identifies "bad pixels"—those likely to be noise or occlusions—and assigns them low weights. This process generates a robust metric $M$, which informs the algorithm which parts of the image are reliable for classification.
Stage 2: Database Filtering and Sparse Coding
Once the reliable pixels are identified, the system performs two sub-steps:
- Filtering: Using the metric from Stage 1, the algorithm narrows the database to a small subset of $k$-nearest neighbor candidates. This acts as a regularizer, removing "distractor" classes that might cause a sparse solver to misidentify the subject.
- Non-negative Sparse Representation (NSR): On this reduced subset, the algorithm solves a non-negative least squares problem. Because facial features are additive, non-negativity provides a natural constraint that is computationally faster and more stable than the $l_1$ approach.
Experimental Evaluation
The researchers evaluated TSR across three distinct benchmarks to test various forms of robustness and scalability:
- AR Database: Focused on "disguise" scenarios, specifically faces occluded by sunglasses.
- Extended Yale B Database: Tested robustness against random pixel corruption (sensor noise).
- COIL-100: A diverse dataset of 100 objects used to demonstrate scalability to larger, non-face databases.
Key Results and Discussion
Performance and Speed
TSR demonstrated a massive efficiency gain, running over 50 times faster than the SRC2 method. In large-scale tests, where standard SRC might take nearly 100 seconds per image, TSR completed the task in a fraction of a second.
Accuracy and Robustness
- Disguise: TSR consistently outperformed SRC and subspace methods (like LDAonK) on the AR database across multiple resolutions.
- Corruption: In scenarios with 50% random pixel corruption, TSR maintained high recognition rates, whereas traditional non-sparse methods like Linear Regression Classification (LRC) failed.
- Scalability: On the COIL-100 dataset with artificial occlusions, TSR achieved 84% accuracy, significantly higher than the 23% achieved by standard linear regression.
Conclusion
The TSR framework proves that identifying outliers before performing sparse representation significantly simplifies the recognition task. By combining metric learning with database filtering and non-negative constraints, TSR offers a scalable solution for robust recognition. Future work will focus on automating parameter tuning for the $k$-nearest neighbor selection and exploring non-diagonal metrics to account for spatial relationships between pixels.
Summary updated