atlas

Research map / Large language models / Instruction and fine-tuning

VeLoRA: Memory Efficient Training using Rank-1 Sub-Token Projections

NeurIPS 2024 · Large language models › Instruction and fine-tuning · approach: Efficient LLM fine-tuning systems · 0 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 VeLoRA, which splits activation tokens into sub-tokens, projects them onto a fixed rank-1 vector during the forward pass, and coarsely reconstructs them in the backward pass to cut activation memory for fine-tuning and pre-training.

Problem

Training and fine-tuning LLMs and transformers is memory-intensive, largely because intermediate activations must be stored for backpropagation.

Approach

Compress saved input activations by grouping tokens into sub-tokens and projecting each onto a single fixed unit vector initialised from the average of the first batch's sub-tokens, avoiding SVD and recomputation; the method is shown to be a special case of LoRA with data-driven initialisation.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add VeLoRA activation compression to full tuningViT-Base-224/16 · VTAB-1k averageaccuracy: 69.7 -> 71.2Helped
Add VeLoRA activation compression to SSFViT-Base-224/16 · VTAB-1k averageaccuracy: 72.7 -> 72.6Hurt
Add VeLoRA activation compression to HydraViT-Base-224/16 · VTAB-1k averageaccuracy: 74.7 -> 74.8Helped
Add VeLoRA activation compression to LoRAViT-Base-224/16 · VTAB-1k averageaccuracy: 72.1 -> 72.7Helped
Use VeLoRA instead of full fine-tuningRoBERTa-Base · GLUE averageaccuracy: 86.28 -> 85.91Hurt
Use VeLoRA instead of QLoRALLaMA fine-tuning · MMLU test, 5-shotaccuracy: +0.5 ppHelped
Use VeLoRA instead of GaLoreLLaMA pre-training · C4 validation (60M)perplexity: 1.08 pp lower perplexityHelped
Use fixed first-batch average initialization rather than random initialization (ablation)VeLoRA on LLaMA-7B · MMLUaccuracy: 36.8 -> 39.5Helped
Use fixed first-batch average initialization rather than SVD initialization (ablation)VeLoRA on LLaMA-7B · MMLUaccuracy: 37.1 -> 39.5Helped
Use fixed first-batch average initialization rather than running-average initialization (ablation)VeLoRA on LLaMA-7B · MMLUaccuracy: 38.9 -> 39.5Helped
Set sub-token size to D / 8 rather than D / 32 (ablation)VeLoRA on LLaMA-7B · MMLUaccuracy: 39.5 -> 37.2Hurt
Set sub-token size to D / 64 rather than D / 32 (ablation)VeLoRA on LLaMA-7B · MMLUaccuracy: 39.5 -> 37.9Hurt

Surprising findings

Limitations

Experimental setup

Datasets: VTAB-1k GLUE Alpaca C4 MMLU

Benchmarks: VTAB-1k GLUE MMLU C4

Metrics: accuracy perplexity GPU memory (GB) iterations per second

Baselines: Full fine-tuning LoRA SSF Hydra GaLore QLoRA FLoRA LOMO gradient checkpointing

Builds on: LoRA GaLore FLoRA QLoRA gradient checkpointing

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