TenSR: Multi-dimensional Tensor Sparse Representation

Na Qi, Yunhui Shi, Xiaoyan Sun, Baocai Yin

Abstract

TenSR introduces a framework for sparse representation that treats multi-dimensional (MD) data—such as videos or multi-spectral images—as tensors rather than flattening them into vectors. By employing adaptive separable dictionaries and a novel tensor-based iterative algorithm, TenSR achieves massive reductions in computational and memory costs while maintaining competitive performance against state-of-the-art methods.

Introduction

In computer vision, sparse representation is a powerful tool for tasks like denoising and super-resolution. The traditional approach is 1D: a multi-dimensional signal (e.g., a 3D video block) is flattened into a long vector and represented as a combination of atoms from a large dictionary. This approach suffers from two major flaws:

  1. Structural Loss: Flattening breaks local correlations and inherent data structures.
  2. Curse of Dimensionality: As data dimensions grow, dictionary size and computational requirements explode, making 1D modeling a memory and processing bottleneck for high-order signals.

TenSR addresses these issues by keeping data in its natural tensor form throughout the sparse coding and dictionary learning process.

Methodology

The core of TenSR is the shift from vector-matrix mathematics to tensor-mode products.

The TenSR Model

TenSR represents an $N$-order tensor $\mathcal{X}$ as the product of a sparse core tensor $\mathcal{B}$ and a series of small, mode-specific dictionaries $\{D_n\}$. This is conceptually similar to a Tucker decomposition but focuses on sparsity and adaptive learning. By using separable dictionaries for each dimension (e.g., width, height, spectral band), the model captures unique correlations of each mode independently.

TISTA: Tensor-based Iterative Shrinkage Thresholding Algorithm

The paper introduces TISTA, a novel sparse coding algorithm. Unlike previous tensor methods that rely on the computationally heavy Kronecker product—which essentially reconstructs the "giant" 1D dictionary—TISTA operates directly on the tensor using $n$-mode products. This keeps operations "thin" and fast.

MD Dictionary Learning

The authors use a two-phase block-coordinate-relaxation approach, alternating between updating sparse coefficients (via TISTA) and updating dictionaries. The dictionary update is formulated as a quadratically constrained quadratic programming (QCQP) problem, solved efficiently via the Lagrange dual method.

Experimental Results

The framework was evaluated using simulated data and the Columbia MSI Database (31-band multi-spectral images).

Computational and Memory Efficiency

TenSR demonstrates dramatic improvements in efficiency. In sparse coding tests for $32 \times 32 \times 31$ cubes, TenSR (TISTA) completed the task in approximately 189 seconds, whereas the standard 1D FISTA algorithm required over 193,000 seconds (more than 50 hours). Furthermore, the total dictionary size for TenSR was found to be 1,493 to 8,570 times smaller than competing models like BwK-SVD.

Convergence speed comparison between 1D FISTA and MD TISTA across different dimensions.

Denoising Quality

In multi-spectral image denoising, TenSR outperformed classic methods like PARAFAC and 3DK-SVD. It achieved results comparable to the state-of-the-art Low-Rank Tensor Approximation (LRTA) but with significantly lower complexity.

Visual comparison of multi-spectral image denoising results across various methods.

Conclusion

TenSR successfully avoids the "Kronecker trap" by deriving gradients and update rules entirely within the tensor domain. While it currently does not account for nonlocal similarity—a feature that allows methods like BM4D to achieve higher PSNR scores—it provides a highly efficient foundation for high-dimensional data processing. Future work will focus on integrating nonlocal priors and applying the model to higher-order data like light field images.

Summary updated

BibTeX
@inproceedings{qi2016tensr,
  author = {Na Qi and Yunhui Shi and Xiaoyan Sun and Baocai Yin},
  title = {{TenSR: Multi-dimensional Tensor Sparse Representation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2016},
  doi = {10.1109/cvpr.2016.637},
}
Figure