Complex Relations in a Deep Structured Prediction Model for Fine Image Segmentation

Cristina Mata, Guy Ben-Yosef, Boris KatzarXiv 2018

Abstract

Standard deep learning models excel at coarse object segmentation but often fail at fine-grained part identification due to a lack of structural logic. This paper introduces "higher-order potentials"—specifically containment and attachment—into Conditional Random Fields (CRFs). By encoding semantic rules such as "an eye must be inside a head," the proposed model significantly improves the accuracy of complex object segmentation.

Introduction: The Challenge of Fine-Grained Segmentation

While Deep Learning has mastered identifying whole objects (e.g., "this is a horse"), "fine" segmentation—identifying the dozens of small parts like hoofs, ears, and eyes—remains a challenge. Standard architectures typically combine a Fully Convolutional Network (FCN) for local features with a Conditional Random Field (CRF) to refine boundaries. However, these CRFs usually focus on local "unary" and "binary" potentials, leading to errors that violate basic structural logic, such as placing an eye outside of a head or segmenting a torso into disjoint pieces.

Methods: Encoding Structural Logic

The authors propose adding two new types of higher-order potentials to the CRF energy function to enforce anatomical consistency.

1. Containment

This potential enforces the logic that certain parts must exist within others. For example, if a superpixel is labeled as an "eye," the surrounding boundary pixels should likely be labeled as "head." The model uses a look-up table of learned relations to assign lower energy to configurations that respect these rules.

Visualizing the containment potential: a specific part (like an eye) is constrained to reside within a larger parent region.

2. Attachment

Attachment measures relations across boundaries by identifying neighboring superpixels. If two parts are known to be "attached" (like a neck and a torso) and are physically close, the model encourages coherent labeling across that boundary.

The attachment potential manages the relationships between adjacent parts (C1-C5), ensuring logical connectivity across boundaries.

To make the complex math of these relations tractable, the authors derive new update equations using mean field variational inference, allowing the model to iteratively refine pixel labels until they reach a logically consistent state.

Evaluation and Results

The model was evaluated on the Pascal VOC Parts dataset, focusing on the "Fine" segmentation of horses (up to 24 parts) and people.

  • Quantitative Improvements: On the "Fine" Horse segmentation task, the addition of the Attachment potential improved the Mean Intersection over Union (mIOU) from 22.489% (baseline DeepLab+CRF) to 23.380%.
  • Qualitative Success: Visual results show striking improvements. In the baseline, a horse's head might "bleed" into its torso; with the attachment potential, the neck correctly bridges the two. Similarly, the containment potential helped correctly size and place small features like mouths and noses.

Conclusion

The researchers demonstrate that as the number of object parts increases, local appearance features become less reliable. In these high-complexity scenarios, structural relationship becomes the most important signal. By moving the CRF from a simple smoothing filter to a logical checker, this approach prevents anatomically impossible segmentations and sets a path for more "human-like" computer vision.

Summary updated

BibTeX
@misc{mata2018complex,
  author = {Cristina Mata and Guy Ben-Yosef and Boris Katz},
  title = {{Complex Relations in a Deep Structured Prediction Model for Fine Image Segmentation}},
  year = {2018},
  eprint = {1805.09462},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1805.09462},
}
Figure