Abstract
The reconstruction of tensor-valued signals from corrupted measurements, known as tensor regression, is essential in multi-modal applications such as hyperspectral imaging and medical diagnostics. This paper addresses the tensor linear system $\mathcal{A} \mathcal{X}=\mathcal{B}$, where the measurement tensor $\mathcal{B}$ may be corrupted by arbitrary, large-scale errors. We extend the Kaczmarz method—a popular iterative solver—to develop the Quantile Tensor Randomized Kaczmarz (QTRK) method and its variant, Masked QTRK (mQTRK). By integrating quantile-based statistics into the tensor Kaczmarz framework, these methods effectively mitigate adversarial corruptions. We provide convergence guarantees and demonstrate through experiments, including video deblurring, that our methods significantly outperform standard approaches in corrupted environments.
Introduction
In modern data science, information is increasingly multi-dimensional. Tensors—higher-order generalizations of matrices—provide a natural framework for representing complex data like video sequences, MRI scans, and hyperspectral images. Solving the system $\mathcal{A}\mathcal{X} = \mathcal{B}$ is a fundamental task in tensor regression. However, real-world data acquisition is rarely perfect. Beyond standard Gaussian noise, datasets often suffer from corruptions: rare but massive errors caused by sensor failures, transmission glitches, or adversarial interference.
Standard iterative solvers, such as the Randomized Kaczmarz (RK) method, are notoriously sensitive to these outliers. A single corrupted entry can "pull" the solution away from the ground truth, preventing convergence and resulting in an error floor. The challenge lies in identifying and ignoring these corrupted measurements on the fly, without prior knowledge of their locations or magnitudes.
Methodology
Our approach builds upon the t-product algebra for tensors and the existing Tensor Randomized Kaczmarz (TRK) algorithm. We propose two robust variants designed to handle sparse, large-magnitude corruptions.
Quantile Tensor Randomized Kaczmarz (QTRK)
In each iteration, QTRK calculates the residuals—the difference between the current estimate and the observed data. The algorithm then determines a threshold based on a user-defined quantile ($q$). If the residual of a specific row slice in the measurement tensor exceeds this threshold, the algorithm identifies it as likely corrupted and skips the update for that iteration. This prevents the corrupted data from polluting the solution.
Masked QTRK (mQTRK)
While QTRK is robust, skipping an entire row slice can be inefficient if only a small portion of that slice is corrupted. The mQTRK variant offers a more "surgical" intervention. It uses the quantile test to identify specific corrupted entries within a slice and applies a mask. This allows the algorithm to perform a partial projection update using only the uncorrupted portions of the tensor slice, preserving more information per iteration.
Theoretical Insights
We provide a rigorous theoretical proof that QTRK converges linearly in expectation to the true solution, provided the corruption rate does not exceed a certain threshold.
One notable observation is the "density blindness" of QTRK: its convergence guarantee is largely indifferent to whether a single entry or an entire slice is corrupted; it treats the slice as a single unit for the update decision. Conversely, while mQTRK often performs better in practice by extracting more information, it carries a theoretical risk. In highly adversarial scenarios, mQTRK could potentially mask out vital components needed for progress, leading the algorithm into a "bad" subspace—though this is rarely observed in typical datasets.
Experimental Results
We evaluated QTRK and mQTRK using both synthetic data and a real-world MRI video dataset.
- Synthetic Benchmarks: Using tensors with i.i.d. Gaussian entries and manually injected corruptions, we found that QTRK consistently reached the true solution with high precision, whereas the standard TRK algorithm failed to converge. The methods proved effective regardless of whether corruptions were 10x or 100x the size of the signal.
- Video Deblurring: We applied the methods to a 12-frame MRI dataset (128x128 resolution) subjected to Gaussian blurring and additive corruption. QTRK and mQTRK successfully recovered clear images. In contrast, standard least-norm solutions produced results that were visually unrecognizable due to the influence of the corruptions.
Discussion and Limitations
The primary requirement for these methods is the selection of the quantile parameter ($q$). Users must possess a rough estimate of the corruption rate to choose an effective $q$. If $q$ is too conservative (too low), the algorithm may skip valid updates and converge slowly. If $q$ is too aggressive (too high), corrupted data may be accepted, hindering accuracy.
Future work will focus on developing versions of mQTRK with stronger theoretical guarantees, perhaps through stochastic assumptions regarding corruption locations, and extending this quantile-based framework to other tensor products beyond the t-product.
Summary updated