Skip to content
DraconiticResearch
Search Sources API
190,839 studies31 sourcesUpdated 50 min ago
PreprintCC BY 4.0arXiv

Sparse Sum-of-Squares Layers for Certified Learning

Abstract

A central limitation of modern machine learning systems is the lack of formal certificates guaranteeing their behavior beyond empirical, sample-based evaluation. Sum-of-squares (SOS) methods provide such guarantees by certifying polynomial inequalities over continuous domains via semidefinite programming (SDP). While prior work has introduced SDP layers as differentiable components in neural networks, repeated learning calls can lose the computational benefit of the forward program's sparse representation. We propose Sparse SOS Layers, differentiable value layers whose backward passes reuse the local coordinates of the forward solve. Under a fixed template and learned objective coefficients, each layer avoids building dense certificates and reuses its sparse structure across training steps. Compared with existing methods, our approach achieves up to 2.7 times speedup in total warm-call time, with nearly 100 times lower memory usage (1.7 vs. 160 GiB) for relatively large problem sizes for the tested dense parameterization. Experiments cover sparse polynomial certification, pendulum control, combinatorial relaxations, robotics projection, oscillator chains, and pose graph synchronization. A design study achieves zero certified violations across unseen problem instances and sizes, while requiring roughly 7 times fewer optimization solves than estimating gradients by perturbing the objective coefficients and re-solving the problem (finite differences). These results show that sparse certificate values can be effectively integrated into learning pipelines when the backward pass respects the verifier's structure.

Related

  1. Learning Graded Sparse Mechanisms: A Representation Theorem and Certified Generalization
    Mark Kozdoba, Shie Mannor
    arXivPreprintCC BY 4.0Full textStatisticsarXiv
  2. A Bilevel Neurodynamic Approach for Distributed SCAD-Regularized Sparse Least Squares
    Juntao Li, Qihang Guo, Deyuan Meng
    arXivPreprintarXiv licenceFull textOptimisation & controlarXiv
  3. Practical Semialgebraic Optimization via Sparse Sample-Based Sum-of-Squares Programming
    Jason Nezvadovitz, David M. Rosen
    arXivPreprintarXiv licenceFull textOptimisation & controlarXiv
  4. Certified Alpha Capacity: Statistical Arbitrage When Learning Takes Time
    Nicolò Bonacorsi
    arXivPreprintarXiv licenceFull textStatisticsarXiv
  5. A Large-Dimensional Analysis of Least-Squares Federated Learning via Generalized Total Variation Minimization
    Ekkehard Schnoor, Malik Tiomoko, Alexander Jung
    arXivPreprintarXiv licenceFull textStatisticsarXiv
BibTeX
@misc{gursoy2026sparse,
  title = {{Sparse Sum-of-Squares Layers for Certified Learning}},
  author = {Ege Gursoy and Nicolas Mansard},
  howpublished = {arXiv},
  year = {2026},
  month = oct,
  doi = {10.48550/arxiv.2610.34590},
  eprint = {2610.34590},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.34590},
  note = {CC BY 4.0},
}
RIS
TY  - UNPB
TI  - Sparse Sum-of-Squares Layers for Certified Learning
AU  - Ege Gursoy
AU  - Nicolas Mansard
PY  - 2026
DA  - 2026/10/25
PB  - arXiv
DO  - 10.48550/arxiv.2610.34590
UR  - https://arxiv.org/abs/2610.34590
AB  - A central limitation of modern machine learning systems is the lack of formal certificates guaranteeing their behavior beyond empirical, sample-based evaluation. Sum-of-squares (SOS) methods provide such guarantees by certifying polynomial inequalities over continuous domains via semidefinite programming (SDP). While prior work has introduced SDP layers as differentiable components in neural networks, repeated learning calls can lose the computational benefit of the forward program's sparse representation. We propose Sparse SOS Layers, differentiable value layers whose backward passes reuse the local coordinates of the forward solve. Under a fixed template and learned objective coefficients, each layer avoids building dense certificates and reuses its sparse structure across training steps. Compared with existing methods, our approach achieves up to 2.7 times speedup in total warm-call time, with nearly 100 times lower memory usage (1.7 vs. 160 GiB) for relatively large problem sizes for the tested dense parameterization. Experiments cover sparse polynomial certification, pendulum control, combinatorial relaxations, robotics projection, oscillator chains, and pose graph synchronization. A design study achieves zero certified violations across unseen problem instances and sizes, while requiring roughly 7 times fewer optimization solves than estimating gradients by perturbing the objective coefficients and re-solving the problem (finite differences). These results show that sparse certificate values can be effectively integrated into learning pipelines when the backward pass respects the verifier's structure.
ER  -