[Paper Review] Inference in Graphical Models via Semidefinite Programming Hierarchies
This paper proposes a scalable semidefinite programming (SDP) approach for MAP inference in graphical models using a partial Sum-of-Squares (SOS) hierarchy, focusing on contiguous regions to reduce computational cost. By combining region-based SDP relaxations with a non-convex Burer-Monteiro method and a sequential rounding scheme, the method achieves state-of-the-art performance on large-scale problems like image denoising and Ising spin glasses, solving instances with 10,000 variables in minutes and outperforming BP and GBP.
Maximum A posteriori Probability (MAP) inference in graphical models amounts to solving a graph-structured combinatorial optimization problem. Popular inference algorithms such as belief propagation (BP) and generalized belief propagation (GBP) are intimately related to linear programming (LP) relaxation within the Sherali-Adams hierarchy. Despite the popularity of these algorithms, it is well understood that the Sum-of-Squares (SOS) hierarchy based on semidefinite programming (SDP) can provide superior guarantees. Unfortunately, SOS relaxations for a graph with $n$ vertices require solving an SDP with $n^{Θ(d)}$ variables where $d$ is the degree in the hierarchy. In practice, for $d\ge 4$, this approach does not scale beyond a few tens of variables. In this paper, we propose binary SDP relaxations for MAP inference using the SOS hierarchy with two innovations focused on computational efficiency. Firstly, in analogy to BP and its variants, we only introduce decision variables corresponding to contiguous regions in the graphical model. Secondly, we solve the resulting SDP using a non-convex Burer-Monteiro style method, and develop a sequential rounding procedure. We demonstrate that the resulting algorithm can solve problems with tens of thousands of variables within minutes, and outperforms BP and GBP on practical problems such as image denoising and Ising spin glasses. Finally, for specific graph types, we establish a sufficient condition for the tightness of the proposed partial SOS relaxation.
Motivation & Objective
- To address the scalability limitations of full SOS hierarchy SDP relaxations for MAP inference in graphical models, which require $ n^{\Theta(d)} $ variables and are infeasible for $ d \geq 4 $.
- To develop a computationally efficient alternative to high-degree SOS relaxations by restricting decision variables to contiguous regions in the graphical model.
- To improve upon belief propagation (BP) and generalized BP (GBP) by leveraging tighter SDP relaxations while maintaining tractability on large-scale problems.
- To establish theoretical conditions under which the proposed partial SOS relaxation is tight for specific graph structures.
Proposed method
- Proposes a partial SOS relaxation by introducing decision variables only for contiguous regions (e.g., triangles or plaquettes) in the graphical model, rather than all subsets.
- Uses a non-convex Burer-Monteiro style factorization to solve the resulting SDP efficiently, avoiding the high cost of full SDP solvers.
- Introduces a sequential rounding procedure (CLAP) to convert the relaxed solution into a discrete MAP estimate.
- Implements a lifting procedure that combines the partial SOS relaxation with the CLAP rounding to improve solution quality.
- Adds auxiliary edges (e.g., diagonals in grids) with zero-weight potentials to satisfy the region consistency condition (3.1) for the SOS hierarchy.
- Employs a hierarchy of relaxations up to degree $ d=4 $, referred to as PSOS(4), to balance solution quality and computational cost.
Experimental results
Research questions
- RQ1Can a partial SOS relaxation based on contiguous regions achieve better inference quality than BP and GBP while remaining scalable to large graphical models?
- RQ2What is the computational cost of applying SOS-based relaxations to problems with tens of thousands of variables, and can it be reduced using non-convex optimization?
- RQ3Under what conditions is the proposed partial SOS relaxation tight, ensuring exact MAP inference for specific graph types?
- RQ4How does the performance of the proposed method compare to BP and GBP on real-world problems like image denoising and Ising spin glasses?
- RQ5Can the proposed method achieve exact or near-exact solutions on small instances where exhaustive search is feasible?
Key findings
- The proposed PSOS(4) method successfully solves MAP inference problems with up to 10,000 variables in minutes, a significant improvement over prior SOS approaches limited to a few tens of variables.
- On image denoising tasks, PSOS(4) consistently achieves the highest objective function value and best reconstruction quality, often matching or surpassing GBP and BP.
- For Ising spin glasses on 2D grids, PSOS(4) achieved the exact global optimum in all 16 and 25-node instances where exhaustive search was possible.
- In 800 experiments on larger Ising spin glass instances (n=100, 400, 900), PSOS(4) achieved the largest objective value in every single case, outperforming BP, GBP, and other baselines.
- The CLAP rounding scheme, combined with PSOS(4), enables high-quality discrete solutions with reasonable runtime, taking approximately one hour for full execution on 10,000-variable problems.
- For specific graph types such as 2D grids with triangular regions, the paper establishes a sufficient condition under which the partial SOS relaxation is tight, guaranteeing exact inference.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.