TL;DR
Training multi-task deep learning models typically requires datasets where every sample is fully annotated for all tasks—a luxury rarely found in the real world. This paper introduces a framework that treats multi-task learning on partially labeled datasets as simultaneous semi-supervised learning problems, leveraging invariant and equivariant consistency regularization. By utilizing unlabeled data and enforcing geometric and photometric constraints, their approach significantly outperforms standard supervised baselines, especially in low-data regimes.
What Problem Does This Paper Address?
Multi-task learning (MTL) is highly desirable for real-world deployment; sharing a single backbone network across multiple computer vision tasks (like object detection and semantic segmentation) dramatically reduces memory footprint, latency, and storage requirements.
However, creating a perfectly curated dataset where every image has pixel-level segmentation masks and bounding box annotations is incredibly expensive and logistically challenging. Annotation costs vary wildly between tasks, leading to datasets that are heavily imbalanced, only partially overlapping, or completely disjoint. Standard supervised training handles this poorly—either by discarding partially labeled images or zeroing out losses for missing labels, both of which lead to suboptimal performance. The authors tackle this gap by asking: How can we effectively train multi-task models using datasets where labels are sparse, unevenly distributed, or missing entirely for some images?
Methods
The authors propose framing multi-task learning on partially labeled data as a joint semi-supervised learning (SSL) problem. For any given task, the dataset is split into a small labeled subset and a larger unlabeled subset. They adapt two state-of-the-art SSL consistency regularization methods to the multi-task setting:
- Invariant Learning (FixMatch*): Enforces that the model's predictions remain unchanged (invariant) when the input image undergoes photometric transformations (e.g., changes in brightness, contrast, or color). Geometric transformations are intentionally omitted here so they don't conflict with the spatial properties of structured tasks.
- Equivariant Learning (Dense FixMatch): Enforces that structured outputs (like segmentation maps or bounding boxes) transform predictably (equivariantly) when the input image undergoes affine/spatial transformations (e.g., rotations, translations, scaling). If you rotate the input image, the predicted segmentation mask should rotate in the exact same way.
The architecture consists of a shared ResNet-50 backbone with task-specific heads: DeepLabv3+ for semantic segmentation and RetinaNet for object detection.
Crucially, the authors also study mini-batch sampling strategies:
- Implicit sampling: Uniformly sampling images regardless of their annotation status.
- Explicit sampling: Deliberately over-sampling images that possess at least one task label to ensure the model receives stable supervised gradients.
Datasets
The methods were evaluated on two major computer vision benchmarks:
- Cityscapes: A dataset focused on urban street scenes. The authors simulated various low-data regimes by dropping annotations to create varying levels of task overlap and label scarcity. They also utilized the unannotated
trainextraandsequencesets as large-scale unlabeled data. - BDD100K: A diverse driving dataset. Unlike the simulated splits in Cityscapes, BDD100K provides a realistic, highly imbalanced multi-task setup where 69,853 images are labeled for object detection, but only 6,546 are labeled for semantic segmentation, with a tiny overlap of ,2972 fully-labeled images.
Key Insights and Ideas
- Equivariance is a Powerful Regularizer: Enforcing spatial equivariance (Dense FixMatch) consistently yields better results than relying solely on photometric invariance (FixMatch*). Forcing the network to understand how geometric changes alter structured outputs helps it learn robust spatial representations.
- Sampling Can Make or Break SSL: In multi-task setups with highly imbalanced labels, explicit sampling (over-sampling labeled data) is vital. Without it, the sparse supervised signals get drowned out by the unsupervised consistency losses, causing performance to degrade.
- Consistency as a Free Lunch: Even when no extra unlabeled data is available, applying consistency regularization to the labeled data acts as a powerful data augmentation technique, outperforming standard supervised training.
Key Results
The authors simulated five distinct annotation overlap scenarios in a low-data regime on Cityscapes, ranging from fully overlapping to completely disjoint subsets:
Across these scenarios, the semi-supervised approaches consistently beat the supervised baselines, with the most dramatic improvements occurring when labels were scarcest (e.g., only 93 labels available).
- Full Cityscapes Dataset: Adding the unlabeled
trainextraset via FixMatch* with explicit sampling boosted object detection by +5.0% mAP and semantic segmentation by +2.8% mIoU compared to the supervised baseline. - BDD100K Dataset: In this highly imbalanced real-world scenario, Dense FixMatch with explicit sampling achieved a massive +7.0% mIoU improvement for the under-annotated semantic segmentation task, while maintaining stable performance on the heavily-supervised object detection task (a negligible -0.6% mAP drop).
Limitations and Future Work
- Confirmation Bias: The authors noted that the models occasionally suffer from confirmation bias—amplifying their own incorrect predictions when generating pseudo-labels. This was particularly evident in visually similar, rare classes (e.g., confusing 'Rider' with 'Person').
- Diminishing Returns on Low-Variability Data: Incorporating the massive Cityscapes
sequencedataset (video frames surrounding the training images) provided no significant performance boost. The authors hypothesize that the low visual diversity between consecutive video frames limits its utility as unlabeled data. - Future Directions: The authors suggest that pairing this general invariant/equivariant framework with explicit cross-task consistency mechanisms (e.g., enforcing that object boundaries align with segmentation edges) and designing more sophisticated multi-task sampling strategies are promising avenues for future research.
Summary updated