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

OrchMoE: Efficient Multi-Adapter Learning with Task-Skill Synergy

Haowen Wang, Tao Sun, Kaixiang Ji, Jian Wang, Cong Fan, Jinjie GuarXiv 2024 · DOI

Abstract

OrchMoE is a novel Parameter-Efficient Fine-Tuning (PEFT) framework that organizes multiple LoRA adapters into a hierarchy of "skills" and "abstract tasks." By using a dual-router system to automatically categorize inputs and allocate the right skills, it eliminates the need for manual task labels while significantly outperforming standard multi-adapter methods in both multi-task learning and zero-shot transfer. This paper details the architecture of OrchMoE and evaluates its performance across diverse large language models.

Introduction

Fine-tuning Large Language Models (LLMs) for multiple tasks simultaneously is computationally expensive. While PEFT methods like LoRA reduce the number of trainable parameters, scaling them to handle hundreds of diverse tasks remains a challenge. Existing multi-adapter approaches often suffer from two main issues: a dependency on explicit task identifiers and static allocation of experts. In real-world scenarios, data is often a "messy" mix where clear task boundaries don't exist, and simple mixtures of experts (MoE) often route at the token level without a higher-level understanding of the required "skill."

The authors introduce OrchMoE to bridge this gap, creating a system that orchestrates adapters as modular skills without requiring predefined task labels.

Methods

OrchMoE introduces a Task-Skill Synergy architecture consisting of two primary components designed to learn latent task structures automatically.

The OrchMoE architecture featuring Task-Router and Skill-Router components.
  • The Task Router: Instead of relying on external labels, this module uses an attention-based mechanism to map input samples to a set of $T$ "abstract tasks." It essentially learns to cluster similar inputs into latent task categories automatically.
  • The Skill Router: This acts as a bridge between the abstract tasks and the physical adapters (the "skills"). It uses a Task-Skill Allocation Matrix to determine which skills are needed for which abstract task. To make this selection process differentiable, the authors employ the Gumbel-Sigmoid trick, allowing the model to "softly" choose discrete skills during training.
  • Low-Rank Skills: The underlying skill modules are implemented as LoRA adapters. By keeping the rank ($r$) low for each individual skill but using multiple skills, the model maintains a total parameter count comparable to a single high-rank LoRA adapter.

Experimental Setup

The researchers evaluated OrchMoE using the Super Natural Instructions (SuperNI) dataset, a massive meta-dataset featuring over 1,600 diverse NLP tasks. Experiments were conducted on subsets of 10 and 100 tasks to test scaling. To test generalization, the models were evaluated on 10 tasks completely excluded from the training set. The framework was tested on both Encoder-Decoder (T5-XXL, 11B parameters) and Decoder-Only (GLM-10B and GLM-2B) architectures.

Key Insights

  • Latent Task Discovery: OrchMoE naturally groups tasks that require similar linguistic capabilities (e.g., summarization vs. extraction) without explicit supervision.
  • The "Small Model" Boost: OrchMoE provides a disproportionately large benefit to smaller models. A GLM-2B model using OrchMoE can approach the performance of a much larger GLM-10B model using standard tuning.
  • Knowledge Tolerance: The model is robust to the number of abstract tasks. Reducing the number of internal "abstract task" slots from 100 down to 20 resulted in only a marginal performance drop.
  • Superior Zero-Shot Transfer: Because the model learns a generalized mapping of input features to abstract tasks and skills, it handles brand-new tasks much better than baselines tied to specific training labels.

Key Results

OrchMoE consistently outperforms state-of-the-art multi-adapter baselines across different model sizes and task counts.

Performance comparison of OrchMoE against other PEFT methods on T5-XXL and GLM-10B.

As shown in the results, on the T5-XXL model with 100 tasks, OrchMoE achieved a RougeLsum of 69.14, significantly higher than the next best multi-adapter baseline (MHR), which scored 55.01. Furthermore, when tested on 10 completely new tasks, OrchMoE maintained a RougeLsum of 48.47, while standard LoRA dropped to 34.30. These gains were achieved while maintaining a very low parameter footprint—typically between 0.23% and 0.39% of the base model's total parameters.

Limitations and Future Work

While parameter-efficient, the dual-router system adds a small amount of computational complexity during the forward pass compared to a single LoRA adapter. Future work may involve exploring how to choose the optimal number of abstract tasks and skills automatically and expanding the "Task-Skill" approach to multimodal settings such as vision and language.

Summary updated

BibTeX
@misc{wang2024orchmoe,
  author = {Haowen Wang and Tao Sun and Kaixiang Ji and Jian Wang and Cong Fan and Jinjie Gu},
  title = {{OrchMoE: Efficient Multi-Adapter Learning with Task-Skill Synergy}},
  year = {2024},
  eprint = {2401.10559},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.10559},
}
Figure