Quantile Randomized Kaczmarz for Streaming Linear Systems with Massart Noise

Emeric Battaglia, Jian-Feng Cai, Junren Chen, Anna Ma, Deanna Needell, Tong WuarXiv 2026

TL;DR

This paper provides the first explicit, computable bounds for the Quantile Randomized Kaczmarz (QRK) algorithm when solving streaming linear systems corrupted by noise. By leveraging the independence of streaming data, the authors eliminate the vague "hidden constants" of prior analyses, proving that QRK can tolerate up to 7% adversarial Massart noise and 32% oblivious noise using remarkably small, explicitly calculated sample sizes.

What Problem Does This Paper Address?

In data science and signal processing, we often need to solve massive, overdetermined linear systems ($b = Ax^* + \epsilon$). The Randomized Kaczmarz (RK) method is a popular tool for this because it is incredibly lightweight, updating its guess by looking at just one row of the matrix at a time. However, standard RK breaks down completely if the data contains sparse but arbitrarily large corruptions (adversarial noise).

To fix this, researchers previously introduced Quantile Randomized Kaczmarz (QRK). Instead of blindly trusting every row, QRK samples a small batch of rows, computes the quantile of their residuals, and only performs an update if a row's error falls below that threshold. While recent theory proved that a tiny batch size of $O(\log T)$ is sufficient for the algorithm to converge over $T$ iterations, the theory relied on asymptotic notation. It left two massive practical questions unanswered:

  1. Exactly how much corruption ($\beta$) can the algorithm tolerate?
  2. Exactly how large does the subsample size ($D$) need to be in practice?

Without explicit constants, practitioners are left guessing how to configure the algorithm safely.

Methods

The authors tackle these questions by shifting the analysis to a streaming (online) setting. Instead of repeatedly cycling through a fixed, corrupted data matrix, they assume that fresh, independent measurement vectors arrive at each iteration.

The streaming QRK algorithm works as follows:

  1. At each step, it draws a batch of $D+1$ fresh samples.
  2. It uses $D$ of these samples to calculate an empirical $q$-quantile of the absolute residuals.
  3. It uses the remaining single sample to perform a standard Kaczmarz projection update—but only if that sample's residual is smaller than the calculated quantile.

The authors analyze this setup under two distinct noise frameworks:

  • Massart Noise: A semi-random model where nature decides which rows are corrupted (with probability $\beta$), but an adversary gets to decide the value of the corruption using full knowledge of the system.
  • Oblivious Noise: A weaker model where corruptions occur with probability $\beta$ but are entirely independent random variables.

Because fresh samples are independent of the current iteration's error, the authors can compute exact mathematical expectations rather than relying on loose spectral bounds of a fixed matrix.

Datasets

The paper evaluates its theoretical findings using synthetic data simulations. The experimental setup uses:

  • Synthetic measurement vectors uniformly distributed over a unit sphere ($a_i \sim \text{Unif}(S^{n-1})$) with dimension $n = 100$.
  • Iteration horizons fixed at $T = 10,000$ and $T = 20,000$.
  • Corruptions generated adversarially (for Massart noise testing) or sampled uniformly from a wide interval (for oblivious noise testing).

Key Insights and Ideas

  • The Streaming Advantage: The "aha moment" of the paper is realizing that the streaming data assumption dramatically simplifies the geometry of the problem. It replaces complex, pessimistic matrix properties with clean, exact probabilistic expectations.
  • Unified vs. Split Analysis: Under oblivious noise, the independence of the noise values allows the authors to analyze corrupted and uncorrupted updates together at the exact same threshold. This joint analysis reveals that the algorithm behaves much better under random noise than under worst-case adversarial noise.
  • Bridges Theory and Practice: By turning abstract $O(\log T)$ bounds into sharp, computable formulas, the authors provide a recipe to calculate the exact minimum sample size needed to guarantee linear convergence.

Key Results

  • Massart Noise Tolerance: The algorithm is proven to achieve linear convergence for corruption levels up to $\beta^* \approx 6.9\%$ (optimized at a quantile parameter $q = 0.85$). For a standard setup ($\beta = 0.01, T = 20,000, q = 0.75$), the explicit minimum required batch size is calculated to be $D^* = 25$.
  • Oblivious Noise Tolerance: Under oblivious noise, the tolerable corruption level shoots up to $\beta^*_{\text{obl}} \approx 32\%$ (at $q = 0.65$). For the same setup ($\beta = 0.01, T = 20,000, q = 0.75$), the required batch size drops to just $D^*_{\text{obl}} = 13$.
  • Empirical Validation: Empirical simulations confirm that these new explicit bounds tightly track the actual phase transitions where the algorithm succeeds in practice, proving they are highly accurate and not overly conservative.

Limitations and Future Work

  • Spherical Distribution Assumption: The theoretical proofs rely heavily on the assumption that the measurement vectors are i.i.d. uniformly distributed over the unit sphere. Real-world streaming data often features highly structured or anisotropic distributions.
  • Static Corruption Rates: The analysis assumes the corruption probability $\beta$ remains constant throughout the entire optimization process.
  • Future Directions: The authors suggest extending this explicit analysis to structured corruptions, non-uniform measurement distributions, and exploring how the tolerable corruption threshold might dynamically change as the algorithm gets closer to the true solution.

Summary updated

BibTeX
@misc{battaglia2026quantile,
  author = {Emeric Battaglia and Jian-Feng Cai and Junren Chen and Anna Ma and Deanna Needell and Tong Wu},
  title = {{Quantile Randomized Kaczmarz for Streaming Linear Systems with Massart Noise}},
  year = {2026},
  eprint = {2608.27968},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.27968},
}
Figure