In-place Activated BatchNorm for Memory-Optimized Training of DNNs

By Samuel Rota Bulò, Lorenzo Porzi, Peter Kontschieder. 2017

377 citations recorded by the source corpus.

In this work we present In-Place Activated Batch Normalization (INPLACE-ABN) - a novel approach to drastically reduce the training memory footprint of modern deep neural networks in a computationally efficient way. Our solution substitutes the conventionally used succession of BatchNorm + Activation layers with a single plugin layer, hence avoiding invasive framework surgery while providing straightforward applicability for existing deep learning frameworks. We obtain memory savings of up to 50% by dropping intermediate results and by recovering required information during the backward pass through the inversion of stored forward results, with only minor increase (0.8-2%) in computation time. Also, we demonstrate how frequently used checkpointing approaches can be made computationally as efficient as INPLACE-ABN. In our experiments on image classification, we demonstrate on-par results on ImageNet-1k with state-of-the-art approaches. On the memory-demanding task of semantic segmentation, we report competitive results for COCO-Stuff and set new state-of-the-art results for Cityscapes and Mapillary Vistas. Code can be found at https://github.com/mapillary/inplace_abn.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Optimization & Training

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Alan L. Yuille
  2. Quoc V. Le
  3. Trevor Darrell
  4. Luc Van Gool
  5. Bernt Schiele
  6. Mohit Bansal
  7. Jianfeng Gao
  8. Dacheng Tao

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Dacheng Tao
  3. Alan L. Yuille
  4. Ming-Hsuan Yang
  5. Xiaogang Wang
  6. Trevor Darrell
  7. Bernt Schiele
  8. Jitendra Malik

In Optimization & Training

  1. Soham De
  2. Samuel L. Smith
  3. Andrew Brock
  4. Quoc V. Le
  5. Alan L. Yuille
  6. Ross B. Girshick
  7. Karen Simonyan
  8. Jingdong Wang

Citations in the corpus