Abstract
Low-Rank Adaptation (LoRA) is a cornerstone of parameter-efficient fine-tuning (PEFT), yet it faces a performance bottleneck when attempting to capture high-rank information. While Mixture of Experts (MoE) variants of LoRA exist, they often introduce significant parameter redundancy and inference latency. We propose Mixture of Ranks (MoR), a framework that efficiently integrates multi-rank information by sharing a core set of low-rank matrices and employing lightweight, task-specific scaling vectors. MoR achieves a 1.31% performance improvement over MoE-style LoRA while utilizing only 93.93% of the parameters.
Introduction
Fine-tuning Large Language Models (LLMs) for diverse tasks is computationally demanding. LoRA mitigates this by training low-rank matrices $A$ and $B$. However, increasing the rank $r$ does not linearly improve performance, especially in complex multi-task environments. Existing MoE-LoRA approaches, which deploy multiple independent LoRA "experts," suffer from parameter bloat and increased latency because each expert redundantly learns similar intrinsic features. MoR addresses these inefficiencies by rethinking how rank-specific information is integrated.
The MoR Framework
The core of MoR is the decoupling of shared intrinsic knowledge from task-specific adaptations.
Shared Experts and Multi-Rank Adaptation
Unlike traditional MoE-LoRA, MoR utilizes a single set of shared matrices $A \in \mathbb{R}^{d_{in} \times r}$ and $B \in \mathbb{R}^{r \times d_{out}}$. To specialize for different tasks, MoR introduces learnable scaling vectors $\lambda_A$ and $\lambda_B$. These vectors are transformed into diagonal matrices $\Lambda$ that scale the shared matrices, effectively projecting them into task-specific subspaces. This allows the model to capture high-rank information through mathematical transformations of low-rank components.
Dynamic Routing
A lightweight router analyzes the input $X$ to generate scores that weight the contributions of different scaled rank transformations. This dynamic integration allows the model to adaptively select the most relevant "rank angle" for a given input, enhancing multi-task performance without the overhead of independent experts.
Experimental Evaluation
We evaluated MoR on a subset of the Tulu-v2 dataset across 11 downstream metrics, including commonsense reasoning (e.g., SIQA, HellaSwag) and world knowledge (MMLU).
Performance and Efficiency
MoR demonstrates superior scalability and efficiency. It outperformed standard LoRA by 7.4% and DoRA by 7.21% at equivalent parameter counts. Notably, MoR maintains a much flatter parameter growth curve compared to MoELoRA as the number of experts increases, proving its high-level parameter efficiency.
Conclusion
MoR provides a highly efficient alternative to MoE-style LoRA by leveraging shared matrices and dynamic scaling. By reducing parameter redundancy, it achieves state-of-the-art PEFT performance. Future work will explore scaling MoR to 70B+ parameter models and refining router logic with explicit task metadata to further minimize learning difficulty.
Summary updated