FineRMoE: Dimension Expansion for Finer-Grained Expert with Its Upcycling Approach
Organizations: Shanghai Jiao Tong University
Abstract
As revealed by the scaling law of fine-grained MoE, model performance ceases to be improved once the granularity of the intermediate dimension exceeds the optimal threshold, limiting further gains from single-dimension fine-grained design. To address this bottleneck, we propose FineRMoE (FineR-Grained MoE), an architecture that extends fine-grained expert design to both intermediate and output dimensions, aiming to enhance expert specialization beyond the single-dimension limit. We further introduce a bi-level sparse forward computation paradigm and a specialized routing mechanism to govern the activation. In addition, to obviate the prohibitive cost of training FineRMoE from scratch, we devise a generalized upcycling method to build FineRMoE in a cost-effective manner. Extensive experiments demonstrate the superior performance achieved by FineRMoE across ten standard benchmarks. Compared with the strongest baseline, FineRMoE achieves 6 times higher parameter efficiency, 281 times lower prefill latency, and 136 timese higher decoding throughput during inference.
Figures & tables
| #P/B | #AP/B | MMLU | BBH | Hell. | Wino. | ARCC. | ARCE. | AGIE. | MBPP | GSM8K | GPQA | AVG | |
| Base Model: Qwen2.5-0.5B | |||||||||||||
| PT | 0.49 | 0.49 | 47.50 | 23.18 | 51.84 | 56.67 | 34.81 | 68.90 | 28.07 | 29.40 | 41.70 | 29.80 | 41.19 |
| CT | 0.49 | 0.49 | 46.18 | 32.04 | 52.71 | 57.46 | 35.58 | 68.06 | 27.31 | 28.00 | 38.51 | 27.23 | 41.31 |
| C32A2 | 10.36 | 0.95 | 44.52 | 31.12 | 51.82 | 55.56 | 34.84 | 67.42 | 28.31 | 33.80 | 37.32 | 28.12 | 41.28 |
| S16A4 | 0.63 | 0.40 | 26.04 | 12.95 | 30.45 | 51.70 | 22.95 | 46.46 | 25.47 | 0.00 | 1.90 | 23.88 | 24.18 |
| DU | 2.83 | 0.94 | 24.36 | 6.93 | 28.51 | 50.67 | 21.93 | 40.70 | 25.86 | 0.00 | 2.27 | 25.00 | 22.62 |
| Settings | Pre-Trained | No FG | Inter FG | Out FG | Inter&Out FG |
| Intermediate FG | - | ✓ | ✓ | ||
| Output FG | - | ✓ | ✓ | ||
| , , , | - | 1,1,1,2 | 32,1,1,2 | 1,1,2,2 | 32,1,2,2 |
| Intermediate Dim | 8960 | 8960 | 280 | 8960 | 280 |
| Output Dim | 1536 | 1536 | 1536 | 768 | 768 |
| #A-Experts / #Experts | - / - | 1 / 2 | 1 / 64 | 2 / 4 | 2 / 128 |
| Settings | MMLU | BBH | Hell. | Wino. | ARCC. | ARCE. | AGIE. | MBPP | GSM8K | GPQA | AVG |
| Separate Router | 59.31 | 43.62 | 67.73 | 64.88 | 52.05 | 79.80 | 38.62 | 45.00 | 66.19 | 32.37 | 54.96 |
| Single Router | 59.30 | 45.97 | 67.51 | 65.27 | 53.41 | 80.35 | 41.81 | 50.00 | 66.34 | 32.14 | 56.21 |
| #Experts | #A-Experts | #Param/B | #A-Param/B | Inter-Dim | Out-Dim | Performance | ||
| Pre-trained | - | - | 1.54 | 1.54 | 8960 | 1536 | 55.39 | |
| 2 | 2 | 8 | 2 | 5.63 | 2.74 | 4480 | 768 | 53.71 |
| 4 | 2 | 16 | 2 | 5.63 | 2.26 | 2240 | 768 | 54.13 |
| 4 | 4 | 32 | 4 | 8.72 | 2.65 | 2240 | 384 | 55.33 |
| 8 | 2 | 32 | 2 | 5.63 | 2.02 | 1120 | 768 | 55.00 |
| 8 | 4 | 64 | 4 | 8.72 | 2.22 | 1120 | 384 | 56.09 |
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
| Hyper-parameter | Setting |
| Optimizer | Adam |
| Adam_beta1 | 0.9 |
| Adam_beta2 | 0.95 |
| Clip Grad | 1.0 |
| Learning Rate | 1e-5 |
| Minimum Learning Rate | 1e-7 |
| Models | C32A2 | S16A4 | DU | NVShard | FineRMoE |
| #Param (B) | 184.42 | 7.62 | 47.54 | 47.55 | 26.65 |
| #A-Param (B) | 13.33 | 3.34 | 13.32 | 7.63 | 7.94 |
| #Generated Tokens | 107 | 47 | 32000 | 332 | 110 |
| TTFT (ms) | 50245.9 | 78.5 | 84.8 | 137.8 | 178.3 |
| Throughput (tokens/s) | 0.2 | 24.0 | 25.6 | 18.9 | 27.3 |
| Generated Text | |||||
| MMLU | BBH | HellaSwag | WinoGrande | ARC-C | ARC-E | AGIEval | MBPP | GSM8K | GPQA | ||
| 2 | 2 | 58.19 | 42.45 | 66.56 | 64.09 | 51.19 | 78.28 | 40.41 | 46.00 | 63.84 | 26.12 |
| 4 | 2 | 58.15 | 43.46 | 66.44 | 63.69 | 51.88 | 80.13 | 41.80 | 44.40 | 63.46 | 27.90 |
| 4 | 4 | 58.97 | 44.68 | 67.14 | 65.11 | 51.62 | 80.30 | 41.15 | 47.20 | 66.11 | 31.03 |
| 8 | 2 | 58.16 | 45.48 | 66.79 | 64.48 | 50.77 | 79.12 | 39.85 | 46.60 | 65.50 | 33.26 |
| 8 | 4 | 59.17 | 47.00 | 67.46 | 64.88 | 53.24 | 80.39 | 42.16 | 50.00 | 66.03 | 30.58 |
| 16 | 2 | 59.06 | 45.51 | 67.24 | 64.01 | 52.82 | 79.88 | 41.55 | 48.00 | 66.11 | 30.36 |
| Settings | Pre-Trained | Base | Ablation on | Ablation on | Ablation on | |||
| , , , | - | 32,1,2,2 | 32,1,2,2 | 32,1,2,2 | 32, 2 ,2,2 | 32, 4 ,2,2 | 32,1,2, 4 | 32,1,2, 8 |
| - | 1 | 2 | 4 | 1 | 1 | 1 | 1 | |
| #Experts | - | 128 | 128 | 128 | 256 | 512 | 256 | 512 |
| #A-Experts | - | 2 | 4 | 8 | 2 | 2 | 2 | 2 |
| #Param / B | 1.54 | 5.64 | 5.64 | 5.64 | 9.51 | 17.24 | 9.51 | 17.24 |
| #A-Param / B | 1.54 | 1.85 | 1.91 | 2.03 | 1.86 | 1.88 | 1.86 | 1.88 |
Sparse Mixture-of-Experts
Sparse mixture-of-experts models route each input to a small subset of specialized networks to increase capacity while limiting computation.
See all 121 papers