Learning to Design Convex Relaxations for Nonconvex Optimization

Jinrun Liu, Bai Yan, Tengfei Liu, Qunfeng Liu, Jian Yang +3 more
10/12/2026
cs.LGcs.MS

Official code: auto4opt/AutoConvexRelax (0 stars, Python, last commit 2026-09-02).

Abstract

Convex relaxations make nonconvex optimization tractable by replacing hard nonconvex problems with convex surrogates that give valid bounds. Yet their design is still largely manual: a human expert must decide where to relax, which relaxation to use, and how much formulation growth is worth paying.

Show full abstract

We show that this design process can be learned. The method proposed in this paper, AutoConvexRelax, represents the symbolic formulation of a nonconvex problem as a tripartite graph linking variables, symbolic terms, and their objective or constraint positions. It then learns a policy that composes symbolic rewrites into problem-specific relaxation trajectories as the formulation evolves. We prove that finite action sequences generated by the learned policy preserve relaxation validity under explicit domain, occurrence-context, and representation-consistency conditions. We further establish computable error bounds for mixed relaxations and sufficient conditions for feasible recovery and global-optimality certification. As a first instantiation, we apply the method to nonconvex quadratic problems and fractional problems. On 241 benchmark quadratic instances, the learned policy strengthens McCormick lower bounds by 13.52%. Its mean lower bound is 3.70% below strengthened semidefinite relaxations on the normalized comparison metric, while it uses substantially smaller formulations. The learned policy retains this trade-off on fractional instances and reaches near-semidefinite bounds on beamforming and sensor-network localization instances. These results suggest that convex relaxation design can move from a fixed handcrafted choice to an automated learning process that adapts to problem structures. Code is available at https://github.com/auto4opt/AutoConvexRelax.

View on arXivView PDF

Code Implementations(1)

Learning to design convex relaxations for nonconvex optimization.

00Python, ShellSep 2, 20263 months agoNOASSERTION

Similar Papers

Cite this paper

@article{liu2026learning,
  title  = {Learning to Design Convex Relaxations for Nonconvex Optimization},
  author = {Jinrun Liu and Bai Yan and Tengfei Liu and Qunfeng Liu and Jian Yang and Shi Cheng and Yuhui Shi and Qi Zhao},
  year   = {2026},
  eprint = {2610.16948},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.16948v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.16948.svg)](https://codeofpaper.com/paper/2610.16948)

Discussion