Learning to Design Convex Relaxations for Nonconvex Optimization

arXiv:2610.16948 · cs.LG, cs.MS · Submitted 2026-10-12 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.

Tom: I'm Tom.

Jane: And I'm Jane, here with Lu, Meng and our in-house large language model, Lalam.

Tom: Today's paper: "Learning to Design Convex Relaxations for Nonconvex Optimization".

Jane: The gist The method proposed in this paper, AutoConvexRelax, represents the symbolic formulation of a nonconvex problem as a tripartite graph linking variables, symbolic terms,

Tom: First, who's behind it and why it matters.

Title and authors: Tom: Let's look at who wrote this. It’s Jinrun Liua, Bai Yanb, Tengfei Liua, Qunfeng Liub, Jian Yanga, Shi Chengc, Yuhui Shia, and Qi Zhaoa from Southern University of Science and Technology in China >

Jane: They are working on how to make the design process for those convex relaxations learnable. The title itself says it’s about learning how to design them for nonconvex optimization >

Lu: I think what's interesting is that they start by framing this as a symbolic formulation. They take the problem and turn it into a tripartite graph linking variables, symbolic terms, and where those terms sit in the objective or constraint >

Meng: So, instead of just giving it raw equations to an AI, they give it a structured way to understand the problem's structure first. That sounds like a necessary step for scaling up any model >

Lalam: And this graph representation is what feeds into the policy that learns how to compose symbolic rewrites into problem-specific relaxation trajectories as the formulation evolves >

The paper's summary: Tom: The summary of AutoConvexRelax says it treats convex relaxation design as a sequence of validity-preserving symbolic transformations >

Jane: So, the system has a state, which is the current symbolic formulation, and an action specifies which term to relax and which admissible operator to apply >

Lu: The key part they emphasize is that this policy needs a decision state that keeps the symbolic semantics needed for relaxation design intact >

Meng: They use a Graph Neural Encoder to turn that complex graph representation into the state the policy actually uses, which seems like it handles the complexity of those couplings very well >

Lalam: And then they have this policy that selects a target term and chooses a relaxation operator conditioned on that term, and this whole process is only allowed if the action system satisfies conditions at every formulation state >

The paper's improvements: Tom: The authors suggest several improvements to make this process better. They focus on giving the policy a decision state that preserves the symbolic semantics needed for relaxation design, which I think is crucial >

Jane: It also talks about how they use a location head and an operator head, where the location head looks at embeddings contextualized by multihead self-attention >

Lu: And then there’s this validity enforcement system, which makes sure the policy only picks actions that are actually possible given the current formulation state >

Meng: The training method is also pretty specific: they train it through solver feedback, where the reward favors tighter lower bounds and penalizes formulation growth from auxiliary variables and constraints >

Lalam: And theoretically, they establish three guarantees: policy-independent composition validity, unified error propagation across heterogeneous representations, and feasible recovery with an optimality-gap certificate >

Conclusion: Tom: So to wrap up the AutoConvexRelax paper, they show that this learned construction process can be used to make convex relaxation design adaptive rather than manual >

Jane: The results are pretty solid. They showed that the policy constructs mixed trajectories that apply McCormick relaxations, semidefinite lifting, QCR, and integrality relaxation across different parts of a formulation >

Lu: The most telling part is how they learn to strengthen lightweight relaxations and approach semidefinite bounds without needing a full semidefinite construction >

Meng: They managed to improve the mean lower bound by twenty-one point eight eight percent over the Gurobi root relaxation and give tighter bounds on fifty-three point nine percent of the test instances across all their problems >

Lalam: This learned policy adapts its relaxation choices to problem structure, showing that SDP lifting appears in all families but its intensity is modulated by problem structure, which is a big finding >

Tom: It seems like this moves us from fixed handcrafted choices to an automated learning process that adapts to the specific structure of the problem we are solving >

Jane: And they proved it’s theoretically sound too. They have policy-independent validity for admissible compositions and conditions for feasible recovery with an optimality certification >

Lu: The paper points toward a future where AI can autonomously construct these relaxation trajectories by choosing target terms and admissible operators based on the current symbolic formulation state >

Meng: I'm still thinking about deployment—how much formulation growth is worth paying when you’re running this thing in production? That cost trade-off is something we need to figure out >

Lalam: Exactly, because they also showed how to optimize a reward function that includes step rewards for convexification progress and penalizing formulation growth >

Jinrun Liua, Bai Yanb, Tengfei Liua, Qunfeng Liub, Jian Yanga, Shi Chengc, Yuhui Shia, >Qi Zhao

Department of Computer Science and Engineering, Southern University of Science and Technology, Shenzhen · School of Computer Science and Technology, Dongguan University of Technology, Dongguan 523808, China · School of Artificial Intelligence and Computer Science, Shaanxi Normal University, Xi’an 710119

cs.LG, cs.MS

Submitted: 2026-10-12

Updated: 2026-10-14

Code: https://github.com/auto4opt/AutoConvexRelax

License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/

The gist: The gist 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

Key concepts

Tripartite Graph
This is a structural representation of the problem used as input for the learning model. It connects three types of elements: variables in the optimization problem, symbolic terms within those variables, and their corresponding positions in either the objective function or constraints. This structure allows the AI to understand how different parts of a complex mathematical formulation relate to each other.
Policy and Actions
The policy is an AI agent that decides which part of the current problem formulation needs relaxation next. An action is a specific choice, such as selecting a particular term to relax and choosing a valid relaxation operator (like McCormick or QCR) to apply. The policy learns this sequence by being rewarded for achieving better lower bounds.
Symbolic Transformations
The method treats the design of convex relaxations not as a single step, but as a series of valid symbolic changes to the problem formulation. The policy learns which transformations (rewrites) are permissible while ensuring the mathematical meaning and validity of the original nonconvex problem are preserved throughout this sequence.
Solver Feedback
The training process uses feedback from an existing solver to teach the policy. The reward system is designed to favor actions that lead to a tighter lower bound for the optimization problem. Conversely, it penalizes actions that unnecessarily increase the size of the formulation by adding extra variables or constraints.

Summary

The gist 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 and then learns a policy that composes symbolic rewrites into problem-specific relaxation trajectories as the formulation evolves.

Motivation

Nonconvex optimization appears throughout science and engineering from signal processing and communications to control, machine learning, and scientific computing Its difficulty comes from nonconvex couplings between variables such as bilinear products, indefinite quadratics, polynomial expressions, or more general nonlinear compositions Convex relaxation handles the difficulty by replacing the nonconvex structure with a tractable convex surrogate that gives a valid bound. A set of relaxation tools has been developed such as McCormick envelopes, moment relaxations, semidefinite relaxations, and branch-and-bound methods based on relaxation This makes relaxation design nontrivial. These choices remain largely manual.

Methodology

The AutoConvexRelax method treats convex relaxation design as a sequence of validity-preserving symbolic transformations. A state is the current symbolic formulation derived from the original nonconvex problem. An action specifies which term to relax and which admissible operator to apply. The key is to give the policy a decision state that preserves the symbolic semantics needed for relaxation design. This representation is a tripartite graph with nodes for variables, symbolic terms, and objective or constraint positions. A Graph Neural Encoder turns this representation into the state used by the policy.

Policy and Actions

The policy selects a target term and then chooses a relaxation operator conditioned on that target. The location head uses graph-level and candidate-term embeddings contextualized by multihead self-attention. The operator head combines the selected token with its domain and structural attributes. Validity is enforced by the action system, which only chooses from admissible actions whose applicability conditions are satisfied at the current formulation state. The policy is trained through solver feedback, where the reward favors tighter lower bounds and penalizes formulation growth from auxiliary variables and constraints.

Theoretical Guarantees

The analysis establishes three complementary guarantees: policy-independent composition validity, unified error propagation across heterogeneous representations, and feasible recovery with an optimality-gap certificate. Proposition 1 (Context-consistent composition) proves that any finite action sequence preserves valid bound semantics under explicit domain, occurrence-context, and representation-consistency conditions. Theorem 1 (Error propagation for mixed representations) derives computable objective and constraint discrepancy bounds by propagating local errors through mixed quadratic and fractional representations. Corollary 1 (Feasible recovery and optimality certification) establishes sufficient conditions for feasible recovery and a global-optimality certification based on the certified lower bound.

Results

Across 241 held-out QCQPs, 15 held-out fractional instances, and application-derived beamforming and sensor network localization problems, the learned policy constructs mixed trajectories that apply McCormick relaxations, semidefinite lifting, QCR, and integrality relaxation to different parts of a formulation. The learned trajectories strengthen lightweight relaxations and approach semidefinite bounds without committing to a full semidefinite construction. The learned trajectories improve the mean lower bound by 21.88% over the Gurobi root relaxation and give tighter bounds on 53.9% of the test instances. The policy adapts its relaxation choices to problem structure, with SDP lifting appearing in all families but its intensity modulated by problem structure. The learned policy transfers beyond standard QCQPs to fractional formulations, confirming that it can operate across symbolic expression classes. It also generalizes to application-derived problems, achieving near-exact performance on beamforming instances and consistently improving relaxation over McCormick for localization instances. The learned trajectories place and sequence relaxation mechanisms to achieve this trade-off, showing that the policy organizes them into a sequential program rather than a static collection of operators.

Conclusion

AutoConvexRelax makes convex relaxation design an executable, learnable construction process. The theoretical analysis establishes policy-independent validity for admissible compositions, unified mixed-error bounds, and sufficient conditions for feasible recovery and optimality certification. Experiments show that learned construction strengthens lightweight relaxations and approaches SDP bounds with smaller formulations. Structure-level and term-level analyses explain how selective placement and sequencing achieve this trade-off. Fractional and application-derived instances demonstrate transfer beyond standard QCQPs. Future work will expand the validity-checked operator library to broader factorable, polynomial, and mixed-integer nonlinear problems. The paper is available at https://github.com/auto4opt/AutoConvexRelax.

References

Anstreicher, K. M., Semidefinite programming versus the reformulation-linearization technique for nonconvex quadratically constrained quadratic programming Baltean-Lugojan, R., Bonami, P., Misener, R., & Tramontani, A., Scoring positive semidefinite cutting planes for quadratic optimization via trained neural networks [Preprint] Belotti, P., Kirches, C., Leyffer, S., Linderoth, J., Luedtke, J., & Mahajan, A., Mixedinteger nonlinear optimization Bengio, Y., Lodi, A., & Prouvost, A., Machine learning for combinatorial optimization: A methodological tour d’horizon Billionnet, A., Elloumi, S., & Plateau, M.-C., Improving the performance of standard solvers for quadratic 0–1 programs by a tight convex reformulation: The QCR method Goemans, M. X., & Williamson, D. P., Improved approximation algorithms for maximum cut and satisfiability problems using semidefinite programming Lasserre, J. B., Global optimization with polynomials and the problem of moments Luo, Z.-Q., Ma, W.-K., So, A. M.-C., Ye, Y., & Zhang, S., Semidefinite relaxation of quadratic optimization problems McCormick, G. P., Computability of global solutions to factorable nonconvex programs: Part I—convex underestimating problems Parrilo, P. A., Semidefinite programming relaxations for semialgebraic problems Paulus, M. B., Zarpellon, G., Krause, A., Charlin, L., & Maddison, C. J., Learning to cut by looking ahead: Cutting plane selection via imitation learning Peng, X., Liu, Y., Cang, Y., Zhang, Y., Wang, X., Deng, S., & Cao, J., NC2C: Automated convexification of generic non-convex optimization problems [Preprint] Sahinidis, N. V., BARON: A general purpose global optimization software package Schulman, J., Wolski, F., Dhariwal, P., Radford, A., & Klimov, O., Proximal policy optimization algorithms [Preprint] Xiong, Z., Zong, F., Ye, H., & Xu, H.

Improvements for AI systems

  1. The AutoConvexRelax method can be used to learn where to relax, which relaxation to use, and how much formulation growth is worth paying, moving from a fixed handcrafted choice to an automated learning process that adapts to problem structures. This allows AI systems to autonomously construct a relaxation trajectory by choosing target terms and admissible operators based on the current symbolic formulation state.

  2. AI systems can generate problem-specific relaxation trajectories that strengthen lightweight relaxations and approach semidefinite bounds without committing to a full semidefinite construction, as demonstrated by the results where learned trajectories achieve a mean lower bound of 3.70% below strengthened semidefinite relaxations on the normalized comparison metric, while it uses substantially smaller formulations.

  3. The system can perform structural adaptation by learning how to combine heterogeneous relaxation actions and select them based on problem structure; for example, the policy learns to apply SDP lifting appears in all families, but its intensity is modulated by problem structure, matching the need to handle nonconvex curvature through lifting in concave quadratic objectives.

  4. AI systems can achieve policy-independent validity for admissible compositions and derive sufficient conditions for feasible recovery and global-optimality certification through theoretical guarantees like Proposition 1, ensuring that any finite action sequence preserves valid bound semantics, independently of policy quality.

  5. The system can generate novel convex surrogates by optimizing a reward function that includes step rewards for convexification progress, structural simplification, and penalizing formulation growth (The step reward is r t = α T [r prog t + r struct t + r dense t] - β Cost]t - ξt).

Sources

Related papers