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

Optimizing Dense Visual Predictions Through Multi-Task Coherence and Prioritization

Maxime Fontana, Miaojing Shi, Michael W. Spratling

Abstract: Multi-Task Learning (MTL) involves the concurrent training of multiple tasks, offering notable advantages for dense prediction tasks in computer vision. MTL not only reduces training and inference time as opposed to having multiple single-task models, but also enhances task accuracy through the interaction of multiple tasks. However, existing methods face limitations. They often rely on suboptimal cross-task interactions, resulting in task-specific predictions with poor geometric and predictive coherence. In addition, many approaches use inadequate loss weighting strategies, which do not address the inherent variability in task evolution during training. To overcome these challenges, we propose an advanced MTL model specifically designed for dense vision tasks. Our model leverages state-of-the-art vision transformers with task-specific decoders. To enhance cross-task coherence, we introduce a trace-back method that improves both cross-task geometric and predictive features. Furthermore, we present a novel dynamic task balancing approach that projects task losses onto a common scale and prioritizes more challenging tasks during training. Extensive experiments demonstrate the superiority of our method, establishing new state-of-the-art performance across two benchmark datasets.

Introduction

In computer vision, "dense prediction" tasks—such as semantic segmentation, depth estimation, and surface normal estimation—require the model to assign a value to every pixel in an image. While Multi-Task Learning (MTL) allows a single model to handle these tasks simultaneously, improving efficiency and memory usage, it introduces two significant challenges: incoherence and loss imbalance.

Incoherence occurs when predictions from different tasks do not align geometrically (e.g., a segmentation boundary not matching a depth discontinuity). Loss imbalance arises because tasks evolve at different rates; if a model focuses too heavily on an "easy" task early in training, the gradients can overwhelm more difficult tasks, leading to suboptimal performance. To address these, we introduce the MT-CP (Multi-Task Coherence and Prioritization) framework.

The MT-CP Framework

MT-CP introduces two primary innovations designed to synchronize task predictions and balance training dynamics: the Trace-Back mechanism and the Dynamic Loss Prioritization Scheme (LPS).

1. The Trace-Back Mechanism

Unlike standard forward-only architectures, MT-CP utilizes a refinement loop to ensure cross-task consistency. This is achieved through two specialized modules:

  • Coherence Fusion Module (CFM): This module aligns the feature vectors of different tasks at the end of the task-specific decoders using cosine distance. By forcing these representations to point in similar directions in feature space, the model learns a shared geometric understanding.
  • Spatial Refinement Modules (SRM): After fusion, the model "traces back" this combined information through the decoder stages. These refined features are used to update initial predictions, effectively allowing the model to use information from one task (like depth) to fix errors in another (like segmentation boundaries).
Conceptual overview of the MT-CP framework, highlighting the Trace-Back mechanism that refines initial predictions through cross-task interaction.

2. Dynamic Loss Prioritization Scheme (LPS)

To solve the "bully task" problem, we developed a parameter-free weighting strategy that automatically adjusts the importance of each task based on its training progress:

  • Log-Scaling: All task losses are projected onto a common scale using a log transformation, preventing numerical range disparities from dominating the gradient.
  • Velocity-based Weighting: The system monitors the rate at which each task's loss decreases. If a task is "stuck" or improving slowly, the LPS increases its weight to prioritize it.
  • Spread Control: A hyperparameter ($\kappa$) allows for control over how aggressively the model penalizes lagging tasks. Experiments showed that a value of $\kappa = 2.5$ provides a robust balance across different benchmarks.
Visualization of the Dynamic Loss Prioritization Scheme (LPS) showing how task weights adapt to loss evolution for different spread parameters ($\kappa$).

Experimental Results

MT-CP was evaluated on two major MTL benchmarks: NYUD-v2 (indoor scenes) and PASCAL-Context (complex object scenes). The framework achieved new state-of-the-art (SOTA) results on both:

  • NYUD-v2: Achieved a Mean Intersection over Union (mIoU) of 56.25 for segmentation and a Root Mean Squared Error (RMSE) of 0.4316 for depth, outperforming previous leaders such as MLoRE and InvPT.
  • PASCAL-Context: Set records for Semantic Segmentation (79.96 mIoU) and Human Part Parsing (69.13 mIoU).

Ablation studies confirmed that the CFM and SRM modules are highly synergistic. Removing the CFM resulted in a significant drop in segmentation performance (from 56.25 to 52.78 mIoU), underscoring the importance of cross-task communication.

Conclusion

The MT-CP framework demonstrates that geometric coherence and dynamic prioritization are critical for high-performance Multi-Task Learning. By implementing a Trace-Back mechanism and a velocity-based loss scheme, we ensure that tasks not only share features but also refine each other's predictions in a balanced training environment. Future work will focus on reducing the computational overhead of the refinement stages and testing the architecture's scalability across a wider variety of vision tasks.

Summary updated

BibTeX
@inproceedings{fontana2025optimizing,
  author = {Maxime Fontana and Miaojing Shi and Michael W. Spratling},
  title = {{Optimizing Dense Visual Predictions Through Multi-Task Coherence and Prioritization}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2025},
  url = {https://openreview.net/forum?id=h9krhBbE3Z},
}
Figure