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

YOLOR-Based Multi-Task Learning

Hung-Shuo Chang, Chien-Yao Wang, Richard Robert Wang, Gene Chou, Hong-Yuan Mark Liao · DOI

Introduction

Multi-task learning (MTL) aims to develop a single, versatile model capable of executing diverse computer vision tasks simultaneously. However, a significant hurdle in this field is task conflict, where features optimized for one task (e.g., bounding box regression) may degrade the performance of another (e.g., natural language generation for image captioning). Traditionally, bridging the gap between pure vision tasks and vision-language tasks has required massive models and extensive pre-training.

This paper introduces a unified MTL framework based on the YOLOR (You Only Learn One Representation) architecture. The proposed model jointly tackles four distinct tasks—object detection, instance segmentation, semantic segmentation, and image captioning—using a lightweight 80M parameter model trained entirely from scratch. By maximizing shared semantic information through "explicit" and "implicit" knowledge, the authors demonstrate that efficiency does not have to come at the cost of performance.

Unified Multi-Task Architecture

The system is built upon the ELAN (Efficient Layer Aggregation Network) backbone, utilizing a "hard parameter sharing" approach. A single encoder is shared across all tasks, topped with lightweight, task-specific heads designed for maximum efficiency.

The unified architecture showing the shared backbone and four task-specific heads.

Key architectural components include:

  • Detection & Instance Segmentation: Derived from the YOLOv7 and YOLACT architectures.
  • Semantic Segmentation: A streamlined "single-scale" head that upsamples high-resolution features, avoiding the noise often introduced by complex multi-scale merging.
  • Image Captioning: A standard Transformer decoder integrated to translate visual features into descriptive text.

Overcoming Task Conflict

A core innovation of this work is the Asymmetric Data Augmentation strategy. While "strong" augmentations like Mosaic or MixUp are essential for robust object detection, they often destroy the spatial and semantic relationships required for image captioning. To solve this, the authors applied strong augmentation for vision tasks while simultaneously maintaining "weak" augmentation (simple resizing and padding) for the captioning task on the same input images.

Furthermore, the researchers identified a unique Semantic Gap: semantic segmentation can be detrimental to image captioning. Because semantic segmentation merges all pixels of a category into a single mask, it loses the individual "instance" granularity (e.g., distinguishing between one person and a group) necessary for accurate scene description.

Experimental Results

The model was evaluated on the MS COCO 2017 and COCO-Stuff datasets, achieving state-of-the-art results for its size class. Despite having only 80 million parameters—significantly fewer than competing "foundation models" like Pix2Seq v2 (115M+) or ViT-based adapters (300M+)—the model achieved a 52.1 AP on object detection and a 28.4 BLEU-4 score on image captioning.

Qualitative results showing the model's ability to perform detection, segmentation, and captioning on a single scene.

Conclusion

This research proves that a compact, unified model can effectively manage the complexities of multi-modal multi-task learning without the need for expensive pre-training. By leveraging implicit knowledge and clever augmentation strategies, the YOLOR-based framework provides a scalable blueprint for future efficient multi-task architectures. Future work will focus on better integrating background semantics ("stuff") into captions without sacrificing instance-level detail.

Summary updated

BibTeX
@misc{chang2023yolor,
  author = {Hung-Shuo Chang and Chien-Yao Wang and Richard Robert Wang and Gene Chou and Hong-Yuan Mark Liao},
  title = {{YOLOR-Based Multi-Task Learning}},
  year = {2023},
  eprint = {2309.16921},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2309.16921},
}
Figure