Saved in:
Bibliographic Details
Main Authors: Li, Sheng, Yuan, Geng, Dai, Yue, Zhang, Youtao, Wang, Yanzhi, Tang, Xulong
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2401.16720
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910311259308032
author Li, Sheng
Yuan, Geng
Dai, Yue
Zhang, Youtao
Wang, Yanzhi
Tang, Xulong
author_facet Li, Sheng
Yuan, Geng
Dai, Yue
Zhang, Youtao
Wang, Yanzhi
Tang, Xulong
contents There has been a proliferation of artificial intelligence applications, where model training is key to promising high-quality services for these applications. However, the model training process is both time-intensive and energy-intensive, inevitably affecting the user's demand for application efficiency. Layer freezing, an efficient model training technique, has been proposed to improve training efficiency. Although existing layer freezing methods demonstrate the great potential to reduce model training costs, they still remain shortcomings such as lacking generalizability and compromised accuracy. For instance, existing layer freezing methods either require the freeze configurations to be manually defined before training, which does not apply to different networks, or use heuristic freezing criteria that is hard to guarantee decent accuracy in different scenarios. Therefore, there lacks a generic and smart layer freezing method that can automatically perform ``in-situation'' layer freezing for different networks during training processes. To this end, we propose a generic and efficient training framework (SmartFRZ). The core proposed technique in SmartFRZ is attention-guided layer freezing, which can automatically select the appropriate layers to freeze without compromising accuracy. Experimental results show that SmartFRZ effectively reduces the amount of computation in training and achieves significant training acceleration, and outperforms the state-of-the-art layer freezing approaches.
format Preprint
id arxiv_https___arxiv_org_abs_2401_16720
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle SmartFRZ: An Efficient Training Framework using Attention-Based Layer Freezing
Li, Sheng
Yuan, Geng
Dai, Yue
Zhang, Youtao
Wang, Yanzhi
Tang, Xulong
Machine Learning
Computer Vision and Pattern Recognition
There has been a proliferation of artificial intelligence applications, where model training is key to promising high-quality services for these applications. However, the model training process is both time-intensive and energy-intensive, inevitably affecting the user's demand for application efficiency. Layer freezing, an efficient model training technique, has been proposed to improve training efficiency. Although existing layer freezing methods demonstrate the great potential to reduce model training costs, they still remain shortcomings such as lacking generalizability and compromised accuracy. For instance, existing layer freezing methods either require the freeze configurations to be manually defined before training, which does not apply to different networks, or use heuristic freezing criteria that is hard to guarantee decent accuracy in different scenarios. Therefore, there lacks a generic and smart layer freezing method that can automatically perform ``in-situation'' layer freezing for different networks during training processes. To this end, we propose a generic and efficient training framework (SmartFRZ). The core proposed technique in SmartFRZ is attention-guided layer freezing, which can automatically select the appropriate layers to freeze without compromising accuracy. Experimental results show that SmartFRZ effectively reduces the amount of computation in training and achieves significant training acceleration, and outperforms the state-of-the-art layer freezing approaches.
title SmartFRZ: An Efficient Training Framework using Attention-Based Layer Freezing
topic Machine Learning
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2401.16720