Abstract
The Relaxed Collaborative Representation (RCR) model addresses a fundamental limitation in image classification: the rigid assumption that all features of an object must share a single representation vector. By "relaxing" this constraint, RCR allows individual image blocks to have unique coding vectors while maintaining a collaborative link to a common mean. This approach, combined with an adaptive weighting mechanism, enables the model to effectively ignore outliers such as occlusions (e.g., sunglasses or scarves) and noise. Experimental results on benchmark face and object datasets demonstrate that RCR significantly outperforms traditional sparse and collaborative representation methods in both accuracy and computational speed.
Introduction
In computer vision, pattern classification relies heavily on how images are represented numerically. A prominent paradigm is Sparse Representation-based Classification (SRC), which represents a query image as a sparse linear combination of training samples. However, SRC and its variants often impose a global constraint: every part of the image—from distinctive facial features to background noise—must be represented by the exact same set of coefficients.
This "one-size-fits-all" approach is inherently flawed when dealing with real-world data. For instance, if a subject is wearing sunglasses, the pixels in that region are outliers relative to the training set. Forcing these outliers to share the same representation as the rest of the face degrades the overall classification performance. The Relaxed Collaborative Representation (RCR) model identifies this critical gap, proposing a framework that balances similarity (the shared identity of features) with distinctiveness (the unique contribution of different image parts).
Methods
The core innovation of RCR is the transition from a single global coding vector to a set of local vectors. Instead of forcing one vector $\alpha$ for the entire image, RCR allows each feature or image block $k$ to have its own vector $\alpha_k$.
The model is defined by three key components:
- The Relaxation Term: To prevent the individual vectors from diverging too far, a regularization term minimizes the variance between them. This encourages the vectors to stay near a common mean ($\bar{\alpha}$), providing the necessary "collaboration" for stable classification.
- Adaptive Weighting: RCR incorporates a weighting mechanism ($\omega_k$) for each feature. During the optimization process, the model learns to assign lower weights to features that are poorly represented by the training data (i.e., outliers like occlusions). This effectively "ignores" corrupted parts of the image.
- $l_2$-norm Regularization: Unlike SRC, which uses the computationally expensive $l_1$-norm to enforce sparsity, RCR utilizes the $l_2$-norm. This choice is based on the insight that the collaborative nature of the representation is more vital for classification than sparsity itself. The $l_2$-norm allows for a closed-form solution, making the algorithm significantly faster.
Experimental Results
The RCR model was rigorously tested on several benchmark datasets, including the AR database, Extended Yale B, FRGC 2.0, and Labeled Faces in the Wild (LFW-a). It was also evaluated on the Oxford Flower datasets (17 and 102 categories) to test its general object categorization capabilities.
Key findings include:
- Robustness to Occlusion: On the AR database, RCR achieved 98.5% accuracy for faces with sunglasses and 96.5% for scarves. This represents a significant improvement (up to 12%) over SRC and Multi-Task Joint Sparse Representation (MTJSRC).
- Real-World Performance: On the challenging LFW dataset, which includes variations in lighting, pose, and aging, RCR showed a 6-7% improvement over standard collaborative and sparse representation methods.
- Efficiency: Due to the $l_2$-norm minimization, RCR is highly efficient. On the AR database, it can process a query in as little as 0.015 seconds when weights are pre-learned.
- Object Categorization: The RCR-CG (column generation) variant achieved 75.0% accuracy on the Oxford 102 Flowers dataset, demonstrating its versatility beyond face recognition.
Conclusion
Relaxed Collaborative Representation offers a powerful and flexible framework for pattern classification. By relaxing the rigid constraints of traditional models, RCR becomes naturally robust to local corruptions and occlusions. The integration of adaptive weighting allows the model to automatically identify and prioritize trustworthy data. Future research may explore reducing the sensitivity to hyperparameters and integrating RCR with automated feature extraction pipelines to further enhance its real-world applicability.
Summary updated