Introduction
In the era of large-scale data analysis, we frequently encounter linear systems ($Ax = b$) where the matrix $A$ is too massive to be stored in memory. Row-access methods solve this by processing only one row at a time. The Randomized Kaczmarz (RK) method is the standard approach, projecting the current estimate onto a randomly selected row. However, RK has a critical limitation: while it works perfectly for consistent systems, it fails to converge to a precise solution when data is noisy or inconsistent. In these cases, RK hits a "finite horizon"—an error floor where the iterates oscillate around the solution without getting closer.
The TARK Algorithm
To address this, we introduce Tail-Averaged Randomized Kaczmarz (TARK). TARK is a simple yet powerful modification that proceeds in two phases. First, it runs standard RK iterations for a "burn-in" period ($t_b$). Second, it begins a tail-averaging process, where the final output is the average of all iterates produced after the burn-in time. Mathematically, the output is defined as:
$$\bar{x}_t = \frac{1}{t - t_b} \sum_{s=t_b}^{t-1} x_s$$
This averaging effectively "washes out" the random noise that plagues standard RK, allowing the algorithm to reach the exact least-squares solution. As shown in the comparison table above, TARK is unique in maintaining an exponential initial rate while achieving a polynomial final rate using only row-access.
Key Insights and Theoretical Advantages
While individual RK iterates bounce randomly around the true solution, their expected value is centered. By averaging the tail of the sequence, these random fluctuations cancel out. TARK provides a hybrid convergence profile: it retains the exponentially fast initial progress of RK but adds a polynomial ($O(1/t)$) tail that converges to the solution rather than hitting a floor. This $1/t$ rate is the theoretical speed limit for any method restricted to row-access.
Experimental Results
We evaluated TARK using challenging numerical experiments, including fitting a degree-24 polynomial to $10^6$ noisy data points.
As illustrated in the convergence plot, TARK successfully breaks through the error floor where standard RK and simple averaging (RKA) get stuck. While RK with underrelaxation (RKU) also converges, TARK demonstrates significantly faster performance in practice. For highly ill-conditioned problems, we also developed TARK-RR, a ridge regression variant that incorporates weight decay to handle regularization efficiently.
Conclusion
TARK offers a robust, memory-efficient solution for massive, noisy linear systems. It achieves optimal convergence rates without the high memory overhead of previous extended methods. Future research will explore block-wise extensions to further accelerate performance on modern parallel hardware.
Summary updated