- https://doi.org/10.1109/icftic57696.2022.10075185
Memory-efficient Combination of Tensor Decomposition and Recomputation for Training CNNs
- Dec 2, 2022
- Baofang Wang +1 more
Tensor decomposition and recomputation are two common strategies used to to accelerate training and save memory during the training phase of deep neural network, respectively, allowing researchers to consider larger models, batch sizes, or higher-resolution data. Tensor decomposition reduces parameters and computation by decomposing weight tensors, while recomputation trades computation time for memory. As These two strategies are independent and have their own advantages and disadvantages, it is applealing to consider the simultaneous combination of two strategies to save more memory and complement each other. We analyze existing tensor decomposition algorithms and recomputation techniques, and we propose a memory-optimized algorithm that effectively combines them, and finally evaluate the performance of the proposed algorithm on commonly used deep neural networks and computing platforms. Our experiments show that tensor decomposition can partially or even completely eliminate the extra time overhead caused by recomputation, and that together they can reduce the memory consumption of the training phase by about 41 %, while the loss of accuracy is less than 1.5%.
- # Tensor Decomposition
- # Loss Of Accuracy
- # Batch Sizes
- # Deep Neural Network
- # Training Phase
- # Common Strategies
- # Higher-resolution Data
- # Larger Models
- # Extra Overhead
- # Tensor Decomposition Algorithms