Memory-Efficient Backpropagation through Large Linear Layers
원문 초록
In modern neural networks like Transformers, linear layers require significant memory to store activations during backward pass. This study proposes a memory reduction approach to perform backpropagation through linear layers. Since the gradients of linear layers are computed by matrix multiplications, we consider methods for randomized matrix multiplications and demonstrate that they require less memory with a moderate decrease of the test accuracy. Also, we investigate the variance of the gradient estimate induced by the randomized matrix multiplication. We compare this variance with the variance coming from gradient estimation based on the batch of samples. We demonstrate the benefits of the proposed method on the fine-tuning of the pre-trained RoBERTa model on GLUE tasks.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
Simple is what you need for efficient and accurate medical image segmentation
Attribution-guided Pruning for Compression, Circuit Discovery, and Targeted Correction in LLMs
FIMA-Q: Post-Training Quantization for Vision Transformers by Fisher Information Matrix Approximation
Advances in Small-Footprint Keyword Spotting: A Comprehensive Review of Efficient Models and Algorithms
Structured Pruning and Quantization for Learned Image Compression
FLAT-LLM: Fine-grained Low-rank Activation Space Transformation for Large Language Model Compression
토론
이 논문과 연결된 포럼 글이 아직 없습니다.