Introduction
In the era of streaming data, algorithms must update model parameters incrementally as new observations arrive. While Stochastic Gradient Descent (SGD) is the standard first-order method for these tasks, it often suffers from slow convergence when data is poorly scaled. Second-order approaches, such as Newton’s method, utilize the Hessian matrix to achieve faster convergence. However, the $O(d^3)$ computational cost of inverting the Hessian makes traditional Newton methods impractical for high-dimensional big data.
Sketched Newton methods address this by using randomized projections (sketching) to approximate the Newton step, reducing the per-iteration cost to nearly linear. Despite their efficiency, a significant challenge remains: statistical inference. To determine the reliability of model parameters—for instance, by constructing confidence intervals—one must estimate the limiting covariance matrix. Previous attempts to solve this relied on either biased "plug-in" estimators or "batch-means" methods that require sensitive hyperparameter tuning and exhibit slow convergence.
A Batch-Free Online Estimator
This research introduces a novel weighted sample covariance estimator ($\hat{\Xi}_t$) designed specifically for the iterates of sketched Newton methods. This approach moves away from the traditional batch-based paradigm, offering several key advantages:
- Recursive, Matrix-Free Updates: The estimator is updated using a recursive algorithm that requires only $O(d^2)$ operations per step. It avoids matrix factorizations and inversions entirely, ensuring that the computational efficiency of the underlying sketched Newton method is not compromised.
- Adaptive Step-Size Support: The theoretical framework accounts for random or adaptive stepsizes, which are essential for the stability of Newton methods in practical applications.
- Elimination of Batch Tuning: By treating every iterate as a sample and applying weights based on the algorithm's step size, the method removes the need to arbitrarily divide data streams into batches. This makes the algorithm more robust and easier to deploy in "set-and-forget" online environments.
Overcoming the "Sketching Bias"
A critical insight of this work is the identification of the "sketching bias" trap. Traditional plug-in estimators often fail because they do not account for the additional randomness introduced by the sketching process. This omission leads to "undercoverage," where empirical confidence intervals are too narrow and fail to contain the true parameter at the intended rate (e.g., 95%).
Furthermore, the authors leverage the fact that Newton iterates are more stable and information-rich than SGD iterates. They prove that their estimator converges at a rate of $O(1/\sqrt{t\beta_t})$, which is significantly faster than the $O(1/\sqrt[4]{t\beta_t})$ rate associated with SGD-based batch-means methods.
Experimental Performance
The proposed method was evaluated using synthetic linear and logistic regression models, as well as the CUTEst benchmark set for constrained optimization. Key findings include:
- Superior Coverage: The estimator consistently achieved the target 95% empirical coverage rate. In comparison, plug-in methods often saw coverage drop to 70-80% due to inherent bias.
- Stability and Efficiency: In logistic regression tests, the estimator demonstrated rapid error decay and greater stability than SGD-based methods, which often oscillate as new batches are processed.
- Generalization: The method proved effective not only for unconstrained problems but also for Sketched Sequential Quadratic Programming (SQP), maintaining high coverage even as sampling variance (noise) increased.
Conclusion and Future Directions
This work provides a computationally efficient and statistically sound framework for real-time inference in second-order optimization. While the current estimator is consistent, future research may focus on improving its statistical efficiency to reach theoretical lower bounds. Additionally, exploring the "high-dimensional" regime—where the parameter dimension $d$ grows alongside the number of samples $t$—remains an important open challenge for the field.
Summary updated