Randomized Block Coordinate Descent for Online and Stochastic Optimization

Huahua Wang, Arindam BanerjeearXiv 2014

Abstract

Modern machine learning models are increasingly defined by a "double whammy" of scale: they must process millions of training samples ($m$) while simultaneously managing millions of features ($n$). While Stochastic Gradient Descent (SGD) is the standard for large $m$ and Randomized Block Coordinate Descent (RBCD) is effective for large $n$, neither method is optimally efficient when both dimensions are massive. This paper introduces Online Randomized Block Coordinate Descent (ORBCD), a hybrid optimization framework that employs "double randomization" to sample both data points and feature blocks. The authors demonstrate that ORBCD achieves the same convergence rates as standard methods but with significantly lower per-iteration costs. Furthermore, they introduce a variance-reduced variant, ORBCDVD, which achieves linear convergence for strongly convex objectives.

Introduction

Optimization researchers typically encounter two distinct bottlenecks in large-scale learning. The first is the sample bottleneck, where computing a full gradient over $m$ samples is computationally prohibitive. The second is the feature bottleneck, where updating a high-dimensional parameter vector $x \in \mathbb{R}^n$ is expensive.

Existing solutions like SGD address the first bottleneck by looking at one sample at a time, but they still require updating all $n$ features. Conversely, RBCD addresses the second by updating one block of features at a time but requires a full pass over all $m$ samples to compute that block's gradient. This paper addresses the gap where both $m$ and $n$ are large, proposing an algorithm that scales efficiently in both dimensions.

The ORBCD Framework

The core innovation of the paper is the Online Randomized Block Coordinate Descent (ORBCD) algorithm. It operates on composite minimization problems where the goal is to minimize a loss function (the average loss over a dataset) plus a regularizer (such as $L_1$ for sparsity).

At each iteration, ORBCD performs a double randomization:

  1. Sample Selection: It randomly selects a mini-batch of samples (the stochastic component).
  2. Feature Selection: It randomly selects a specific block of coordinates (the coordinate descent component).

By performing a proximal gradient update only for the selected block using only the selected mini-batch, the computational cost per iteration is drastically reduced. For linear loss functions, this cost can drop to $O(1)$, making it significantly faster than the $O(n)$ cost of SGD or the $O(m)$ cost of RBCD.

Variance Reduction: ORBCDVD

To address the inherent noise in stochastic sampling—which often prevents standard stochastic methods from reaching high-precision solutions—the authors introduce ORBCDVD (ORBCD with Variance Reduction). Drawing inspiration from techniques like SVRG, ORBCDVD periodically computes a "reference" gradient. This reference is used to nudge the stochastic block updates toward the true gradient, allowing the algorithm to achieve linear convergence (a geometric rate) for strongly convex functions. This matches the best-known rates for variance-reduced SGD while maintaining the low per-iteration cost of coordinate descent.

Key Insights and Theoretical Results

The paper provides several critical theoretical guarantees that justify the use of double randomization:

  • Preserved Convergence Orders: The most significant insight is that randomizing both samples and features does not degrade the order of convergence. ORBCD maintains a regret bound of $O(\sqrt{T})$ for general convex functions and $O(\log T)$ for strongly convex functions, identical to standard SGD.
  • Efficiency Trade-offs: While the theoretical convergence constant is proportional to the number of blocks ($J$), the per-iteration cost is $J$ times smaller. This creates a favorable trade-off for high-dimensional problems where the reduction in work per step outweighs the increase in the number of steps required.
  • Memory Efficiency: Unlike variance-reduction methods like SAG, which require storing all previous gradients, ORBCDVD only requires storing a single reference gradient vector, making it highly suitable for memory-constrained environments.

Limitations and Future Directions

Despite its theoretical strengths, the method has specific requirements and areas for further exploration:

  • Block Separability: The algorithm assumes the regularizer $g(x)$ is block-separable. While this is true for common regularizers like Lasso and Group Lasso, it may not support more complex, overlapping constraints.
  • The $J$ Factor: In scenarios with an extremely large number of blocks, the increase in the iteration count (proportional to $J$) might offset the per-iteration speedup.
  • Empirical Validation: The current work is primarily theoretical. Future research is needed to implement ORBCD in large-scale distributed systems to measure its performance against wall-clock time in real-world production environments.

Conclusion

ORBCD and its variance-reduced counterpart ORBCDVD provide a robust framework for tackling the dual challenges of modern big data. By combining the strengths of stochastic sampling and coordinate descent, the authors offer a path toward more efficient optimization in high-dimensional spaces without sacrificing the convergence guarantees of more computationally expensive methods.

Summary updated

BibTeX
@misc{wang2014randomized,
  author = {Huahua Wang and Arindam Banerjee},
  title = {{Randomized Block Coordinate Descent for Online and Stochastic Optimization}},
  year = {2014},
  eprint = {1407.0107},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1407.0107},
}
Figure