Parameter Efficient Fine-tuning of Transformer-Based Language Models Using Dataset Pruning
The widespread use of transformer-based language models is in part owed to their ease of adaptation to various tasks. Fine-tuning is a method of adapting pre-trained language models to a downstream task. The resource requirements for fine-tuning, although still less than pre-training, has been increasing due to the significant growth in the number of parameters of language models. Parameter efficient fine-tuning methods limit the set of model parameters that are updated during fine-tuning, leading to reductions in both memory usage and fine-tuning time. Dataset pruning is another method of efficient fine-tuning which removes training data points, thus reducing training time, while maintaining the evaluation performance of the fine-tuned model. In this work, we apply dataset pruning on top of parameter efficient fine-tuning to further reduce the hardware requirements of the fine-tuning. Our approach benefits from lower memory usage of parameter efficient methods while addressing their long fine-tuning time with dataset pruning. On average, our proposed method uses 22% of the fine-tuning dataset while updating only 0.5% of model parameters. As a result, while achieving an evaluation performance similar to full fine-tuning, our method reduces the peak memory usage of the fine-tuning by 40% and its wall clock time by 83%.
Authors
- Brett C. Meyer (ORCID: https://orcid.org/0000-0002-2877-1187)
- Seyed Mohammad Sadegh Hosseini (ORCID: https://orcid.org/0000-0003-2534-7193)
- Seyyed Hasan Mozafari (ORCID: https://orcid.org/0000-0002-0360-1747)
- James J. Clark (ORCID: https://orcid.org/0000-0002-4512-6171)
- Warren J. Gross (ORCID: https://orcid.org/0000-0002-6226-6037)
Institutions
- McGill University (CA)
Publication Details
- Published
- 2024-10-27
- DOI
- https://doi.org/10.1109/ieeeconf60004.2024.10942686
- Primary Topic
- Natural Language Processing Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00