READ: Recurrent Adaptation of Large Transformers
John Nguyen, Sid Wang, Ke Li, Carole-Jean Wu
TL;DR
This work tackles the high resource cost of fine-tuning large transformers by introducing READ, a memory-efficient fine-tuning approach that pairs a frozen backbone with a lightweight recurrent side network. READ learns corrections to backbone layer representations via a small RNN and a Joiner, avoiding backpropagation through the large backbone and achieving substantial energy and memory savings while maintaining or improving task performance on GLUE. The method scales independently of backbone size, outperforming several PETL baselines and offering competitive results with significantly reduced training cost. This approach broadens the practicality of adapting large foundation models in resource-constrained environments, with implications for rapid deployment and sustainability in AI systems.
Abstract
Fine-tuning large-scale Transformers has led to the explosion of many AI applications across Natural Language Processing and Computer Vision tasks. However, fine-tuning all pre-trained model parameters becomes impractical as the model size and number of tasks increase. Parameter-efficient transfer learning (PETL) methods aim to address these challenges. While effective in reducing the number of trainable parameters, PETL methods still require significant energy and computational resources to fine-tune. In this paper, we introduce \textbf{RE}current \textbf{AD}aption (READ) -- a lightweight and memory-efficient fine-tuning method -- to overcome the limitations of the current PETL approaches. Specifically, READ inserts a small RNN network alongside the backbone model so that the model does not have to back-propagate through the large backbone network. Through comprehensive empirical evaluation of the GLUE benchmark, we demonstrate READ can achieve a $56\%$ reduction in the training memory consumption and an $84\%$ reduction in the GPU energy usage while retraining high model quality compared to full-tuning. Additionally, the model size of READ does not grow with the backbone model size, making it a highly scalable solution for fine-tuning large Transformers.
