atlas

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

LISA: Layerwise Importance Sampling for Memory-Efficient Large Language Model Fine-Tuning

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 LISA, a memory-efficient LLM fine-tuning method that randomly unfreezes a few intermediate layers per sampling period (embedding and LM head always trained), motivated by skewed layerwise weight norms observed in LoRA.

Problem

LoRA's low-rank restriction limits its performance relative to full-parameter fine-tuning in large-scale LLM fine-tuning and continual pre-training, while full training is memory-prohibitive.

Approach

Observes that LoRA's layerwise weight norms are skewed (embedding, LM head, and bottom/top layers dominate), and uses importance sampling over layers: always update embedding and LM head, and randomly unfreeze a small number of intermediate layers every K steps with AdamW.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use LISA instead of LoRATinyLlama · MT-Benchscore: 1.90 -> 2.57Helped
Use LISA instead of LoRAMistral-7B · MT-Benchscore: 4.41 -> 4.85Helped
Use LISA instead of LoRALLaMA-2-7B · MT-Benchscore: 4.45 -> 4.94Helped
Use LISA instead of LoRALLaMA-2-70B · MT-Benchscore: 6.10 -> 6.72Helped
Use LISA instead of full-parameter fine-tuningLLaMA-2-70B · GSM8Kscore: 67.1 -> 61.1Hurt
Use LISA instead of full-parameter fine-tuningLLaMA-2-7B continual pre-training · GSM8Kscore: 22.21 -> 22.21No clear effect
Increase sampling layers and adjust learning rate from γ=2, η=5 × 10^-5 to γ=8, η=1.25 × 10^-5 (ablation)LISA on LLaMA-2-7B · GSM8Kscore: 15.77 -> 16.30Helped
Increase sampling layers and reduce learning rate from γ=2, η=5 × 10^-5 to γ=16, η=6.25 × 10^-6 (ablation)LISA on LLaMA-2-7B · GSM8Kscore: 15.77 -> 16.57Helped
Use randomly changing sampled layers instead of fixed randomly selected layers (ablation)LISA on LLaMA-2-7B · MT-Benchscore: 4.62 -> 4.94Helped
Use randomly changing sampled layers instead of fixed randomly selected layers (ablation)LISA on LLaMA-2-7B · MT-Benchscore: 4.60 -> 4.94Helped
Use randomly changing sampled layers instead of fixed randomly selected layers (ablation)LISA on LLaMA-2-7B · MT-Benchscore: 4.67 -> 4.94Helped

Surprising findings

Limitations

Experimental setup

Datasets: Alpaca-GPT4 GSM8K PubMedQA OpenWebMath Alpaca

Benchmarks: MT-Bench MMLU AGIEval WinoGrande GSM8K PubMedQA

Metrics: MT-Bench score accuracy peak GPU memory seconds per iteration

Baselines: Full parameter training LoRA GaLore Vanilla (no fine-tuning)

Builds on: LoRA AdamW GaLore DoLa

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