Deep Dual Learning for Semantic Image Segmentation

Ping Luo, Guangrun Wang, Liang Lin, Xiaogang WangICCV 2017

Introduction

Semantic image segmentation is a cornerstone of computer vision, requiring the assignment of a categorical label to every pixel in an image. While deep learning has pushed the boundaries of accuracy in this field, it remains bottlenecked by the immense cost of data acquisition. Generating high-quality "ground truth" pixel-level annotations can take a human annotator nearly an hour per image. To mitigate this, researchers often employ semi-supervised learning, combining a small set of fully labeled images with a larger pool of weakly labeled images (e.g., images with only category tags). However, these methods frequently struggle with two issues: "blobby" segmentations that ignore object boundaries and sensitivity to noisy, web-crawled tags.

The Dual Learning Framework

This paper introduces Dual Image Segmentation (DIS), a framework designed to overcome these limitations by leveraging a "dual learning" loop. Inspired by dual learning in machine translation—where a model translates from one language to another and back again to ensure consistency—DIS jointly trains a model to predict labelmaps from images and then reconstruct the original images from those predicted labelmaps.

Comparison of standard multitask learning approaches with the proposed Dual Image Segmentation (DIS) framework.

The DIS architecture utilizes a ResNet-101 backbone and is composed of three specialized subnets:

  1. Segmentation Subnet: Predicts pixel-level labelmaps and "clean" image tags from the input.
  2. Reconstruction Subnet: This is the "dual" component. It attempts to recreate the original input image using only the predicted labelmap. For the reconstruction to be successful, the labelmap must capture precise object shapes and boundaries.
  3. Classification Subnet: Predicts image-level tags using pixel-level features, which helps refine and "clean" noisy input tags.

Key Innovations

Reconstruction as a Boundary Regularizer

The most significant contribution of DIS is using image reconstruction as a proxy for boundary accuracy. Standard weakly supervised models often produce coarse, imprecise masks because image-level tags lack spatial information. In DIS, the reconstruction loss forces the segmentation mask to respect the natural edges of the image; if a predicted mask for a "cat" is merely a square, the reconstruction subnet cannot accurately recover the cat's specific features like ears or fur.

Iterative Inference and Tag Cleaning

Unlike static models, DIS features iterative inference. During both training and testing, the model can refine its internal feature maps by minimizing reconstruction loss over multiple passes. This allows the model to "sharpen" its predictions for a specific image by checking its own work. Furthermore, by treating tags as latent variables to be recovered, the system becomes robust to the "noise" typical of web-crawled data, effectively filtering out incorrect or missing tags.

Results and Impact

The DIS framework was evaluated on the PASCAL VOC 2012 dataset and the Image Description in the Wild (IDW) dataset. Key findings include:

  • Superior Accuracy: DIS achieved a state-of-the-art 86.8% mIoU on the PASCAL VOC 2012 test set, a significant 12.6% improvement over previous best-performing baselines.
  • Data Efficiency: The model reached these performance levels using only 2.9k fully annotated images. Previous models required upwards of 12k images to achieve comparable results, representing a 75% to 97% reduction in the need for manual pixel-level labeling.
  • Native Precision: DIS does not require common post-processing techniques like Conditional Random Fields (CRF) to smooth results, as the dual loop handles boundary precision natively.

Conclusion and Future Work

Dual Image Segmentation demonstrates that the relationship between images and their labels is not one-way. By enforcing a closed-loop consistency through reconstruction, the model learns to understand object boundaries with far less human supervision. While the iterative inference process introduces some computational overhead, the massive reduction in labeling costs makes it a compelling framework for large-scale real-world applications. Future research may explore more complex dual tasks, such as integrating natural language descriptions to further refine semantic understanding.

Summary updated

BibTeX
@inproceedings{luo2017deep,
  author = {Ping Luo and Guangrun Wang and Liang Lin and Xiaogang Wang},
  title = {{Deep Dual Learning for Semantic Image Segmentation}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2017},
  doi = {10.1109/iccv.2017.296},
}
Figure