Efficient and Robust Mixed-Integer Optimization Methods for Training Binarized Deep Neural Networks

Jannis Kurtz, Bubacarr Bah
10/21/2021
math.OCcs.LG

Official code: JannisKu/BDNN2021 (0 stars, Python, last commit 2021-10-22).

Abstract

Compared to classical deep neural networks its binarized versions can be useful for applications on resource-limited devices due to their reduction in memory consumption and computational demands. In this work we study deep neural networks with binary activation functions and continuous or integer weights (BDNN).

Show full abstract

We show that the BDNN can be reformulated as a mixed-integer linear program with bounded weight space which can be solved to global optimality by classical mixed-integer programming solvers. Additionally, a local search heuristic is presented to calculate locally optimal networks. Furthermore to improve efficiency we present an iterative data-splitting heuristic which iteratively splits the training set into smaller subsets by using the k-mean method. Afterwards all data points in a given subset are forced to follow the same activation pattern, which leads to a much smaller number of integer variables in the mixed-integer programming formulation and therefore to computational improvements. Finally for the first time a robust model is presented which enforces robustness of the BDNN during training. All methods are tested on random and real datasets and our results indicate that all models can often compete with or even outperform classical DNNs on small network architectures confirming the viability for applications having restricted memory or computing power.

View on arXivView PDF

Code Implementations(1)

JannisKu/BDNN2021Official100%

Code related to the publication: Efficient and Robust Mixed-Integer Optimization Methods for Training Binarized Deep Neural Networks, J. Kurtz and B. Bah, 2021

00PythonOct 22, 20215 years ago

Similar Papers

Cite this paper

@article{kurtz2021efficient,
  title  = {Efficient and Robust Mixed-Integer Optimization Methods for Training Binarized Deep Neural Networks},
  author = {Jannis Kurtz and Bubacarr Bah},
  year   = {2021},
  eprint = {2110.11382},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.11382}
}

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

Discussion