Multi-task learning on partially labeled datasets via invariant/equivariant semi-supervised learning

Miquel Martí i Rabadán, Alessandro Pieropan, Hossein Azizpour, Atsuto MakiarXiv 2026

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:

  1. 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.
  2. 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 trainextra and sequence sets 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:

Figure 1: Annotated subsets for different tasks in the different low-data regime experiment settings. The hashed area represents the samples labeled for object detection and dashed for semantic segmentation.

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).

Table 1: Results for low-data regime single-task baselines and multi-task experiment (a) on Cityscapes for fully-supervised baselines, and both invariant semi-supervised learning with FixMatch* and equivariant semi-supervised learning with DenseFixMatch. For semi-supervised methods, we compare both the Implicit and Explicit mini-batch sampling approaches. Object detection results are reported as the mAP metric on the validation set and semantic segmentation values as the mIoU. For (a) all samples are annotated for detection, # labels refers to the amount annotated for segmentation. In bold, the best individual metric for each data setting. □: results for the multi-task model with the highest geometric mean of both task metrics.
  • Full Cityscapes Dataset: Adding the unlabeled trainextra set 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 sequence dataset (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

Abstract

We investigate the potential of invariant and equivariant semi-supervised learning for addressing the challenges of training multi-task models on partially labeled datasets with differently structured output tasks. Specifically, we use the popular FixMatch method for invariant semi-supervised learning and its equivariant extension Dense FixMatch. We evaluate their performance on the Cityscapes and BDD100K datasets in the context of the prevalent object detection and semantic segmentation tasks in computer vision. We consider varying sizes of the subsets annotated for each task and different overlaps among them. Our results for both invariant and equivariant semi-supervised learning outperform supervised baselines in most situations, with the most significant improvements observed when fewer labeled samples are available for a task and generally better results for the latter approach. Our study suggests that invariant/equivariant learning is a promising general direction for multi-task learning from limited labeled data.
BibTeX
@misc{rabadan2026multi,
  author = {Miquel Martí i Rabadán and Alessandro Pieropan and Hossein Azizpour and Atsuto Maki},
  title = {{Multi-task learning on partially labeled datasets via invariant/equivariant semi-supervised learning}},
  year = {2026},
  eprint = {2605.17624},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.17624},
}

Loading related content...

Figure