Scene Parsing by Weakly Supervised Learning with Image Descriptions

Ruimao Zhang, Liang Lin, Guangrun Wang, Meng Wang, Wangmeng ZuoarXiv 2017

Abstract

Traditional scene understanding often focuses on semantic labeling—assigning categories to pixels—resulting in a "flat" representation of the environment. However, human perception is inherently hierarchical, recognizing not just objects but the complex relationships between them. This paper introduces a hybrid deep learning framework, CNN-RsNN, designed to parse images into structured configurations using only natural language descriptions as weak supervision. By combining a Convolutional Neural Network for pixel-wise labeling with a Recursive Neural Network for structural discovery, the authors demonstrate that complex scene hierarchies can be learned without the need for expensive, manually-labeled pixel maps.

Introduction: The Challenge of Structured Scene Understanding

Traditional computer vision tasks like semantic segmentation provide a categorical map of an image but fail to capture how objects interact. For instance, a standard model might identify a "person," a "bike," and a "car," but it won't necessarily understand the spatial or functional relationships between them. Humans perceive scenes as structured configurations: we see a person riding a bike in front of a car.

Figure 1: Mapping an image to a structured scene configuration.

The challenge lies in the data. Training models to recognize these hierarchies typically requires "elaborative annotations"—pixel-perfect boundaries and explicitly defined inter-object relationships—which are prohibitively expensive and slow to produce. The authors address this by asking: Can we learn these complex structures using only the descriptive sentences already associated with images? By leveraging natural language as a structural prior, they aim to "transfer" knowledge from the linguistic domain to the visual domain.

Methods: The CNN-RsNN Architecture

The proposed architecture integrates two specialized networks into a single pipeline, trained via a weakly-supervised Expectation-Maximization (EM) approach.

1. Convolutional Neural Network (CNN)

Based on a revised VGG-16 architecture, the CNN handles the pixel-level tasks. It produces multi-scale score maps to identify object categories and generates robust feature representations for each detected region. This component provides the "what" and "where" of the scene.

2. Recursive Neural Network (RsNN)

The RsNN serves as the "structural engine." It takes the object features from the CNN and recursively merges them to build a tree representing the scene hierarchy. A critical component of the RsNN is the Interpreter sub-network, which evaluates spatial context—including distance, relative angle, and area ratios—to predict interaction relations like "riding," "holding," or "sitting on."

Figure 2: The CNN-RsNN hybrid architecture overview.

Weak Supervision and the EM Loop

To train without pixel labels, the authors use a standard NLP parser to convert image descriptions into "semantic trees." These trees provide the target structure for the RsNN. The model is then optimized through an EM loop:

  • E-Step: The model uses current parameters and the sentence-derived tree to estimate an "intermediate" label map and scene configuration.
  • M-Step: The model updates the CNN and RsNN parameters by minimizing the loss between its predictions and these intermediate estimates.

Results and Key Insights

The model was evaluated on the PASCAL VOC 2012 benchmark and a new dataset, SYSU-Scenes, containing over 5,000 images with 33 categories, complete with semantic descriptions and ground-truth hierarchies.

  • Weakly Supervised Performance: On PASCAL VOC 2012, the model achieved a 35.1% mean IoU, significantly outperforming other weakly-supervised methods like DeepLab-EM-Adapt (30.3%).
  • Structural Accuracy: On the SYSU-Scenes dataset, it achieved a mean relation accuracy of 24.5% under weak supervision, which jumped to 35.5% when semi-supervised data was added.
  • Joint Optimization: The authors demonstrated that the structural requirements of the scene (the RsNN's task) actually helped the CNN produce cleaner, more accurate pixel labels, proving that hierarchy acts as a powerful regularizer.

Discussion and Conclusion

This research highlights the potential of natural language as a source of supervision for complex vision tasks. By using sentences as structural priors, the authors bypass the need for expensive manual labeling.

However, several limitations remain. The model's performance is heavily dependent on the CNN's initial object detection; if an object mentioned in a sentence is missed, the RsNN cannot build the tree correctly. Furthermore, the current model ignores adjectives (attributes) and struggles with instance-level segmentation in crowded scenes. Future work may involve integrating instance segmentation models like Mask R-CNN and expanding the linguistic parser to handle more complex, multi-sentence descriptions.

Summary updated

Abstract

This paper investigates a fundamental problem of scene understanding: how to parse a scene image into a structured configuration (i.e., a semantic object hierarchy with object interaction relations). We propose a deep architecture consisting of two networks: i) a convolutional neural network (CNN) extracting the image representation for pixel-wise object labeling and ii) a recursive neural network (RsNN) discovering the hierarchical object structure and the inter-object relations. Rather than relying on elaborative annotations (e.g., manually labeled semantic maps and relations), we train our deep model in a weakly-supervised learning manner by leveraging the descriptive sentences of the training images. Specifically, we decompose each sentence into a semantic tree consisting of nouns and verb phrases, and apply these tree structures to discover the configurations of the training images. Once these scene configurations are determined, then the parameters of both the CNN and RsNN are updated accordingly by back propagation. The entire model training is accomplished through an Expectation-Maximization method. Extensive experiments show that our model is capable of producing meaningful scene configurations and achieving more favorable scene labeling results on two benchmarks (i.e., PASCAL VOC 2012 and SYSU-Scenes) compared with other state-of-the-art weakly-supervised deep learning methods. In particular, SYSU-Scenes contains more than 5000 scene images with their semantic sentence descriptions, which is created by us for advancing research on scene parsing.
BibTeX
@misc{zhang2017scene,
  author = {Ruimao Zhang and Liang Lin and Guangrun Wang and Meng Wang and Wangmeng Zuo},
  title = {{Scene Parsing by Weakly Supervised Learning with Image Descriptions}},
  year = {2017},
  eprint = {1709.09490},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1709.09490},
}
Figure