Let's Make Block Coordinate Descent Go Fast: Faster Greedy Rules, Message-Passing, Active-Set Complexity, and Superlinear Convergence

Julie Nutini, Issam Laradji, Mark SchmidtarXiv 2017 · arXiv

Abstract

Block coordinate descent (BCD) methods are widely-used for large-scale numerical optimization because of their cheap iteration costs, low memory requirements, amenability to parallelization, and ability to exploit problem structure. Three main algorithmic choices influence the performance of BCD methods: the block partitioning strategy, the block selection rule, and the block update rule. In this paper we explore all three of these building blocks and propose variations for each that can lead to significantly faster BCD methods. We (i) propose new greedy block-selection strategies that guarantee more progress per iteration than the Gauss-Southwell rule; (ii) explore practical issues like how to implement the new rules when using variable blocks; (iii) explore the use of message-passing to compute matrix or Newton updates efficiently on huge blocks for problems with a sparse dependency between variables; and (iv) consider optimal manifold identification, which leads to bounds on the active set complexity of BCD methods and leads to superlinear convergence for certain problems with sparse solutions (and in some cases finite termination at an optimal solution). We support all of our findings with numerical results for the classic machine learning problems of least squares, logistic regression, multi-class logistic regression, label propagation, and L1-regularization.

Introduction

In the era of large-scale machine learning, Block Coordinate Descent (BCD) has emerged as a cornerstone algorithm due to its memory efficiency and natural suitability for parallelization. Unlike full-gradient methods that update all variables simultaneously, BCD updates a subset, or "block," of variables at each iteration. While conceptually simple, the performance of BCD is highly dependent on three critical design choices: the strategy for partitioning variables into blocks, the rule for selecting which block to update, and the specific update rule applied to the chosen block.

Most standard implementations rely on randomized or cyclic selection and simple gradient updates. However, these defaults often leave significant performance on the table. This paper systematically explores how to leverage problem structure and greedy selection to maximize progress per iteration without incurring prohibitive computational overhead.

Methodology: Enhancing the BCD Building Blocks

The authors propose several novel enhancements across the three fundamental components of BCD:

1. Advanced Greedy Selection

Standard greedy selection, such as the Gauss-Southwell (GS) rule, typically selects blocks based on gradient magnitude. This paper introduces more sophisticated rules: Gauss-Southwell-Lipschitz (GSL) and Gauss-Southwell-Quadratic (GSQ). These rules incorporate coordinate-wise Lipschitz constants or Hessian information to select blocks that guarantee the greatest functional decrease, rather than just the steepest local slope.

2. Variable Block Strategies

While many BCD implementations use a fixed partition of variables, the authors demonstrate that "variable blocks"—where any subset of coordinates can form a block—can significantly outperform fixed partitions when paired with greedy selection rules.

3. Message-Passing for Large-Scale Updates

For problems with sparse variable dependencies (representable as a graph), the authors employ message-passing techniques, akin to Gaussian Belief Propagation. This allows for the efficient computation of exact Newton updates on "forest-structured" blocks (subgraphs without cycles). Remarkably, this approach enables linear-time updates even for very large blocks, bypassing the cubic complexity of traditional matrix inversion.

4. Active-Set Identification and Superlinear Convergence

For non-smooth objectives like L1-regularized problems (e.g., LASSO), the authors prove that BCD eventually identifies the "active manifold"—the set of non-zero variables in the optimal solution. Once this manifold is identified, the algorithm can transition to a second-order update scheme, achieving local superlinear convergence or even finite termination.

Experimental Evaluation

The proposed methods were evaluated across several benchmark machine learning tasks:

  • Sparse Least Squares and Binary Logistic Regression: 10,000 variables.
  • Multi-class Logistic Regression: 50,000 variables across 50 classes.
  • Lattice-structured Quadratic: 2,400 variables, simulating image processing dependencies.
  • Label Propagation: 1,900 variables on an unstructured sparse graph.

Key Insights and Results

The empirical results highlight several critical takeaways:

  • Efficiency of Greedy Rules: GSL and GSQ rules consistently required fewer iterations to reach target accuracies compared to randomized or standard GS rules. While greedy selection has a higher per-iteration cost, for many sparse problems, this is offset by the massive gains in convergence speed.
  • Matrix vs. Gradient Updates: Using a fixed upper bound on the Hessian ("matrix updates") or the instantaneous Hessian ("Newton updates") consistently outperformed simple gradient steps, especially in non-quadratic settings.
  • Scalability via Message-Passing: The message-passing framework allowed for updating blocks of thousands of variables in the same time typically required for a small handful of variables using dense methods.
  • Sorting for Partitioning: When fixed blocks are necessary, partitioning variables by sorting their Lipschitz constants proved superior to random partitioning.

Practical Recommendations for BCD Optimization

Based on the extensive theoretical and empirical analysis, the authors provide a set of heuristics for choosing BCD variants based on the problem characteristics.

Summary of algorithmic recommendations based on problem characteristics.

Limitations and Future Directions

Despite the performance gains, some challenges remain:

  • Selection Overhead: Greedy rules are most effective when the gradient is sparse or cheap to compute. In dense settings, the selection cost may outweigh the convergence benefits.
  • Optimal Block Size: While larger blocks generally improve iteration efficiency, there is a trade-off with computational cost. Automatically determining the optimal block size $\tau$ for a given hardware/problem pair remains an open question.
  • Graph Structure: Current message-passing techniques are optimized for forest-structured blocks. Extending these to low-treewidth graphs could broaden the applicability of high-efficiency large-block updates.

Conclusion

By moving beyond simple randomized gradient steps and embracing greedy selection, variable blocking, and structured second-order updates, practitioners can significantly accelerate BCD. The integration of message-passing and active-set identification further pushes the boundaries, offering a path toward superlinear convergence in large-scale optimization.

Summary updated

Abstract

Block coordinate descent (BCD) methods are widely-used for large-scale numerical optimization because of their cheap iteration costs, low memory requirements, amenability to parallelization, and ability to exploit problem structure. Three main algorithmic choices influence the performance of BCD methods: the block partitioning strategy, the block selection rule, and the block update rule. In this paper we explore all three of these building blocks and propose variations for each that can lead to significantly faster BCD methods. We (i) propose new greedy block-selection strategies that guarantee more progress per iteration than the Gauss-Southwell rule; (ii) explore practical issues like how to implement the new rules when using variable blocks; (iii) explore the use of message-passing to compute matrix or Newton updates efficiently on huge blocks for problems with a sparse dependency between variables; and (iv) consider optimal manifold identification, which leads to bounds on the active set complexity of BCD methods and leads to superlinear convergence for certain problems with sparse solutions (and in some cases finite termination at an optimal solution). We support all of our findings with numerical results for the classic machine learning problems of least squares, logistic regression, multi-class logistic regression, label propagation, and L1-regularization.
BibTeX
@misc{nutini2017let,
  author = {Julie Nutini and Issam Laradji and Mark Schmidt},
  title = {{Let's Make Block Coordinate Descent Go Fast: Faster Greedy Rules, Message-Passing, Active-Set Complexity, and Superlinear Convergence}},
  year = {2017},
  eprint = {1712.08859},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1712.08859},
}

Loading related content...

Figure