A Complete Set of Quadratic Constraints for Repeated ReLU and Generalizations

Sahel Vahedi Noori, Bin Hu, Geir Dullerud, Peter Seiler
7/9/2024
cs.LGeess.SYmath.OC

No confident code implementation found for this paper.

Abstract

This paper derives a complete set of quadratic constraints (QCs) for the repeated ReLU. The complete set of QCs is described by a collection of matrix copositivity conditions. We also show that only two functions satisfy all QCs in our complete set: the repeated ReLU and flipped ReLU. Thus our complete set of QCs bounds the repeated ReLU as tight as possible up to the sign invariance inherent in quadratic forms. We derive a similar complete set of incremental QCs for repeated ReLU, which can potentially lead to less conservative Lipschitz bounds for ReLU networks than the standard LipSDP approach. The basic constructions are also used to derive the complete sets of QCs for other piecewise linear activation functions such as leaky ReLU, MaxMin, and HouseHolder. Finally, we illustrate the use of the complete set of QCs to assess stability and performance for recurrent neural networks with ReLU activation functions. We rely on a standard copositivity relaxation to formulate the stability/performance condition as a semidefinite program. Simple examples are provided to illustrate that the complete sets of QCs and incremental QCs can yield less conservative bounds than existing sets.

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{noori2024complete,
  title  = {A Complete Set of Quadratic Constraints for Repeated ReLU and Generalizations},
  author = {Sahel Vahedi Noori and Bin Hu and Geir Dullerud and Peter Seiler},
  year   = {2024},
  eprint = {2407.06888},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.06888v2}
}

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

Discussion