- Rating
- 5
- Clarity
- 3
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper proposes Local Structure (LS) regularization for semantic segmentation. The method introduces a structure-tensor-based auxiliary loss that aligns the magnitude and orientation of local semantic transitions between predictions and ground truth within boundary-buffer regions. LS is model-agnostic, requires no architectural changes, and adds no inference overhead. Experiments across multiple datasets, VFM backbones, and decoders show consistent improvements in both mIoU and boundary-sensitive B-mIoU.
Strengths and weaknesses
Strenghts
-
Simple and practical. LS can be integrated into existing segmentation pipelines as an auxiliary training loss without modifying the model architecture or increasing inference cost.
-
Well-motivated formulation. The method goes beyond pixel-wise supervision by explicitly modeling the strength and orientation of local semantic transitions near class boundaries.
-
Broad empirical evaluation. The experiments cover four datasets, several VFM backbones, and multiple decoders. The consistent gains in B-mIoU support the effectiveness of the proposed boundary-focused regularization.
Weaknesses
-
The paper does not sufficiently clarify what local structure captures beyond prior boundary-aware methods. Boundary degradation caused by pixel-wise supervision is a well-known issue, and many previous studies have proposed boundary-, distance-, topology-, or gradient-based objectives. While the proposed method models the magnitude and orientation of local semantic transitions, it remains unclear which specific failure modes are overlooked by existing approaches and uniquely addressed by LS.
-
The comparison with prior boundary-related losses in Table 4 would benefit from further clarification. My understanding is that several of these methods were proposed to improve segmentation performance by adding an auxiliary loss to CE. However, most of them perform worse than the CE baseline in Table 4. It would be helpful if the authors could explain why this occurs and provide additional details.
-
The paper does not compare LS against a simpler Sobel-gradient matching baseline. Since the proposed method is built on Sobel gradients, it remains unclear whether the gains arise from the structure-tensor formulation or simply from adding boundary-focused gradient supervision.
Questions
-
The structure-tensor components aggregate gradient statistics across all semantic channels. Could the authors discuss whether this aggregation may discard useful class-specific or class-pair-specific information?
-
Why is smoothing applied only to the ground-truth branch and not to the prediction branch? Could this design weaken thin structures or slightly shift boundary locations?
-
Classical structure tensors are often computed with additional local averaging of gradient products. Could the authors clarify how the proposed formulation differs from this standard construction and whether local aggregation was considered?
Limitations
The main limitation is that the paper does not fully establish whether the proposed local-structure formulation provides a clear advantage over simpler or more directly related boundary-aware supervision. In particular, the paper lacks a Sobel-gradient matching baseline that would isolate the contribution of the structure tensor itself. In addition, the comparison with prior boundary-related losses is difficult to interpret because most competing methods perform worse than the CE baseline in Table 4, and the implementation and tuning details are not sufficiently discussed.
Paper formatting concerns
None
Final justification
The authors’ rebuttal satisfactorily addressed my main concerns, and I do not have any major unresolved issues. I agree to some extent with the other reviewers’ concerns regarding novelty, but the proposed components are well motivated, work coherently together, and are supported by a thorough evaluation. Considering the rebuttal and the overall empirical evidence, I have increased my score and recommend acceptance.
Role of Cross-Class Aggregation
The aggregation across semantic channels is an intentional design choice. At a semantic boundary, the probability of one class typically decreases while that of another increases. Aggregating their gradient energies removes dependence on which class increases or decreases and captures the shared geometric structure of the transition. The resulting representation is insensitive to class ordering and gradient sign while preserving boundary strength and dominant orientation.
We acknowledge that this aggregation does not explicitly retain class-pair identity. However, LS is used as an auxiliary structural regularizer, while CE continues to supervise the semantic category of every pixel. Therefore, CE determines which classes are present, whereas LS regularizes how their probabilities are geometrically organized across the boundary. A geometrically plausible boundary with incorrect class assignments may have a similar LS representation, but it would still be penalized by CE.
We retain this design for two practical reasons. First, it provides a general-purpose, plug-and-play formulation that can be applied unchanged across datasets and models, without defining dataset-specific class pairs, transition graphs, or semantic relationships. This keeps LS independent of the particular label taxonomy. Second, cross-class aggregation keeps the computational complexity linear in the number of classes, namely O(KHW). Explicitly modeling every class pair would generally require up to O(K2HW) computation and substantially more intermediate memory, which becomes particularly expensive for many-class datasets. The current formulation therefore balances structural expressiveness, general applicability, and computational efficiency.
At multi-class junctions, the aggregated tensor represents the dominant local transition rather than every class pair independently. Class-pair-aware or channel-weighted extensions may retain finer semantic interactions, but would reduce the simplicity and efficiency of the current plug-in design. We will clarify this design choice and limitation in the revision.
Why Smoothing Is Applied Only to the Ground-Truth Branch
We thank the reviewer for this question. Ground-truth labels are discrete one-hot maps with abrupt 0–1 transitions, and their rasterized boundaries may contain pixel-level zigzag artifacts. We therefore smooth only the target branch to transform these discrete transitions into a continuous semantic field, providing denser and more stable local cues for estimating LSM and LSO.
In contrast, the prediction branch already contains continuous probability maps. Smoothing the predictions again would reduce their boundary responses and may hide the weak or blurry transitions that LS aims to improve. We therefore compute LS directly from the original predictions.
Smoothing affects only the auxiliary LS targets, while the original labels continue to provide pixel-wise CE supervision, including for thin structures. Moreover, the symmetric kernel smooths the transition around the annotated contour rather than systematically shifting it. As shown in Fig. 3, the resulting targets still provide substantially stronger and more coherent LSM and LSO responses than the baseline prediction.
Why Additional Local Averaging Is Not Used
Classical structure tensors often average gradient products over a larger neighborhood to obtain a noise-robust regional orientation. In semantic segmentation, however, we aim to preserve the localization accuracy of individual boundary pixels rather than estimate a dominant orientation over a broad region.
The proposed descriptor is not purely point-wise, because each Ux and Uy is already computed with a 3×3 Sobel operator and therefore incorporates information from the immediate neighborhood. We do not further average Jxx, Jyy, and Jxy, because this would spatially diffuse the supervision and mix gradients from nearby boundaries, particularly around thin structures, corners, and multi-class junctions.
We therefore use the 3×3 Sobel neighborhood as the local structural scale. It provides sufficient context to estimate transition magnitude and orientation while retaining a sharp, pixel-level optimization signal. Noise in discrete annotations is instead handled by smoothing only the target branch, avoiding additional blurring of the structural response.
What LS Captures Beyond Existing Boundary-Aware Losses
We thank the reviewer for raising this important concern. The key distinction of LS explicitly models the local structure of the semantic probability transition around those boundaries. Most existing boundary-aware objectives mainly supervise where a boundary should be, through contour overlap, boundary distance, boundary alignment, topology, or increased weighting of boundary pixels. They primarily align the predicted contour with the ground-truth boundary. However, even a well-localized boundary may still exhibit poor probability transitions:
LS explicitly characterizes these two properties. LSM measures the strength of the semantic transition, encouraging sharp and unambiguous boundaries, while LSO captures the dominant transition direction, promoting locally coherent boundary geometry. Unlike conventional boundary-aware losses that mainly constrain where boundaries occur, LS additionally regularizes how strongly and in which direction the semantic probabilities change.
Optimization Limitations of Existing Boundary-Aware Losses. This distinction is particularly important for VFM-based segmentation. VFMs already provide strong region-level semantics, so boundary optimization should refine local structures without disturbing the semantic predictions learned by CE. However, many existing boundary-aware losses rely on hard contour extraction, distance transforms, morphological operations, or discrete boundary matching, resulting in supervision that can be sparse, sensitive to small contour perturbations, or only indirectly differentiable. Their gradients may also be misaligned with CE, potentially improving contour localization at the expense of regional semantic consistency. In contrast, LS operates directly on the soft probability field through differentiable smoothing, Sobel filtering, and structure-tensor operations, providing stable supervision on transition magnitude and orientation while remaining compatible with CE-based region learning.
Comparison with Direct Sobel-Gradient Matching
Thank you for suggesting a direct Sobel-gradient matching baseline. We added this comparison to determine whether the improvement of LS arises merely from Sobel-based gradient supervision or from the proposed structure-tensor formulation.
The Sobel baseline uses the same target smoothing, Sobel operators, and boundary-buffer region as LS. The key difference is that it directly matches the class-wise horizontal and vertical gradients, whereas LS constructs structure-tensor representations and aligns the magnitude and orientation of local semantic transitions. We evaluate the methods on ADE20K and ISPRS-Potsdam using DINOv2-Base with UPerNet. All methods follow the same dataset split, pretrained initialization, batch size, number of training epochs, optimizer, and learning-rate schedule.
The direct Sobel baseline improves over CE on both datasets, confirming that gradient-level supervision is beneficial. Nevertheless, LS provides consistently larger improvements in both region-level and boundary-sensitive accuracy.
On ADE20K, direct Sobel matching improves mIoU and B-mIoU over CE by 0.11 and 0.36 points, respectively, whereas LS achieves improvements of 0.94 and 1.87 points. Therefore, LS outperforms the Sobel baseline by 0.83 mIoU and 1.51 B-mIoU points. On ISPRS-Potsdam, Sobel improves mIoU and B-mIoU by 0.30 and 0.59 points over CE, while LS improves them by 0.68 and 1.41 points. LS therefore exceeds the Sobel baseline by 0.38 mIoU and 0.82 B-mIoU points.
These results demonstrate that the gains of LS cannot be explained solely by the use of Sobel gradients. Direct Sobel matching independently constrains the horizontal and vertical gradient components, while LS models their joint local statistics through the structure tensor. The resulting magnitude and orientation cues provide a more informative representation of the strength and geometry of semantic transitions, producing consistently larger improvements, particularly in boundary-sensitive B-mIoU.
All the additional experimental results and analyses presented above will be incorporated into the revised manuscript and supplementary material.