Achieving the Tightest Relaxation of Sigmoids for Formal Verification

Samuel Chevalier, Duncan Starkenburg, Krishnamurthy Dvijotham
8/20/2024
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

In the field of formal verification, Neural Networks (NNs) are typically reformulated into equivalent mathematical programs which are optimized over. To overcome the inherent non-convexity of these reformulations, convex relaxations of nonlinear activation functions are typically utilized. Common relaxations (i.e., static linear cuts) of "S-shaped" activation functions, however, can be overly loose, slowing down the overall verification process. In this paper, we derive tuneable hyperplanes which upper and lower bound the sigmoid activation function. When tuned in the dual space, these affine bounds smoothly rotate around the nonlinear manifold of the sigmoid activation function. This approach, termed $α$-sig, allows us to tractably incorporate the tightest possible, element-wise convex relaxation of the sigmoid activation function into a formal verification framework. We embed these relaxations inside of large verification tasks and compare their performance to LiRPA and $α$-CROWN, a state-of-the-art verification duo.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{chevalier2024achieving,
  title  = {Achieving the Tightest Relaxation of Sigmoids for Formal Verification},
  author = {Samuel Chevalier and Duncan Starkenburg and Krishnamurthy Dvijotham},
  year   = {2024},
  eprint = {2408.10491},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.10491v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2408.10491.svg)](https://codeofpaper.com/paper/2408.10491)

Discussion