Reconciliation of Statistical and Spatial Sparsity For Robust Image and Image-Set Classification

Hao Cheng, Kim-Hui Yap, Bihan WenarXiv 2021

Abstract

This paper presents the Joint Statistical and Spatial Sparse representation (J3S) model, a robust framework designed to bridge the gap between local spatial features and global statistical patterns in image and image-set classification. By integrating patch-based structural dictionaries with Gaussian distributions mapped onto Riemannian manifolds, J3S achieves high accuracy and resilience to noise. Evaluation across diverse benchmarks, including material and object databases, demonstrates that J3S outperforms existing manifold-based and deep-learning methods, particularly in data-constrained and noisy environments.

Introduction

While deep learning has revolutionized image classification, it remains notoriously "data-hungry" and often lacks robustness when faced with small datasets or significant environmental noise. A specific challenge exists in image-set classification—where the query is not a single image, but a collection, such as a video clip or multiple views of an object. Existing methods typically prioritize either local spatial features (patches) or global statistical properties (intra-set variation). Rarely are these two "priors" unified. The J3S model addresses this gap by creating a framework that is both data-efficient and robust to real-world corruptions.

Methodology

The J3S framework rests on three primary pillars:

  1. Statistical Dictionary Construction: Image sets are modeled as Gaussian distributions $G_j(\mu_j, \mathbf{C}_j)$. To handle the non-Euclidean nature of these statistics, they are mapped onto a Riemannian manifold of Symmetric Positive Definite (SPD) matrices. Using the Log-Euclidean Riemannian Metric (LERM), these are projected into a tangent space where they can be treated with standard linear algebra.
  2. Spatial Dictionary Construction: The model learns patch-based unitary dictionaries to capture the local textures and structures of the images.
  3. Joint Sparse Coding: This is the core innovation. The model utilizes a joint sparsity constraint ($L_{2,1}$-norm) to force the statistical and spatial representations to be consistent. If a training sample is a good match for the query's statistics, the model expects it to be a good match for its patches as well.
Overview of the J3S framework showing image set and single image processing pipelines.

To maintain computational efficiency, the authors utilize Principal Component Analysis (PCA) to reduce the dimensionality of these complex dictionaries without sacrificing classification accuracy.

Experiments and Results

The model was evaluated across four diverse benchmarks: the Flickr Material Database (FMD), the UIUC Material Database, ETH-80 (object categories), and YouTube Celebrities (YTC) for face recognition.

J3S consistently outperformed both classic manifold-based methods and modern deep-learning approaches. On the ETH-80 dataset, it achieved an accuracy of 96.00%. For the FMD and UIUC material databases, it reached 82.58% and 84.07% respectively, setting new benchmarks.

Performance comparison of J3S against various state-of-the-art methods across four benchmark datasets.

Beyond raw accuracy, J3S demonstrated remarkable resilience to noise. In tests with high Gaussian noise ($\sigma = 20$), J3S maintained an accuracy of 80.46% on UIUC, while competing methods like LEML dropped significantly. Furthermore, in few-shot learning scenarios (e.g., $K=1$ training sample per class), J3S achieved 61.94% accuracy on UIUC, vastly outperforming traditional methods like CDL-LDA (26.48%).

Discussion and Key Insights

The success of J3S highlights the "Power of And"—the realization that local patches and global statistics are complementary. Statistics capture variations such as lighting and pose, while patches capture identity-defining textures and shapes. By treating image statistics as points on a curved Riemannian manifold rather than a flat Euclidean space, the model prevents information loss and leads to more accurate similarity measurements.

Unlike deep features that can be easily "fooled" by noise, sparse representation is model-based. By forcing the query to be reconstructed from a limited number of clean training examples, the model naturally ignores random noise. While the iterative optimization required for J3S may be slower than a single forward pass of a neural network, its efficiency in small-data regimes makes it a powerful tool for specialized classification tasks. Future work will explore integrating this joint sparsity logic directly into deep learning architectures.

Summary updated

Abstract

Recent image classification algorithms, by learning deep features from large-scale datasets, have achieved significantly better results comparing to the classic feature-based approaches. However, there are still various challenges of image classifications in practice, such as classifying noisy image or image-set queries and training deep image classification models over the limited-scale dataset. Instead of applying generic deep features, the model-based approaches can be more effective and data-efficient for robust image and image-set classification tasks, as various image priors are exploited for modeling the inter- and intra-set data variations while preventing over-fitting. In this work, we propose a novel Joint Statistical and Spatial Sparse representation, dubbed \textit{J3S}, to model the image or image-set data for classification, by reconciling both their local patch structures and global Gaussian distribution mapped into Riemannian manifold. To the best of our knowledge, no work to date utilized both global statistics and local patch structures jointly via joint sparse representation. We propose to solve the joint sparse coding problem based on the J3S model, by coupling the local and global image representations using joint sparsity. The learned J3S models are used for robust image and image-set classification. Experiments show that the proposed J3S-based image classification scheme outperforms the popular or state-of-the-art competing methods over FMD, UIUC, ETH-80 and YTC databases.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
FMDJ3Sclassification accuracy82.58%+11.6 vs baselinesplit: test · data=clean · theta=0.6 · backbone=VGG-VD16 pretrained on ImageNet
Source quote
L468: J3S │ \bf{\textcolor{blue}{96.00}} │ \bf{\textcolor{red}{82.58}} │ \bf{\textcolor{red}{84.07}} │ \bf{\textcolor{red}{83.09}}
UIUCJ3Sclassification accuracy84.07%+7.13 vs baselinesplit: test · data=clean · theta=0.1 · backbone=VGG-VD16 pretrained on ImageNet
Source quote
L468: J3S │ \bf{\textcolor{blue}{96.00}} │ \bf{\textcolor{red}{82.58}} │ \bf{\textcolor{red}{84.07}} │ \bf{\textcolor{red}{83.09}}
UIUCJ3Sclassification accuracy80.46%+3.52 vs baselinesplit: test · data=noisy train and test · noise=i.i.d. Gaussian, σ=20
Source quote
L557: J3S │ \bf{83.61} │ \bf{82.41} │ \bf{81.39} │ \bf{80.46}
FMDJ3Sclassification accuracy74.46%+3.48 vs baselinesplit: test · data=noisy train and test · noise=i.i.d. Gaussian, σ=20
Source quote
L579: J3S │ \bf{82.04} │ \bf{80.10} │ \bf{76.05} │ \bf{74.46}
Reported baseline / comparator measurements (2)
BenchmarkMethodMetricScoreProtocol / Evidence
UIUCCDL-LDA baselineclassification accuracy76.94%split: test · data=noisy train and test · noise=i.i.d. Gaussian, σ=20
Source quote
L553: CDL-LDA │ 79.63 │ 77.96 │ 76.85 │ 76.94
FMDCDL-LDA baselineclassification accuracy70.98%split: test · data=noisy train and test · noise=i.i.d. Gaussian, σ=20
Source quote
L575: CDL-LDA │ 76.60 │ 74.62 │ 71.90 │ 70.98
BibTeX
@misc{cheng2021reconciliation,
  author = {Hao Cheng and Kim-Hui Yap and Bihan Wen},
  title = {{Reconciliation of Statistical and Spatial Sparsity For Robust Image and Image-Set Classification}},
  year = {2021},
  eprint = {2106.00256},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.00256},
}
Figure