RotMoLE: Enhancing Mixture of Low-Rank Experts through Rotational Gating Mechanism

Mengyang Sun, MaoChuan Dou, Tao Feng, Dan Zhang, Yihao Wang, Junpeng Liu, Yifan Zhu, Jie TangNeurIPS 2026

TL;DR

When fine-tuning Large Language Models with a Mixture of Low-Rank Experts (MoE-LoRA), standard routers act like simple volume knobs—only scaling how much each expert contributes along a fixed spatial direction. RotMoLE adds a lightweight "steering wheel" (a rotational gate) inside the compressed low-rank space, dynamically rotating expert embeddings before combining them. This expands the model's solution space with negligible parameter overhead, boosting multi-task and multilingual performance—especially when experts are scarce.

What Problem Does This Paper Address?

Fine-tuning massive LLMs for complex, multi-domain scenarios usually combines two popular tricks: LoRA (injecting tiny, trainable low-rank matrices $A$ and $B$ into frozen weights) and Mixture-of-Experts (MoE) (using a router to selectively activate specialized sub-networks). Together, they form MoE-LoRA.

However, standard MoE routers have a geometric blind spot: they only output scalar weights. Geometrically, scaling two vectors and adding them together traps your output on a single line segment between them. The router decides how much an expert speaks, but cannot alter the direction of what it says.

Figure 2: Illustrations of the MoE solution space through a case study in a 2-dimensional space with two candidate experts.

Giving each expert a full $d \times d$ linear transformation matrix to steer its output in high-dimensional LLM space ($d > 4000$) would require a massive $d^3 n$ gating parameter budget, defeating the purpose of parameter-efficient fine-tuning. Even putting an unconstrained $r \times r$ transformation matrix inside the low-rank bottleneck ($r \ll d$) requires $dnr^2$ parameters—often larger than the experts themselves! The challenge is clear: how do we give experts spatial flexibility without blowing up the parameter budget?

Methods

The authors start from a neat geometric truth: any transformation from one non-zero vector to another happens entirely within the 2D plane spanned by those two vectors. Thus, it can be decomposed into a pure scaling operation and a pure 2D rotation.

RotMoLE keeps the standard Softmax router for scaling and top-$k$ expert selection, and introduces a parallel Rotation Gate applied right in the middle of each LoRA expert’s bottleneck ($B_i R_i A_i$):

Figure 1: The structure of our Rotatable Mixture of Low-rank Experts (i.e., RotMoLE): To model a rotation operation for each expert beyond the simple gate-value-based scaling, we implement a rotation gate θ = Θ(x) as well as a set of learnable vectors q, for generating rotation angles and rotation planes for each low-rank expert. Specifically, for the LoRA expert’s rank equal to r, we conduct a 2D rotation for the r-dimensional embeddings in a 2D sub-plane, given by W = W0 + P
  • Generating the Angle: A linear layer with a Sigmoid activation maps the input $x$ to an independent rotation angle $\theta_i \in [-\pi, \pi]$ for each expert. Initializing gating weights to zero starts training at $\theta_i = 0$ (no rotation), where Sigmoid's steep gradient encourages fast early learning while its flat tails stabilize late-stage training.
  • Rank $r = 2$: The low-rank space is already a 2D plane! RotMoLE directly constructs a textbook $2 \times 2$ rotation matrix $R_i$ from $\theta_i$, adding just $dn$ parameters.
  • Rank $r > 2$: To rotate in higher dimensions, you must also define which 2D plane to rotate within. Since inputs routed to the same expert naturally form a semantic cluster, RotMoLE assigns each expert a single learnable $r$-dimensional vector $q_i$ representing its "cluster center." The 2D rotation plane is dynamically spanned by the projected input $A_i x$ and $q_i$ (orthogonalized via Gram-Schmidt). Rotating toward or away from this center costs just $(d + r)n$ extra parameters total.

Datasets

No new benchmarks are introduced; instead, the authors evaluate RotMoLE by jointly training on mixtures of existing datasets to simulate complex, resource-constrained scenarios (where tasks outnumber experts):

  • Mixed Question Answering: CommonsenseQA (CSQA), OpenBookQA (OBQA), and SocialIQA (SIQA).
  • Mixed Natural Language Understanding: Selected tasks from GLUE (SST-2, MRPC, and QNLI).
  • Multilingual Title Generation: Five languages (English, Chinese, Spanish, French, German) from the MTG benchmark.
  • Multilingual NLI: Five languages from XNLI, repurposed from cross-lingual transfer into a joint multilingual training setup.

Key Insights and Ideas

  • Exploiting the Low-Rank Bottleneck: Rather than rotating huge $d$-dimensional outputs, rotating inside the $r$-dimensional LoRA bottleneck makes spatial transformations computationally cheap.
  • One Expert, Multiple Hats: Probing the learned rotation angles reveals that as training progresses, a single shared expert learns distinct rotational angle distributions for different tasks. Rotation lets one expert specialize in multiple sub-tasks simultaneously.
  • Built-in Overfitting Resistance: In multilingual generation, standard MoE-LoRA peaks early and degrades (router overfitting), whereas RotMoLE continues improving and maintains stable performance.
Training convergence showing RotMoLE resisting router overfitting compared to MoE-LoRA

Key Results

Tested on Llama-3.2-3B and Qwen-2.5-3B backbones, RotMoLE consistently outperforms standard MoE-LoRA and recent routing variants:

  • Mixed QA: Boosts joint accuracy by 1.34% to 10.13% (averaging ~5%) over MoE-LoRA across 8 configurations. Gains are sharpest when experts are scarce (e.g., a 10.03% relative boost on Llama-3.2-3B with just 2 rank-3 experts).
  • Beating Routing Baselines: On Qwen-2.5-3B ($r=6, n=4, k=2$), RotMoLE reaches 45.82% average QA accuracy, outperforming MoCLE (34.57%), MoLA (35.66%), and AdaMoLE (41.42%).
  • Multilingual & GLUE: Improves Multilingual Title Generation across all setups (e.g., lifting Rouge-L from 22.64 to 24.06 at $r=4, n=5, k=3$), raises XNLI average accuracy from 48.75% to 49.71%, and edges out baselines on mixed GLUE tasks (76.03% vs. 75.87%).

Limitations and Future Work

The authors highlight a fundamental trade-off between transformation freedom and efficiency:

  • Because the true target output vector is unknown during inference, anchoring the 2D rotation plane using a static learnable vector $q_i$ restricts spatial freedom compared to an unconstrained transformation.
  • Using simple linear layers and activations to predict $g$ and $\theta$ restricts the range of achievable transformations. While building more complex gating networks could unlock greater expressiveness, the authors leave this trade-off due to practical efficiency constraints. (Broader empirical limitations are deferred to Appendix H, which is not included in the main text).

Summary updated

Abstract

While Large Language Models (LLMs) are commonly fine-tuned to handle domain-specific tasks before being applied to vertical applications, adapting them to complex scenarios with diverse specialized knowledge remains challenging. Meanwhile, Mixture-of-Experts (MoE) architecture has risen as a crucial paradigm for training LLMs, and some recent works have also incorporated MoE into Parameter-Efficient Fine-Tuning (PEFT) to propose the Mixture of Low-rank Experts (MoE-LoRA), to enhance the power of low-rank adapters for learning complicated knowledge. However, conventional gating mechanisms in MoE typically apply only a scalar reweighing to selected experts, thereby limiting their underlying capacity of representation and generalization. Motivated and enabled by the low-rank structures in MoE-LoRA, we propose RotMoLE, a specialized MoE framework for low-rank experts featuring an additional rotation gate. Beyond simple scaling, RotMoLE implements a rotation mechanism for each selected expert, enabling superior expert exploitation and specialization for learning diverse data, especially when expert candidates are limited. Results on complex training scenarios validate our effectiveness. Code is available at https://github.com/smyconan/RotMoLE.
BibTeX
@inproceedings{sun2026rotmole,
  author = {Mengyang Sun and MaoChuan Dou and Tao Feng and Dan Zhang and Yihao Wang and Junpeng Liu and Yifan Zhu and Jie Tang},
  title = {{RotMoLE: Enhancing Mixture of Low-Rank Experts through Rotational Gating Mechanism}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=uGtHLqoW8K},
}
Figure