Generative Modeling for Multitask Visual Learning

Zhipeng Bao, Yu-Xiong Wang, Martial Hebert

TL;DR

This paper introduces a novel framework called Multi-task Oriented Generative Modeling (MGM) that leverages generative models to improve performance across multiple visual perception tasks simultaneously. By training a generative model to produce images that are useful for downstream tasks, even with only weak image-level annotations, MGM significantly boosts performance, especially in low-data scenarios.

What Problem Does This Paper Address?

Traditional generative models in computer vision excel at creating visually realistic images but often fall short when these generated images need to be "useful" for downstream machine perception tasks. While some research has explored using generated images to aid single tasks, there's a significant gap in leveraging generative models to benefit multiple visual tasks concurrently. This is particularly challenging because generating pixel-level annotations (like segmentation masks or depth maps) for multiple tasks alongside realistic images is difficult and often leads to unreliable annotations. The paper tackles this by proposing a way to use synthesized images with only weak, image-level scene labels to improve performance on multiple pixel-level prediction tasks.

Methods

The core of the proposed solution is the Multi-task Oriented Generative Modeling (MGM) framework. It couples a discriminative multi-task network (M) with a generative network (G). The key innovations are:

  • Weak Annotation Strategy: Instead of requiring pixel-level annotations for synthesized images, MGM uses only image-level scene labels. This makes the generation process more feasible for multi-task scenarios.
  • Refinement Network (R): This network takes the multi-task network's predictions and predicts the image's scene label. It's trained on real data and then used to guide the refinement of the multi-task encoder (E) using synthesized images. This enforces semantic consistency and implicitly guides the generator.
  • Self-Supervision Network: This component uses a contrastive learning approach (inspired by SimCLR) to learn robust feature representations from images without any explicit labels. It can operate on both real and synthesized images, further enhancing the encoder's learning.
  • Joint Training: The multi-task network (M) and the image generation network (G) are trained jointly. The multi-task network provides feature representations that guide the generator, and the generator's errors are back-propagated to refine the multi-task encoder. This creates a synergistic relationship where the generator learns to produce images that are more useful for the specific tasks.

Datasets

The paper evaluates its approach on two standard multi-task benchmarks:

  • NYUv2: A dataset commonly used for depth estimation and semantic segmentation.
  • Tiny-Taskonomy: A smaller subset of the Taskonomy dataset, used for evaluating performance across multiple visual tasks.

Key Insights and Ideas

  • Synthesized images can be useful for multi-task learning, even with weak labels: The paper demonstrates that generative models can be trained to produce images that significantly benefit multiple downstream tasks, provided the training is guided by the task objectives and uses weak annotations.
  • Joint training is crucial for effective synergy: Simply using off-the-shelf generated images doesn't help; the generative and discriminative models need to be trained together to ensure the generated content is task-relevant.
  • Weak supervision (image-level labels) is sufficient: The ability to use only image-level scene labels for synthesized data is a major breakthrough, making the approach more scalable and practical for multi-task learning.
  • Refinement and self-supervision networks are complementary: These auxiliary networks play vital roles in improving feature representations and guiding the generation process, with their combination yielding the best results.

Key Results

  • Significant performance gains: MGM consistently and significantly outperforms both single-task (ST) and multi-task (MT) baselines across various data settings (100%, 50%, 25% labeled data).
  • Competitive with full supervision: In the 50% data setting, MGM's performance is often better than baselines trained on 100% of the data.
  • Strong low-data performance: The performance gap between MGM and a model trained with all available weakly labeled real data (MGM_r) is minimal, especially in the 25% labeled data setting, highlighting MGM's effectiveness in low-data regimes.
  • Scalability: The framework is shown to be flexible and scalable to more than the three primary tasks (semantic segmentation, depth estimation, surface normal prediction), performing well on six tasks.

Limitations and Future Work

  • Computational Cost: While not explicitly detailed as a limitation, training generative models and complex multi-task networks is inherently computationally intensive.
  • Generative Model Choice: The paper uses SAGAN as an example, but the framework is agnostic to the specific generative model. Exploring other advanced generative architectures could be a future direction.
  • Further Exploration of Task Relationships: While MGM implicitly learns task relationships through shared representations, explicitly modeling these relationships could lead to further improvements.
  • Generalizability to More Diverse Tasks: While shown to be scalable, further investigation into its effectiveness across a wider range of visual tasks, including those with different annotation requirements, would be valuable.

Summary updated

BibTeX
@inproceedings{bao2022generative,
  author = {Zhipeng Bao and Yu-Xiong Wang and Martial Hebert},
  title = {{Generative Modeling for Multitask Visual Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2022},
  url = {https://openreview.net/forum?id=youe3QQepVB},
}
Figure