Tree Block Coordinate Descent for MAP in Graphical Models

David A. Sontag, Tommi S. Jaakkola

Introduction

Finding the Maximum A Posteriori (MAP) assignment—the most likely configuration of variables in a graphical model—is a fundamental task in machine learning, with applications ranging from computer vision to computational biology. However, for complex graphs with cycles, this problem is NP-hard. To address this, researchers frequently employ Linear Programming (LP) relaxations to approximate the solution.

While powerful, the algorithms used to solve these relaxations, such as max-product or message passing, often rely on "local" updates that modify only one node or edge at a time. These local steps can be prohibitively slow to converge. Furthermore, the field has historically been fragmented, with various dual formulations (e.g., TRW-S, MPLP) making it difficult to compare or combine techniques. This paper addresses these challenges by unifying these algorithms under a single theoretical framework and introducing "tree block coordinate descent" updates that significantly accelerate convergence.

A Unified Dual Framework

One of the paper's primary contributions is the demonstration that several disparate algorithms—including Schlesinger’s max-sum diffusion, Tree-Reweighted Message Passing (TRW-S), and Max-Product Linear Programming (MPLP)—are actually minimizing the same dual objective function, denoted as $J(f)$.

The differences between these algorithms lie in their "reparameterizations"—the specific ways they shuffle "energy" or potentials between nodes and edges. By establishing this equivalence, the authors provide a common language for the field, allowing practitioners to understand these methods as different coordinate systems for the same underlying optimization problem. This unification also enables explicit formulas to transform one dual representation into another without increasing the objective value, allowing for the "hot-swapping" of algorithmic frameworks.

Tree Block Coordinate Descent

The core innovation of the paper is the shift from local updates to "tree block" updates. Since MAP inference is exactly solvable on trees in linear time, the authors propose treating entire spanning trees as the fundamental unit of optimization (a "block") in coordinate descent.

The authors introduce two specific procedures for these updates:

  1. Max-Marginal Updates: Utilizing standard max-marginals derived from a max-product run on a tree.
  2. Sequential Updates: A leaf-to-root and root-to-leaf message-passing scheme that ensures the dual objective is minimized for that specific tree in linear time.

By updating an entire tree at once, the algorithm can propagate information across the graph much faster than node-local methods. This approach also leads to the creation of a Monotone TRW algorithm. While the original TRW algorithm was not guaranteed to improve the objective at every step, plugging in these tree block updates ensures that the objective value never increases, providing a more stable and reliable optimization path.

Theoretical Guarantees and Decodability

The paper provides several rigorous proofs to support these new methods:

  • Tree Optimality (Prop 4.1): The proposed tree block procedures are proven to attain the exact MAP value for any tree-structured model.
  • Monotonicity (Prop 4.2): The new TRW variant is formally proven to be strictly monotonic.
  • Node Local Decodability (Theorem 6.5): The authors establish the conditions under which a unique, discrete MAP solution can be "decoded" from the continuous LP dual. They show that for tree-structured models, these updates construct a solution where the MAP assignment can be read directly from the nodes, provided the LP relaxation is "tight" (the approximation is perfect) and the MAP assignment is unique.

Limitations and Future Work

While the theoretical framework is robust, the paper focuses primarily on pairwise Markov Random Fields (MRFs). Although generalizations to higher-order models are possible, they are not detailed in this work. Additionally, because the paper is primarily theoretical, it does not provide extensive empirical benchmarks on massive real-world datasets, such as high-resolution stereo vision grids.

Furthermore, even with tree block updates, coordinate descent can still encounter difficulties with specific cyclic structures where the LP relaxation is not tight. The authors suggest that future research could explore deriving similar block updates specifically for cycles to further improve convergence in these challenging cases.

Summary updated

BibTeX
@article{sontag2009tree,
  author = {David A. Sontag and Tommi S. Jaakkola},
  title = {{Tree Block Coordinate Descent for MAP in Graphical Models}},
  journal = {AISTATS},
  year = {2009},
}
Figure