Collaboration through Diversity and Specialization via Orthogonality for Improved LoRA-based MoE
Organizations: The Pennsylvania State University
Abstract
Combining the Mixture-of-Experts (MoE) paradigm with Low-Rank Adaptation (LoRA) enables parameter-efficient adaptation of large language models (LLMs) to downstream tasks. However, existing LoRA-based MoE approaches often suffer from expert interference and weak specialization, where experts produce correlated outputs, leading to overlapping representations and reduced effective capacity. A key challenge is to balance collaboration and specialization: experts jointly capture task-specific knowledge while reducing redundancy and conflicts across experts. To address this challenge, we propose a principled framework that characterizes expert interactions in a data-dependent manner. We show that redundancy arises from correlated expert outputs and propose an explicit regularization objective that encourages orthogonality, promoting effective specialization and mitigating interference. Furthermore, built on an asymmetric LoRA framework with shared low-rank projections, we introduce a complementary regularization that encourages diversity in the shared representations. Our experiments across diverse benchmarks demonstrate that our method encourages representational specialization and improves task performance while maintaining the efficiency of parameter-efficient fine-tuning.
Figures & tables
| Method | ComQA | CosQA | SIQA | PIQA | ScQA | BoolQ | ARC-C | OBQA | Avg |
| Single-LoRA baselines | |||||||||
| LoRA ( : ) | 73.31 | 81.71 | 78.33 | 82.97 | 88.15 | 76.80 | 58.45 | 83.60 | |
| LoRA ( : ) | 73.23 | 81.68 | 77.97 | 83.11 | 88.85 | 77.40 | 59.25 | 84.80 | |
| LoRA ( : ) | 73.06 | 82.78 | 78.04 | 83.23 | 88.46 | 75.20 | 58.14 | 85.00 | |
| PiSSA | 72.60 | 81.15 | 77.45 | 81.85 | 87.18 | 74.80 | 57.97 | 81.40 | |
| Compose all experts | |||||||||
| Method | ComQA | CosQA | SIQA | PIQA | ScQA | BoolQ | ARC-C | OBQA | Avg. |
| Compose all experts | |||||||||
| HydraLoRA | 85.42 | 84.35 | 80.14 | 87.65 | 92.49 | 83.20 | 83.36 | 92.80 | |
| OD-MoLE | 85.50 | 84.85 | 79.63 | 87.65 | 92.58 | 83.80 | 83.96 | 94.80 | |
| Route to selective experts | |||||||||
| HydraLoRA | 85.01 | 84.57 | 81.24 | 87.25 | 93.32 | 84.10 | 84.73 | 93.20 | |
| OD-MoLE | 85.09 | 84.93 | 81.35 | 87.84 | 93.11 | 84.50 | 84.73 | 94.80 | |
| Orth. | Div. | ComQA | CosQA | SIQA | PIQA | ScQA | BoolQ | ARC-C | OBQA | Avg. |
|---|---|---|---|---|---|---|---|---|---|---|
| Metric | Orth. | ComQA | CosQA | SIQA | PIQA | ScQA | BoolQ | ARC-C | OBQA |
|---|---|---|---|---|---|---|---|---|---|
| Median | 0.610 | 3.444 | 1.758 | 2.578 | 3.230 | 1.393 | 1.396 | 1.786 | |
| 0.673 | 3.560 | 1.802 | 2.705 | 3.246 | 1.463 | 1.412 | 1.805 | ||
| 4.57 | 1.95 | 3.74 | 2.92 | 2.08 | 2.45 | 4.75 | 3.61 | ||
| 3.78 | 1.64 | 3.21 | 2.42 | 1.93 | 2.33 | 4.30 | 3.17 |
| Orth. | Div. | Eff. rank | Stable rank | Median | p90 |
|---|---|---|---|---|---|
| Init. | 15.96 | 14.34 | 1.12 | 1.13 | |
| 12.19 | 4.21 | 2.83 | 3.19 | ||
| 12.92 | 4.63 | 2.54 | 2.87 | ||
| Llama-2-7B | Qwen2.5-7B | |||||
| Method | Peak Mem | Time/Epoch | Accuracy(%) | Peak Mem | Time/Epoch | Accuracy(%) |
| Compose all experts | ||||||
| HydraLoRA | 37.30GB | 34.0min | 75.76 | 33.07GB | 37.0min | 85.42 |
| OD-MoLE | 37.18GB | 40.0min | 76.41 | 34.77GB | 42.5min | 85.50 |
| Route to selective experts | ||||||
| HydraLoRA | 39.10GB | 48.5min | 78.21 | 35.35GB | 52.5min | 85.01 |
Appendix figures & tables23 assets
Supplementary material from the paper’s appendix.
Appendix
| Dataset | #Epochs |
|---|---|
| ComQA | 2 |
| CosQA | 2 |
| SIQA | 2 |
| PIQA | 3 |
| ScQA | 5 |
| BoolQ | 2 |
| 0.95 | 0.94 | 0.94 | |
| 0.95 | 0.95 | 0.95 | |
| 0.96 | 0.96 | 0.96 |
| Experts | Top- | Rank | Active rank | HydraLoRA | OD-MoLE | Gain |
|---|---|---|---|---|---|---|
| 8 | 2 | 4 | 8 | 86.68 | 87.04 | +0.36 |
| 16 | 4 | 2 | 8 | 86.05 | 86.23 | +0.18 |
| 32 | 8 | 1 | 8 | 85.99 | 86.53 | +0.54 |
| Method | ComQA | CosQA | SIQA | PIQA | ScQA | BoolQ | ARC-C | OBQA | Avg. |
|---|---|---|---|---|---|---|---|---|---|
| HydraLoRA | 84.68 | 79.77 | 74.77 | 85.50 | 84.84 | 85.29 | 85.24 | 91.60 | 83.96 |
| OD-MoLE | 84.11 | 80.74 | 74.72 | 84.90 | 85.40 | 85.57 | 85.75 | 93.20 | 84.30 |
| Difference |
| Method | ComQA | CosQA | SIQA | PIQA | ScQA | BoolQ | ARC-C | OBQA | Avg. |
|---|---|---|---|---|---|---|---|---|---|
| Guo et al. (adapted) | 83.46 | 76.25 | 76.41 | 87.87 | 78.13 | 80.90 | 82.76 | 95.20 | 82.62 |
| OD-MoLE | 85.50 | 84.85 | 79.63 | 87.65 | 92.58 | 83.80 | 83.96 | 94.80 | 86.60 |
| Task | Seed 40 | Seed 41 | Seed 42 | Seed 43 | Seed 44 | Mean | 95% CI |
|---|---|---|---|---|---|---|---|
| ComQA | 84.77 / 85.18 | 84.60 / 84.68 | 84.36 / 84.68 | 85.67 / 86.00 | 85.09 / 84.85 | ||
| CosQA | 87.67 / 87.81 | 84.57 / 85.76 | 84.93 / 85.71 | 84.03 / 84.14 | 83.89 / 84.53 | ||
| SIQA | 79.43 / 79.12 | 79.48 / 79.89 | 79.22 / 80.25 | 79.12 / 80.19 | 78.35 / 79.48 | ||
| PIQA | 89.72 / 89.99 | 88.41 / 89.34 | 89.72 / 90.37 | 89.66 / 88.85 | 89.83 / 90.37 | ||
| ScQA | 92.30 / 93.61 | 91.70 / 92.82 | 91.26 / 92.26 | 92.96 / 92.96 | 91.98 / 91.93 | ||
| BoolQ | 87.06 / 88.20 | 87.40 / 87.92 | 87.58 / 88.50 | 87.86 / 86.21 | 88.01 / 87.89 |
| Task | Seed 40 | Seed 41 | Seed 42 | Mean | 95% CI |
|---|---|---|---|---|---|
| ComQA | 84.77 / 85.18 | 84.60 / 84.03 | 84.36 / 85.09 | ||
| CosQA | 87.67 / 86.34 | 84.57 / 86.50 | 84.93 / 87.10 | ||
| SIQA | 79.43 / 79.63 | 79.48 / 80.09 | 79.22 / 79.53 | ||
| PIQA | 89.72 / 89.88 | 88.41 / 89.55 | 89.72 / 89.34 | ||
| ScQA | 92.30 / 92.40 | 91.70 / 92.35 | 91.26 / 92.35 | ||
| BoolQ | 87.06 / 88.23 | 87.40 / 88.04 | 87.58 / 88.10 |
| Task | Seed 40 | Seed 41 | Seed 42 | Mean | 95% CI |
|---|---|---|---|---|---|
| ComQA | 84.77 / 85.26 | 84.60 / 84.28 | 84.36 / 84.36 | ||
| CosQA | 87.67 / 87.14 | 84.57 / 86.63 | 84.93 / 87.71 | ||
| SIQA | 79.43 / 79.43 | 79.48 / 80.19 | 79.22 / 79.99 | ||
| PIQA | 89.72 / 89.99 | 88.41 / 90.15 | 89.72 / 88.74 | ||
| ScQA | 92.30 / 92.82 | 91.70 / 91.79 | 91.26 / 92.02 | ||
| BoolQ | 87.06 / 87.28 | 87.40 / 88.04 | 87.58 / 87.71 |
| Task | Seed 40 | Seed 41 | Seed 42 | Mean | 95% CI |
|---|---|---|---|---|---|
| ComQA | 85.18 / 85.18 | 84.03 / 84.03 | 85.09 / 84.28 | ||
| CosQA | 86.34 / 87.94 | 86.50 / 86.30 | 87.10 / 88.34 | ||
| SIQA | 79.63 / 79.32 | 80.09 / 79.22 | 79.53 / 80.19 | ||
| PIQA | 89.88 / 89.93 | 89.55 / 89.12 | 89.34 / 88.85 | ||
| ScQA | 92.40 / 92.91 | 92.35 / 92.54 | 92.35 / 92.12 | ||
| BoolQ | 88.23 / 87.28 | 88.04 / 88.10 | 88.10 / 88.53 |
| Orth. | Div. | ComQA | CosQA | SIQA | PIQA | ScQA | BoolQ | ARC-C | OBQA |
|---|---|---|---|---|---|---|---|---|---|
| 0.176 | 0.853 | 0.408 | 0.673 | 0.832 | 0.346 | 0.309 | 0.197 | ||
| 0.186 | 0.843 | 0.415 | 0.677 | 0.718 | 0.328 | 0.319 | 0.260 |
| Experts | Statistic | Orth. | ComQA | CosQA | SIQA | PIQA | ScQA | BoolQ | ARC-C | OBQA |
|---|---|---|---|---|---|---|---|---|---|---|
| All 8 | Median | 0.533 | 3.036 | 1.415 | 2.024 | 2.669 | 1.213 | 1.181 | 1.563 | |
| 0.566 | 3.112 | 1.457 | 2.167 | 2.730 | 1.255 | 1.219 | 1.457 | |||
| p05 | 0.145 | 0.688 | 0.358 | 0.373 | 0.534 | 0.262 | 0.221 | 0.145 | ||
| 0.158 | 0.696 | 0.337 | 0.382 | 0.600 | 0.246 | 0.211 | 0.201 | |||
| Selected 2 | Median | 0.622 | 3.450 | 1.710 | 2.540 | 3.174 | 1.386 | 1.385 | 1.804 | |
| 0.681 | 3.550 | 1.781 | 2.596 | 3.180 | 1.475 | 1.401 | 1.791 |
| Layer | Projection | Top expert ( ) | Top expert ( ) | Top pair ( ) | Top pair ( ) |
|---|---|---|---|---|---|
| 7 | q_proj | E4 (29.1%) | E1 (28.2%) | E0–E1 (6.7%) | E3–E4 (6.6%) |
| 7 | k_proj | E1 (28.2%) | E6 (27.8%) | E1–E7 (5.0%) | E4–E6 (6.2%) |
| 7 | v_proj | E1 (28.2%) | E3 (29.6%) | E1–E4 (6.5%) | E0–E3 (5.1%) |
| 7 | o_proj | E2 (29.7%) | E7 (31.2%) | E3–E7 (6.1%) | E5–E7 (6.2%) |
| 14 | q_proj | E1 (30.2%) | E6 (27.6%) | E3–E6 (6.0%) | E4–E5 (6.5%) |
| 14 | k_proj | E4 (28.4%) | E2 (28.7%) | E2–E4 (5.9%) | E4–E5 (5.4%) |
| Layer | Slot | Intervention | HydraLoRA acc. drop | OD-MoLE acc. drop | HydraLoRA NLL | OD-MoLE NLL |
|---|---|---|---|---|---|---|
| 7 | Higher | Removal | ||||
| 7 | Higher | Replacement | ||||
| 7 | Lower | Removal | 0.0000 | |||
| 7 | Lower | Replacement | ||||
| 14 | Higher | Removal | ||||
| 14 | Higher | Replacement |
| Task | Div. | Epoch | Eff. rank | Stable rank | Norm. spectrum | |
|---|---|---|---|---|---|---|
| SIQA | 0 | 2.3089 / 2.3194 | 15.9649 / 15.9764 | 14.3419 / 14.6667 | 0.24989 / 0.26392 | |
| 1 | 2.6812 / 3.0775 | 14.8210 / 15.5969 | 6.8792 / 10.0413 | 0.24553 / 0.36576 | ||
| 2 | 3.1958 / 4.0492 | 13.3581 / 14.7045 | 5.2882 / 7.7874 | 0.23962 / 0.40654 | ||
| 0 | 2.3089 / 2.3194 | 15.9649 / 15.9764 | 14.3419 / 14.6667 | 0.24989 / 0.26392 | ||
| 1 | 2.6955 / 3.0807 | 15.0661 / 15.7013 | 7.3503 / 10.4430 | 0.24635 / 0.38040 | ||
| 2 | 3.2623 / 4.2240 | 14.1296 / 15.1488 | 5.9818 / 8.7138 | 0.24305 / 0.43637 |
| Div. | Epoch | Median | p90 |
|---|---|---|---|
| 0 | 1.1196 | 1.1325 | |
| 1 | 1.8845 | 2.2502 | |
| 2 | 2.3881 | 2.7517 | |
| 3 | 2.8333 | 3.1920 | |
| 0 | 1.1196 | 1.1325 | |
| 1 | 1.8560 | 2.2313 |
| Task | Stable rank | Raw singular value | Accuracy | |
|---|---|---|---|---|
| SIQA | 0 | 5.2882 / 7.7874 | 0.70820 / 1.08094 | 80.04 |
| 0.001 | 5.9818 / 8.7138 | 0.76706 / 1.30416 | 80.14 | |
| 0.01 | 6.0256 / 8.9137 | 0.76219 / 1.27646 | 79.94 | |
| 0.1 | 6.1871 / 9.0568 | 0.75281 / 1.24540 | 80.30 | |
| 1 | 7.3886 / 11.2498 | 0.77154 / 1.40283 | 80.09 | |
| PIQA | 0 | 4.2116 / 6.5360 | 0.71079 / 1.23412 | 89.72 |
| Routing | Penalty | ComQA | CosQA | SIQA | PIQA | ScQA | BoolQ | ARC-C | OBQA | Avg. |
|---|---|---|---|---|---|---|---|---|---|---|
| All experts | Normalized | 85.75 | 88.41 | 80.35 | 90.32 | 91.65 | 86.94 | 88.65 | 95.80 | 88.48 |
| Raw | 85.83 | 88.51 | 80.19 | 90.21 | 92.02 | 87.03 | 88.48 | 96.00 | 88.53 | |
| Selective | Normalized | 84.77 | 87.14 | 79.89 | 89.61 | 92.63 | 87.83 | 88.05 | 95.60 | 88.19 |
| Raw | 85.18 | 87.81 | 79.12 | 89.99 | 93.61 | 88.20 | 88.57 | 96.40 | 88.61 |
| Benchmark | Metric | Routing | HydraLoRA (%) | OD-MoLE (%) | |
|---|---|---|---|---|---|
| GSM8K | Exact match | All experts | 82.79 | 83.47 | |
| GSM8K | Exact match | Selective | 81.65 | 83.55 | |
| HumanEval | Pass@1 | All experts | 59.15 | 59.76 | |
| HumanEval | Pass@1 | Selective | 57.32 | 57.93 |
| All-expert composition | Selective routing | |||
|---|---|---|---|---|
| Task | HydraLoRA | OD-MoLE | HydraLoRA | OD-MoLE |
| ComQA | 185.92 / 196.12 | 183.59 / 191.34 | 613.04 / 635.67 | 613.25 / 633.57 |
| CosQA | 206.15 / 264.60 | 241.75 / 267.27 | 660.01 / 690.79 | 659.32 / 698.27 |
| SIQA | 182.04 / 203.74 | 181.01 / 201.02 | 373.95 / 612.40 | 373.95 / 394.35 |
| PIQA | 129.01 / 180.98 | 129.02 / 180.50 | 374.10 / 428.03 | 375.27 / 429.95 |
| ScQA | 128.06 / 147.63 | 128.07 / 147.57 | 372.70 / 394.28 | 372.57 / 394.17 |
| Benchmark | Routing | HydraLoRA | OD-MoLE |
|---|---|---|---|
| GSM8K | All experts | 5.128 / 5.387 | 5.116 / 5.313 |
| GSM8K | Selective | 9.412 / 9.971 | 9.379 / 9.926 |
| HumanEval | All experts | 5.181 / 5.338 | 5.098 / 5.472 |
| HumanEval | Selective | 9.403 / 9.886 | 9.403 / 9.755 |
| Method | Trainable parameters | Activated parameters | ||
|---|---|---|---|---|
| Count | Proportion | Count | Proportion | |
| LoRA ( ) | — | — | ||
| LoRA ( ) | — | — | ||
| LoRA ( ) | — | — | ||
| MoLoRA | ||||
| GOAT | ||||
Mixture-of-Experts Language Models
Mixture-of-Experts language models use input-dependent routing to activate a small subset of expert networks, increasing capacity without proportional compute.
See all 257 papers