atlas

Research map / Architectures and efficiency / Pruning and efficient tuning

Merging LoRAs like Playing LEGO: Pushing the Modularity of LoRA to Extremes Through Rank-Wise Clustering

ICLR 2025 · Architectures and efficiency › Pruning and efficient tuning · approach: LoRA variants and theory · 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 LoRA-LEGO, which splits LoRAs into rank-wise minimal semantic units, clusters them with K-means, and rebuilds a merged LoRA from the centroids with norm and variance rescaling.

Problem

Merging multiple LoRA adapters without additional training causes parameter interference from element-wise fusion, which misaligns rank components and creates knowledge conflicts, degrading performance.

Approach

Treat each LoRA rank (a row of A paired with a column of B) as a minimal semantic unit, cluster these units across all LoRAs with K-means into k clusters, and use cluster centroids as the rank-k merged LoRA, with dual reweighting (parameter norm matching and output variance scaling by sqrt(r/k)).

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use LoRA-LEGO instead of Ties-Merging for multi-task LoRA mergingLlama2-7B · Multi-task GLUE averageaverage score: 58.30 -> 62.21Helped
Use LoRA-LEGO instead of Ties-Merging for multi-task LoRA mergingLlama2-13B · Multi-task GLUE averageaverage score: 69.61 -> 70.27Helped
Use LoRA-LEGO instead of the strongest baselineLlama2-7B · Mixed-task Overall OODscore: 45.8 -> 51.0Helped
Use LoRA-LEGO instead of the strongest baselineLlama2-13B · Mixed-task Overall OODscore: 52.3 -> 52.8Helped
Apply parameter reweighting to cluster centroids (ablation)LoRA-LEGO · Merged LoRA at rank 1rperformance: +5%Helped
Apply parameter reweighting without output reweighting (ablation)LoRA-LEGO · Merged LoRA at higher ranksperformanceHurt
Apply output reweighting to stabilize variance (ablation)LoRA-LEGO · Merged LoRA at high rankperformanceHelped
Combine parameter reweighting and output reweighting (ablation)LoRA-LEGO · Merged LoRA across varying ranksperformanceHelped
Retain 50% of the parameters through LoRA-LEGO pruning (ablation)Single LoRA · LoRA pruningretained performance: 50%; 92%No clear effect
Retain 33% of the parameters through LoRA-LEGO pruning (ablation)Single LoRA · LoRA pruningretained performance: 33%; 79%Hurt

Surprising findings

Limitations

Experimental setup

Datasets: CoLA MNLI MRPC QNLI QQP RTE SST2 SNLI WNLI flan-v2

Benchmarks: GLUE SNLI WNLI flan-v2 mixed-task pool

Metrics: accuracy Rouge-1 Rouge-2 Rouge-L BLEU normalized average performance

Baselines: Weight Averaging Ensemble Task Arithmetic Ties-Merging Selection

Builds on: LoRA Task Arithmetic TIES-Merging LoraRetriever

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