Unrolled Graph Neural Networks for Constrained Optimization
Samar Hadou, Alejandro Ribeiro
TL;DR
This work addresses constrained optimization by learning to emulate the dual ascent dynamics through two coupled GNNs that unroll primal and dual updates. A nested training framework enforces layerwise descent in the primal and ascent in the dual, enabling the models to capture DA dynamics while remaining robust to distribution shifts. Experiments on mixed-integer quadratic programs demonstrate near-optimal, near-feasible solutions and strong out-of-distribution generalization, with fast inference via a single forward pass. Overall, the approach yields scalable, robust learned solvers for constrained problems.
Abstract
In this paper, we unroll the dynamics of the dual ascent (DA) algorithm in two coupled graph neural networks (GNNs) to solve constrained optimization problems. The two networks interact with each other at the layer level to find a saddle point of the Lagrangian. The primal GNN finds a stationary point for a given dual multiplier, while the dual network iteratively refines its estimates to reach an optimal solution. We force the primal and dual networks to mirror the dynamics of the DA algorithm by imposing descent and ascent constraints. We propose a joint training scheme that alternates between updating the primal and dual networks. Our numerical experiments demonstrate that our approach yields near-optimal near-feasible solutions and generalizes well to out-of-distribution (OOD) problems.
