Abstract
Binary optimization is a central problem in mathematical optimization and its applications are abundant. To solve this problem, we propose a new class of continuous optimization techniques which is based on Mathematical Programming with Equilibrium Constraints (MPECs). We first reformulate the binary program as an equivalent augmented biconvex optimization problem with a bilinear equality constraint, then we propose two penalization/regularization methods (exact penalty and alternating direction) to solve it. The resulting algorithms seek desirable solutions to the original problem via solving a sequence of linear programming convex relaxation subproblems. In addition, we prove that both the penalty function and augmented Lagrangian function, induced by adding the complementarity constraint to the objectives, are exact, i.e., they have the same local and global minima with those of the original binary program when the penalty parameter is over some threshold. The convergence of both algorithms can be guaranteed, since they essentially reduce to block coordinate descent in the literature. Finally, we demonstrate the effectiveness and versatility of our methods on several important problems, including graph bisection, constrained image segmentation, dense subgraph discovery, modularity clustering and Markov random fields. Extensive experiments show that our methods outperform existing popular techniques, such as iterative hard thresholding, linear programming relaxation and semidefinite programming relaxation.
Introduction
Binary optimization—where variables are restricted to discrete values like $\{-1, 1\}^n$—is a cornerstone of computer vision, machine learning, and network analysis. However, because the search space grows exponentially ($2^n$), these problems are generally NP-hard.
Existing solutions usually fall into two camps:
- Relaxed Approximations: Methods like Linear Programming (LP) or Semidefinite Programming (SDP) relaxations turn the problem into a continuous one. While efficient, these often yield "loose" solutions that require heuristic rounding, which may not be optimal or even feasible.
- Equivalent Reformulations: Methods like "branch-and-cut" seek the exact solution but can be prohibitively slow in the worst-case scenario.
This paper proposes a "middle way": a continuous optimization approach that is computationally efficient like a relaxation but theoretically guaranteed to converge to a binary solution.
Methodology: The MPEC Reformulation
The core innovation is the MPEC reformulation. The authors prove that the binary constraint $x \in \{-1, 1\}^n$ is equivalent to a set of continuous constraints involving an auxiliary variable $v$: $$x^T v = n, \quad \|x\|_\infty \leq 1, \quad \|v\|_2^2 \leq n$$ This is known as a complementarity or equilibrium constraint. To solve this, two primary algorithms are proposed:
- MPEC-EPM (Exact Penalty Method): This adds a penalty term $\rho(n - x^T v)$ to the objective function. Crucially, the authors prove this penalty is "exact"—if the penalty parameter $\rho$ is large enough, the local/global minima of the continuous penalized function are identical to those of the original binary problem. Unlike many penalty methods where the penalty parameter must go to infinity, for binary optimization, the penalty only needs to exceed a finite threshold related to the Lipschitz constant of the objective function.
- MPEC-ADM (Alternating Direction Method): This uses an augmented Lagrangian framework to handle the bilinear constraint. It is more adaptive than the penalty method, as the multipliers update monotonically to enforce the binary constraint.
Both algorithms work by iteratively solving a sequence of convex subproblems (specifically, box-constrained or capped-simplex constrained LPs), making them highly efficient and compatible with existing convex solvers. Because the reformulated problem is biconvex, the algorithms essentially reduce to block coordinate descent, which has well-understood convergence properties.
Experimental Evaluation
The authors evaluated their methods on a wide array of benchmarks, including graph bisection on synthetic datasets and constrained image segmentation on the Weizman horses and MSRC datasets.
Key Results
The MPEC framework demonstrates significant improvements over traditional relaxation techniques across multiple metrics.
- Superior Accuracy: In graph bisection on the '4gauss' dataset, MPEC methods achieved an objective value of 186.9, significantly lower (better) than NCUT (230.0) and even the powerful SDP relaxation (194.6).
- State-of-the-Art in Subgraph Discovery: On the dblp-2010 dataset, MPEC-EPM achieved higher density scores than the Truncated Power Method (TPM) and standard greedy algorithms.
- Efficiency at Scale: Despite being an iterative method that calls an LP solver multiple times, the algorithms are remarkably fast. Even for the dblp-2011 graph (1M nodes), the method terminated in roughly 15 minutes on a standard desktop.
- Robustness: In MRF image segmentation, the MPEC solutions were qualitatively and quantitatively closer to the "ground truth" Graph Cut solutions than standard LP relaxations.
Conclusion
The MPEC framework offers a powerful new tool for binary optimization. By transforming discrete constraints into a biconvex problem with bilinear equality constraints, the proposed algorithms provide a robust and efficient alternative to standard relaxations.
While the method requires the objective function $f(x)$ to be convex on the continuous domain, and necessitates some empirical tuning of the penalty parameter, its performance across diverse applications is compelling. Future work will explore extending this framework to handle orthogonality constraints and spherical optimization problems.
Summary updated