Lune

ICLR2023Top-tier venue

Learning with Auxiliary Activation for Memory-Efficient Training

Sunghyeon Woo, Dongsuk Jeon

Abstract

While deep learning has achieved great success in various fields, a large amount of memory is necessary to train deep neural networks, which hinders the development of massive state-of-the-art models. The reason is the conventional learning rule, backpropagation, should temporarily store input activations of all the layers in the network. To overcome this, recent studies suggested various memory-efficient implementations of backpropagation. However, those approaches incur computational overhead due to the recomputation of activations, slowing down neural network training. In this work, we propose a new learning rule which significantly reduces memory requirements while closely matching the performance of backpropagation. The algorithm combines auxiliary activation with output activation during forward propagation, while only auxiliary activation is used during backward propagation instead of actual input activation to reduce the amount of data to be temporarily stored. We mathematically show that our learning rule can reliably train the networks whose loss landscape is convex if the auxiliary activation satisfies certain conditions. Based on this observation, we suggest candidates of auxiliary activation that satisfy those conditions. Experimental results confirm that the proposed learning rule achieves competitive performance compared to backpropagation in various models such as ResNet, Transformer, BERT, ViT, and MLP-Mixer.

Ask Lune

Ask anything. The answer shows its sources.

Lune reads the papers around it, then shows you the passages behind every answer.

Questions to start from

Lune answers from

its abstract · 2 top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Cited by top-tier papers2

  1. Reducing Fine-Tuning Memory Overhead by Approximate and Memory-Sharing BackpropagationYuchen Yang, Yingdong Shi, Cheems Wang, Xiantong Zhen et al.ICML 2024 · 5 citations
  2. PaCA: Partial Connection Adaptation for Efficient Fine-TuningSunghyeon Woo, Sol Namkung, Sunwoo Lee, Inho Jeong et al.ICLR 2025

Related papers

  1. Tempo: Accelerating Transformer-Based Model Training through Memory Footprint ReductionMuralidhar Andoorveedu, Zhanda Zhu, Bojian Zheng, Gennady PekhimenkoNeurIPS 2022 · 8 citations
  2. MODeL: Memory Optimizations for Deep LearningBenoit Steiner, Mostafa Elhoushi, Jacob Kahn, James HegartyICML 2023 · 17 citations
  3. NeuroFlux: Memory-Efficient CNN Training Using Adaptive Local LearningDhananjay Saikumar, Blesson VargheseEuroSys 2024 · 2 citations
  4. Towards Lossless Memory-efficient Training of Spiking Neural Networks via Gradient Checkpointing and Spike CompressionYifan Huang, Wei Fang, Zecheng Hao, Zhengyu Ma et al.ICLR 2026
  5. DIVISION: Memory Efficient Training via Dual Activation PrecisionGuanchu Wang, Zirui Liu, Zhimeng Jiang, Ninghao Liu et al.ICML 2023 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines