Graph Regularized Tensor Sparse Coding for Image Representation

Fei Jiang, Xiao-Yang Liu, Hongtao Lu, Ruimin Shen

Abstract

Conventional sparse coding often "flattens" images into vectors, destroying their inherent spatial structure. This paper introduces Graph Regularized Tensor Sparse Coding (GTSC), a framework that preserves spatial relationships using a tubal-tensor model while simultaneously capturing the global geometry of the image space through graph regularization.

Introduction

Sparse Coding (SC) is a fundamental unsupervised learning technique used to represent data as a linear combination of a few "basis" elements from a dictionary. However, applying standard SC to image data faces two major hurdles:

  1. Structural Destruction: Standard SC requires "vectorizing" an image (turning a 2D grid of pixels into a 1D line). This breaks the local proximity of pixels, losing the spatial context that defines an image.
  2. Ignoring the Manifold: Images of the same object usually lie on a low-dimensional "manifold" within the high-dimensional pixel space. Standard SC ignores this geometric distribution, meaning two similar images might end up with very different sparse representations.

While previous attempts like Tensor Sparse Coding (TenSR) and Convolutional Sparse Coding (CSC) tried to fix the spatial issue, they often resulted in overly complex coefficients or massive computational overhead.

Methodology

The authors propose GTSC, which combines two sophisticated mathematical tools to address these limitations:

  • Tubal-Tensor Representation: Instead of vectors, images are treated as third-order tensors. The core innovation is the use of a tensor-product based on circular convolution. This allows the model to represent an image using a dictionary of "bases" and their shifted versions implicitly, providing inherent shift invariance.
  • Graph Regularization: To capture the "manifold" structure, the authors build a $k$-nearest neighbor graph of the input images. They then add a Graph Laplacian regularizer to the optimization objective, forcing the algorithm to assign similar sparse codes to images that are close to each other in the original image space.
Comparison of image representation frameworks: (i) original image, (ii) standard sparse coding (vectorized), (iii) tensor sparse coding, (iv) convolutional sparse coding, and (v) the proposed GTSC approach.

The resulting optimization problem is solved using the Iterative Shrinkage Thresholding algorithm based on Tensor representation (ISTT). By performing computations in the Fourier domain, the authors significantly speed up the process compared to traditional convolutional models.

Experimental Results

The model was evaluated on four standard image benchmarking datasets: COIL20, USPS, ORL, and YALE. GTSC was tested against K-Means, standard Sparse Coding (SC), and Graph Regularized Sparse Coding (GraphSC) using image clustering as the benchmark.

Clustering performance comparison (ACC and NMI) across four datasets. GTSC consistently outperforms baseline methods.

Key Insights

  • Efficiency and Accuracy: GTSC consistently outperformed all other methods. On the COIL20 dataset, GTSC achieved 83.19% accuracy, significantly higher than GraphSC (75.28%) and standard SC (67.43%).
  • Representational Power: GTSC achieved these results using much smaller dictionaries (e.g., 45 atoms) compared to SC/GraphSC (which required 128–256 atoms), proving the efficiency of the tubal-tensor approach.
  • Shift Invariance: By using circular convolution, one basis element effectively acts as many, allowing the model to represent complex patterns through shifts without increasing dictionary size.

Conclusion

GTSC is the first model to simultaneously address spatial proximity via tensors and global geometric distribution via graph regularization. While future work could explore hyperparameter sensitivity and supervised tasks, GTSC demonstrates superior performance in image clustering and offers a more physically meaningful representation of image data.

Summary updated

BibTeX
@inproceedings{jiang2017graph,
  author = {Fei Jiang and Xiao-Yang Liu and Hongtao Lu and Ruimin Shen},
  title = {{Graph Regularized Tensor Sparse Coding for Image Representation}},
  booktitle = {ICME},
  year = {2017},
  url = {https://openreview.net/forum?id=YrAUAGuIOp},
}
Figure