- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
The paper studies the numerical stability of differentiable primal-dual interior-point methods (IPMs) for quadratic programming in single-precision arithmetic. Although IPMs are very strong algorithms for contained programming but they have limited performance in singel precision regime. To address this issue, they propose an alternative implicit representation of the complementarity conditions based on an auxiliary variable and a retraction map, resulting in a modified condensed KKT system whose varying diagonal block remains bounded throughout the optimization process. Building on this formulation, the paper develops a differentiable interior-point framework consisting of three stages: solving the quadratic program, relaxing the solution to a prescribed central-path parameter, and computing gradients through the implicit function theorem. The proposed formulation is integrated into a primal-dual interior-point algorithm and implemented in a differentiable optimization framework. The method is evaluated on several benchmarks, including synthetic gradient-accuracy tests, bilevel trajectory optimization, and end-to-end learning of multi-agent safety filters. The experiments compare the proposed implicit complementarity formulation with a standard explicit primal-dual interior-point formulation under both single- and double-precision arithmetic. The results indicate that the proposed method provides more stable optimization and more accurate gradients in single precision while achieving performance comparable to double-precision implementations on the considered benchmark problems.
Strengths and weaknesses
This paper addresses an important practical challenge in optimization: enabling reliable primal-dual interior-point methods (IPMs) in single-precision arithmetic. The authors argue that the standard treatment of complementarity leads to increasingly ill-conditioned condensed KKT systems near optimality, making both optimization and implicit differentiation unreliable in low precision. To address this issue, the paper introduces an alternative implicit representation of complementarity together with a modified condensed linear system that avoids the explicit diagonal scaling present in conventional formulations. The resulting method is integrated into a differentiable interior-point framework and evaluated on synthetic benchmarks, bilevel trajectory optimization, and differentiable safety-filter learning.
Overall, I found the paper technically sound, well motivated, and clearly written. The proposed formulation is elegant, and the paper identifies a genuine numerical bottleneck that is becoming increasingly relevant as differentiable optimization is deployed on modern GPU hardware optimized for single-precision arithmetic. The experimental evaluation is comprehensive and consistently demonstrates that the proposed formulation substantially improves robustness and gradient quality relative to the standard explicit complementarity formulation in single precision. The paper is also exceptionally well organized, with clear notation, informative figures, and a logical presentation.
My primary reservation concerns the theoretical justification of the proposed formulation. The paper repeatedly motivates the method by stating that the resulting linear system is "spectrally bounded" and therefore avoids the numerical instabilities of conventional IPMs. However, the paper does not provide a rigorous analysis of the spectrum or conditioning of the complete KKT system. While the varying diagonal block is indeed bounded by construction, this alone does not immediately imply that the eigenvalues or condition number of the entire saddle-point system remain bounded. Since improved numerical conditioning is the central motivation of the paper, I believe a more rigorous theoretical analysis, such as eigenvalue bounds, condition number estimates, or factorization stability results, would significantly strengthen the contribution.
I believe the paper occasionally overstates the scope of its contribution. For example, the title suggests a general differentiable interior-point method, whereas the proposed framework is developed and evaluated specifically for quadratic programs. Similarly, parts of the abstract and introduction may leave the impression that the method applies broadly to differentiable optimization, while the current theoretical development and experiments are limited to QPs. In addition, the paper presents the proposed formulation as yielding a "spectrally bounded" system, although this claim is not established through rigorous theoretical analysis of the complete KKT system. Moderating these claims and more clearly emphasizing the current scope of the work would better align the presentation with the actual technical contributions.
The empirical evaluation convincingly isolates the proposed idea by comparing the implicit and explicit complementarity formulations within the same implementation. However, I would have appreciated broader comparisons with modern differentiable optimization software and GPU-oriented solvers to better position the practical advantages of the proposed approach beyond the baseline implementation. In addition, the current work is restricted to quadratic programs, and a more detailed discussion of how the proposed formulation might extend to second-order cone or semidefinite programming would help clarify its broader applicability.
Overall, despite these reservations, I believe the paper presents a meaningful contribution to differentiable optimization. The numerical insight is interesting, the experimental evidence supports the practical claims within the scope considered, and the paper addresses a problem of growing importance for optimization layers in machine learning. Strengthening the theoretical analysis and moderating some of the novelty claims would further improve an already solid contribution.
Questions
1- The implementation employs a relatively simple barrier parameter update. Can the authors comment on how naturally the proposed formulation integrates with Mehrotra predictor-corrector or other state-of-the-art interior-point strategies? Are any modifications required to preserve the numerical advantages of the proposed formulation? 2- The proposed framework is developed for quadratic programs. Can the authors comment on whether the implicit complementarity formulation naturally extends to more general conic optimization problems (e.g., SOCPs and SDPs), and what the main theoretical or algorithmic challenges would be in doing so? 3- One motivation of the paper is enabling reliable single-precision interior-point methods. Another widely used approach for improving numerical stability in low precision is mixed-precision iterative refinement. Recently iterative refinement techniques have been developed for optimization as well. Could the authors discuss how iterative refinement would perform on the standard explicit formulation, and whether it could mitigate the numerical issues identified in this paper?
Limitations
The authors discuss several practical limitations of the current work. However, I believe the manuscript should also explicitly acknowledge a theoretical limitation. The central motivation of the paper is the improved numerical conditioning of the proposed KKT formulation, yet the paper does not provide rigorous theoretical guarantees (e.g., eigenvalue or condition number bounds, or other conditioning results) for the complete linear system. Since the claimed numerical stability is supported primarily through empirical evidence, I encourage the authors to explicitly identify the absence of such theoretical guarantees as a current limitation and an important direction for future work.
Paper formatting concerns
I did not notice any major formatting, anonymity, or policy violations.
We thank the reviewer for the detailed and constructive assessment. We address the three concerns — the conditioning claim, the scope of the contribution, and the breadth of the solver comparison — and then the three questions.
Conditioning of the complete KKT system (primary reservation, Limitations). The reviewer is right: the manuscript asserts more than it establishes. The sentence in Sec. 4.2 — "the eigenvalues of the linear system remain strictly bounded by the derivative range of the retraction map" — presents a property of one block as if it were a property of the whole system, without stating the assumptions the full claim needs. We will replace it with the argument below.
The starting point is the structure of the reduced system in Eq. (14): all blocks are fixed by the problem data, and the barrier parameter enters in exactly one place, the diagonal block Bκ(−v). The argument has three steps.
We are equally clear about what this does not give. It is a limiting argument, not a quantitative condition-number bound with explicit constants, and says nothing about factorization stability. It also removes only the complementarity-induced blow-up; ill-conditioning present in Q, G, A is inherited, not cured. As the reviewer suggests, we will state the assumptions and list these missing guarantees as an explicit limitation and future direction.
We also produced direct empirical evidence, measuring the conditioning of the complete reduced KKT matrix along the interior-point trajectory of 150 QPs from the
OSQP benchmark(the five classes used below, three sizes, 10 each), solved in f64 at tolerance 1e-5. Both formulations reduce to a symmetric three-block system of the same size N=nx+meq+mineq (110–4531 here), so their condition numbers are comparable. Per solve we report, as median [p95] over instances, the growth gcond=log10(maxkcond2(Kk)/cond2(K0)) — degradation during the solve — and the worst value cmax=log10maxkcond2(Kk).implicitgcondexplicitgcondimplicitcmaxexplicitcmaxThree points. (i) The separation is systematic, not class-specific:
explicitdegrades by 7.3–9.9 orders of magnitude during the solve against 0.04–3.3 forimplicit, and its worst conditioning is 5.5–7.1 orders higher in every class. (ii) The absolute levels matter in low precision:implicitpeaks at 103.3–105.2, leaving margin even in f32 (unit roundoff ≈10−7), whereasexplicitpeaks at 109.1–1011.7, beyond what f32 can absorb — the failure mode its f32 success rates below exhibit. (iii) Oncontrol,implicitgrowth is essentially zero (0.04) — no iterate worse conditioned than the initialization, precisely the barrier-independence the argument predicts — whileexplicitreaches 1011. No solve of either formulation failed or went singular in f64. We keep this brief for space; if solicited, we are glad to share code and logs.Scope: convex QPs, and what carries over to other cones (scope concern, Q2). We agree the framing is too general for what is developed. Sec. 1 restricts the scope — extensions to other convex cones are beyond the present work — but the abstract and contribution list do not, and we will make the convex-QP scope explicit there and in the introduction.
On the extension itself: the IPM design (Algorithm 1) and the differentiability pipeline (Algorithms 2–3) carry over to other symmetric cones unchanged; only the retraction map bκ is cone-dependent.
The cost, however, does not carry over. The QP/LP retraction is diagonal and O(m); the SOCP retraction is linear in cone size but has a structured non-diagonal Jacobian; the SDP retraction is spectral, costing O(∑jnj3) over PSD blocks. We therefore treat the QP case as the foundation rather than claiming the general conic result: the representation is cone-general, the efficient instantiation is not yet. We will add a compact discussion to the main text and detail in the appendix.
Comparison against modern differentiable and GPU solvers. We agree the controlled ablation does not position the method against external solvers. During the rebuttal we ran a new evaluation over the same
OSQP benchmarkclasses at five sizes, 20 instances per size (500 QPs), also provided toReviewer qWMt, addingcuclarabel(GPU interior-point) andboxosqp(GPU ADMM, differentiable) to theexplicitbaseline — separate implementations, soexplicitremains the only fully controlled comparison. Every solution is re-verified externally in f64, and a solve succeeds only if the complete KKT residual meets the requested tolerance. In f64 all four solve 500/500 at every tolerance. In f32:implicitf32explicitf32cuclarabelf32boxosqpf32As the tolerance tightens the gap widens: at 1e-6,
implicitf32 succeeds on 497/500 (99.4%), against 413/500 for the best external solver and 154/500 forexplicit, with a median relative objective error of 3.1e-8. Its three misses remain finite (worst external KKT residual 2.83e-6, no NaNs). We report the cost openly: it is 2.2–5.4× slower thanexplicitf32, largely implementation-bound. See our response toReviewer qWMtfor dimensions, timings, and full analysis; we will add a dedicated benchmark subsection.Q1 — Mehrotra predictor–corrector and other IPM strategies. No modification is required to preserve the numerical properties. The corrector reuses the same matrix Kκ with a second right-hand side, and Bκ(−v) depends only on the iterate and κ, so centering and corrector heuristics change the right-hand side, not the spectrum of the factorized system, leaving the argument above unaffected. Sec. 5.1 already notes that the constant-σ update extends to adaptive schemes.
We did implement a Mehrotra-like predictor–corrector, with one observation worth recording: because z and s come from the retraction, an aggressive affine predictor targeting κ≈0 degrades the corrector step and stalls progress. With a less aggressive predictor it contributed little, so we removed it and kept the simple update; we will document this in the appendix.
Q3 — mixed-precision iterative refinement. Refinement would help the
explicitformulation, but it targets a different failure mode. Factorizing in f32, evaluating the residual in f64, and repeatedly solving correction equations with the same factors reduces the error in solving a given linear system; it does not change D(s⊘z), whose entries still tend to zero or infinity as κ→0. Refinement can therefore delay the loss of accuracy, but stagnates once the f32 factorization is too inaccurate as a preconditioner, and cannot recover from overflow or underflow incurred while forming or applying the system — the regime in whichexplicitf32 returns outright NaNs in Fig. 1 (bottom row).The two are thus complementary rather than competing: refinement corrects a computed solution, whereas our formulation removes the complementarity-induced spectral divergence in the first place, and the two can be combined. We will discuss this in the related work.
We hope this resolves the theoretical, scope, and evaluation concerns, and welcome further questions.