Approximate Sherali-Adams Relaxations for MAP Inference via Entropy Regularization

Jonathan N. Lee, Aldo Pacchiano, Michael I. JordanarXiv 2019 · OpenReview

Abstract

Maximum a posteriori (MAP) inference is a fundamental computational paradigm for statistical inference. In the setting of graphical models, MAP inference entails solving a combinatorial optimization problem to find the most likely configuration of the discrete-valued model. Linear programming (LP) relaxations in the Sherali-Adams hierarchy are widely used to attempt to solve this problem, and smooth message passing algorithms have been proposed to solve regularized versions of these LPs with great success. This paper leverages recent work in entropy-regularized LPs to analyze convergence rates of a class of edge-based smooth message passing algorithms to $\epsilon$-optimality in the relaxation. With an appropriately chosen regularization constant, we present a theoretical guarantee on the number of iterations sufficient to recover the true integral MAP solution when the LP is tight and the solution is unique.

Introduction

Maximum a posteriori (MAP) inference—the task of finding the most probable configuration of variables in a discrete graphical model—is a cornerstone of machine learning, with applications ranging from computer vision to genomics. However, exact MAP inference is NP-hard. To achieve tractability, researchers often employ Linear Programming (LP) relaxations, specifically within the Sherali-Adams hierarchy. While general-purpose LP solvers exist, they often fail to scale to the massive graphs encountered in modern applications.

This limitation led to the development of "smooth" message passing algorithms. These methods introduce an entropy regularization term to the objective, transforming the combinatorial problem into a smooth optimization task solvable via iterative updates. While empirically successful, a theoretical gap remained: the resulting solutions are "fuzzy" pseudo-marginals rather than discrete assignments. This work provides the first rigorous convergence rates for recovering the exact, integral MAP solution from these regularized estimates via simple rounding.

Methods

The authors analyze Entropy-Regularized MAP Inference using Edge-based Message Passing (EMP) algorithms. Two primary variants are considered: EMP-cyclic, which updates edges in a fixed sequence, and EMP-greedy, which prioritizes edges exhibiting the largest consistency errors.

The core of the approach relies on:

  • Bregman Projections: Updates are derived as closed-form projections onto affine constraints, ensuring local probability estimates move toward global consistency.
  • Lyapunov Analysis: Convergence is established by showing that each update increases a potential function proportional to the squared Hellinger distance of constraint violations.
  • $l_1$ Distance Guarantees: Unlike prior work focused on objective value convergence, this analysis proves convergence in $l_1$ distance. This is critical because $l_1$ proximity to the integral vertex determines the success of rounding.

A key insight is the "Rounding Threshold": the algorithm does not need to solve the regularized problem to infinite precision. Once the $l_1$ distance to the optimal relaxation solution is sufficiently small, rounding to the nearest integer is guaranteed to recover the true MAP solution. This recovery depends on a trade-off controlled by the regularization parameter $\eta$; larger $\eta$ values provide better approximations of the original MAP problem but result in a "flatter" optimization landscape that requires more iterations.

Results

The theoretical analysis establishes that EMP-cyclic reaches $\epsilon$-optimality in $O(\text{deg}(G)/\epsilon^2)$ iterations, while EMP-greedy achieves it in $O(1/\epsilon^2)$. Crucially, Theorem 3 provides a concrete bound on the iterations needed for MAP recovery, factoring in graph degree, edge count, and the "integrality gap."

Convergence of EMP-greedy and EMP-cyclic algorithms for different regularization strengths $\eta$.

Empirical validation was performed on Multi-label Potts models ($d=3$ states) across various topologies, including grids (up to 2500 nodes) and Erdős-Rényi random graphs. Ground truths were established using exact LP solvers on instances where the relaxation was known to be tight.

Recovery of integral MAP solutions across varying graph sizes and regularization parameters.

As shown in the convergence plots, the EMP-greedy variant significantly outperforms the cyclic version, reaching the rounding threshold much faster by focusing on the most inconsistent parts of the graph. Furthermore, the recovery analysis demonstrates that as the regularization parameter $\eta$ increases, the average Hamming distance to the optimal solution decreases across all graph sizes, confirming that higher regularization leads to more accurate recovery of the integral MAP.

Conclusion

This work bridges the gap between continuous entropy-regularized optimization and discrete MAP recovery. While the current theoretical guarantees assume the LP relaxation is tight and the solution is unique, the results provide a solid foundation for understanding the efficiency of smooth message passing. Future research may extend this $l_1$-based analysis to higher-order Sherali-Adams relaxations and more general block-coordinate minimization schemes.

Summary updated

Abstract

Maximum a posteriori (MAP) inference is a fundamental computational paradigm for statistical inference. In the setting of graphical models, MAP inference entails solving a combinatorial optimization problem to find the most likely configuration of the discrete-valued model. Linear programming (LP) relaxations in the Sherali-Adams hierarchy are widely used to attempt to solve this problem, and smooth message passing algorithms have been proposed to solve regularized versions of these LPs with great success. This paper leverages recent work in entropy-regularized LPs to analyze convergence rates of a class of edge-based smooth message passing algorithms to $\epsilon$-optimality in the relaxation. With an appropriately chosen regularization constant, we present a theoretical guarantee on the number of iterations sufficient to recover the true integral MAP solution when the LP is tight and the solution is unique.
BibTeX
@misc{lee2019approximate,
  author = {Jonathan N. Lee and Aldo Pacchiano and Michael I. Jordan},
  title = {{Approximate Sherali-Adams Relaxations for MAP Inference via Entropy Regularization}},
  year = {2019},
  eprint = {1907.01127},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1907.01127},
}
Figure