Randomized algorithms for Kroncecker tensor decomposition and applications

Salman Ahmadi-Asl, Naeim Rezaeian, Andre L. F. de Almeida, Yipeng LiuarXiv 2024 · DOI

Abstract

Kronecker Tensor Decomposition (KTD) is a powerful tool for compressing and analyzing multi-dimensional data, yet its application to large-scale datasets has been historically limited by the computational cost of the Singular Value Decomposition (SVD). This paper presents a suite of randomized algorithms designed to accelerate KTD. By integrating randomized subspace projections and power iterations, the proposed methods achieve significant speedups—often exceeding an order of magnitude—while maintaining reconstruction accuracy comparable to deterministic approaches. The efficacy of these algorithms is demonstrated across tasks including image denoising, video compression, and tensor completion.

Introduction

In the era of big data, tensors serve as the mathematical backbone for representing complex, multi-dimensional information such as high-resolution video ($height \times width \times color \times time$) and multi-sensor signal arrays. Kronecker Tensor Decomposition (KTD) is particularly effective for these structures, as it breaks down large tensors into a sequence of smaller, manageable "core" tensors.

However, the standard deterministic algorithm for KTD, known as TTr1SVD, relies on a sequence of exact SVD computations. Because SVD scales poorly with data volume, it becomes a computational bottleneck for massive datasets or real-time processing requirements. To address this, we introduce Randomized KTD (R-KTD), leveraging the framework of randomized numerical linear algebra to bridge the gap between theoretical decomposition power and practical scalability.

Methodology

Randomized KTD (R-KTD)

The core innovation lies in replacing exact SVD calculations with a "sketching" process. Instead of processing the entire data matrix, the algorithm projects the large tensor onto a significantly smaller, random subspace using Gaussian random matrices. This captures the essential range of the data at a fraction of the cost.

Refinements and Variants

To ensure robustness and efficiency across different hardware constraints, several variants were developed:

  • Power Iteration ($q$): To mitigate accuracy loss in data where singular values decay slowly, a power iteration step (typically $q=1$ or $2$) is used to refine the random subspace.
  • RF-KTD: A pass-efficient variant designed for "out-of-core" scenarios where the dataset is too large to reside in memory, minimizing data movement.
  • PT-KTD: A two-stage approach that first compresses the tensor into a Tucker format before applying randomized KTD, further optimizing performance for extremely large tensors.

The CPD Connection

A key theoretical insight of this work is the mathematical reformulation of KTD as a Canonical Polyadic Decomposition (CPD) of a reshaped and permuted version of the original tensor. This connection allows the application of well-established randomized CPD techniques to the KTD problem, providing a rigorous foundation for the proposed speedups.

Experimental Evaluation

The proposed algorithms were validated using both synthetic and real-world datasets:

  • Synthetic Tensors: Large-scale 4th-order ($100^4$) and 3rd-order ($1000^3$) tensors were used to benchmark raw computational throughput.
  • Multimedia Data: The Kodak "Kodim23" image and standard video sequences ("Foreman" and "Akiyo") were utilized to test denoising, super-resolution, and compression performance.

Performance Results

  • Computational Speed: On $100^4$ synthetic tensors, the randomized algorithms demonstrated a 10x speedup over deterministic KTD. For the "Akiyo" video sequence, R-KTD reduced processing time from 235 seconds to just 70 seconds.
  • Reconstruction Quality: In image completion tasks with 70% missing pixels, R-KTD (at $q=1$) achieved a Peak Signal-to-Noise Ratio (PSNR) of ~28.2 dB, matching the accuracy of deterministic methods.
  • Robustness: The algorithms proved highly effective at removing various noise types, including Gaussian and "salt and pepper" noise, confirming that the randomized approximation does not sacrifice signal integrity.

Discussion and Conclusion

While the randomized approach offers dramatic performance gains, its success depends on the appropriate selection of oversampling and power iteration parameters. If these are set too low, the approximation quality may degrade; if set too high, the computational advantages diminish.

Future research will explore the integration of KTD with Cross Approximation or CUR decomposition to potentially achieve linear-time complexity. Additionally, the application of these randomized decomposition techniques to the compression of deep neural network weights represents a promising avenue for deploying large models on edge devices. By making KTD computationally feasible for large-scale data, this work opens new possibilities for efficient multi-dimensional signal processing.

Summary updated

BibTeX
@misc{ahmadiasl2024randomized,
  author = {Salman Ahmadi-Asl and Naeim Rezaeian and Andre L. F. de Almeida and Yipeng Liu},
  title = {{Randomized algorithms for Kroncecker tensor decomposition and applications}},
  year = {2024},
  eprint = {2412.02597},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.02597},
}
Figure