Research Articles
Low-Rank Adaptation of Foundation Models: Heterogeneous Partitions
Yara Havenford (Machine Learning Laboratory, Valehart Institute of Computational Science), Amari Thornmere (Machine Learning Laboratory, Valehart Institute of Computational Science)
Vol. 8 No. 1 (2024) · pp. 94–106 · Published 3 September 2024
Abstract
For a collection of partitions with different input and resource profiles, we construct a synthetic comparison between assigning adapter rank by validation sensitivity rather than uniformly and using the same rank for every layer. Each configuration is evaluated on the same 144 cases. In the 36 stress cases, a held-out target must require updates in layers that scored poorly during selection; 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: the model must meet the transfer criterion within the trainable-parameter budget. 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 119 of 144 cases, versus 115 for the comparator. In the stress subset, the respective counts are 29 and 22 of 36. The alternative exceeds the comparator overall by 2.8 percentage points. The practical trade-off is that low-rank updates can be capacity-limited under strong task shift. A subsequent evaluation should set tolerances independently and repeat the comparison on workloads not used to select the configuration.
Keywords: foundation models, low-rank adaptation, transfer learning, heterogeneous partitions, synthetic evaluation
References
- Arora, S., et al. (2023). Zoology: Measuring and improving recall in efficient language models. arXiv:2312.04927.
- Creswell, A., & Shanahan, M. (2022). Faithful reasoning using large language models. arXiv:2208.14271.
- Fernandez, P., Chaffin, A., Tit, K., Chappelier, V., & Furon, T. (2023). Three bricks to consolidate watermarks for large language models. Proceedings of the IEEE International Workshop on Information Forensics and Security, 1–6.
- Fine, S., & Scheinberg, K. (2001). Efficient SVM training using low-rank kernel representations. Journal of Machine Learning Research, 2, 243–264.
- Hu, E. J., et al. (2021). LoRA: Low-rank adaptation of large language models. arXiv:2106.09685.
- Jaderberg, M., Vedaldi, A., & Zisserman, A. (2014). Speeding up convolutional neural networks with low rank expansions. arXiv:1405.3866.
- Kojima, T., Gu, S. S., Reid, M., Matsuo, Y., & Iwasawa, Y. (2022). Large language models are zero-shot reasoners. Advances in Neural Information Processing Systems, 35, 22199–22213.
- Ma, X., Gong, Y., He, P., Zhao, H., & Duan, N. (2023). Query rewriting for retrieval-augmented large language models. Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, 5303–5315.
- Ogueji, K., Zhu, Y., & Lin, J. (2021). Small data? No problem! Exploring the viability of pretrained multilingual language models for low-resourced languages. Proceedings of the Workshop on Multilingual Representation Learning.
- Sharma, M., et al. (2023). Towards understanding sycophancy in language models. arXiv:2310.13548.
- Thrush, T., et al. (2022). Winoground: Probing vision and language models for visio-linguistic compositionality. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 5238–5248.
- Touvron, H., et al. (2023). LLaMA: Open and efficient foundation language models. arXiv:2302.13971.
- Wang, P., et al. (2023). Large language models are not fair evaluators. arXiv:2305.17926.
- Wei, J., et al. (2022). Emergent abilities of large language models. Transactions on Machine Learning Research.
- Wornow, M., et al. (2023). The shaky foundations of large language models and foundation models for electronic health records. npj Digital Medicine, 6, Article 135.
- Zhang, S., et al. (2022). OPT: Open pre-trained transformer language models. arXiv:2205.01068.
- Zhang, Y., et al. (2023). Siren's song in the AI ocean: A survey on hallucination in large language models. arXiv:2309.01219.
