High Order Tensor Formulation for Convolutional Sparse Coding

Adel Bibi, Bernard Ghanem

Introduction

Convolutional Sparse Coding (CSC) has long been a cornerstone of image reconstruction and feature learning. By modeling data as a sum of filters convolved with sparse feature maps, it captures local structures effectively. However, traditional CSC is fundamentally limited to 2D inputs. When applied to multi-dimensional data like color videos or hyperspectral images, standard methods typically process each channel or frame independently. This "naive" approach is inefficient as it ignores high-order correlations across dimensions—for instance, the inherent relationship between color channels at the same spatial location.

This paper introduces Tensor Convolutional Sparse Coding (TCSC), a mathematical framework that generalizes CSC to data of any dimension. By treating multi-dimensional data as a single high-order tensor, TCSC captures complex cross-channel and temporal correlations, achieving superior reconstruction quality with significantly fewer parameters.

Methodology

The core of TCSC lies in a novel formulation based on tensor algebra, specifically leveraging the t-product and Tensor Singular Value Decomposition (t-SVD).

High-Order t-product ($\circledast_{HO}$)

The authors define a new operator that extends the standard t-product (originally designed for 3D tensors) to tensors of arbitrary order. This allows the convolution operation to occur across all dimensions simultaneously, rather than slice-by-slice.

Visualization of the high-order tensor product operation.

Fourier Domain Optimization

To ensure mathematical tractability, the authors demonstrate that these high-order operations can be diagonalized in the Fourier domain. This transformation converts computationally intensive multi-dimensional convolutions into simpler matrix multiplications in frequency space.

ADMM Solver

The resulting optimization problem is solved using the Alternating Direction Method of Multipliers (ADMM), split into two primary subproblems:

  1. Sparse Coding: Identifying the optimal sparse maps for a given dictionary.
  2. Dictionary Learning: Iteratively updating filters to better represent the underlying data.

Notably, TCSC serves as a unified framework; by adjusting tensor dimensions, it collapses back into standard 2D CSC or traditional sparse dictionary learning.

Datasets and Evaluation

The method was evaluated on standard computer vision benchmarks:

  • Image Datasets: The City, Fruit, and House datasets were used for colored image reconstruction tasks.
  • Video Dataset: The Basketball video from the OTB50 (Object Tracking Benchmark) demonstrated 5D tensor reconstruction (3 color channels + 2D space + time).

Key Results and Insights

TCSC demonstrates significant advantages over traditional Single-Channel CSC (SCSC):

  • Joint Correlation: By processing color channels jointly, the dictionary learns "colored filters" that capture the inherent structure of natural images more effectively than grayscale filters.
  • Parameter Efficiency: TCSC requires $n_1$ times fewer parameters than channel-wise approaches (where $n_1$ is the number of channels). For a typical color image, TCSC uses only one-third of the parameters required by standard CSC.
  • Sparsity Resilience: TCSC is particularly robust in high-sparsity regimes. Even with very few non-zero coefficients, the joint tensor model maintains higher Peak Signal-to-Noise Ratio (PSNR) than independent processing.
Performance comparison (PSNR vs. Sparsity) between TCSC and SCSC.

As shown in the results, TCSC consistently outperforms SCSC as sparsity increases, showing a substantial lead in reconstruction quality. Furthermore, the authors successfully demonstrated colored video reconstruction—a 5D tensor problem previously considered systematically impossible with standard CSC solvers.

Limitations and Future Work

While TCSC is memory-efficient due to its reduced parameter count, it is computationally more demanding. The dictionary update complexity is $O(K^3)$ (where $K$ is the number of filters), compared to $O(K^2)$ for standard methods. This increased load in the Fourier domain may necessitate hardware acceleration for real-time applications.

Future research directions include extending this tensor formulation to deep learning architectures, potentially leading to "Tensor-CNNs" that offer greater parameter efficiency than current state-of-the-art models.

Summary updated

BibTeX
@inproceedings{bibi2017high,
  author = {Adel Bibi and Bernard Ghanem},
  title = {{High Order Tensor Formulation for Convolutional Sparse Coding}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2017},
  doi = {10.1109/iccv.2017.197},
}
Figure