[Paper Review] Joint Semantic Segmentation and Boundary Detection using Iterative Pyramid Contexts
This paper proposes RPCNet, a joint multi-task learning framework for semantic segmentation and semantic boundary detection using an iterative pyramid context module (PCM) to enable cross-task feature refinement. It introduces spatial gradient fusion to suppress non-semantic edges and a duality loss to enforce boundary consistency, achieving state-of-the-art performance with 81.8% mIoU on Cityscapes and 9.9% AP gain in boundary detection.
In this paper, we present a joint multi-task learning framework for semantic segmentation and boundary detection. The critical component in the framework is the iterative pyramid context module (PCM), which couples two tasks and stores the shared latent semantics to interact between the two tasks. For semantic boundary detection, we propose the novel spatial gradient fusion to suppress nonsemantic edges. As semantic boundary detection is the dual task of semantic segmentation, we introduce a loss function with boundary consistency constraint to improve the boundary pixel accuracy for semantic segmentation. Our extensive experiments demonstrate superior performance over state-of-the-art works, not only in semantic segmentation but also in semantic boundary detection. In particular, a mean IoU score of 81:8% on Cityscapes test set is achieved without using coarse data or any external data for semantic segmentation. For semantic boundary detection, we improve over previous state-of-the-art works by 9.9% in terms of AP and 6:8% in terms of MF(ODS).
Motivation & Objective
- To address the limitations of existing methods that treat semantic segmentation and boundary detection as separate tasks, despite their dual relationship.
- To improve boundary accuracy in semantic segmentation by leveraging the duality between mask contours and ground-truth boundaries.
- To suppress non-semantic edges in boundary detection using spatial gradients derived from the semantic mask.
- To develop a joint training framework that enables iterative feature refinement between segmentation and boundary detection via a pyramid context module.
- To achieve state-of-the-art performance on both semantic segmentation and semantic boundary detection benchmarks.
Proposed method
- The iterative pyramid context module (PCM) alternately refines feature maps between semantic segmentation and boundary detection tasks using multi-scale contextual features.
- For boundary detection, spatial gradients (∇M) derived from the semantic mask are fused with the probability map via sliced concatenation to suppress non-semantic edges.
- A novel duality loss is introduced to enforce consistency between the boundary derived from the predicted mask (outer contour) and the ground-truth boundary.
- The duality loss is differentiable and applied during end-to-end training to improve boundary pixel accuracy in segmentation.
- The framework uses ResNet-101 as backbone and is trained on Cityscapes with only fine-annotated training data.
- The network is optimized using standard cross-entropy loss for segmentation and boundary detection, combined with the duality loss.
Experimental results
Research questions
- RQ1Can joint learning of semantic segmentation and semantic boundary detection improve performance on both tasks?
- RQ2How can non-semantic edges be effectively suppressed in semantic boundary detection?
- RQ3Can the duality between segmentation masks and their boundaries be leveraged to improve boundary accuracy?
- RQ4Does iterative multi-scale context aggregation between tasks lead to performance gains?
- RQ5Can a joint framework outperform state-of-the-art methods without external or coarse data?
Key findings
- RPCNet achieves a mean IoU of 81.8% on the Cityscapes test set using only fine-annotated training data, surpassing previous SOTA methods.
- The method improves AP by 9.9% and MF(ODS) by 6.8% on semantic boundary detection compared to the previous SOTA method, CASENet*.
- The inclusion of spatial gradient fusion reduces false positives on non-semantic edges, resulting in cleaner and more accurate boundary predictions.
- The duality loss significantly improves boundary pixel accuracy, as shown by qualitative results where previously misclassified objects like 'Pole' are correctly segmented.
- The iterative pyramid context module enables effective cross-task feature refinement, leading to consistent performance gains across both tasks.
- Ablation studies confirm that both the spatial gradient fusion and duality loss contribute independently and synergistically to the final performance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.