Mod-Squad: Designing Mixtures of Experts As Modular Multi-Task Learners

Z. Chen, Yikang Shen, Mingyu Ding, Zhenfang Chen, Hengshuang Zhao +2 more
2/14/2026

No confident code implementation found for this paper.

Abstract

Optimization in multi-task learning (MTL) is more challenging than single-task learning (STL), as the gradient from different tasks can be contradictory. When tasks are related, it can be beneficial to share some parameters among them (cooperation). However, some tasks require additional parameters with expertise in a specific type of data or discrimination (specialization). To address the MTL challenge, we propose Mod-Squad, a new model that is Modularized into groups of experts (a ‘Squad’). This structure allows us to formalize cooperation and specialization as the process of matching experts and tasks. We optimize this matching process during the training of a single model. Specifically, we incorporate mixture of experts (MoE) layers into a transformer model, with a new loss that incorporates the mutual dependence between tasks and experts. As a result, only a small set of experts are activated for each task. This prevents the sharing of the entire backbone model between all tasks, which strengthens the model, especially when the training set size and the number of tasks scale up. More interestingly, for each task, we can extract the small set of experts as a standalone model that maintains the same performance as the large model. Extensive experiments on the Taskonomy dataset with 13 vision tasks and the PASCAL-Context dataset with 5 vision tasks show the superiority of our approach. The project page can be accessed at https://vis-www.cs.umass.edu/Mod-Squad.

DOISemantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{chen2026modsquad,
  title  = {Mod-Squad: Designing Mixtures of Experts As Modular Multi-Task Learners},
  author = {Z. Chen and Yikang Shen and Mingyu Ding and Zhenfang Chen and Hengshuang Zhao and E. Learned-Miller and Chuang Gan},
  year   = {2026},
  doi    = {10.1109/CVPR52729.2023.01138},
  url    = {https://doi.org/10.1109/CVPR52729.2023.01138},
  journal = {CVPR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/59f87a2464ab1d3c0376ca30d09c9204c89653dd.svg)](https://codeofpaper.com/paper/59f87a2464ab1d3c0376ca30d09c9204c89653dd)

Discussion