A hybrid stochastic optimization framework for composite nonconvex optimization

Quoc Tran-Dinh, Nhan H. Pham, Dzung T. Phan, Lam M. Nguyen

TL;DR

This paper introduces a novel "hybrid" stochastic estimator that combines existing techniques to achieve state-of-the-art convergence rates for composite nonconvex optimization problems. Their new algorithms, ProxHSGD, are simpler to implement (single-loop) and achieve competitive or superior performance compared to existing methods on various benchmark datasets.

What Problem Does This Paper Address?

Optimizing composite functions of the form $F(x) = f(x) + \psi(x)$, where $f(x)$ is a potentially nonconvex and stochastic function and $\psi(x)$ is a convex regularizer, is a fundamental problem in machine learning and optimization. Many real-world applications, such as deep learning, involve such problems. Existing methods often struggle with either theoretical guarantees, practical implementation complexity (e.g., requiring multiple loops or significant parameter tuning), or both. This paper aims to bridge this gap by developing a new class of algorithms that are theoretically sound, practically efficient, and achieve optimal or near-optimal convergence rates.

Methods

The core innovation of this paper lies in the hybrid stochastic estimator. This estimator is constructed by taking a convex combination of two existing stochastic estimators (e.g., SARAH and SGD). This "hybrid" approach aims to inherit the advantages of both, leading to a more robust and efficient estimator.

The authors then leverage this hybrid estimator to develop a single-loop stochastic proximal gradient algorithm (ProxHSGD). Key aspects of their method include:

  • Initial Gradient Approximation: The algorithm starts by computing a mini-batch estimate of the initial gradient to guide the optimization process effectively.
  • Proximal Gradient Steps: It uses proximal gradient steps to handle the composite structure of the objective function.
  • Averaging Step: An averaging step is incorporated to improve convergence.
  • Adaptive Step-Sizes and Restarting: They propose variants with adaptive step-sizes and a restarting mechanism (double-loop) to further enhance performance and robustness.
  • Theoretical Guarantees: The paper provides rigorous theoretical analysis, deriving oracle complexity bounds that match or improve upon existing state-of-the-art methods.

Datasets

The paper evaluates their algorithms on several standard datasets:

  • Small and Medium Datasets:
    • w8a (n = 49,749, p = 300)
    • rcv1.binary (n = 20,242, p = 47,236)
    • real-sim (n = 72,309, p = 20,958)
  • Large Datasets:
    • url_combined (n = 2,396,130, p = 3,231,961)
    • epsilon (n = 400,000, p = 2,000)
    • news20.binary (n = 19,996, p = 1,355,191)
  • Neural Network Training:
    • mnist dataset for feedforward neural network training.

Key Insights and Ideas

  • The Power of Hybridization: The core insight is that combining existing stochastic estimators in a "hybrid" manner can lead to a more effective estimator that inherits the strengths of its components, offering a new avenue for algorithm design.
  • Single-Loop Efficiency: The paper demonstrates that it's possible to achieve optimal convergence rates with a single-loop algorithm, which is generally preferred for its simplicity and ease of implementation compared to multi-loop methods.
  • Initial Gradient Matters: The emphasis on computing a good initial gradient estimate is crucial for guiding the optimization process effectively, especially in the early stages.
  • Adaptive Step-Sizes for Robustness: The adaptive step-size variant shows improved performance, suggesting that dynamic step-size adjustments can be more beneficial than fixed or scheduled ones in practice.
  • Theoretical Guarantees for Practical Methods: The paper successfully bridges the gap between theoretical optimality and practical applicability by providing strong convergence guarantees for their proposed algorithms.

Key Results

  • Optimal Oracle Complexity: The proposed ProxHSGD algorithms achieve state-of-the-art oracle complexity bounds, matching the best known results for composite nonconvex optimization. For instance, their single-loop algorithm achieves an $O(\sigma^3\varepsilon^{-1} + \sigma\varepsilon^{-3})$ complexity bound.
  • Competitive and Superior Performance: Numerical experiments on various datasets show that their methods are comparable to, and often outperform, state-of-the-art algorithms like ProxSGD, ProxSVRG, and ProxSpiderBoost.
  • Improved Convergence on Large Datasets: The algorithms demonstrate strong performance on large-scale datasets, indicating their scalability.
  • Effective for Neural Network Training: The methods show promising results in training neural networks, a key application area.

Limitations and Future Work

  • Stronger Assumptions: The paper relies on L-average smoothness, which is a stronger assumption than standard L-smoothness for the expected value function. However, they note that this assumption holds for many practical problems.
  • Constant Factors: The authors mention that they have not optimized all constant factors in the theoretical bounds, suggesting potential for further refinement.
  • Practical Termination: In practice, the paper notes that they often take the last iterate as the output, which doesn't have a theoretical guarantee. They suggest exploring "best-so-far" iterate selection as a practical termination condition.
  • Future Directions: The paper suggests that their hybrid estimator framework can be extended to develop second-order methods and other optimization problems like compositional and constrained optimization. They also hint at the potential for combining their methods with double-loop strategies for further efficiency.

Summary updated

BibTeX
@article{trandinh2022hybrid,
  author = {Quoc Tran-Dinh and Nhan H. Pham and Dzung T. Phan and Lam M. Nguyen},
  title = {{A hybrid stochastic optimization framework for composite nonconvex optimization}},
  journal = {Math. Program},
  year = {2022},
  doi = {10.1007/s10107-020-01583-1},
}
Figure