Skip to main content
QUICK REVIEW

[Paper Review] History-Gradient Aided Batch Size Adaptation for Variance Reduced Algorithms

Kaiyi Ji, Zhe Wang|arXiv (Cornell University)|Oct 21, 2019
Stochastic Gradient Optimization TechniquesComputer Science42 references10 citations
TL;DR

This paper proposes a novel batch-size adaptation scheme for variance-reduced optimization algorithms like SVRG and SPIDER, which dynamically increases batch size based on the average magnitude of past stochastic gradients—eliminating the need for backtracking line search. The method achieves improved convergence complexity and faster practical performance in both nonconvex optimization and reinforcement learning, with theoretical guarantees and empirical validation.

ABSTRACT

Variance-reduced algorithms, although achieve great theoretical performance, can run slowly in practice due to the periodic gradient estimation with a large batch of data. Batch-size adaptation thus arises as a promising approach to accelerate such algorithms. However, existing schemes either apply prescribed batch-size adaption rule or exploit the information along optimization path via additional backtracking and condition verification steps. In this paper, we propose a novel scheme, which eliminates backtracking line search but still exploits the information along optimization path by adapting the batch size via history stochastic gradients. We further theoretically show that such a scheme substantially reduces the overall complexity for popular variance-reduced algorithms SVRG and SARAH/SPIDER for both conventional nonconvex optimization and reinforcement learning problems. To this end, we develop a new convergence analysis framework to handle the dependence of the batch size on history stochastic gradients. Extensive experiments validate the effectiveness of the proposed batch-size adaptation scheme.

Motivation & Objective

  • To address the slow practical convergence of variance-reduced algorithms due to periodic large-batch gradient estimation.
  • To eliminate the computational overhead of backtracking line search in existing batch-size adaptation schemes.
  • To develop a theoretically grounded, easy-to-implement batch-size adaptation method that leverages historical gradient information.
  • To improve the overall complexity and convergence rate of SVRG, SPIDER, and their policy gradient variants in nonconvex and reinforcement learning settings.

Proposed method

  • Adapts the batch size in each outer loop inversely proportional to the average norm of stochastic gradients from the previous epoch.
  • Uses the average gradient norm from prior iterations as a proxy for current gradient magnitude to set the batch size without backtracking.
  • Introduces AbaSVRG and AbaSPIDER for nonconvex optimization, and AbaSVRPG and AbaSPIDER-PG for reinforcement learning.
  • Develops a new convergence analysis framework that accounts for batch size dependence on past gradients, enabling tighter bounds on objective value changes.
  • Establishes convergence guarantees by bounding the expected function value decrease over epochs using historical gradient norms.
  • Employs a novel analysis technique that differs from prior epoch-wise or iteration-wise descent analysis, allowing flexible parameter choices and improved complexity bounds.

Experimental results

Research questions

  • RQ1Can batch-size adaptation based on historical gradients improve the convergence speed of variance-reduced algorithms without backtracking?
  • RQ2How does history-gradient-based batch-size adaptation affect the overall iteration and function evaluation complexity in nonconvex optimization?
  • RQ3Can this scheme be extended to policy gradient methods in reinforcement learning with theoretical convergence guarantees?
  • RQ4What is the theoretical complexity bound of the proposed adaptive batch-size algorithms compared to standard SVRG and SPIDER?
  • RQ5How does the new convergence analysis framework handle the dependence of batch size on past stochastic gradients?

Key findings

  • The proposed AbaSVRG and AbaSPIDER algorithms achieve improved convergence complexity in nonconvex optimization by adapting batch size based on historical gradients.
  • The AbaSVRPG and AbaSPIDER-PG algorithms show faster convergence and better performance in reinforcement learning tasks compared to baseline variance-reduced policy gradient methods.
  • Theoretical analysis shows that the expected norm of the gradient is bounded by $\epsilon$ after $\mathcal{O}(1/\epsilon^2 \wedge n/\epsilon)$ stochastic first-order oracle (SFO) calls.
  • The method avoids backtracking line search while maintaining convergence guarantees, reducing algorithmic complexity.
  • Empirical results confirm that the adaptive batch-size scheme accelerates training and improves stability in both optimization and RL settings.
  • The new convergence analysis framework enables tighter bounds and more flexible parameter tuning than prior approaches for SVRG-type algorithms.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.