Semantic Object Parsing with Graph LSTM

Xiaodan Liang, Xiaohui Shen, Jiashi Feng, Liang Lin, Shuicheng Yan

TL;DR

The authors introduce Graph LSTM, a novel generalization of Long Short-Term Memory networks designed for general graph-structured data. By treating image superpixels as nodes in an adaptive graph, the model captures global semantic context more efficiently and accurately than traditional grid-based LSTMs, setting new state-of-the-art benchmarks in semantic object parsing.

What Problem Does This Paper Address?

Semantic object parsing—the task of segmenting an object into fine-grained parts (e.g., distinguishing a "lower-arm" from a "torso")—requires a global perspective. While Convolutional Neural Networks (CNNs) excel at local feature extraction, their receptive fields are often too limited to resolve ambiguities between similar-looking parts.

Previous attempts to incorporate global context used Conditional Random Fields (CRFs) or multi-dimensional LSTMs (like Grid or Row LSTMs). However, these methods have significant drawbacks:

  1. Fixed Topologies: Standard LSTMs operate on rigid pixel grids, ignoring natural image boundaries and semantic clusters.
  2. Computational Redundancy: Processing every pixel in a uniform grid is inefficient, especially in large, homogeneous regions.
  3. Limited Interaction: They often treat all neighboring pixels equally, failing to capture the varying degrees of semantic correlation between different regions.

Methods

The core innovation is the Graph LSTM layer, which can be appended to standard CNN architectures to reinforce features with global structural information.

  • Graph Construction: Instead of pixels, the model uses superpixels (semantically consistent clusters of pixels) as nodes. Edges are adaptively constructed based on spatial adjacency, creating an undirected graph that aligns with the image's actual visual patterns.
  • Confidence-Driven Scheme (CDS): Unlike sequential LSTMs, a graph has no natural "start" or "end." The authors propose a CDS scheme where the update sequence is determined by the initial confidence of the CNN's predictions. The model starts updating at the most "certain" foreground superpixel and propagates information to less certain regions.
  • Adaptive Forget Gates: To handle the varying importance of neighbors, the model learns unique forget gates for each neighbor pair. This allows a node to "listen" more closely to a neighbor belonging to the same semantic part than to a background neighbor.
  • Residual Connections: To facilitate training deep architectures, residual connections are used between Graph LSTM layers, allowing for faster convergence and better gradient flow.
Comparison of traditional pixel-wise LSTM structures vs. the proposed Graph LSTM.

Datasets

The model was evaluated on four diverse and challenging semantic object parsing datasets:

  • PASCAL-Person-Part: Human part segmentation (6 parts + background).
  • Horse-Cow Parsing: Animal part segmentation (4 parts).
  • ATR Dataset: Large-scale human parsing (18 labels).
  • Fashionista Dataset: Clothing and accessory parsing.

Key Insights and Ideas

  • Superpixels as Semantic Units: Moving from a pixel-grid to a superpixel-graph significantly reduces the number of nodes, making global propagation computationally "economical" while better preserving object boundaries.
  • Reliability-First Propagation: The Confidence-Driven Search ensures that the most reliable semantic evidence (high-confidence regions) guides the inference for more ambiguous parts of the image.
  • Dynamic Contextual Modeling: By learning adaptive forget gates, the Graph LSTM effectively acts as a learnable, non-local message-passing system that is far more flexible than a standard CRF.

Key Results

Graph LSTM consistently outperformed existing state-of-the-art (SOTA) solutions across all metrics:

  • PASCAL-Person-Part: Achieved 60.16% Mean IoU, a significant jump from the DeepLab-LargeFOV baseline of 51.78%.
  • Horse-Cow: On the Cow class, it reached 70.05% IoU, outperforming the previous best (LG-LSTM) by over 7%.
  • ATR: Reached an 88.20% F-1 score (when using additional training data), demonstrating superior performance in complex human parsing scenarios.

Qualitatively, the model is much better at resolving confusing labels, such as distinguishing between left and right limbs or upper and lower segments of the same limb.

Examples of semantic object parsing results showing fine-grained part segmentation.

Limitations and Future Work

Despite its success, the authors note a few areas for improvement:

  • Small Objects: The model still struggles with segmenting semantic parts for very small objects in the background.
  • Appearance Similarity: It can fail when different parts have nearly identical visual appearances (e.g., black shoes blending into black pants).
  • Future Directions: The authors plan to explore ways to dynamically adjust the graph structure during the inference process to produce semantic masks even more directly.

Summary updated

BibTeX
@inproceedings{liang2016semantic,
  author = {Xiaodan Liang and Xiaohui Shen and Jiashi Feng and Liang Lin and Shuicheng YAN},
  title = {{Semantic Object Parsing with Graph LSTM}},
  booktitle = {European Conference on Computer Vision},
  year = {2016},
  url = {https://openreview.net/forum?id=rJZhm5b_br},
}
Figure