Skip to main content
QUICK REVIEW

[Paper Review] Boundary Guided Context Aggregation for Semantic Segmentation

Haoxiang Ma, Hongyu Yang|arXiv (Cornell University)|Oct 27, 2021
Advanced Image and Video Retrieval TechniquesComputer Science32 references20 citations
TL;DR

This paper proposes Boundary Guided Context Aggregation Network (BCANet) for semantic segmentation, which leverages object boundaries as explicit guidance to aggregate contextual features, enhancing intra-class consistency. By introducing a Multi-Scale Boundary extractor and a Boundary-guided Context Aggregation module, BCANet improves long-range feature modeling, achieving state-of-the-art performance on Cityscapes (81.7% mIoU) and ADE20K (82.35% pixAcc).

ABSTRACT

The recent studies on semantic segmentation are starting to notice the significance of the boundary information, where most approaches see boundaries as the supplement of semantic details. However, simply combing boundaries and the mainstream features cannot ensure a holistic improvement of semantics modeling. In contrast to the previous studies, we exploit boundary as a significant guidance for context aggregation to promote the overall semantic understanding of an image. To this end, we propose a Boundary guided Context Aggregation Network (BCANet), where a Multi-Scale Boundary extractor (MSB) borrowing the backbone features at multiple scales is specifically designed for accurate boundary detection. Based on which, a Boundary guided Context Aggregation module (BCA) improved from Non-local network is further proposed to capture long-range dependencies between the pixels in the boundary regions and the ones inside the objects. By aggregating the context information along the boundaries, the inner pixels of the same category achieve mutual gains and therefore the intra-class consistency is enhanced. We conduct extensive experiments on the Cityscapes and ADE20K databases, and comparable results are achieved with the state-of-the-art methods, clearly demonstrating the effectiveness of the proposed one.

Motivation & Objective

  • To address the limitation of existing context aggregation methods that fail to explicitly regularize context relationships, leading to inter-class confusion and intra-class ambiguity.
  • To explore object boundaries as a structural prior for guiding long-range feature aggregation, rather than treating them merely as supplementary details.
  • To improve intra-class consistency by aggregating context along boundaries, ensuring pixels of the same category share similar contextual representations regardless of local texture variation.
  • To develop an end-to-end trainable framework that integrates boundary detection and context aggregation without relying on complex post-processing or boundary closure assumptions.
  • To achieve competitive performance on standard benchmarks while explicitly modeling context with boundary constraints, reducing reliance on large-scale data or deep backbones.

Proposed method

  • A Multi-Scale Boundary extractor (MSB) is designed to predict binary boundaries using features from multiple scales of the backbone network, improving boundary localization accuracy.
  • The Boundary-guided Context Aggregation (BCA) module extends the non-local mechanism by restricting attention computation to only those pixels connected via boundary regions, thus focusing on meaningful long-range dependencies.
  • The BCA module computes attention weights based on boundary proximity, ensuring that only features along the boundary path contribute to context aggregation for inner pixels.
  • Boundary features are used as a prior to constrain the context aggregation process, reducing inter-class interference and enhancing semantic coherence within object regions.
  • The entire framework is trained end-to-end, with the boundary detection and segmentation heads jointly optimized to improve overall segmentation performance.
  • The method avoids reliance on post-processing or boundary closure, making it robust to incomplete or noisy boundaries in real-world scenarios.

Experimental results

Research questions

  • RQ1Can object boundaries be effectively leveraged as a structural prior to guide context aggregation in semantic segmentation?
  • RQ2Does restricting context aggregation to boundary-connected regions improve intra-class consistency and reduce inter-class confusion compared to conventional non-local or pyramid-based methods?
  • RQ3Can a boundary-guided context aggregation mechanism outperform attention-based methods that aggregate context across the entire feature map or fixed receptive fields?
  • RQ4How does the proposed method perform on benchmarks with complex scenes and ambiguous object boundaries, particularly in terms of pixel-level accuracy and mIoU?
  • RQ5Is the boundary-guided approach robust to incomplete or noisy boundary predictions, and does it maintain performance without requiring closed boundary contours?

Key findings

  • BCANet achieves 81.7% mIoU on the Cityscapes test set, outperforming most state-of-the-art methods under comparable settings, and is competitive with models using stronger backbones or external data.
  • On the ADE20K validation set, BCANet achieves the highest pixel accuracy (82.35%), demonstrating superior performance in reducing intra-class ambiguity, especially in large, textured objects.
  • The method achieves comparable mIoU to state-of-the-art models like CPNet, indicating strong generalization despite not using reversed context priors.
  • Ablation studies confirm that boundary-guided context aggregation significantly improves intra-class consistency, particularly in regions with high texture variation.
  • The proposed BCA module reduces inter-class interference by restricting attention to boundary-connected regions, leading to more coherent and semantically meaningful feature representations.
  • The method remains effective even when boundaries are imperfect, as it does not require closed contours, making it more robust than boundary-based methods that depend on boundary closure.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.