atlas

Research map / Architectures and efficiency / Pruning and efficient tuning

VeRA: Vector-based Random Matrix Adaptation

ICLR 2024 · Architectures and efficiency › Pruning and efficient tuning · approach: LoRA variants and theory · 8 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes VeRA, which freezes a single shared pair of random low-rank matrices and trains only small scaling vectors, cutting trainable parameters roughly 10x versus LoRA while matching its accuracy on GLUE, E2E, ViT and instruction tuning.

Problem

LoRA still requires substantial trainable parameters and storage per adapted model, which becomes costly when scaling to very large models or serving many per-user or per-task finetuned versions.

Approach

Freeze a single pair of random projection matrices shared across all layers and learn only per-layer scaling vectors (b and d) applied as diagonal matrices, so the update is Λb B Λd A x; the random matrices are regenerated from an RNG seed, so only the vectors need storing.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use VeRA instead of LoRARoBERTa-large · GLUE Avg.average score: 87.8 -> 87.8No clear effect
Use VeRA instead of LoRAGPT-2 Medium · E2EBLEU: 68.9 -> 70.1Helped
Use VeRA instead of LoRAGPT-2 Large · E2EBLEU: 70.1 -> 70.3Helped
Use VeRA instead of LoRALlama and Llama2 models · MT-BenchGPT-4 score: 5.03 -> 4.77; 5.31 -> 5.22; 5.19 -> 5.08; 5.77 -> 5.93Mixed
Use VeRA instead of LoRAViT-B and ViT-L · Image classification (CIFAR100, Food101, Flowers102, RESISC45)accuracy: 85.9 -> 84.8; 98.8 -> 99.0; 87.0 -> 87.5; 79.5 -> 79.2Mixed
Add the b scaling vector (ablation)VeRA · MRPC, RoBERTa-largescore: 89.7 -> 90.5Helped
Add the b scaling vector (ablation)VeRA · RTE, RoBERTa-largeaccuracy: 67.0 -> 85.8Helped
Add the d scaling vector (ablation)VeRA · MRPC, RoBERTa-largescore: 81.6 -> 90.5Helped
Add the d scaling vector (ablation)VeRA · RTE, RoBERTa-largeaccuracy: 64.3 -> 85.8Helped
Replace Kaiming normal with Kaiming uniform matrix initialization (ablation)VeRA · MRPC, RoBERTa-largescore: 90.0_{\pm1.1} -> 90.5_{\pm0.7}No clear effect
Replace uniform_[0.0,0.1] with Kaiming uniform matrix initialization (ablation)VeRA · RTE, RoBERTa-largeaccuracy: 53.1_{\pm0.8} -> 85.8_{\pm0.7}Helped
Initialize d to 10^{-1} instead of 1.0 (ablation)VeRA · MRPC, RoBERTa-largescore: 70.3_{\pm1.2} -> 90.5_{\pm0.7}Helped

Surprising findings

Limitations

Experimental setup

Datasets: GLUE E2E Alpaca cleaned CIFAR100 Food101 Flowers102 RESISC45 ImageNet-21k

Benchmarks: GLUE E2E MT-Bench CIFAR100 Food101 Flowers102 RESISC45 Vicuna Eval

Metrics: accuracy Matthews correlation Pearson correlation BLEU NIST METEOR ROUGE-L CIDEr GPT-4 judge score trainable parameters

Baselines: LoRA LoRA-FA BitFit Adapter (H/L/P/D) AdaLoRA DyLoRA Full finetuning Head-only

Builds on: LoRA AdaLoRA Kaiming initialization intrinsic dimensionality

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy