Randomized Kaczmarz for Tensor Linear Systems

Anna Ma, Denali MolitorarXiv 2020

Introduction

In modern data science, information is frequently represented as multidimensional arrays, or tensors. Examples include video sequences (spatial dimensions plus time), color images (spatial dimensions plus color channels), and medical imaging data like CT scans. Traditionally, solving linear systems involving these structures required "matricization"—the process of flattening a tensor into a large 2D matrix. However, this approach inherently destroys the spatial and temporal correlations within the data. Furthermore, for high-dimensional datasets, the resulting matrices often exceed available memory limits.

To address these challenges, this paper introduces Tensor Randomized Kaczmarz (TRK). TRK is an iterative algorithm designed to solve tensor linear systems directly, preserving their inherent structure by leveraging the "t-product" algebraic framework.

The T-Product and Tensor Structure

The foundation of TRK lies in the tensor-tensor t-product, a mathematical framework that allows tensors to be manipulated with an algebra analogous to matrix linear algebra. Unlike standard flattening, the t-product treats tensors as collections of "tube fibers." This preserves the local relationships between adjacent data points, which is critical for applications like video processing, facial recognition, and computed tomography (CT) imaging.

The Tensor Randomized Kaczmarz (TRK) Algorithm

The TRK algorithm adapts the classical Randomized Kaczmarz (RK) method—a popular solver for large-scale matrix systems—to the tensor domain.

Update Rule

In standard RK, the current estimate is updated by projecting it onto a single row of the matrix. In contrast, the TRK update rule projects the estimate onto a "row slice" of the tensor system. This high-level projection allows the algorithm to process chunks of data that respect the tensor's original dimensions.

Fourier Domain Acceleration

A key innovation in this work is the use of the Fast Fourier Transform (FFT) to accelerate computations. The t-product is mathematically equivalent to block-circulant matrix operations, which can be decomposed into independent blocks in the Fourier domain. The authors demonstrate that TRK is equivalent to performing "Block RK" on a block-diagonal system within this domain. This "Fourier shortcut" enables significant parallelization, as multiple smaller sub-problems can be solved simultaneously rather than tackling one massive, unstructured system.

Theoretical Convergence

The authors provide a formal proof of TRK's efficiency, showing that the algorithm converges linearly (exponentially) in expectation. They derive a "contraction coefficient" that determines the rate of error reduction per iteration. A significant finding is that as the number of measurements ($m$) increases, the contraction coefficient for TRK improves more substantially than that of standard Matrix RK (MRK). This suggests that TRK is particularly well-suited for large-scale, over-determined systems.

Experimental Results

The performance of TRK was validated using synthetic datasets where measurement tensors ($\mathcal{A}$) and signal tensors ($\mathcal{X}$) were generated using i.i.d. standard Gaussian distributions. The experiments varied the number of measurements and dimensions to compare TRK against standard MRK.

The experiments yielded several key insights:

  • Convergence Speed: TRK reached target error thresholds (e.g., $10^{-5}$) in significantly fewer iterations than the traditional MRK approach.
  • Computational Efficiency: Beyond iteration counts, TRK demonstrated superior CPU time performance. In over-determined scenarios (e.g., $m=500$), TRK converged rapidly while MRK often failed to make meaningful progress within the same time constraints.
  • Empirical Validation: The observed results closely matched the theoretical upper bounds derived by the authors, confirming the reliability of their convergence analysis.

Conclusion and Future Work

TRK represents a significant step forward in tensor-based numerical linear algebra. By avoiding matricization, it maintains data integrity and offers superior computational performance. While the current study focuses on third-order tensors and consistent systems, the framework provides a foundation for several future research avenues:

  1. Higher-Order Tensors: Extending the t-product and TRK to $N$-order tensors.
  2. Inconsistent Systems: Developing a "Tensor Randomized Extended Kaczmarz" to handle noisy or inconsistent data.
  3. General Stochastic Frameworks: Applying the t-product approach to other stochastic optimization methods, such as Stochastic Gradient Descent (SGD) or Coordinate Descent.

Summary updated

BibTeX
@misc{ma2020randomized,
  author = {Anna Ma and Denali Molitor},
  title = {{Randomized Kaczmarz for Tensor Linear Systems}},
  year = {2020},
  eprint = {2006.01246},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.01246},
}
Figure