Abstract
We tackle the problem of semantic boundary prediction, which aims to identify pixels that belong to object(class) boundaries. We notice that relevant datasets consist of a significant level of label noise, reflecting the fact that precise annotations are laborious to get and thus annotators trade-off quality with efficiency. We aim to learn sharp and precise semantic boundaries by explicitly reasoning about annotation noise during training. We propose a simple new layer and loss that can be used with existing learning-based boundary detectors. Our layer/loss enforces the detector to predict a maximum response along the normal direction at an edge, while also regularizing its direction. We further reason about true object boundaries during training using a level set formulation, which allows the network to learn from misaligned labels in an end-to-end fashion. Experiments show that we improve over the CASENet backbone network by more than 4% in terms of MF(ODS) and 18.61% in terms of AP, outperforming all current state-of-the-art methods including those that deal with alignment. Furthermore, we show that our learned network can be used to significantly improve coarse segmentation labels, lending itself as an efficient way to label new data.
Introduction
In computer vision, identifying the exact boundary of an object—semantic boundary prediction—is crucial for tasks ranging from robotic grasping to high-end image editing. However, a major bottleneck persists: label noise. Precise boundary annotation is incredibly labor-intensive, often taking up to a minute per object. To scale datasets, annotators frequently trade quality for speed, resulting in "noisy" labels that are either slightly shifted from the physical edge or represented as thick, imprecise lines.
Standard deep learning models trained on this data tend to produce thick, "bleeding" boundary predictions that mimic the flaws of their training sets. We introduce STEAL (Semantic Thinning Edge Alignment Learning), a framework designed to predict sharp, precise object boundaries by explicitly reasoning about this annotation noise during the learning process.
Proposed Method: The STEAL Framework
The STEAL framework introduces two modular components that can be integrated into existing boundary detection networks like CASENet:
1. Semantic Boundary Thinning Layer & NMS Loss
Standard models often treat every pixel independently, leading to broad, plateau-like responses at edges. STEAL introduces a differentiable layer that mimics Non-Maximum Suppression (NMS) during training. This layer samples pixels along the "normal" direction (perpendicular to the edge) and utilizes a specialized loss to ensure the network's response is a sharp peak exactly at the boundary. Additionally, a Direction Loss ensures the predicted edge orientation aligns with the underlying image geometry.
2. Active Alignment via Level Sets
Rather than treating noisy human labels as absolute truth, STEAL treats the "true" boundary as a latent variable. It employs a Level Set formulation (specifically Geodesic Active Contours) to iteratively deform and "snap" the noisy training labels toward the high-confidence edges predicted by the network. This allows the model to effectively "clean" its own training data as it learns, moving beyond the limitations of the original annotations.
Experimental Results
The researchers evaluated STEAL on the Semantic Boundary Dataset (SBD) and Cityscapes. The results demonstrate a significant performance leap over previous state-of-the-art methods:
- State-of-the-Art Performance: On the SBD dataset, STEAL improved the CASENet baseline by over 4% in MF(ODS) and a massive 18.61% in Average Precision (AP).
- Visual Precision: As shown in qualitative comparisons, the thinning layer produces significantly sharper boundaries that more closely match high-quality ground truth than standard backbone architectures.
- Label Refinement: Beyond detection, STEAL can be used to refine "coarse" Cityscapes labels. By evolving rough, few-click polygons into precise masks, the model improved Mean Intersection-over-Union (mIoU) by over 20% to 30% depending on the initial error level, proving its value as an automated annotation tool.
Discussion and Limitations
While highly effective, STEAL requires a "burn-in" period. Active alignment relies on the network having an initial degree of accuracy; if alignment begins too early, the model might "snap" to incorrect image features. Furthermore, while the authors utilized a fast morphological approach to level sets, the iterative deformation process does add computational overhead compared to standard training routines.
Conclusion
STEAL demonstrates that the "devil is in the edges"—by explicitly modeling annotation noise and geometric constraints like thinning, models can actually outperform the noisy labels they were trained on. This framework provides a path toward high-precision boundary detection and more efficient large-scale data annotation for the computer vision community.
Summary updated