IJCAI 2022poster10 citations

To Fold or Not to Fold: a Necessary and Sufficient Condition on Batch-Normalization Layers Folding

Edouard Yvinec, Arnaud Dapogny, Kevin Bailly

Abstract

Batch-Normalization (BN) layers have become fundamental components in the evermore complex deep neural network architectures. Such models require acceleration processes for deployment on edge devices. However, BN layers add computation bottlenecks due to the sequential operation processing: thus, a key, yet often overlooked component of the acceleration process is BN layers folding. In this paper, we demonstrate that the current BN folding approaches are suboptimal in terms of how many layers can be removed. We therefore provide a necessary and sufficient condition for BN folding and a corresponding optimal algorithm. The proposed approach systematically outperforms existing baselines and allows to dramatically reduce the inference time of deep neural networks.

Computer Vision: Machine Learning for VisionMachine Learning: Learning Sparse ModelsMachine Learning: Other
BibTeX
@inproceedings{ijcai2022p223,
  title     = {To Fold or Not to Fold: a Necessary and Sufficient Condition on Batch-Normalization Layers Folding},
  author    = {Yvinec, Edouard and Dapogny, Arnaud and Bailly, Kevin},
  booktitle = {Proceedings of the Thirty-First International Joint Conference on
               Artificial Intelligence, {IJCAI-22}},
  publisher = {International Joint Conferences on Artificial Intelligence Organization},
  editor    = {Lud De Raedt},
  pages     = {1601--1607},
  year      = {2022},
  month     = {7},
  note      = {Main Track},
  doi       = {10.24963/ijcai.2022/223},
  url       = {https://doi.org/10.24963/ijcai.2022/223},
}
To Fold or Not to Fold: a Necessary and Sufficient Condition on Batch-Normalization Layers Folding · IJCAI 2022