Training Acceleration Method Based on Parameter Freezing
Open Access
- 30 May 2024
- journal article
- research article
- Published by MDPI AG in Electronics
- Vol. 13 (11) , 2140
Abstract
As deep learning has evolved, larger and deeper neural networks are currently a popular trend in both natural language processing tasks and computer vision tasks. With the increasing parameter size and model complexity in deep neural networks, it is also necessary to have more data available for training to avoid overfitting and to achieve better results. These facts demonstrate that training deep neural networks takes more and more time. In this paper, we propose a training acceleration method based on gradually freezing the parameters during the training process. Specifically, by observing the convergence trend during the training of deep neural networks, we freeze part of the parameters so that they are no longer involved in subsequent training and reduce the time cost of training. Furthermore, an adaptive freezing algorithm for the control of freezing speed is proposed in accordance with the information reflected by the gradient of the parameters. Concretely, a larger gradient indicates that the loss function changes more drastically at that position, implying that there is more room for improvement with the parameter involved; a smaller gradient indicates that the loss function changes less and the learning of that part is close to saturation, with less benefit from further training. We use ViTDet as our baseline and conduct experiments on three remote sensing target detection datasets to verify the effectiveness of the method. Our method provides a minimum speedup ratio of 1.38×, while maintaining a maximum accuracy loss of only 2.5%.Keywords
This publication has 26 references indexed in Scilit:
- Exploring Plain Vision Transformer Backbones for Object Detection2022
- FAIR1M: A benchmark dataset for fine-grained object recognition in high-resolution remote sensing imageryISPRS Journal of Photogrammetry and Remote Sensing, 2022
- Object detection in optical remote sensing images: A survey and a new benchmarkISPRS Journal of Photogrammetry and Remote Sensing, 2020
- Libra R-CNN: Towards Balanced Learning for Object Detection2019
- DOTA: A Large-Scale Dataset for Object Detection in Aerial Images2018
- ShuffleNet: An Extremely Efficient Convolutional Neural Network for Mobile Devices2018
- Multi-class geospatial object detection based on a position-sensitive balancing framework for high spatial resolution remote sensing imageryISPRS Journal of Photogrammetry and Remote Sensing, 2018
- A Gift from Knowledge Distillation: Fast Optimization, Network Minimization and Transfer Learning2017
- SSD: Single Shot MultiBox Detector2016
- Rich Feature Hierarchies for Accurate Object Detection and Semantic Segmentation2014