Research Articles
Fine-Tuning with a Parameter Budget: Heterogeneous Partitions
Tomas Alderwick (Machine Learning Laboratory, Pinewick School of Engineering), Lina-Mae Wrenford (Machine Learning Laboratory, Ravenmere Technical University), Ravi Iverford (Machine Learning Laboratory, Valehart Institute of Computational Science), Ravi Oakmarsh (Machine Learning Laboratory, Eastmarsh Institute for Applied Computing)
Vol. 5 No. 1 (2021) · pp. 55–69 · Published 24 March 2021
Abstract
We ask whether restricting updates to selected layers chosen by validation sensitivity performs better than allocating the same update budget evenly over layers in a collection of partitions with different input and resource profiles. The evaluation is synthetic. Each configuration is evaluated on the same 300 cases. In the 75 stress cases, target inputs must depart sharply from the source distribution; held-out partitions are selected before configuration so that tuning cannot target their particular failure cases. A case counts as a pass only if it meets this criterion: adaptation must improve target performance without exceeding the allowed trainable parameter count. The comparison holds the training and selection splits fixed across alternatives; evaluation cases are not reused for tuning. Compute or memory assigned to an alternative counts toward its budget even if training does not finish. The first configuration passes 236 of 300 cases, versus 218 for the comparator. In the stress subset, the respective counts are 56 and 38 of 75. The alternative exceeds the comparator overall by 6.0 percentage points. The practical trade-off is that small updates cannot always repair a mismatch in input representations. A subsequent evaluation should set tolerances independently and repeat the comparison on workloads not used to select the configuration.
Keywords: parameter-efficient adaptation, fine-tuning, transfer learning, heterogeneous partitions, synthetic evaluation
References
- Aghajanyan, A., Zettlemoyer, L., & Gupta, S. (2020). Intrinsic dimensionality explains the effectiveness of language model fine-tuning. arXiv:2012.13255.
- Dodge, J., Ilharco, G., Schwartz, R., Farhadi, A., Hajishirzi, H., & Smith, N. (2020). Fine-tuning pretrained language models: Weight initializations, data orders, and early stopping. arXiv:2002.06305.
- Houlsby, N., et al. (2019). Parameter-efficient transfer learning for NLP. Proceedings of the 36th International Conference on Machine Learning, 2790–2799.
- Howard, J., & Ruder, S. (2018). Universal language model fine-tuning for text classification. Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics, 328–339.
- Huang, J.-T., Li, J., Yu, D., Deng, L., & Gong, Y. (2013). Cross-language knowledge transfer using multilingual deep neural network with shared hidden layers. Proceedings of the IEEE International Conference on Acoustics, Speech and Signal Processing, 7304–7308.
- Kitaev, N., Kaiser, Ł., & Levskaya, A. (2020). Reformer: The efficient transformer. arXiv:2001.04451.
- Nagabandi, A., Kahn, G., Fearing, R. S., & Levine, S. (2018). Neural network dynamics for model-based deep reinforcement learning with model-free fine-tuning. Proceedings of the IEEE International Conference on Robotics and Automation, 7559–7566.
- Peng, Y., Bao, Y., Chen, Y., Wu, C., & Guo, C. (2018). Optimus: An efficient dynamic resource scheduler for deep learning clusters. Proceedings of the Thirteenth EuroSys Conference, Article 3.
- Pham, H., Guan, M., Zoph, B., Le, Q., & Dean, J. (2018). Efficient neural architecture search via parameter sharing. Proceedings of the 35th International Conference on Machine Learning, 4095–4104.
- Roy, A., Saffar, M., Vaswani, A., & Grangier, D. (2020). Efficient content-based sparse attention with routing transformers. arXiv:2003.05997.
- Tajbakhsh, N., et al. (2016). Convolutional neural networks for medical image analysis: Full training or fine tuning? IEEE Transactions on Medical Imaging, 35(5), 1299–1312.
- Tay, Y., et al. (2020). Long Range Arena: A benchmark for efficient transformers. arXiv:2011.04006.
- Ziegler, D. M., et al. (2019). Fine-tuning language models from human preferences. arXiv:1909.08593.
