Alternating Randomized Block Coordinate Descent

Jelena Diakonikolas, Lorenzo Orecchia

Abstract

Block-coordinate descent algorithms and alternating minimization methods are fundamental optimization algorithms and an important primitive in large-scale optimization and machine learning. While various block-coordinate-descent-type methods have been studied extensively, only alternating minimization -- which applies to the setting of only two blocks -- is known to have convergence time that scales independently of the least smooth block. A natural question is then: is the setting of two blocks special? We show that the answer is "no" as long as the least smooth block can be optimized exactly -- an assumption that is also needed in the setting of alternating minimization. We do so by introducing a novel algorithm AR-BCD, whose convergence time scales independently of the least smooth (possibly non-smooth) block. The basic algorithm generalizes both alternating minimization and randomized block coordinate (gradient) descent, and we also provide its accelerated version -- AAR-BCD. As a special case of AAR-BCD, we obtain the first nontrivial accelerated alternating minimization algorithm.

Introduction

In large-scale machine learning and optimization, Block Coordinate Descent (BCD) is a workhorse. Instead of updating all variables simultaneously, BCD updates a small "block" of variables at a time, which is computationally efficient for high-dimensional problems. However, a significant bottleneck exists: the convergence speed of standard randomized BCD is limited by the "smoothness" of the function across all blocks. If even one block of variables is highly non-smooth or non-differentiable, it can drastically slow down the entire optimization process.

Historically, Alternating Minimization (AM) was the only exception to this rule. In a two-block setting where one block can be solved exactly, the convergence speed depends only on the smoothness of the other block. This paper explores whether this "magic" property is unique to the two-block setting and introduces a framework to extend it to $n > 2$ blocks.

The AR-BCD Framework

The authors introduce two primary algorithms to address the smoothness bottleneck:

  1. AR-BCD (Alternating Randomized Block Coordinate Descent): This algorithm partitions variables into $n$ blocks. In each iteration, it randomly selects one of the first $n-1$ blocks to perform a gradient descent step. Crucially, it then follows this with an exact optimization of the $n$-th block (the "least smooth" one).
  2. AAR-BCD (Accelerated AR-BCD): An accelerated version using Nesterov-style momentum. This achieves the optimal $O(1/k^2)$ convergence rate while maintaining independence from the $n$-th block's smoothness.

To analyze these methods, the authors utilize the Approximate Duality Gap technique, which tracks the difference between an upper bound and a constructed lower bound of the optimal value, simplifying the proof of convergence for first-order methods.

Experimental Evaluation

The methods were evaluated using the BlogFeedback Data Set (UCI Machine Learning Repository), which involves predicting the number of comments on blog posts using 280 attributes across 52,396 data points. This dataset is ideal for testing because the smoothness parameters of individual coordinates vary wildly (from 0 to ~354), creating a clear bottleneck for traditional methods.

Smoothness distribution and convergence performance across different block ratios.

As shown in the experimental results, the distribution of smoothness parameters is highly skewed. By isolating the least smooth coordinates into a block that is optimized exactly, AR-BCD and AAR-BCD effectively "neutralize" the bottleneck.

Key Results and Insights

  • The Two-Block Setting Isn't Special: The property where one block's poor smoothness doesn't hinder the algorithm can be extended to any number of blocks.
  • Exact Optimization as a Solution: As long as the most difficult block can be solved exactly (common in structures like least squares), its smoothness parameter disappears from the convergence complexity. The theoretical speedup is significant: convergence scales with the sum of smoothness parameters of only the first $n-1$ blocks ($\sum_{i=1}^{n-1} L_i$).
  • Empirical Superiority: In practice, AAR-BCD consistently reaches lower optimality gaps faster than standard cyclic BCD, randomized BCD, and other accelerated baselines.
Convergence of accelerated methods (AAR-BCD) compared to state-of-the-art baselines.

Conclusion and Future Work

AR-BCD unifies and generalizes two major algorithm classes: standard Alternating Minimization (when $n=2$) and Randomized Block Coordinate Descent (when the $n$-th block is empty). While the current work focuses on smooth convex functions and a single "bad" block, future research may extend these principles to strongly convex cases and scenarios with multiple non-smooth blocks. This framework provides a powerful new tool for optimizing large-scale problems with heterogeneous smoothness characteristics.

Summary updated

BibTeX
@inproceedings{diakonikolas2018alternating,
  author = {Jelena Diakonikolas and Lorenzo Orecchia},
  title = {{Alternating Randomized Block Coordinate Descent}},
  booktitle = {International Conference on Machine Learning},
  year = {2018},
}
Figure