Combinatorial Preconditioners for Proximal Algorithms on Graphs

Thomas Möllenhoff, Zhenzhang Ye, Tao Wu, Daniel Cremers

Abstract

We present a novel preconditioning technique for proximal optimization methods that relies on graph algorithms to construct effective preconditioners. Such combinatorial preconditioners arise from partitioning graph edges into a collection of forests. By leveraging fast $O(n)$ solvers for tree-structured subproblems, we achieve theoretically optimal condition numbers and significant speedups in total runtime for tasks like image segmentation and total variation denoising.

Introduction

Many fundamental problems in machine learning and computer vision—including image denoising, stereo matching, and trend filtering—are formulated as convex-concave saddle-point problems on graphs. A standard approach to solving these problems is the Primal-Dual Hybrid Gradient (PDHG) algorithm. However, PDHG often exhibits slow convergence. While preconditioning (scaling the algorithm's steps) can mitigate this, researchers typically rely on simple diagonal matrices. More complex, non-diagonal preconditioners often make the individual iterations too computationally expensive, negating any gains in convergence speed.

The challenge lies in identifying a preconditioner that significantly reduces the iteration count without substantially increasing the per-iteration cost.

Combinatorial Preconditioning Framework

The authors propose a class of "Combinatorial Preconditioners" that partition the edges of a complex graph into $L$ disjoint sets, where each set forms a forest (a collection of trees). This structure allows for the construction of a block-diagonal preconditioner $T$ that aligns with the graph's topology.

Graph Partitioning Strategies

The effectiveness of the preconditioner depends on how the graph is decomposed:

  • Chains on Regular Grids: For image-based graphs, splitting the grid into horizontal and vertical lines provides a simple yet effective decomposition.
  • Matroid Partitioning: This approach provides a mathematically rigorous method to find the minimum number of nested forests, yielding the best theoretical condition numbers, though it is computationally intensive for very large graphs.
  • Greedy Heuristics: For large-scale applications, "Greedy Nested Forests" and "Greedy Linear Forests" offer a balance between partitioning speed and preconditioning quality.
Comparison of graph partitioning strategies and their impact on the condition number $\kappa$.

Efficient Subproblem Solvers

The primary advantage of this forest-based decomposition is that the resulting subproblems are defined on trees. These can be solved exactly in linear time ($O(n)$) using message-passing algorithms, such as Kolmogorov’s tree solver. This ensures that the "expensive" part of the preconditioned step remains highly efficient.

Experimental Evaluation

The method was evaluated across a variety of benchmarks, including synthetic Erdős-Rényi graphs, computer vision tasks like stereo matching and interactive image segmentation, and semi-supervised machine learning datasets.

Key Insights and Results

The core innovation is the realization that while general graph optimization is difficult, optimization on a tree is solvable in $O(n)$. By structuring the preconditioner as a collection of trees, the algorithm can leverage efficient tree solvers to accelerate the global optimization process.

Performance Gains

  • Condition Number Optimization: For 2D grids, splitting the graph into horizontal and vertical chains reduces the condition number to $\sqrt{2}$, a significant improvement over the linear growth seen in unpreconditioned cases.
  • Iteration Reduction: In vision tasks like KZ2-sawtooth, the iteration count dropped from nearly 100,000 to just a few hundred.
  • Runtime Speedup: For interactive image segmentation, the "Linear Forest" approach demonstrated a 10x to 20x speedup over standard diagonal preconditioning.

Conclusion and Future Work

While combinatorial preconditioners offer substantial speedups, there are trade-offs. The overhead of computing the forest decomposition can be significant for general graphs, though greedy heuristics help. Additionally, the tree solver requires more memory to store messages compared to diagonal methods. Future research may focus on extending this framework beyond $L^1$ penalties to include Huber or $L^2$ regularizers by developing efficient tree solvers for those specific functions.

Summary updated

BibTeX
@inproceedings{mollenhoff2018combinatorial,
  author = {Thomas Möllenhoff and Zhenzhang Ye and Tao Wu and Daniel Cremers},
  title = {{Combinatorial Preconditioners for Proximal Algorithms on Graphs}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2018},
  url = {https://openreview.net/forum?id=2-FLc65bBX},
}
Figure