Semantic Graph Construction for Weakly-Supervised Image Parsing

Wenxuan Xie, Yuxin Peng, Jianguo Xiao

Abstract

Weakly-supervised image parsing aims to assign semantic labels to every pixel in an image using only image-level tags as training data. A primary challenge in this domain is the noise inherent in affinity graphs that connect superpixels across images. This paper presents a method for constructing refined Semantic Graphs using $L_1$ sparse reconstruction and $k$-NN semantic filtering. By drastically reducing irrelevant connections, the proposed approach achieves significant improvements in parsing accuracy and graph purity on the MSRC-21 and PASCAL VOC '07 datasets.

Introduction

Image parsing is a fundamental task in computer vision that requires dense, pixel-level labeling. While fully supervised methods yield high accuracy, they rely on expensive human-annotated masks. Weakly-supervised parsing offers a more scalable alternative by utilizing image-level tags. The standard pipeline involves segmenting images into superpixels and propagating labels through an affinity graph. However, traditional graphs often connect semantically unrelated regions (e.g., a brown cow to brown dirt), introducing noise that degrades performance. This research focuses on improving the quality of these graphs to enhance label propagation.

Semantic Graph Construction

The core contribution of this work is the shift from dense, noisy graphs to sparse, semantically relevant ones. The authors propose two primary construction methods:

  1. $L_1$ Semantic Graph: This method employs sparse reconstruction. For any given superpixel, the algorithm identifies a sparse subset of candidates from other images sharing the same tag. By minimizing the $L_1$ norm, the system selects only the most visually and semantically similar neighbors for connection.
  2. $k$-NN Semantic Graph: This approach identifies the $k$-nearest neighbors that are visually consistent within a class while remaining distinct from other classes. This "class-aware" filtering ensures that a 'cow' superpixel is primarily connected to other 'cow' regions rather than background elements like 'grass'.
Superpixel similarity across images using semantic filtering.

By refining the candidate pool, the "purity" of the graph—the percentage of edges connecting superpixels of the same ground-truth class—increases dramatically. On the MSRC-21 dataset, semantic relevance improved from 18% in standard graphs to 59% using the $k$-NN approach.

Experimental Evaluation

The proposed methods were evaluated on the MSRC-21 and PASCAL VOC ’07 datasets. The results demonstrate that graph quality is a critical bottleneck in weakly-supervised parsing.

  • MSRC-21: The $k$-NN Semantic Graph achieved a mean accuracy of 73%, outperforming previous state-of-the-art methods which reached approximately 61%.
  • PASCAL VOC '07: On this more complex dataset, the approach improved mean accuracy from 38% to 42%.
Qualitative comparison of parsing results against ground truth.

The qualitative results show that the algorithm effectively distinguishes between foreground objects and complex backgrounds, even when only provided with global image tags.

Conclusion

This research highlights that the effectiveness of weakly-supervised image parsing is heavily dependent on the quality of the underlying affinity graph. By utilizing $L_1$ and $k$-NN semantic filtering, the authors successfully mitigated the noise typical of weak supervision. Future work may involve addressing the computational complexity of $L_1$ minimization and exploring the application of semantic graphs to video parsing and multi-label classification tasks.

Summary updated

BibTeX
@inproceedings{xie2014semantic,
  author = {Wenxuan Xie and Yuxin Peng and Jianguo Xiao},
  title = {{Semantic Graph Construction for Weakly-Supervised Image Parsing}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2014},
  doi = {10.1609/aaai.v28i1.9139},
}
Figure