Multi-Task Dense Prediction via Mixture of Low-Rank Experts

Yuqi Yang, Peng-Tao Jiang, Qibin Hou, Hao Zhang, Jinwei Chen, Bo Li

Abstract

Multi-task dense prediction requires balancing task-specific specialization with cross-task feature sharing. We present Mixture-of-Low-Rank-Experts (MLoRE), a decoder-focused architecture that employs low-rank parameterization and a unique "generic convolution" path to capture global task relationships. By leveraging linear operations, MLoRE allows multiple experts to be mathematically collapsed into a single convolution during inference. This approach achieves state-of-the-art performance on PASCAL-Context and NYUD-v2 benchmarks while significantly reducing computational overhead compared to traditional Mixture of Experts (MoE) models.

Introduction

Multi-task learning (MTL) aims to perform several dense prediction tasks—such as semantic segmentation, depth estimation, and edge detection—within a single unified model. While the Mixture of Experts (MoE) technique has become a popular way to let models specialize for different tasks, it faces two major hurdles: the neglect of global relationships shared across tasks and a computational explosion in parameters and FLOPs as the number of experts scales. MLoRE addresses these challenges by building a model that increases representation capacity without the typical costs in memory or speed.

Methodology: The MLoRE Module

The core contribution is the MLoRE module, integrated into the decoder of a Vision Transformer (ViT) backbone. It consists of three parallel paths designed to balance universal and specialized features:

  • Task-Sharing Generic Convolution Path: A standard 3x3 convolution that every task feature passes through, forcing the model to learn features useful for all tasks simultaneously.
  • Task-Sharing Low-Rank Expert Path: Inspired by Low-Rank Adaptation (LoRA), heavy vanilla convolutions are replaced with low-rank versions ($W = A \times B$). A router dynamically selects the "top-k" experts for each task.
  • Task-Specific Low-Rank Expert Path: A small set of experts dedicated to individual tasks to further refine specialized features.
The MLoRE module architecture showing the training phase with multiple experts and the inference phase where they are re-parameterized into a single convolution.

Efficiency through Re-parameterization

Crucially, the authors avoid using non-linear activation functions (like ReLU) inside these paths. Because the operations are linear, the multiple low-rank experts and the generic convolution can be mathematically merged into a single, standard 3x3 convolution during inference. This allows the model to benefit from the representational power of 15+ experts during training while maintaining the inference speed of a single-expert model.

Experimental Results

The model was evaluated on the PASCAL-Context and NYUD-v2 benchmarks using backbones like ViT-Large and HRNet18. MLoRE achieved new state-of-the-art (SOTA) performance across all metrics.

Radar chart comparing MLoRE (Ours) against competitive baselines across multiple tasks on the PASCAL-Context and NYUD-v2 datasets.

Key Performance Metrics

  • PASCAL-Context: Outperformed previous bests in every category, reaching 81.41 mIoU in semantic segmentation and 70.52 mIoU in human parsing.
  • NYUD-v2: Achieved SOTA results across all four tasks, including a significant improvement in depth estimation (RMSE of 0.5076).
  • Efficiency: Compared to a standard MoE setup with 15 experts, MLoRE reduced parameters from 29.9M to 6.0M and FLOPs from 28.49G to 7.29G, while actually improving accuracy.

Discussion and Insights

Visualization of the experts revealed that experts with lower ranks tend to learn shared knowledge for 3–4 related tasks, while higher-rank experts specialize in only 1–2 tasks. The "Generic Convolution" path acts as a vital anchor; without it, the MoE router rarely selects the same expert for all tasks, hindering the model's ability to learn universal visual primitives. By sacrificing internal non-linearity within the MLoRE module, the authors gained the ability to "collapse" the model at runtime, suggesting that for dense prediction decoders, the structural benefit of many experts outweighs the loss of internal non-linearities.

Conclusion

MLoRE provides a scalable and efficient solution for multi-task dense prediction. By combining low-rank experts with a re-parameterization strategy, it achieves superior performance without the inference-time penalties typically associated with Mixture of Experts architectures. Future work may explore "quasi-linear" structures to further increase module complexity while maintaining the ability to merge weights for deployment.

Summary updated

BibTeX
@inproceedings{yang2024multi,
  author = {Yuqi Yang and Peng-Tao Jiang and Qibin Hou and Hao Zhang and Jinwei Chen and Bo Li},
  title = {{Multi-Task Dense Prediction via Mixture of Low-Rank Experts}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2024},
}
Figure