Reproduce “Semidefinite relaxations for certifying robustness to adversarial examples” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Aditi Raghunathan, Jacob Steinhardt, Percy Liang

Researchers from Stanford University introduced a new semidefinite programming (SDP) relaxation method for certifying neural network robustness against adversarial examples, achieving a certified error rate of 18% on a PGD-trained MNIST model with L-infinity epsilon=0.1. This approach provides significantly tighter and more generalizable robustness guarantees than previous convex relaxation techniques.

Key insights

  • Re-expressing the non-convex ReLU activation function as a combination of linear and quadratic constraints enables its precise integration into a tractable SDP formulation.
  • The SDP's positive semidefinite matrix constraint intrinsically couples variables, allowing it to reason jointly about different network activations, yielding a significantly tighter feasible set compared to LP relaxations that decouple units.
  • A theoretical dimension-dependent gap exists between LP and SDP relaxations, where SDP provides substantially tighter bounds (e.g., Theta(m*sqrt(d) + d*sqrt(m)) vs. Theta(md)), demonstrating its superior power for robustness certification.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.