DiffusionMTL: Learning Multi-Task Denoising Diffusion Model from Partially Annotated Data

Hanrong Ye, Dan Xu

Introduction

Multi-task learning (MTL) aims to learn multiple related tasks simultaneously, leveraging shared information to improve overall performance. However, obtaining full pixel-level annotations for every task (e.g., semantic segmentation, depth estimation, surface normals) across large datasets is prohibitively expensive. This leads to the challenge of Multi-Task Partially Supervised Learning (MTPSL), where each training image typically only has labels for a subset of tasks.

Existing MTPSL methods often struggle with "noisy" or inconsistent predictions due to the lack of full cross-task supervision. While some approaches attempt to enforce consistency in joint feature spaces, they frequently suffer from visual artifacts and high computational costs. DiffusionMTL addresses these issues by reframing the refinement of initial, noisy task predictions as a generative denoising diffusion process.

Methodology: Multi-Task Denoising Diffusion

The core innovation of DiffusionMTL is the Multi-Task Denoising Diffusion Network (MTDNet). Instead of directly predicting final outputs, the framework treats the initial, potentially inaccurate predictions from a standard backbone as noisy inputs that need to be "rectified."

Overview of the Multi-Task Denoising Diffusion Network (MTDNet) architecture, illustrating the flow from initial noisy predictions to refined outputs through iterative denoising.

The process involves two primary stages:

  1. Initial Prediction: A standard encoder-decoder backbone generates "starter" prediction maps. Due to partial labels, these maps often contain errors or lack fine detail.
  2. Iterative Denoising: The MTDNet takes these initial maps and refines them over several steps. The paper explores two variants: Prediction Diffusion, which operates in the output space, and Feature Diffusion, which refines latent task-specific features.

Multi-Task Conditioning (MTC)

The "secret sauce" of this approach is the Multi-Task Conditioning (MTC) strategy. During the denoising of a specific target task, the model incorporates information from the initial predictions of all other tasks. By using a Transformer-based denoiser with cross-attention, the model learns to exploit cross-task correlations—such as the alignment between object boundaries in segmentation and depth discontinuities—to fill in missing information caused by partial labeling.

Evaluation and Results

DiffusionMTL was rigorously evaluated on three major benchmarks: PASCAL-Context (5 tasks), NYUD-v2 (3 tasks), and Cityscapes (2 tasks). The experiments focused on challenging partial-label scenarios, including "one-label" (one task per image) and "random-label" settings.

Performance Gains

DiffusionMTL consistently outperformed previous state-of-the-art (SOTA) methods like XTC. On PASCAL-Context (one-label), it achieved a multi-task performance improvement ($\Delta_m$) of +3.65%, a significant jump from the previous best of +0.37%. On Cityscapes, the improvement was even more pronounced, outperforming XTC by over 11% and nearly closing the gap with fully supervised models.

Qualitative Superiority

Beyond quantitative metrics, DiffusionMTL produces visually superior results. The iterative refinement process effectively removes "speckle" noise and artifacts, resulting in sharper boundaries and smoother gradients compared to previous methods.

Qualitative comparison of DiffusionMTL against the state-of-the-art XTC and ground truth across multiple tasks on the PASCAL-Context dataset.

Conclusion and Future Work

By modeling the errors of partially supervised learning as a noise distribution, DiffusionMTL provides a powerful generative framework for multi-task refinement. It achieves superior performance with fewer parameters (133M vs. 173M for XTC) by leveraging iterative denoising and implicit cross-task consistency.

While the iterative nature of diffusion models can impact inference speed, the authors demonstrate that as few as two denoising steps can yield high-quality results. Future work may involve extending this denoising paradigm to other deterministic vision tasks where data is inherently noisy or incomplete.

Summary updated

BibTeX
@inproceedings{ye2024diffusionmtl,
  author = {Hanrong Ye and Dan Xu},
  title = {{DiffusionMTL: Learning Multi-Task Denoising Diffusion Model from Partially Annotated Data}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2024},
}
Figure