Memory-Efficient Implementation of DenseNets. Pleiss, G., Chen, D., Huang, G., Li, T., van der Maaten, L., & Weinberger, K. Q. July, 2017. arXiv:1707.06990 [cs]
Paper doi abstract bibtex The DenseNet architecture is highly computationally efficient as a result of feature reuse. However, a naive DenseNet implementation can require a significant amount of GPU memory: If not properly managed, pre-activation batch normalization and contiguous convolution operations can produce feature maps that grow quadratically with network depth. In this technical report, we introduce strategies to reduce the memory consumption of DenseNets during training. By strategically using shared memory allocations, we reduce the memory cost for storing feature maps from quadratic to linear. Without the GPU memory bottleneck, it is now possible to train extremely deep DenseNets. Networks with 14M parameters can be trained on a single GPU, up from 4M. A 264-layer DenseNet (73M parameters), which previously would have been infeasible to train, can now be trained on a single workstation with 8 NVIDIA Tesla M40 GPUs. On the ImageNet ILSVRC classification dataset, this large DenseNet obtains a state-of-the-art single-crop top-1 error of 20.26%.
@misc{pleiss_memory-efficient_2017,
title = {Memory-{Efficient} {Implementation} of {DenseNets}},
url = {http://arxiv.org/abs/1707.06990},
doi = {10.48550/arXiv.1707.06990},
abstract = {The DenseNet architecture is highly computationally efficient as a result of feature reuse. However, a naive DenseNet implementation can require a significant amount of GPU memory: If not properly managed, pre-activation batch normalization and contiguous convolution operations can produce feature maps that grow quadratically with network depth. In this technical report, we introduce strategies to reduce the memory consumption of DenseNets during training. By strategically using shared memory allocations, we reduce the memory cost for storing feature maps from quadratic to linear. Without the GPU memory bottleneck, it is now possible to train extremely deep DenseNets. Networks with 14M parameters can be trained on a single GPU, up from 4M. A 264-layer DenseNet (73M parameters), which previously would have been infeasible to train, can now be trained on a single workstation with 8 NVIDIA Tesla M40 GPUs. On the ImageNet ILSVRC classification dataset, this large DenseNet obtains a state-of-the-art single-crop top-1 error of 20.26\%.},
language = {en},
urldate = {2023-08-17},
publisher = {arXiv},
author = {Pleiss, Geoff and Chen, Danlu and Huang, Gao and Li, Tongcheng and van der Maaten, Laurens and Weinberger, Kilian Q.},
month = jul,
year = {2017},
note = {arXiv:1707.06990 [cs]},
keywords = {\#Analysis, \#CNN, /unread, Computer Science - Computer Vision and Pattern Recognition},
}
Downloads: 0
{"_id":"qrAyxnSPmDnduLq6C","bibbaseid":"pleiss-chen-huang-li-vandermaaten-weinberger-memoryefficientimplementationofdensenets-2017","author_short":["Pleiss, G.","Chen, D.","Huang, G.","Li, T.","van der Maaten, L.","Weinberger, K. Q."],"bibdata":{"bibtype":"misc","type":"misc","title":"Memory-Efficient Implementation of DenseNets","url":"http://arxiv.org/abs/1707.06990","doi":"10.48550/arXiv.1707.06990","abstract":"The DenseNet architecture is highly computationally efficient as a result of feature reuse. However, a naive DenseNet implementation can require a significant amount of GPU memory: If not properly managed, pre-activation batch normalization and contiguous convolution operations can produce feature maps that grow quadratically with network depth. In this technical report, we introduce strategies to reduce the memory consumption of DenseNets during training. By strategically using shared memory allocations, we reduce the memory cost for storing feature maps from quadratic to linear. Without the GPU memory bottleneck, it is now possible to train extremely deep DenseNets. Networks with 14M parameters can be trained on a single GPU, up from 4M. A 264-layer DenseNet (73M parameters), which previously would have been infeasible to train, can now be trained on a single workstation with 8 NVIDIA Tesla M40 GPUs. On the ImageNet ILSVRC classification dataset, this large DenseNet obtains a state-of-the-art single-crop top-1 error of 20.26%.","language":"en","urldate":"2023-08-17","publisher":"arXiv","author":[{"propositions":[],"lastnames":["Pleiss"],"firstnames":["Geoff"],"suffixes":[]},{"propositions":[],"lastnames":["Chen"],"firstnames":["Danlu"],"suffixes":[]},{"propositions":[],"lastnames":["Huang"],"firstnames":["Gao"],"suffixes":[]},{"propositions":[],"lastnames":["Li"],"firstnames":["Tongcheng"],"suffixes":[]},{"propositions":["van","der"],"lastnames":["Maaten"],"firstnames":["Laurens"],"suffixes":[]},{"propositions":[],"lastnames":["Weinberger"],"firstnames":["Kilian","Q."],"suffixes":[]}],"month":"July","year":"2017","note":"arXiv:1707.06990 [cs]","keywords":"#Analysis, #CNN, /unread, Computer Science - Computer Vision and Pattern Recognition","bibtex":"@misc{pleiss_memory-efficient_2017,\n\ttitle = {Memory-{Efficient} {Implementation} of {DenseNets}},\n\turl = {http://arxiv.org/abs/1707.06990},\n\tdoi = {10.48550/arXiv.1707.06990},\n\tabstract = {The DenseNet architecture is highly computationally efficient as a result of feature reuse. However, a naive DenseNet implementation can require a significant amount of GPU memory: If not properly managed, pre-activation batch normalization and contiguous convolution operations can produce feature maps that grow quadratically with network depth. In this technical report, we introduce strategies to reduce the memory consumption of DenseNets during training. By strategically using shared memory allocations, we reduce the memory cost for storing feature maps from quadratic to linear. Without the GPU memory bottleneck, it is now possible to train extremely deep DenseNets. Networks with 14M parameters can be trained on a single GPU, up from 4M. A 264-layer DenseNet (73M parameters), which previously would have been infeasible to train, can now be trained on a single workstation with 8 NVIDIA Tesla M40 GPUs. On the ImageNet ILSVRC classification dataset, this large DenseNet obtains a state-of-the-art single-crop top-1 error of 20.26\\%.},\n\tlanguage = {en},\n\turldate = {2023-08-17},\n\tpublisher = {arXiv},\n\tauthor = {Pleiss, Geoff and Chen, Danlu and Huang, Gao and Li, Tongcheng and van der Maaten, Laurens and Weinberger, Kilian Q.},\n\tmonth = jul,\n\tyear = {2017},\n\tnote = {arXiv:1707.06990 [cs]},\n\tkeywords = {\\#Analysis, \\#CNN, /unread, Computer Science - Computer Vision and Pattern Recognition},\n}\n\n\n\n","author_short":["Pleiss, G.","Chen, D.","Huang, G.","Li, T.","van der Maaten, L.","Weinberger, K. Q."],"key":"pleiss_memory-efficient_2017","id":"pleiss_memory-efficient_2017","bibbaseid":"pleiss-chen-huang-li-vandermaaten-weinberger-memoryefficientimplementationofdensenets-2017","role":"author","urls":{"Paper":"http://arxiv.org/abs/1707.06990"},"keyword":["#Analysis","#CNN","/unread","Computer Science - Computer Vision and Pattern Recognition"],"metadata":{"authorlinks":{}},"downloads":0,"html":""},"bibtype":"misc","biburl":"https://bibbase.org/zotero/zzhenry2012","dataSources":["nZHrFJKyxKKDaWYM8"],"keywords":["#analysis","#cnn","/unread","computer science - computer vision and pattern recognition"],"search_terms":["memory","efficient","implementation","densenets","pleiss","chen","huang","li","van der maaten","weinberger"],"title":"Memory-Efficient Implementation of DenseNets","year":2017}