Solving Constrained Combinatorial Optimisation Problems via MAP Inference without High-Order Penalties

Zhen Zhang, Qinfeng Shi, Julian J. McAuley, Wei Wei, Yanning Zhang, Rui Yao, Anton van den Hengel

Introduction

Maximum A Posteriori (MAP) inference in graphical models is a cornerstone of computer vision and signal processing, used for tasks ranging from foreground detection to image reconstruction. However, incorporating global constraints (e.g., sparsity or budget constraints) into these models often introduces high-order penalty functions. Because the complexity of inference typically grows exponentially with the order of the objective function, these problems quickly become computationally intractable for large-scale datasets. This paper presents a novel approach to enforce global constraints without increasing the order of the problem, maintaining low computational complexity while ensuring feasibility.

Methodology

The proposed method avoids high-order penalties by "absorbing" constraints directly into the inference process through a dual-space formulation.

LP Relaxation and Duality

The authors begin by formulating the constrained combinatorial problem as a Linear Program (LP) relaxation. By reformulating general constraints to be linear in terms of local marginals, they can move to the dual problem using Lagrange multipliers ($\gamma$). These multipliers act as adaptive weights that penalize constraint violations.

For a fixed $\gamma$, the problem reduces to a standard MAP inference task, solvable via message-passing algorithms like Max-Product Linear Programming (MPLP). A key insight is that the dual function $g(\gamma)$ is piecewise linear and convex. This property allows the use of a highly efficient binary search to find the optimal Lagrange multipliers, rather than the slower sub-gradient descent methods typically employed in dual-based optimization.

Figure 1: Illustration of the dual function $g(\gamma)$ and its subgradient $\delta g(\gamma)$. The piecewise linear and convex nature of the dual function enables efficient binary search for the optimal Lagrange multiplier.

Experimental Evaluation

The method was evaluated across several domains, including foreground detection (Change Detection dataset), image reconstruction (ISO12233 Chart), protein folding (side-chain dataset), and the Quadratic Knapsack Problem (QKP).

Performance and Scalability

The proposed approach demonstrated significant improvements in both speed and scalability compared to state-of-the-art solvers. In foreground detection tasks, commercial solvers like CPLEX failed due to memory constraints on grids larger than $20 \times 20$, whereas the proposed method scaled linearly to much larger instances. For image reconstruction, the method was nearly twice as fast as Lim-Relax and six times faster than standard sub-gradient descent.

Figure 6: Running time comparison for foreground detection. The proposed method (blue) scales linearly with grid size ($n$) and significantly outperforms sub-gradient descent methods.

Conclusion

By working in the dual space and leveraging the specific structure of the dual function, this research provides a way to solve constrained combinatorial problems without the computational burden of high-order potentials. The method offers a robust guarantee of feasibility and superior performance on large-scale problems. Future work will focus on refining the "local decoding" schemes used to convert fractional LP solutions into discrete integer configurations.

Summary updated

BibTeX
@inproceedings{zhang2017solving,
  author = {Zhen Zhang and Qinfeng Shi and Julian J. McAuley and Wei Wei and Yanning Zhang and Rui Yao and Anton van den Hengel},
  title = {{Solving Constrained Combinatorial Optimisation Problems via MAP Inference without High-Order Penalties}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.1609/aaai.v31i1.11048},
}
Figure