Stochastic Gradient Descent on a Tree: an Adaptive and Robust Approach to Stochastic Convex Optimization

Sattar Vakili, Sudeep Salgia, Qing Zhao

TL;DR

This paper introduces a novel algorithm called Random Walk on a Tree (RWT) for online stochastic convex optimization. RWT adaptively learns function characteristics and handles heavy-tailed noise without parameter tuning, achieving optimal regret bounds that match or outperform traditional Stochastic Gradient Descent (SGD).

What Problem Does This Paper Address?

The paper tackles the challenge of online stochastic convex optimization. Imagine you need to find the minimum of a function, but you can only get noisy estimates of its gradient at each step. Furthermore, you don't know much about the function itself – is it smooth, strongly convex, or something else? Traditional methods like Stochastic Gradient Descent (SGD) require careful tuning of step-sizes based on prior knowledge of the function's properties. This is often impractical in real-world scenarios where these properties are unknown or change. The goal is to minimize "regret," which is the difference between the total loss incurred by the algorithm and the loss of the true minimum. The paper aims to develop an algorithm that minimizes this regret without needing to know the function's characteristics beforehand and can even handle noisy gradients with infinite variance.

Methods

The core of the proposed method is the Random Walk on a Tree (RWT) algorithm. Here's how it works:

  • Tree Structure: RWT constructs an infinite-depth binary tree where each node represents an interval of the search space (initially $[0, 1]$). The tree is built by repeatedly partitioning intervals.
  • Biased Random Walk: The algorithm performs a biased random walk on this tree, starting from the root. At each step, it decides to move to the parent or one of the two children nodes.
  • Local Sequential Test: The decision to move is guided by a "local sequential test" performed at the current node's interval. This test uses gradient samples to determine if the function's gradient is likely to change sign in the left or right sub-interval. This test is designed to be robust to different noise distributions, including heavy-tailed ones.
  • Adaptive Step-Sizes: Unlike SGD, RWT doesn't use explicit step-sizes. Instead, the "bias" of the random walk, determined by the sequential test, implicitly controls how quickly it converges. This bias is derived from confidence bounds based on the law of the iterated logarithm, making the algorithm adaptive.
  • Local Data Caching: The structured movement of the random walk on the tree allows for efficient caching of side observations (gradients at nearby points), which can further speed up learning.

Datasets

Not discussed in the paper. The paper focuses on theoretical analysis and simulation experiments using synthetic objective functions.

Key Insights and Ideas

  • Adaptivity without Tuning: The most significant insight is that an algorithm can achieve optimal regret bounds without requiring any prior knowledge of the function's characteristics or explicit parameter tuning. RWT achieves this by adaptively adjusting its "exploration" based on local gradient information.
  • Robustness to Heavy-Tailed Noise: RWT's design, particularly its local sequential test, makes it robust to heavy-tailed noise distributions, a scenario where standard SGD struggles or its applicability is unclear. This is a crucial advantage for real-world applications where noise can be unpredictable.
  • Tree Structure for Efficient Exploration: The binary tree structure provides a systematic way to explore the search space. The biased random walk on this tree ensures convergence to the optimum, and the structured mobility enables efficient caching of information.
  • Regret Bounds Match Theory: The paper rigorously proves that RWT achieves near-optimal regret bounds across different classes of convex functions (convex, strongly convex, non-differentiable) and noise types (sub-Gaussian, heavy-tailed), often matching theoretical lower bounds.

Key Results

  • Optimal Regret Orders: RWT achieves regret orders of $O(\sqrt{T} \log T \log \log T)$ for convex functions, $O(\log T \log \log T)$ for strongly convex functions, and $O(\log T)$ for non-differentiable functions, under sub-Gaussian noise. These are near-optimal.
  • Heavy-Tailed Performance: For heavy-tailed noise, RWT achieves regret orders like $O(T \log T \frac{1}{b} (\log \log T)^{\frac{1}{2}})$ for convex functions, which also match lower bounds.
  • Comparison to SGD: Simulations show that RWT consistently outperforms SGD, especially when SGD's step-sizes are not perfectly tuned to the function's characteristics. RWT's adaptivity allows it to perform well across different function types without manual adjustments.
  • Caching Benefits: Local data caching, enabled by RWT's structured movement, can lead to significant regret reduction (e.g., over 50% with a small cache size).

Limitations and Future Work

  • Dimensionality: The current RWT algorithm is designed for one-dimensional problems. Extending it to high-dimensional settings is a significant area for future work, which the authors mention they are actively pursuing through integration with coordinate minimization.
  • Computational Complexity: While RWT avoids parameter tuning, the local sequential test might involve multiple gradient evaluations per step. The paper analyzes sample complexity, but a detailed analysis of per-step computational cost in high dimensions would be valuable.
  • Cache Refinement: The paper suggests that a more refined usage of cache might be necessary to fully exploit its potential, indicating room for improvement in the caching strategy.

Summary updated

Abstract

Online minimization of an unknown convex function over the interval $[0,1]$ is considered under first-order stochastic bandit feedback, which returns a random realization of the gradient of the function at each query point. Without knowing the distribution of the random gradients, a learning algorithm sequentially chooses query points with the objective of minimizing regret defined as the expected cumulative loss of the function values at the query points in excess to the minimum value of the function. An approach based on devising a biased random walk on an infinite-depth binary tree constructed through successive partitioning of the domain of the function is developed. Each move of the random walk is guided by a sequential test based on confidence bounds on the empirical mean constructed using the law of the iterated logarithm. With no tuning parameters, this learning algorithm is robust to heavy-tailed noise with infinite variance and adaptive to unknown function characteristics (specifically, convex, strongly convex, and nonsmooth). It achieves the corresponding optimal regret orders (up to a $\sqrt{\log T}$ or a $\log\log T$ factor) in each class of functions and offers better or matching regret orders than the classical stochastic gradient descent approach which requires the knowledge of the function characteristics for tuning the sequence of step-sizes.
BibTeX
@inproceedings{vakili2019stochastic,
  author = {Sattar Vakili and Sudeep Salgia and Qing Zhao},
  title = {{Stochastic Gradient Descent on a Tree: an Adaptive and Robust Approach to Stochastic Convex Optimization}},
  booktitle = {ISIT},
  year = {2019},
  doi = {10.1109/isit.2019.8849396},
}
Figure