A

Shifting-based Optimizable Linear Relaxations for General Activation Functions

arXiv (Cornell University)

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.

Authors 4

  1. Karlsruhe Institute of Technology

    Affiliation as printed

    Karlsruhe Institute of Technology

  2. RWTH Aachen University

    Affiliation as printed

    RWTH Aachen University

  3. RWTH Aachen University

    Affiliation as printed

    RWTH Aachen University

  4. Karlsruhe University of Applied Sciences

    Affiliation as printed

    Karlsruhe University of Applied Sciences

Cited by 0 stored of 0

No patents citing this paper on Lens.org (checked 2026-10-06).

References 0