arXiv:2610.26285cs.LGOct 2026

Manuscript Offprint

arXiv:2610.26285

Learning SOCP Solver Dynamics with Graph Neural Networks

Adam Ghalem, Lou Salaün, Davide Rinaldi, Fragkiskos D. Malliaros

Abstract

Second-order cone programs (SOCPs) are a fundamental class of convex optimization problems widely applied across engineering domains. Classical interior-point methods are robust and accurate, but their iterative nature can be costly in real-time or repeated-solve settings. This has motivated learning-based solvers that approximate optimizer solutions with neural networks. Recent work has increasingly studied graph neural networks (GNNs) for linear, quadratic, and second-order cone optimization, leveraging their ability to model sparse relational structure among variables, constraints, and objective functions. Most existing GNN-based solvers compress the optimization process into a single forward pass, predicting the optimizer directly without using the intermediate trajectory produced by classical solvers. We introduce SOCPNet, a recursive GNN framework that uses solver trajectories to learn an iterative SOCP solution procedure. A shared GNN model is applied repeatedly, refining the current iterate at each step and enabling inference for a variable number of iterations. Rather than predicting the solution in a single pass, SOCPNet learns from intermediate iterates to progressively refine its estimates using a trajectory-regularized training procedure. We evaluate SOCPNet on multiple datasets spanning standard SOCP problem classes and show that it consistently reduces the final solution error relative to a SOCP-GNN baseline. Finally, we demonstrate how trained SOCPNet models can be used in a hybrid optimization pipeline by warm-starting a classical interior-point solver, reducing solver iterations without loss of accuracy.

1 Introduction

Second-order cone programming (SOCP) is a fundamental class of convex optimization problems underlying a wide range of engineering applications, including wireless communications and signal processing [1, 2]. Traditional SOCP solvers rely on interior-point methods (IPMs) [3, 4], which are robust and accurate but iterative and computationally demanding, limiting their use in real-time [5] or repeated-solve settings. This has motivated learning-based optimization, where graph neural networks (GNNs) exploit the sparsity and variable-constraint structure of the problem [6–10], with applications to SOCP-specific tasks such as power control in telecommunication networks [5, 11] and to SOCP subclasses such as linear and quadratically constrained quadratic programs [12–14].

Most existing learning-based solvers adopt an end-to-end formulation in which a GNN predicts the optimal solution x∗\mathbf{x}^* in a single forward pass. This compresses the solver dynamics into a fixed-depth computation and discards the intermediate iterates generated by classical solvers during training-data construction. In contrast, we train a GNN to recursively refine an SOCP iterate using information from the IPM trajectory {x(0),…,x(T)}\{\mathbf{x}^{(0)}, \ldots, \mathbf{x}^{(T)}\} (Fig. 1). Our empirical hypothesis is that recasting SOCP solving as recursive solution refinement yields more accurate predictions than direct endpoint regression, by decomposing the solution process into a sequence of learned local updates. Moreover, the learned trajectory is operationally useful: it produces increasingly refined, approximately feasible iterates that can be used to warm-start an exact solver.

A. Ghalem et al., Learning SOCP Solver Dynamics with Graph Neural Networks. Proceedings of the Fifth Learning on Graphs Conference (LoG 2026), PMLR 338, Boston, MA, USA, November 20 – 22, 2026.

Figure

Figure 1: A single shared SOCPNet is applied recursively.

Our objective is to train a GNN-based solver that, given an SOCP instance, returns an iterate that (i) approximates the optimal solution x∗x^* and (ii) satisfies the problem constraints to high accuracy.

Unlike standard algorithm unrolling, which typically maps a fixed number of optimization iterations to a fixed-depth network with distinct or layer-specific parameters [15], here we introduce SOCPNet which reuses a single shared update model for all iterations. This shared recursion allows the model to be evaluated for more steps at inference than were used during training. It also requires the learned update to remain stable under repeated application. In practice, a naively trained recursive model is not contractive: when unrolled beyond the training horizon, its iterates may stop improving and drift away from the solution (Section 3.2). We therefore introduce training and architectural components that explicitly promote stable long-horizon refinement.

Because the learned recursion is computationally efficient but approximate, we further use SOCPNet as a warm-start mechanism for IPOPT [4], a widely used interior-point solver for constrained nonlinear programming. After a small number of learned refinement steps, the SOCPNet iterate is passed to IPOPT as the initial point, placing the solver closer to the optimum and reducing the number of iterations required for high-accuracy convergence (Section 4.5).

Contributions. (i) We formulate SOCP solving as recursive trajectory learning and introduce SOCPNet, a single shared GNN update applied for a variable number of steps to approximate an IPM trajectory rather than only its endpoint. (ii) We develop a stability-oriented training procedure for long-horizon recursive inference, combining residual updates, step-size control, trajectory and endpoint supervision, KKT-informed features, and feasibility/objective losses. (iii) We evaluate SOCPNet on diverse SOCP datasets, and provide an ablation study to show that a naively trained recursion drifts without the proposed procedure. (iv) We demonstrate that SOCPNet can warm-start IPOPT, reducing interior-point iterations by 33% – 45% without degrading final solution accuracy. Code is available at https://github.com/nokia/SOCPNet.

References (26)