mlsanityData to 7 Oct 2026

XConv: Low-memory stochastic backpropagation for convolutional layers

arXiv 2106.06998 ↗First posted 13 Jun 2021cs.LG cs.NA math.NAcited by 0

Not on the map. Why?

Abstract (arXiv)

Training convolutional neural networks at scale demands substantial memory, largely because intermediate activations must be stored for backpropagation. Existing remedies (checkpointing, invertible architectures, or gradient-approximation methods such as randomized automatic differentiation) either add significant computation, impose architectural constraints, or require non-trivial code changes. We propose XConv, a near-drop-in replacement for standard 2D and 3D convolutional layers that addresses all three: it preserves standard backpropagation, imposes no architectural constraints, and integrates into existing codebases with minimal changes. XConv exploits the algebraic structure of convolutional weight gradients, storing highly compressed projections of the activations rather than the full tensors and approximating the gradients via multi-channel randomized trace estimation. The number of probing vectors sets a memory-accuracy tradeoff and recovers the exact gradient in the limit. We establish convergence guarantees and error bounds for the estimator, showing that its gradient-error variance is comparable to that of stochastic gradient descent. Empirically, XConv matches exact-gradient methods across classification, generative modeling, super-resolution, inpainting, and segmentation, with gaps that narrow as the number of probing vectors grows, while reducing activation memory by a factor of two or more when convolutional activations dominate, and remaining computationally competitive with optimized convolution kernels at larger batch sizes. At half precision the gradient-approximation error falls to the rounding floor, so XConv adds essentially no error beyond that of low-precision arithmetic. The savings matter most where activation memory rather than compute is the binding constraint, such as high-resolution and volumetric training and on-device finetuning.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 31 of its 67 references that are in the map. First posted on arXiv 13 Jun 2021.

Builds on

31 of 67 references.

References · 31

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  4. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
  5. 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
  6. 2017Deep Image Priorcited by 1,097
  7. 2016SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5MB model sizecited by 1,054
  8. 2016Training Deep Nets with Sublinear Memory Costcited by 825
  9. 2020Efficient Transformers: A Surveycited by 784
  10. 2015Deep Learning with Limited Numerical Precisioncited by 368
  11. 2017Stable Architectures for Deep Neural Networkscited by 340
  12. 2014cuDNN: Efficient Primitives for Deep Learningcited by 240
19 more
  1. 2016Direct Feedback Alignment Provides Learning in Deep Neural Networkscited by 240
  2. 2017The Reversible Residual Network: Backpropagation Without Storing Activationscited by 215
  3. 2016Gland Segmentation in Colon Histology Images: The GlaS Challenge Contestcited by 203
  4. 2015Adding Gradient Noise Improves Learning for Very Deep Networkscited by 144
  5. 2018i-RevNet: Deep Invertible Networkscited by 137
  6. 2019Training Neural Networks with Local Error Signalscited by 135
  7. 2019Painless Stochastic Gradient: Interpolation, Line-Search, and Convergence Ratescited by 119
  8. 2020Hutch++: Optimal Stochastic Trace Estimationcited by 62
  9. 2020Direct Feedback Alignment Scales to Modern Deep Learning Tasks and Architecturescited by 56
  10. 2019Understanding Generalization through Visualizationscited by 54
  11. 2018Fashionable Modelling with Fluxcited by 53
  12. 2021Dual-stream Network for Visual Recognitioncited by 33
  13. 2020Randomized Automatic Differentiationcited by 23
  14. 2019Optimal checkpointing for heterogeneous chains: how to train deep neural networks with limited memorycited by 22
  15. 2015Random Projections through multiple optical scattering: Approximating kernels at the speed of lightcited by 16
  16. 2020Memory Optimization for Deep Networkscited by 15
  17. 2019Efficient Convolutional Neural Network Training with Direct Feedback Alignmentcited by 8
  18. 2019Accelerated CNN Training Through Gradient Approximationcited by 3
  19. 2019Reversible designs for extreme memory cost reduction of CNN trainingcited by 1

Built on by

Not cited yet.