PT-MoE: An Efficient Finetuning Framework for Integrating Mixture-of-Experts into Prompt Tuning

Zongqian Li, Yixuan Su, Nigel Collier

Abstract

Prompt Tuning (PT) has emerged as a lightweight alternative to full-model fine-tuning, yet it often struggles to match the performance of more robust Parameter-Efficient Fine-Tuning (PEFT) methods like LoRA, particularly in complex reasoning domains. This paper introduces PT-MoE, a novel framework that enhances Prompt Tuning by integrating matrix decomposition with a Mixture-of-Experts (MoE) architecture. By decomposing expert prompts into shared and input-specific components and employing a probationary-selective routing mechanism, PT-MoE achieves state-of-the-art performance across Question Answering (QA) and mathematical reasoning tasks. Remarkably, PT-MoE outperforms LoRA while utilizing 25% fewer trainable parameters, demonstrating a superior balance of efficiency and task specialization.

Introduction

As Large Language Models (LLMs) grow in scale, traditional fine-tuning becomes increasingly computationally expensive. Prompt Tuning (PT) addresses this by keeping the base model frozen and optimizing only a small set of "soft prompt" vectors. While modular and efficient, PT typically suffers from a performance gap when compared to reparameterization-based methods like LoRA, especially in specialized domains such as mathematics.

Existing research into improving PT has encountered two primary contradictions. First, the simple addition of a "router" to select between multiple prompts does not consistently yield performance gains. Second, while matrix decomposition is generally expected to reduce model capacity, it has been observed to improve performance in specific contexts. PT-MoE was developed to resolve these hurdles by identifying a synergy between parameter sharing (via decomposition) and dynamic task adaptation (via MoE).

Methodology

PT-MoE introduces four architectural innovations designed to maximize the utility of soft prompts:

1. Matrix Decomposition

Rather than learning a monolithic prompt matrix, PT-MoE decomposes each "expert" prompt into two distinct components: an input-specific matrix ($A_i$) and a shared matrix ($B$). This structure allows the model to capture core, cross-task knowledge in the shared matrix while maintaining unique specializations within the individual experts. This approach ensures that the model remains parameter-efficient without sacrificing the depth of its learned representations.

2. Dynamic and Probationary-Selective Routing

To adapt the soft prompt on the fly, PT-MoE utilizes a dynamic router that calculates weights for selecting and combining decomposed prompts based on the input context. To refine this process, the authors implement Probationary-Selective Routing. This involves a "hard selection" strategy to minimize overlap between experts and a confidence-scaling mechanism. The output is scaled by the router's confidence, effectively instructing the model to rely more heavily on the prompt when the selection probability is high.

3. Training Stability

To prevent the model from collapsing into a single expert and to encourage exploration, the framework incorporates multiplicative Gaussian noise during the training phase. This ensures that the router learns to evaluate the utility of different experts across a variety of contexts.

4. SVD Initialization

Unlike standard PT, which often relies on random initialization, PT-MoE employs Singular Value Decomposition (SVD) on task-relevant text embeddings. This provides the soft prompts with a meaningful semantic starting point, accelerating convergence and improving final performance.

Experimental Evaluation

The researchers evaluated PT-MoE across 17 diverse datasets categorized into two primary domains:

  • Question Answering (QA): Utilizing the MRQA benchmark, the study included 12 datasets. This spanned in-domain sets (e.g., SQuAD, NaturalQuestions) and out-of-domain sets (e.g., BioASQ, TextbookQA) to test robustness.
  • Mathematical Reasoning: Five datasets were used, with GSM8K as the in-domain training set and SVAMP, ASDIV, MAWPS, and MATH_PROBLEMS serving as out-of-domain generalization tests.

Performance Results

PT-MoE demonstrated significant gains over both standard Prompt Tuning and LoRA:

  • QA Tasks: PT-MoE achieved an F1 score improvement of 1.49 points over standard PT and 2.13 points over LoRA.
  • Mathematics: The framework showed a massive 10.75 point accuracy boost over standard PT and a 0.44 point lead over LoRA.
  • Efficiency: These results were achieved with only 80K parameters, compared to 106K for LoRA and 278K for HydraLoRA.

Key Insights

The Synergy of Decomposition and MoE

The most critical finding of this research is that matrix decomposition and MoE are complementary. Decomposition facilitates efficient parameter sharing, while MoE provides the dynamic adaptation required for complex reasoning. Neither technique achieves comparable results when used in isolation, suggesting that the combination is essential for high-performance Prompt Tuning.

Cross-Task Consistency

Historically, PT methods have been effective for QA but weak in mathematics, while LoRA-based methods showed the opposite trend. PT-MoE is the first PT-based framework to demonstrate "cross-task consistency," performing at the top of its class in both linguistic and mathematical domains. Furthermore, it maintained a 4-6% performance lead on out-of-domain datasets, indicating strong generalization capabilities rather than simple data memorization.

Conclusion and Future Work

PT-MoE represents a significant step forward in making Prompt Tuning a competitive choice for complex LLM adaptation. By combining the efficiency of matrix decomposition with the flexibility of MoE, it achieves superior results with a minimal parameter footprint.

Future research directions include the implementation of hierarchical routing mechanisms to handle even more diverse task distributions and the extension of PT-MoE into continual learning scenarios. The modular nature of the MoE experts makes the framework particularly well-suited for learning new tasks sequentially without the risk of catastrophic forgetting.

Summary updated

BibTeX
@inproceedings{li2025pt,
  author = {Zongqian Li and Yixuan Su and Nigel Collier},
  title = {{PT-MoE: An Efficient Finetuning Framework for Integrating Mixture-of-Experts into Prompt Tuning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=ZSAWYtIwGg},
}
Figure