Feed-Forward Neural Networks as a Mixed-Integer Program

Navid Aftabi, Nima Moradi, Fatemeh Mahroo
2/9/2024
cs.LGcs.AImath.OC

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

Deep neural networks (DNNs) are widely studied in various applications. A DNN consists of layers of neurons that compute affine combinations, apply nonlinear operations, and produce corresponding activations. The rectified linear unit (ReLU) is a typical nonlinear operator, outputting the max of its input and zero. In scenarios like max pooling, where multiple input values are involved, a fixed-parameter DNN can be modeled as a mixed-integer program (MIP). This formulation, with continuous variables representing unit outputs and binary variables for ReLU activation, finds applications across diverse domains. This study explores the formulation of trained ReLU neurons as MIP and applies MIP models for training neural networks (NNs). Specifically, it investigates interactions between MIP techniques and various NN architectures, including binary DNNs (employing step activation functions) and binarized DNNs (with weights and activations limited to $-1,0,+1$). The research focuses on training and evaluating proposed approaches through experiments on handwritten digit classification models. The comparative study assesses the performance of trained ReLU NNs, shedding light on the effectiveness of MIP formulations in enhancing training processes for NNs.

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. 2 weaker matches are hidden by default — 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{aftabi2024feedforward,
  title  = {Feed-Forward Neural Networks as a Mixed-Integer Program},
  author = {Navid Aftabi and Nima Moradi and Fatemeh Mahroo},
  year   = {2024},
  eprint = {2402.06697},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.06697v1}
}

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

Discussion