NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

On Adaptive Stochastic Optimization for Streaming Data: A Newton’s Method with O(dN) Operations

Antoine Godichon-Baggioni, Nicklas WergeOpenReview 2024

TL;DR

This paper introduces a novel adaptive Newton's method for optimizing models with streaming, high-dimensional data. It achieves the computational efficiency of first-order methods (like SGD) while retaining the robustness of second-order methods, making it suitable for challenging, ill-conditioned problems.

What Problem Does This Paper Address?

Modern machine learning often deals with data that arrives continuously (streaming) and has a very large number of features (high-dimensional). Standard optimization methods like Stochastic Gradient Descent (SGD) struggle with "ill-conditioned" problems, where the optimization landscape is highly stretched or skewed, making progress slow and unstable. While Newton's method (a second-order method) is better suited for such problems, its computational cost is typically prohibitive for high-dimensional, streaming data. This paper aims to bridge this gap by developing an adaptive Newton's method that is both computationally efficient and effective for streaming, high-dimensional, and potentially ill-conditioned optimization tasks.

Methods

The core contribution is an adaptive inversion-free Newton's method designed for streaming data. This method incorporates a Hessian approximation (a second-order derivative estimate) at each step, but crucially, it does so in a way that avoids explicit matrix inversion, which is computationally expensive. The method dynamically adjusts learning rates per-dimension and leverages historical gradient and Hessian information.

Key techniques include:

  • Adaptive Learning Rates: The step size for each dimension is adjusted based on past information, helping to navigate ill-conditioned landscapes.
  • Hessian Approximation: Instead of the true Hessian, an approximation is used. The "inversion-free" aspect is key to computational efficiency.
  • Weighted Averaging: A "weighted Polyak-Ruppert averaging" scheme is employed. This technique assigns more importance to recent estimates, improving robustness and convergence, especially with challenging initializations.
  • Computational Complexity: The authors specifically design their method to achieve a computational complexity of $O(dN)$, matching that of first-order methods like SGD, where $d$ is the number of dimensions and $N$ is the total number of data points processed.

Datasets

The paper evaluates its methods on synthetic datasets generated to mimic complex covariance structures. Specifically, they use:

  • Least-Squares Regression: Data points are $(x, y) \in \mathbb{R}^d \times \mathbb{R}$, with the objective function $F(\theta) = \mathbb{E}[(y - x\theta)^2]$.
  • Logistic Regression: Data points are $(x, y) \in \mathbb{R}^d \times \{-1, 1\}$, with the objective function $F(\theta) = \mathbb{E}[\log(1 + \exp(-yx\theta))]$.

The feature vector $x$ is generated with a covariance structure designed to introduce strong correlations between its coordinates, making the optimization problem challenging.

Key Insights and Ideas

  • Bridging the First- and Second-Order Gap: The most significant insight is demonstrating that it's possible to achieve the benefits of second-order methods (robustness to ill-conditioning) without incurring their typical computational cost, especially in a streaming setting.
  • Adaptive Hessian Approximation is Key: The "inversion-free" approach to approximating the Hessian is crucial for achieving $O(dN)$ complexity. This avoids the $O(d^3)$ cost of inverting a dense Hessian.
  • Weighted Averaging Enhances Robustness: The proposed weighted averaging scheme significantly improves performance, particularly when starting with poor initial parameter estimates. This suggests that giving more weight to recent, potentially more accurate, estimates is a powerful strategy.
  • Performance on Ill-Conditioned Problems: The experiments highlight that Newton's methods (even with fewer Hessian updates than first-order methods) significantly outperform SGD and Adagrad on problems with complex covariance structures and challenging initializations.

Key Results

  • Theoretical Guarantees: The paper provides theoretical analysis showing asymptotic efficiency, strong consistency, and optimal asymptotic normality for their proposed adaptive Newton's methods.
  • Computational Efficiency: The adaptive Newton's method achieves a computational complexity of $O(dN)$, matching first-order methods.
  • Empirical Performance:
    • In both least-squares and logistic regression experiments with high dimensionality ($d=100$) and challenging initializations, the proposed adaptive Newton's methods (SSN and WASSN) consistently outperformed SGD and Adagrad.
  • The weighted averaged versions (WASSN) showed particularly strong performance, especially in scenarios with less-than-ideal initializations.
  • Despite fewer Hessian updates compared to first-order methods, the Newton's methods demonstrated superior convergence and accuracy, especially when data exhibited strong correlations.

Limitations and Future Work

  • Non-Convex Analysis: The current work focuses on convex optimization. The authors suggest extending their methodologies to non-convex optimization problems as a crucial next step.
  • Time-Dependent Observations: The current analysis assumes independence among data points. Future work could investigate extensions to handle dependent observations, which are common in real-world streaming data.
  • Generalization of Mini-batch Sizes: While the paper primarily discusses constant mini-batches, it also provides analysis for increasing mini-batches, suggesting a flexible framework.
  • Practical Implementation Details: The paper focuses on theoretical development and empirical validation. Further research could explore practical implementation nuances and hyperparameter tuning strategies for real-world deployment.

Summary updated

BibTeX
@misc{godichonbaggioni2024adaptive,
  author = {Antoine Godichon-Baggioni and Nicklas Werge},
  title = {{On Adaptive Stochastic Optimization for Streaming Data: A Newton’s Method with O(dN) Operations}},
  year = {2024},
  url = {https://openreview.net/forum?id=vB7sXQEs3Z},
  howpublished = {OpenReview},
}
Figure