VeRA: Vector-based Random Matrix Adaptation

Open Access
Authors
Publication date 2024
Book title The Twelfth International Conference on Learning Representations
Book subtitle ICLR 2024
ISBN (electronic)
  • 9798331321994
Event 12th International Conference on Learning Representations, ICLR 2024
Number of pages 21
Organisations
  • Faculty of Science (FNWI) - Informatics Institute (IVI)
Abstract
Low-rank adapation (LoRA) is a popular method that reduces the number of trainable parameters when finetuning large language models, but still faces acute storage challenges when scaling to even larger models or deploying numerous per-user or per-task adapted models. In this work, we present Vector-based Random Matrix Adaptation (VeRA), which significantly reduces the number of trainable parameters compared to LoRA, yet maintains the same performance. It achieves this by using a single pair of low-rank matrices shared across all layers and learning small scaling vectors instead. We demonstrate its effectiveness on the GLUE and E2E benchmarks, image classification tasks, and show its application in instruction-tuning of 7B and 13B language models. Website: https://dkopi.github.io/vera
Document type Conference contribution
Language English
Published at
https://openreview.net/forum?id=NjNfLdxr3A (Final published version)
Other links
Downloads
5820_VeRA_Vector_based_Random_ (Final published version)
Permalink to this page
Back