Customizable Combination of Parameter-Efficient Modules for Multi-Task Learning

Haowen Wang, Tao Sun, Cong Fan, Jinjie GuarXiv 2023 · DOI

Introduction

Multi-Task Learning (MTL) aims to train a single model capable of performing diverse tasks. However, two primary challenges often hinder its effectiveness: negative transfer, where conflicting gradients between tasks degrade overall performance, and the seesaw effect, where improvements in one task come at the expense of another. While Parameter-Efficient Fine-Tuning (PEFT) methods like LoRA reduce adaptation costs, they often fail to distinguish between shared general knowledge and task-specific nuances, leading to interference in a shared expert pool.

The C-Poly Architecture

To address these challenges, researchers from AntGroup proposed Customized Polytropon (C-Poly). This method explicitly separates learned skills into two distinct categories using low-rank adapters:

  1. Task-Common Skillset ($\Phi_A$): A pool of adapters shared across all tasks. A routing matrix ($W_A$), optimized via the Gumbel-sigmoid trick, determines which tasks utilize which common skills.
  2. Task-Specific Skillset ($\Phi_B$): Exclusive adapters for each task, providing a "private workspace" for specialized knowledge that might otherwise cause interference.
The C-Poly architecture illustrating the separation of task-common and task-specific modules.

The final output for any given task is the summation of its selected common skills and its unique specialized skill. By leveraging LoRA for these modules, C-Poly maintains high parameter efficiency while enabling deep specialization.

Experimental Evaluation

The effectiveness of C-Poly was evaluated on the SuperGLUE benchmark and SuperNaturalInstructions (SuperNI), a meta-dataset of over 1,600 tasks.

C-Poly consistently outperformed baseline methods, including vanilla LoRA, MoE-LoRA, and the original Polytropon (Poly). On the FLAN-T5-Large model, C-Poly achieved an average accuracy of 83.21%, a significant improvement over standard LoRA (81.85%).

Performance comparison of C-Poly against other PEFT methods on FLAN-T5-Large and GLM-10B models.

Key Insights

  • Scaling Benefits: Performance gains were more pronounced as the base model size increased (e.g., to T5-XXL) and as the task count grew.
  • Sample Efficiency: C-Poly excelled in few-shot scenarios, effectively leveraging shared knowledge to learn from limited data.
  • Optimal Specialization: Ablation studies revealed that a configuration of one task-specific skill combined with a few shared skills often yielded peak performance, suggesting that minimal but dedicated task-specific capacity is sufficient.

Conclusion and Future Work

C-Poly demonstrates that explicit separation of shared and specific skills is vital for scalable Multi-Task Learning. By reducing negative transfer through modular specialization, it sets a new standard for PEFT in multi-task environments. Future research will focus on automating the balance between common and specific modules and developing more dynamic routing mechanisms for scaling to thousands of tasks.

Summary updated

BibTeX
@misc{wang2023customizable,
  author = {Haowen Wang and Tao Sun and Cong Fan and Jinjie Gu},
  title = {{Customizable Combination of Parameter-Efficient Modules for Multi-Task Learning}},
  year = {2023},
  eprint = {2312.03248},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2312.03248},
}
Figure