NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Each Rank Could be an Expert: Single-Ranked Mixture of Experts LoRA for Multi-Task Learning

Ziyu Zhao, Yixiao Zhou, Didi Zhu, Tao Shen, Xuwu Wang, Jing Su, Kun Kuang, Zhongyu Wei, Fei Wu, Yu Cheng · DOI

Introduction

Fine-tuning Large Language Models (LLMs) for specific downstream tasks is a cornerstone of modern AI development. While Low-Rank Adaptation (LoRA) has emerged as a highly efficient Parameter-Efficient Fine-Tuning (PEFT) method, it faces significant hurdles in multi-task learning (MTL) scenarios. This paper introduces SMoRA (Single-ranked Mixture of Experts LoRA), a novel framework that redefines the granularity of Mixture-of-Experts (MoE) to achieve superior performance and efficiency in multi-task settings.

The Challenge of Multi-Task LoRA

Standard LoRA updates all parameters for every input, which often leads to "task interference" in multi-task environments—where the optimization for one task negatively impacts another. Previous attempts to mitigate this using MoE-LoRA treat entire LoRA modules as experts. However, the authors argue this coarse-grained approach is insufficient to capture the subtle shared knowledge between tasks or to allow for deep specialization on specific nuances.

SMoRA: Rank-wise Mixture of Experts

The core innovation of SMoRA is the shift from module-level experts to rank-level experts. By treating each individual rank within a LoRA module as an independent expert, SMoRA achieves the finest possible partitioning of the parameter space.

Comparison of LoRA (left), MoE-LoRA (center), and SMoRA (right) architectures.

Technical Components

  1. Rank-wise Granularity: SMoRA utilizes a single high-rank LoRA (e.g., rank 64) and treats each rank as an individual expert.
  2. Dynamic Sparse Activation: For each token, a router selects the top-$k$ most relevant ranks, dynamically assembling a custom adapter on the fly.
  3. Loss-Free Load Balancing: A training-free balancing strategy uses an auxiliary bias term in the router to ensure even expert utilization without the need for complex extra loss functions.
  4. Efficient Computation via indexed_matmul: To overcome the overhead of sparse selection, the authors developed a custom CUDA kernel using the TVM compiler stack. This ensures SMoRA is both faster and more memory-efficient than naive MoE implementations.

Key Insights and Parameter Diversity

A primary finding of this work is that "less is more." Activating only a small fraction of available ranks (e.g., 8 out of 64) often outperforms a standard LoRA using all 64 ranks. This suggests that targeted, sparse activation is more effective than dense parameter usage for multi-task learning.

Parameter diversity heatmap for SMoRA (1x64:16 configuration), showing reduced redundancy.

Furthermore, visualization of learned parameters via heatmaps reveals that fine-grained experts are significantly less redundant than their coarse-grained counterparts. This indicates that SMoRA represents a more diverse and expressive parameter space, allowing the model to better navigate the complexities of multiple tasks simultaneously.

Empirical Results

SMoRA was evaluated across several rigorous benchmarks, demonstrating its robustness:

  • FLAN-v2: On Llama-2-7b, SMoRA (8 active ranks) outperformed a full 64-rank LoRA by 1.73% and a standard 8-rank LoRA by 11.16%.
  • Multi-Domain Benchmark: SMoRA achieved an average score of 36.66, surpassing other state-of-the-art PEFT methods like HydraLoRA and MoSLoRA.
  • DS-1000: The method showed strong performance in specialized code generation tasks across seven different Python libraries.

Conclusion

SMoRA demonstrates that rethinking the granularity of experts in MoE-LoRA can lead to significant gains in both performance and efficiency. By treating each rank as an expert, the model avoids task interference and leverages a more diverse parameter space. While the fine-grained nature of the computations presents some hardware parallelization challenges on high-end GPUs, the authors note its potential for edge devices where smaller compute cores may align better with SMoRA’s architecture. Future work will likely explore applying this rank-wise expertise to other PEFT methods beyond LoRA.

Summary updated

BibTeX
@inproceedings{zhao2026each,
  author = {Ziyu Zhao and Yixiao Zhou and Didi Zhu and Tao Shen and Xuwu Wang and Jing Su and Kun Kuang and Zhongyu Wei and Fei Wu and Yu Cheng},
  title = {{Each Rank Could be an Expert: Single-Ranked Mixture of Experts LoRA for Multi-Task Learning}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2026},
  doi = {10.1145/3770854.3780222},
}
Figure