Going Beyond Multi-Task Dense Prediction with Synergy Embedding Models

Huimin Huang, Yawen Huang, Lanfen Lin, Ruofeng Tong, Yen-Wei Chen, Hao Zheng, Yuexiang Li, Yefeng Zheng

Abstract

Multi-task dense prediction aims to perform multiple pixel-level tasks within a single network. However, balancing task-specific specialization with cross-task cooperation remains a challenge. This paper introduces Synergy Embedding Models (SEM), a novel architecture that refines task-specific features via a hierarchy-adaptive module and captures cross-task relationships using an efficient Expectation-Maximization (EM) based interaction module. SEM achieves state-of-the-art results on standard benchmarks like NYUD-v2 and PASCAL-Context, outperforming existing Transformer-based methods in semantic segmentation, depth estimation, and boundary detection.

Introduction

In visual scene understanding, dense prediction tasks such as semantic segmentation, depth estimation, and boundary detection are inherently related. For instance, depth discontinuities often align with object boundaries. Ideally, a multi-task learning (MTL) framework should exploit these synergies to improve overall performance. However, existing methods struggle with two main issues: intra-task specialty and inter-task complementarity.

Different tasks require different hierarchical features; for example, boundary detection relies heavily on high-resolution shallow features, while semantic segmentation requires abstract, deep features. Most models fail to optimally weigh these hierarchical features for each specific task. Furthermore, modeling all pixel-to-pixel relationships across tasks is computationally prohibitive and often introduces "noise"—irrelevant details that can confuse the model's representations. The authors identify this as the "confused baseline" problem, where representations for one task are muddied by another.

Methods

The Synergy Embedding Model (SEM) addresses these challenges through two primary innovations designed to balance specialization and cooperation:

Intra-Task Hierarchy-Adaptive Module

Instead of simple feature concatenation, this module employs a lightweight Transformer with hierarchy-adaptive keys. It adaptively searches for salient points across multiple encoder stages (from shallow to deep) and learns a specific weighting for each task. This ensures that a boundary detection task receives the high-resolution detail it needs, while segmentation receives the necessary semantic context. This approach recognizes that global modeling should be hierarchical as well as spatial.

Inter-Task EM-Interactive Module

To model cross-task relationships efficiently, the authors utilize the Expectation-Maximization (EM) algorithm. This module learns a compact set of "mutual bases"—representative feature patterns shared across tasks. By iteratively refining these bases through E and M steps, the model finds a consensus between tasks, effectively filtering out noise and focusing on the most useful cross-task synergies. This low-rank representation acts as a powerful regularizer, forcing the model to find shared information rather than memorizing noisy correlations.

Overall architecture of the Synergy Embedding Model (SEM) featuring the Intra-Task and Inter-Task modules.

Results

SEM was evaluated on the NYUD-v2 and PASCAL-Context datasets, consistently outperforming previous state-of-the-art (SOTA) models like InvPT and TaskPrompter.

  • NYUD-v2: SEM achieved a Semantic Segmentation mIoU of 56.82 (up from 55.30) and reduced Depth RMSE to 0.4937 (down from 0.5152).
  • PASCAL-Context: The model set new benchmarks with a Semantic Segmentation mIoU of 81.66 and a Parsing mIoU of 69.90.

Ablation studies demonstrated a "Multi-Task Gain" ($\Delta_m$) of +4.78% over the baseline, proving that the synergy between the intra-task and inter-task modules is greater than the sum of its parts. Qualitative results further show that SEM produces cleaner, more distinct feature maps compared to traditional MTL baselines.

Quantitative comparison on NYUD-v2 and PASCAL-Context datasets alongside qualitative results.

Discussion and Conclusion

SEM demonstrates that effective multi-task learning requires a sophisticated approach to both hierarchical feature selection and cross-task interaction. By allowing tasks to adaptively select encoder layers and interact through a low-rank EM bottleneck, the model effectively "de-muddies" task representations. While highly effective, the architecture's computational intensity with large backbones like ViT-L suggests room for optimization in real-time scenarios. Future work may explore scaling to a larger number of tasks and extending the framework to video-based dense prediction where temporal consistency becomes a critical factor.

Summary updated

BibTeX
@inproceedings{huang2024going,
  author = {Huimin Huang and Yawen Huang and Lanfen Lin and Ruofeng Tong and Yen-Wei Chen and Hao Zheng and Yuexiang Li and Yefeng Zheng},
  title = {{Going Beyond Multi-Task Dense Prediction with Synergy Embedding Models}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2024},
  doi = {10.1109/cvpr52733.2024.02662},
}
Figure