Skip to main content
QUICK REVIEW

[Paper Review] Online to Offline Conversions, Universality and Adaptive Minibatch Sizes

Kfir Y. Levy|arXiv (Cornell University)|May 30, 2017
Stochastic Gradient Optimization TechniquesComputer Science15 citations
TL;DR

This paper introduces a novel online-to-offline conversion framework that transforms adaptive online algorithms into offline methods with universal convergence guarantees. It achieves adaptive performance in both convex and non-convex settings without prior knowledge of smoothness, while also enabling adaptive minibatch sizing in stochastic optimization through a lazy SGD variant that reduces variance in high-gradient regions.

ABSTRACT

We present an approach towards convex optimization that relies on a novel scheme which converts online adaptive algorithms into offline methods. In the offline optimization setting, our derived methods are shown to obtain favourable adaptive guarantees which depend on the harmonic sum of the queried gradients. We further show that our methods implicitly adapt to the objective's structure: in the smooth case fast convergence rates are ensured without any prior knowledge of the smoothness parameter, while still maintaining guarantees in the non-smooth setting. Our approach has a natural extension to the stochastic setting, resulting in a lazy version of SGD (stochastic GD), where minibathces are chosen \emph{adaptively} depending on the magnitude of the gradients. Thus providing a principled approach towards choosing minibatch sizes.

Motivation & Objective

  • Address the gap in adaptive offline optimization by converting online adaptive algorithms into methods with strong theoretical guarantees.
  • Develop methods that implicitly adapt to the smoothness of the objective function without requiring prior knowledge of the smoothness parameter.
  • Provide a principled approach to adaptive minibatch size selection in stochastic optimization, avoiding theoretical degradation from larger batches.
  • Ensure universal convergence—matching the performance of gradient descent when smoothness is known—while maintaining robustness in non-smooth settings.

Proposed method

  • Introduce a novel online-to-offline conversion scheme that combines online adaptive algorithms with gradient normalization and importance weighting.
  • Design AdaNGD and SC-AdaNGD for convex and strongly convex settings, respectively, using harmonic sums of gradients to determine convergence rates.
  • Propose Lazy-SGD as a stochastic extension that adaptively increases minibatch size in regions with smaller gradient norms to reduce variance.
  • Use a modified adaptive estimation procedure (1/‖g̃ₛ‖² instead of nₛ) to improve practical performance in the stochastic setting.
  • Leverage the structure of the objective implicitly through the adaptive learning rate mechanism, enabling universality across smooth and non-smooth cases.
  • Apply a three-pronged mechanism: online adaptation, gradient normalization, and importance weighting to ensure robust and adaptive convergence.

Experimental results

Research questions

  • RQ1Can online adaptive algorithms be systematically converted into offline methods with strong theoretical guarantees?
  • RQ2Can adaptive optimization methods achieve the convergence rates of gradient descent without prior knowledge of the smoothness parameter?
  • RQ3How can minibatch sizes be adaptively selected in stochastic optimization to maintain theoretical efficiency while improving practical performance?
  • RQ4Can the proposed methods achieve universality—matching smooth-case performance in non-smooth settings—without explicit smoothness estimation?
  • RQ5What is the impact of adaptive minibatch selection on variance reduction and convergence speed in stochastic settings?

Key findings

  • AdaNGD and SC-AdaNGD achieve O(1/√T) convergence in general convex settings and O(1/T) in smooth convex settings, even without knowing the smoothness parameter.
  • In the strongly convex case, the methods achieve O(1/T) convergence in general and O(exp(−γT)) in smooth settings, where γ is the condition number.
  • The SC-AdaNGD method demonstrates universality: it adapts to smoothness and outperforms standard GD and line search even in smooth settings without prior knowledge.
  • Lazy-SGD achieves convergence rates comparable to standard SGD in convex and strongly convex settings, while adaptively increasing minibatch size in low-gradient regions.
  • Experiments show SC-AdaNGD variants outperform constant- and decaying-step-size GD, especially in non-smooth and ill-conditioned problems.
  • Robustness experiments confirm that SC-AdaNGD is resilient to small gradient noise, maintaining stable convergence under perturbed gradients.

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.