Efficient Fine-Tuning of BERT Models on the Edge
원문 초록
Resource-constrained devices are increasingly the deployment targets of machine learning applications. Static models, however, do not always suffice for dynamic environments. On-device training of models allows for quick adaptability to new scenarios. With the increasing size of deep neural networks, as noted with the likes of BERT and other natural language processing models, comes increased resource requirements, namely memory, computation, energy, and time. Furthermore, training is far more resource intensive than inference. Resource-constrained on-device learning is thus doubly difficult, especially with large BERT-like models. By reducing the memory usage of fine-tuning, pre-trained BERT models can become efficient enough to fine-tune on resource-constrained devices. We propose Freeze And Reconfigure (FAR), a memory-efficient training regime for BERT-like models that reduces the memory usage of activation maps during fine-tuning by avoiding unnecessary parameter updates. FAR reduces fine-tuning time on the DistilBERT model and CoLA dataset by 30%, and time spent on memory operations by 47%. More broadly, reductions in metric performance on the GLUE and SQuAD datasets are around 1% on average.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
CoLA: Collaborative Low-Rank Adaptation
Enhancing LLM Robustness to Perturbed Instructions: An Empirical Study
Controlling Large Language Model with Latent Actions
CoLA: Compute-Efficient Pre-Training of LLMs via Low-Rank Activation
DARE the Extreme: Revisiting Delta-Parameter Pruning For Fine-Tuned Models
Empowering Persian LLMs for Instruction Following: A Novel Dataset and Training Approach
토론
이 논문과 연결된 포럼 글이 아직 없습니다.