Abstract
Recovering high-dimensional signals from streaming linear measurements is a fundamental challenge in modern data science. While the Kaczmarz method is a popular choice for this online setting due to its low memory footprint, it suffers from slow convergence when measurements are highly correlated. This paper introduces Online Heavy Ball Kaczmarz (OHBK), which incorporates a momentum term to accelerate recovery. We provide the first theoretical proof of linear convergence for this online variant and demonstrate through synthetic and real-world experiments that OHBK significantly outperforms standard methods, particularly in the presence of coherent data.
Introduction
In many contemporary applications, such as sensor networks or real-time medical imaging, data arrives as a continuous stream. Reconstructing a signal $x \in \mathbb{R}^n$ from these measurements requires algorithms that can update estimates incrementally without storing the entire dataset. The Kaczmarz method has long been a staple for this task, updating the estimate by projecting it onto the hyperplane defined by each new measurement. However, its efficiency is highly sensitive to the "coherency" of the data; when successive measurement vectors are similar, the algorithm exhibits an inefficient zig-zagging behavior that stalls convergence.
The Online Heavy Ball Kaczmarz Algorithm
To overcome the limitations of the standard Kaczmarz approach, we propose the Online Heavy Ball Kaczmarz (OHBK) algorithm. This method integrates the "Heavy Ball" momentum technique—originally developed for gradient descent—into the Kaczmarz framework.
The Update Rule
At each iteration $t$, given a new measurement vector $a_t$ and scalar $b_t = \langle a_t, x^* \rangle$, the algorithm updates the current estimate $x_t$ as follows:
$$x_{t+1} = x_t + \frac{b_t - \langle a_t, x_t \rangle}{\|a_t\|^2} a_t + \beta(x_t - x_{t-1})$$
Here, the first two terms represent the standard Kaczmarz projection, while the third term, $\beta(x_t - x_{t-1})$, adds a fraction of the previous update direction. This momentum term acts as a "coherency filter," smoothing out the trajectory and maintaining a more direct path toward the solution by leveraging information from the previous step.
Theoretical Contributions
While momentum has been studied for fixed, finite systems of equations, its application to the online setting—where measurements are sampled i.i.d. from an underlying distribution $\mathcal{D}$—has lacked rigorous theoretical backing until now.
Our core contribution is the proof that OHBK converges linearly in expectation. Specifically, we show that the error decreases geometrically: $$\mathbb{E}[\|x_t - x^*\|^2] \leq q^t(1+\delta)\|x_0 - x^*\|^2$$ for some convergence factor $q < 1$. We further identify a "Goldilocks Zone" for the momentum parameter $\beta$. This range is determined by the singular values of the second-moment matrix of the measurement distribution. If $\beta$ is chosen within this range, acceleration is guaranteed; if it is too large, the algorithm may diverge due to an over-reliance on outdated information.
Experimental Results
We evaluated the performance of OHBK against the standard Online Kaczmarz (OK) algorithm using both synthetic and real-world datasets.
Synthetic Data
Using signals in $\mathbb{R}^{50}$, we tested various measurement distributions. To simulate challenging conditions, we used a $U[\epsilon, 1]$ distribution, where increasing $\epsilon$ increases the correlation between measurements. In these highly coherent scenarios, OHBK reached machine epsilon (near-perfect recovery) significantly faster than OK. Notably, the optimal $\beta$ remained relatively stable regardless of the signal dimension $n$, suggesting that the benefits of momentum are intrinsic to the data distribution rather than the problem size.
Real-World Application
We applied the algorithm to the Wisconsin Diagnostic Breast Cancer (WDBC) dataset, which contains 699 instances with 10 features. Even on this non-synthetic, practical dataset, the addition of momentum provided a noteworthy acceleration in signal recovery, validating our theoretical findings in a real-world context.
Conclusion and Future Work
Online Heavy Ball Kaczmarz offers a robust and theoretically sound improvement over traditional online recovery methods. By effectively mitigating the slow convergence caused by correlated data, OHBK provides a practical tool for high-speed streaming applications.
Future research will focus on two primary areas: developing adaptive momentum strategies (similar to ADAM) to eliminate the need for manual $\beta$ tuning, and extending the theoretical framework to account for noisy or corrupted measurements, which are common in practical sensing environments.
Summary updated