Joint-Task Regularization for Partially Labeled Multi-Task Learning

Kento Nishi, Junsik Kim, Wanhua Li, Hanspeter Pfister

Abstract

Multi-task learning (MTL) typically requires datasets where every image is labeled for every task—a requirement that is often prohibitively expensive. We present Joint-Task Regularization (JTR), a model-agnostic technique that enables effective learning from partially labeled data. By projecting task predictions into a shared latent space, JTR captures cross-task relationships with linear efficiency ($O(K)$), overcoming the quadratic complexity of existing pair-wise mapping methods.

Introduction

In dense prediction tasks such as semantic segmentation, depth estimation, and surface normal prediction, obtaining full ground-truth labels for every task on a single image is challenging. For instance, annotating a single Cityscapes image for segmentation can take over an hour. Consequently, most available data is "partially labeled," where different datasets provide labels for different subsets of tasks.

Existing approaches to partially labeled MTL often rely on pair-wise mappings between tasks. However, these methods suffer from two primary drawbacks:

  1. Scalability: For $K$ tasks, $O(K^2)$ mappings are required, making them impractical for large-scale systems.
  2. Limited Scope: They fail to capture higher-order dependencies that exist across multiple tasks simultaneously.

Methodology: Joint-Task Regularization (JTR)

JTR addresses these limitations by moving away from task pairs toward a holistic "joint-task space." The core of the approach is a small convolutional auto-encoder that processes a "stack" of all task predictions and available labels.

The JTR architecture integrates a multi-task model with a joint-task latent space via a convolutional auto-encoder.

Architecture and Loss Functions

As shown in Figure 2, the JTR framework consists of:

  • Multi-Task Model: A shared backbone $f_\phi$ followed by task-specific heads $h_{\psi^i}$ producing predictions $\hat{y}^i$.
  • Joint-Task Auto-Encoder: An encoder $g_{\theta1}$ compresses the stack of predictions $\hat{Y}$ and targets $Y$ into a low-dimensional latent space. A decoder $g_{\theta2}$ then reconstructs the stack.
  • Regularization: The model is trained using a standard supervised loss $\mathcal{L}_{SL}$ for existing labels and a JTR loss $\mathcal{L}_{Dist}$ that minimizes the distance between the latent embeddings of predictions and targets.

By utilizing a single shared encoder, JTR achieves linear complexity ($O(K)$) relative to the number of tasks, significantly improving efficiency compared to previous state-of-the-art methods like MTPSL.

Experiments and Results

The authors evaluated JTR on NYU-v2, Cityscapes, and Taskonomy benchmarks under various partial labeling scenarios, including onelabel (one task per image) and randomlabels.

Performance comparison on the NYU-v2 dataset across different labeling scenarios, showing JTR's superior relative improvement.

Performance and Efficiency

On the NYU-v2 benchmark (Figure 3), JTR achieved a +21.92% relative improvement over the supervised baseline in the randomlabels scenario, outperforming the previous state-of-the-art method, MTPSL (+19.66%).

Beyond performance, JTR demonstrates superior efficiency. On the 7-task Taskonomy benchmark, JTR reduced training time from 223 hours (MTPSL) to 105 hours while maintaining lower VRAM usage. This efficiency makes JTR highly suitable for modern architectures like ResNet-50 on standard hardware.

Discussion and Limitations

JTR's ability to capture "higher-order" relationships allows it to remain robust even under significant task imbalance. For example, in "depth-extended" scenarios where depth labels far outnumber others, JTR's latent space acts as a stabilizer, preventing the model from forgetting secondary tasks.

However, some limitations remain. The current implementation focuses on dense pixel-level tasks; extending JTR to heterogeneous tasks (e.g., combining segmentation with global classification) remains future work. Additionally, the impact of domain gaps between different datasets providing different labels needs further investigation.

Conclusion

Joint-Task Regularization provides a scalable and effective solution for multi-task learning with partial labels. By leveraging a joint latent space, it achieves state-of-the-art performance with linear complexity, making large-scale MTL more accessible and practical.

Summary updated

BibTeX
@inproceedings{nishi2024joint,
  author = {Kento Nishi and Junsik Kim and Wanhua Li and Hanspeter Pfister},
  title = {{Joint-Task Regularization for Partially Labeled Multi-Task Learning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2024},
}
Figure