Partition-based formulations for mixed-integer optimization of trained ReLU neural networks

Calvin Tsay, Jan Kronqvist, Alexander Thebelt, Ruth Misener
2/8/2021
math.OCcs.LGstat.ML

Official code: cog-imperial/PartitionedFormulations_NN (3 stars, Python, Apache-2.0, last commit 2021-10-22).

Abstract

This paper introduces a class of mixed-integer formulations for trained ReLU neural networks. The approach balances model size and tightness by partitioning node inputs into a number of groups and forming the convex hull over the partitions via disjunctive programming.

Show full abstract

At one extreme, one partition per input recovers the convex hull of a node, i.e., the tightest possible formulation for each node. For fewer partitions, we develop smaller relaxations that approximate the convex hull, and show that they outperform existing formulations. Specifically, we propose strategies for partitioning variables based on theoretical motivations and validate these strategies using extensive computational experiments. Furthermore, the proposed scheme complements known algorithmic approaches, e.g., optimization-based bound tightening captures dependencies within a partition.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Implementation of partition-based formulations for mixed-integer optimization of trained ReLU neural networks

30PythonOct 11, 20215 years agoApache-2.0

Similar Papers

Cite this paper

@article{tsay2021partitionbased,
  title  = {Partition-based formulations for mixed-integer optimization of trained ReLU neural networks},
  author = {Calvin Tsay and Jan Kronqvist and Alexander Thebelt and Ruth Misener},
  year   = {2021},
  eprint = {2102.04373},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.04373}
}

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

Discussion