atlas

Research map / Architectures and efficiency / Pruning and efficient tuning

Batched Low-Rank Adaptation of Foundation Models

ICLR 2024 · Architectures and efficiency › Pruning and efficient tuning · approach: LoRA variants and theory · 2 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 FLoRA, a LoRA variant that gives each example in a minibatch its own low-rank adapter so heterogeneous adapter requests can be batched, evaluated with throughput/latency serving tests and fine-tuning on MultiPL-E code generation and Whisper multilingual speech recognition.

Problem

LoRA adapters are shared across a whole minibatch, so serving requests that each need a different task- or user-specific adapter forces either a single shared adapter or sequential processing, hurting throughput and latency.

Approach

Factor each example's low-rank update as per-example B_i and A_i and rewrite the forward pass as elementwise-multiply, matrix-multiply with shared W0, and elementwise-multiply, so all per-example adapters are batched via matrix operations instead of torch.bmm, with cost analysis showing advantage at low rank.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use example-specific adapters to batch heterogeneous requestsFast LoRA · StarCoder serving, low ranksthroughput: more than threefold higher than that of LoRAHelped
Use example-specific adapters to batch heterogeneous requestsFast LoRA · StarCoder 15B serving, ranks 1–4latency: 2-5X reduction in latency compared to LoRAHelped
Increase adapter rank (ablation)Fast LoRA versus LoRA · StarCoder servingthroughputMixed
Increase request rate from 8 requests per second to 15 requests per second (ablation)StarCoder-3B serving · StarCoder-3Binflection rank: to around 12Helped
Use Fast LoRA instead of LoRAMultiPL-E HumanEval · selected low-resource languages on StarCoder 15B and StarCoderBase 3BPass@1Mixed
Use Fast LoRA instead of IA3MultiPL-E HumanEval · selected low-resource programming languagesPass@1Helped
Use Fast LoRA instead of LoRACommon Voice speech recognition · Arabic, Czech, Lithuanian, Marathi, Mongolian, and HindiWERMixed
Use Fast LoRA instead of IA3Common Voice speech recognition · Arabic, Czech, Lithuanian, Marathi, Mongolian, and HindiWERHelped
Apply adapters to every fully-connected layer rather than default PEFT modules (ablation)Whisper fine-tuning · Common VoiceWERHelped
Restrict IA3 to key and query projection layers instead of its default configuration (ablation)IA3 · Multilingual code generationPass@1Hurt

Surprising findings

Limitations

Experimental setup

Datasets: The Stack MultiPL-E Common Voice vLLM throughput benchmark dataset

Benchmarks: MultiPL-E Common Voice

Metrics: pass@1 word error rate throughput (tokens/s) latency (s/token)

Baselines: LoRA IA3 torch.bmm LoRA Whisper

Builds on: LoRA IA3 vLLM Orca

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