AutoFreeze: Automatically Freezing Model Blocks to Accelerate Fine-tuning
Not on the map. Why?
Abstract (arXiv)
With the rapid adoption of machine learning (ML), a number of domains now use the approach of fine tuning models which were pre-trained on a large corpus of data. However, our experiments show that even fine-tuning on models like BERT can take many hours even when using modern accelerators like GPUs. While prior work proposes limiting the number of layers that are fine-tuned, e.g., freezing all layers but the last layer, we find that such static approaches lead to reduced accuracy. We propose, AutoFreeze, a system that uses an adaptive approach to choose which layers are trained and show how this can accelerate model fine-tuning while preserving accuracy. We also develop mechanisms to enable efficient caching of intermediate activations which can reduce the forward computation time when performing fine-tuning. We extend AutoFreeze to perform distributed fine-tuning and design two execution modes that minimize cost and running time respectively. Our evaluation on ten NLP tasks shows that AutoFreeze, with caching enabled, can improve fine-tuning on a single GPU by up to 2.55x. On a 64 GPU cluster, for fine-tuning on the AG's news dataset, AutoFreeze is able to achieve up to 4.38x speedup when optimizing for end-to-end training time and 5.03x reduction in total cost when optimizing for efficiency, without affecting model accuracy.
Key facts. Cited by 48 papers in the map (data through 14 Oct 2026). Builds on 42 of its 58 references that are in the map. First posted on arXiv 2 Feb 2021.
Builds on
42 of 58 references.
References · 42
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,790
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
- 2018Deep contextualized word representationscited by 2,290
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
- 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,565
- 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,554
30 more
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,167
- 2015Teaching Machines to Read and Comprehendcited by 1,049
- 2018Neural Network Acceptability Judgmentscited by 958
- 2019Are Sixteen Heads Really Better than One?cited by 816
- 2019Text Summarization with Pretrained Encoderscited by 556
- 2019Patient Knowledge Distillation for BERT Model Compressioncited by 508
- 2019Reducing Transformer Depth on Demand with Structured Dropoutcited by 439
- 2019How to Fine-Tune BERT for Text Classification?cited by 411
- 2018SWAG: A Large-Scale Adversarial Dataset for Grounded Commonsense Inferencecited by 333
- 2020DeeBERT: Dynamic Early Exiting for Accelerating BERT Inferencecited by 332
- 2014CNN Features off-the-shelf: an Astounding Baseline for Recognitioncited by 316
- 2019Q8BERT: Quantized 8Bit BERTcited by 300
- 2020The Lottery Ticket Hypothesis for Pre-trained BERT Networkscited by 275
- 2019SMART: Robust and Efficient Fine-Tuning for Pre-trained Natural Language Models through Principled Regularized Optimizationcited by 254
- 2020FastBERT: a Self-distilling BERT with Adaptive Inference Timecited by 226
- 2018Zero-Shot Object Detectioncited by 189
- 2019Drawing Early-Bird Tickets: Towards More Efficient Training of Deep Networkscited by 160
- 2020The Right Tool for the Job: Matching Model and Instance Complexitiescited by 126
- 2020Accelerating Training of Transformer-Based Language Models with Progressive Layer Droppingcited by 93
- 2019What Would Elsa Do? Freezing Layers During Transformer Fine-Tuningcited by 89
- 2019A Tensorized Transformer for Language Modelingcited by 86
- 2020EarlyBERT: Efficient BERT Training via Early-bird Lottery Ticketscited by 79
- 2018LSTD: A Low-Shot Transfer Detector for Object Detectioncited by 77
- 2017Zero-Shot Transfer Learning for Event Extractioncited by 66
- 2020ExpBERT: Representation Engineering with Natural Language Explanationscited by 28
- 2020Accordion: Adaptive Gradient Communication via Critical Learning Regime Identificationcited by 19
- 2017SVCCA: Singular Vector Canonical Correlation Analysis for Deep Learning Dynamics and Interpretabilitycited by 16
- 2019Structured Pruning of a BERT-based Question Answering Modelcited by 16
- 2019Model Compression with Multi-Task Knowledge Distillation for Web-scale Question Answering Systemcited by 5
- 2020Do You Have the Right Scissors? Tailoring Pre-trained Language Models via Monte-Carlo Methodscited by 5
Built on by
Citing papers per year: 2021: 1; 2022: 6; 2023: 10; 2024: 15; 2025: 12; 2026: 4.
48 papers.
Sort:
By area:
- 2022Surgical Fine-Tuning Improves Adaptation to Distribution Shiftscited by 205
- 2024LISA: Layerwise Importance Sampling for Memory-Efficient Large Language Model Fine-Tuningcited by 89
- 2024Sparse MeZO: Less Parameters for Better Performance in Zeroth-Order LLM Fine-Tuningcited by 54
- 2025Parameter-Efficient Fine-Tuning for Foundation Modelscited by 45
- 2023No Train No Gain: Revisiting Efficient Training Algorithms For Transformer-based Language Modelscited by 41
- 2024Targeted Vaccine: Safety Alignment for Large Language Models against Harmful Fine-Tuning via Layer-wise Perturbationcited by 37
- 2024From Low Rank Gradient Subspace Stabilization to Low-Rank Weights: Observations, Theories, and Applicationscited by 25
- 2022Egeria: Efficient DNN Training with Knowledge-Guided Layer Freezingcited by 22
- 2024HFT: Half Fine-Tuning for Large Language Modelscited by 18
- 2023Layer-wise Auto-Weighting for Non-Stationary Test-Time Adaptationcited by 14
- 2022HyperPELT: Unified Parameter-Efficient Language Model Tuning for Both Language and Vision-and-Language Taskscited by 12
- 2024SmartFRZ: An Efficient Training Framework using Attention-Based Layer Freezingcited by 12
36 more
- 2022Layer Freezing & Data Sieving: Missing Pieces of a Generic Framework for Sparse Trainingcited by 11
- 2024Simultaneous Computation and Memory Efficient Zeroth-Order Optimizer for Fine-Tuning Large Language Modelscited by 9
- 2024Outlier-weighed Layerwise Sampling for LLM Fine-tuningcited by 8
- 2024Budgeted Online Continual Learning by Adaptive Layer Freezing and Frequency-based Samplingcited by 7
- 2021Semi-Siamese Bi-encoder Neural Ranking Model Using Lightweight Fine-Tuningcited by 6
- 2023Efficient Self-supervised Continual Learning with Progressive Task-correlated Layer Freezingcited by 6
- 2023Synthetic pre-training for neural-network interatomic potentialscited by 6
- 2022Embedding Recycling for Language Modelscited by 5
- 2023SlimFit: Memory-Efficient Fine-Tuning of Transformer-based Models Using Training Dynamicscited by 5
- 2025Mitigating Catastrophic Forgetting in Target Language Adaptation of LLMs via Source-Shielded Updatescited by 4
- 2024AutoFT: Learning an Objective for Robust Fine-Tuningcited by 3
- 2024Fine-tuning LLMs for Autonomous Spacecraft Control: A Case Study Using Kerbal Space Programcited by 3
- 2025Energy-Aware Deep Learning on Resource-Constrained Hardwarecited by 3
- 2022Laplacian Pyramid-like Autoencodercited by 2
- 2023Revisiting Fine-Tuning Strategies for Self-supervised Medical Imaging Analysiscited by 2
- 2024EdgeOL: Efficient in-situ Online Learning on Edge Devicescited by 2
- 2024How Do the Architecture and Optimizer Affect Representation Learning? On the Training Dynamics of Representations in Deep Neural Networkscited by 2
- 2026MGUP: A Momentum-Gradient Alignment Update Policy for Stochastic Optimizationcited by 2
- 2023Local Masking Meets Progressive Freezing: Crafting Efficient Vision Transformers for Self-Supervised Learningcited by 1
- 2023Accelerating the prediction of inorganic surfaces with machine learning interatomic potentialscited by 1
- 2024Federating Dynamic Models using Early-Exit Architectures for Automatic Speech Recognition on Heterogeneous Clientscited by 1
- 2025AdaBet: Gradient-free Layer Selection for Efficient Training of Deep Neural Networkscited by 1
- 2023Gradient Sparsification For Masked Fine-Tuning of Transformerscited by 0
- 2023Toward efficient resource utilization at edge nodes in federated learningcited by 0
- 2024Towards Low-Energy Adaptive Personalization for Resource-Constrained Devicescited by 0
- 2025ICE-Pruning: An Iterative Cost-Efficient Pruning Pipeline for Deep Neural Networkscited by 0
- 2025Balanced and Elastic End-to-end Training of Dynamic LLMscited by 0
- 2025Rethinking the Potential of Layer Freezing for Efficient DNN Trainingcited by 0
- 2025GradES: Significantly Faster Training in Transformers with Gradient-Based Early Stoppingcited by 0
- 2025An Analysis of Layer-Freezing Strategies for Enhanced Transfer Learning in YOLO Architecturescited by 0
- 2025Bridging the Gap Between Simulated and Real Network Data Using Transfer Learningcited by 0
- 2025Reconsidering Requirements Engineering: Human-AI Collaboration in AI-Native Software Developmentcited by 0
- 2025Adaptive transfer learning for surgical tool presence detection in laparoscopic videos through gradual freezing fine-tuningcited by 0
- 2026TimelyFreeze: Adaptive Parameter Freezing Mechanism for Pipeline Parallelismcited by 0
- 2026Fisher-Guided Progressive Parameter Selection for Adaptive Fine-Tuningcited by 0
- 2026When Can Attention Heads Be Statically Defined?cited by 0
- 2026When Can Attention Heads Be Statically Defined?28 Sep 2026
- 2026MGUP: A Momentum-Gradient Alignment Update Policy for Stochastic Optimization16 Jun 2026
- 2026Fisher-Guided Progressive Parameter Selection for Adaptive Fine-Tuning8 Jun 2026
- 2026TimelyFreeze: Adaptive Parameter Freezing Mechanism for Pipeline Parallelism5 Feb 2026
- 2025Mitigating Catastrophic Forgetting in Target Language Adaptation of LLMs via Source-Shielded Updates4 Dec 2025
- 2025Adaptive transfer learning for surgical tool presence detection in laparoscopic videos through gradual freezing fine-tuning17 Oct 2025
- 2025Reconsidering Requirements Engineering: Human-AI Collaboration in AI-Native Software Development5 Oct 2025
- 2025AdaBet: Gradient-free Layer Selection for Efficient Training of Deep Neural Networks3 Oct 2025
- 2025Bridging the Gap Between Simulated and Real Network Data Using Transfer Learning1 Oct 2025
- 2025An Analysis of Layer-Freezing Strategies for Enhanced Transfer Learning in YOLO Architectures5 Sep 2025
- 2025GradES: Significantly Faster Training in Transformers with Gradient-Based Early Stopping1 Sep 2025
- 2025Rethinking the Potential of Layer Freezing for Efficient DNN Training20 Aug 2025
36 more
- 2025Balanced and Elastic End-to-end Training of Dynamic LLMs20 May 2025
- 2025Energy-Aware Deep Learning on Resource-Constrained Hardware18 May 2025
- 2025ICE-Pruning: An Iterative Cost-Efficient Pruning Pipeline for Deep Neural Networks12 May 2025
- 2025Parameter-Efficient Fine-Tuning for Foundation Models23 Jan 2025
- 2024Budgeted Online Continual Learning by Adaptive Layer Freezing and Frequency-based Sampling19 Oct 2024
- 2024Simultaneous Computation and Memory Efficient Zeroth-Order Optimizer for Fine-Tuning Large Language Models13 Oct 2024
- 2024Targeted Vaccine: Safety Alignment for Large Language Models against Harmful Fine-Tuning via Layer-wise Perturbation13 Oct 2024
- 2024Fine-tuning LLMs for Autonomous Spacecraft Control: A Case Study Using Kerbal Space Program16 Aug 2024
- 2024From Low Rank Gradient Subspace Stabilization to Low-Rank Weights: Observations, Theories, and Applications15 Jul 2024
- 2024Outlier-weighed Layerwise Sampling for LLM Fine-tuning28 May 2024
- 2024How Do the Architecture and Optimizer Affect Representation Learning? On the Training Dynamics of Representations in Deep Neural Networks27 May 2024
- 2024Federating Dynamic Models using Early-Exit Architectures for Automatic Speech Recognition on Heterogeneous Clients27 May 2024
- 2024HFT: Half Fine-Tuning for Large Language Models29 Apr 2024
- 2024LISA: Layerwise Importance Sampling for Memory-Efficient Large Language Model Fine-Tuning26 Mar 2024
- 2024Towards Low-Energy Adaptive Personalization for Resource-Constrained Devices23 Mar 2024
- 2024Sparse MeZO: Less Parameters for Better Performance in Zeroth-Order LLM Fine-Tuning24 Feb 2024
- 2024SmartFRZ: An Efficient Training Framework using Attention-Based Layer Freezing30 Jan 2024
- 2024EdgeOL: Efficient in-situ Online Learning on Edge Devices30 Jan 2024
- 2024AutoFT: Learning an Objective for Robust Fine-Tuning18 Jan 2024
- 2023Accelerating the prediction of inorganic surfaces with machine learning interatomic potentials18 Dec 2023
- 2023Local Masking Meets Progressive Freezing: Crafting Efficient Vision Transformers for Self-Supervised Learning2 Dec 2023
- 2023Layer-wise Auto-Weighting for Non-Stationary Test-Time Adaptation10 Nov 2023
- 2023Toward efficient resource utilization at edge nodes in federated learning19 Sep 2023
- 2023Synthetic pre-training for neural-network interatomic potentials24 Jul 2023
- 2023Revisiting Fine-Tuning Strategies for Self-supervised Medical Imaging Analysis20 Jul 2023
- 2023Gradient Sparsification For Masked Fine-Tuning of Transformers19 Jul 2023
- 2023No Train No Gain: Revisiting Efficient Training Algorithms For Transformer-based Language Models12 Jul 2023
- 2023SlimFit: Memory-Efficient Fine-Tuning of Transformer-based Models Using Training Dynamics29 May 2023
- 2023Efficient Self-supervised Continual Learning with Progressive Task-correlated Layer Freezing13 Mar 2023
- 2022Surgical Fine-Tuning Improves Adaptation to Distribution Shifts20 Oct 2022
- 2022Layer Freezing & Data Sieving: Missing Pieces of a Generic Framework for Sparse Training22 Sep 2022
- 2022Laplacian Pyramid-like Autoencoder26 Aug 2022
- 2022Embedding Recycling for Language Models11 Jul 2022
- 2022HyperPELT: Unified Parameter-Efficient Language Model Tuning for Both Language and Vision-and-Language Tasks8 Mar 2022
- 2022Egeria: Efficient DNN Training with Knowledge-Guided Layer Freezing17 Jan 2022
- 2021Semi-Siamese Bi-encoder Neural Ranking Model Using Lightweight Fine-Tuning28 Oct 2021
- 2022Surgical Fine-Tuning Improves Adaptation to Distribution Shiftscited by 205
- 2024LISA: Layerwise Importance Sampling for Memory-Efficient Large Language Model Fine-Tuningcited by 89
- 2024Sparse MeZO: Less Parameters for Better Performance in Zeroth-Order LLM Fine-Tuningcited by 54
- 2025Parameter-Efficient Fine-Tuning for Foundation Modelscited by 45
- 2023No Train No Gain: Revisiting Efficient Training Algorithms For Transformer-based Language Modelscited by 41
- 2024From Low Rank Gradient Subspace Stabilization to Low-Rank Weights: Observations, Theories, and Applicationscited by 25
- 2022Egeria: Efficient DNN Training with Knowledge-Guided Layer Freezingcited by 22
- 2024HFT: Half Fine-Tuning for Large Language Modelscited by 18
- 2023Layer-wise Auto-Weighting for Non-Stationary Test-Time Adaptationcited by 14
- 2022HyperPELT: Unified Parameter-Efficient Language Model Tuning for Both Language and Vision-and-Language Taskscited by 12
- 2024SmartFRZ: An Efficient Training Framework using Attention-Based Layer Freezingcited by 12
- 2022Layer Freezing & Data Sieving: Missing Pieces of a Generic Framework for Sparse Trainingcited by 11
12 most cited of 45 All 45 (JSON)
- 2026When Can Attention Heads Be Statically Defined?28 Sep 2026
- 2026MGUP: A Momentum-Gradient Alignment Update Policy for Stochastic Optimization16 Jun 2026
- 2026Fisher-Guided Progressive Parameter Selection for Adaptive Fine-Tuning8 Jun 2026
- 2026TimelyFreeze: Adaptive Parameter Freezing Mechanism for Pipeline Parallelism5 Feb 2026
- 2025Mitigating Catastrophic Forgetting in Target Language Adaptation of LLMs via Source-Shielded Updates4 Dec 2025
- 2025Adaptive transfer learning for surgical tool presence detection in laparoscopic videos through gradual freezing fine-tuning17 Oct 2025
- 2025Reconsidering Requirements Engineering: Human-AI Collaboration in AI-Native Software Development5 Oct 2025
- 2025AdaBet: Gradient-free Layer Selection for Efficient Training of Deep Neural Networks3 Oct 2025
- 2025Bridging the Gap Between Simulated and Real Network Data Using Transfer Learning1 Oct 2025
- 2025An Analysis of Layer-Freezing Strategies for Enhanced Transfer Learning in YOLO Architectures5 Sep 2025
- 2025GradES: Significantly Faster Training in Transformers with Gradient-Based Early Stopping1 Sep 2025
- 2025Rethinking the Potential of Layer Freezing for Efficient DNN Training20 Aug 2025
12 newest of 45 All 45 (JSON)