Shifting-based Optimizable Linear Relaxations for General Activation Functions

Philipp Kern, László Antal, Erika Ábráham, Carsten Sinz
6/18/2026
cs.LGcs.LO

No confident code implementation found for this paper.

Abstract

The use of neural networks (NNs) is rapidly increasing, including in safety- and security-critical domains. To provide formal guarantees about NN behavior, many verification methods rely on optimizable linear relaxations of activation functions. However, existing techniques depend on hand-crafted relaxations for each activation function. Extension to state-of-the-art activation functions therefore requires substantial manual effort. In contrast, our approach SLiR (Shifting-based Linear Relaxations) is broadly applicable, requiring only a Lipschitz constant or a set of critical points. SLiR parameterizes relaxations by their slope and computes the corresponding offset via a shifting procedure that ensures sound upper and lower bounds over the input domain, enabling efficient optimization while maintaining correctness. Our experiments show that SLiR produces tight relaxations across a wide range of practical activation functions and enables verification of up to 7.8x more properties compared to state-of-the-art methods.

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{kern2026shiftingbased,
  title  = {Shifting-based Optimizable Linear Relaxations for General Activation Functions},
  author = {Philipp Kern and László Antal and Erika Ábráham and Carsten Sinz},
  year   = {2026},
  eprint = {2606.20292},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.20292v1}
}

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/2606.20292.svg)](https://codeofpaper.com/paper/2606.20292)

Discussion