Beyond Pixel-wise Supervision: Local Structure Regularization for Semantic Segmentation
Wei Huang, Chenying Liu, Yilei Shi, Zhitong Xiong, Xiao Xiang Zhu
NeurIPS 2026
TL;DR. semantic segmentation, local structure, boundary regularization, structure tensor
Abstract. Visual foundation models (VFMs) provide strong region-level representations for semantic segmentation, substantially improving high-level semantic understanding. However, accurate boundary recovery remains challenging, especially for fine structures and semantic transitions. A key reason is that conventional pixel-level supervision largely treats pixels independently and lacks explicit modeling of local structure and neighboring-pixel relationships. To address this issue, we propose a Local Structure (LS) regularization framework that constrains the second-order local organization of semantic transition regions. Unlike existing boundary losses that mainly supervise contour location, distance, overlap, or topology, LS models boundary neighborhoods through a structure-tensor representation of semantic probability fields. It decomposes local boundary structure into two complementary cues: Local Structure Magnitude (LSM), which measures the strength of anisotropic class transitions, and Local Structure Orientation (LSO), which describes their dominant geometric orientation. LS is model-agnostic, compatible with different VFM-backbone-decoder combinations, and introduces no extra inference cost. Extensive experiments on four diverse datasets show that LS consistently improves boundary-sensitive performance while also enhancing overall IoU, demonstrating its effectiveness for boundary-structure learning in semantic segmentation. The code of LS is at https://github.com/zhu-xlab/Local-Structure-Regularization.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:43 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper received two negative scores and one positive score. The authors are required to provide point-by-point clarifications in response to the reviewers’ comments, especially regarding certain experimental settings, as detailed below
- Is the VFM backbone frozen or fine-tuned with LS? Please clarify the learning rate and number of trainable parameters as well. Report wall-clock training time and GPU memory for CE vs. CE+LS, especially for high-resolution inputs and many-class settings. Is the VFM+LS setup competitive with strong native segmentation models (e.g., SegFormer, Mask2Former, SAM)? Can LS also be applied to native models rather than only VFM-based ones?
- Please clarify the physical meaning of LSM/LSO, the sensitivity of the boundary buffer size, and the generalizability to stronger decoders.
- 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?
Final justification
Initially, the manuscript received two negative scores and one positive score, and the reviewers raised a series of significant concerns. Following the rebuttal process, two reviewers expressed satisfaction with the authors' responses and gave positive scores, while one reviewer did not provide a clear opinion on the authors' replies. After careful consideration, I am convinced that the main concerns, including the physical meaning of LSM/LSO, have been adequately addressed. I therefore recommend acceptance of this paper.
Read meta-review
Meta-review
This paper received two negative scores and one positive score. The authors are required to provide point-by-point clarifications in response to the reviewers’ comments, especially regarding certain experimental settings, as detailed below
- Is the VFM backbone frozen or fine-tuned with LS? Please clarify the learning rate and number of trainable parameters as well. Report wall-clock training time and GPU memory for CE vs. CE+LS, especially for high-resolution inputs and many-class settings. Is the VFM+LS setup competitive with strong native segmentation models (e.g., SegFormer, Mask2Former, SAM)? Can LS also be applied to native models rather than only VFM-based ones?
- Please clarify the physical meaning of LSM/LSO, the sensitivity of the boundary buffer size, and the generalizability to stronger decoders.
- 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?
Final justification
Initially, the manuscript received two negative scores and one positive score, and the reviewers raised a series of significant concerns. Following the rebuttal process, two reviewers expressed satisfaction with the authors' responses and gave positive scores, while one reviewer did not provide a clear opinion on the authors' replies. After careful consideration, I am convinced that the main concerns, including the physical meaning of LSM/LSO, have been adequately addressed. I therefore recommend acceptance of this paper.
1 comment
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
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.
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.
Formatting concerns
None
3 comments
Rebuttal
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 . Explicitly modeling every class pair would generally require up to 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 – 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 and is already computed with a Sobel operator and therefore incorporates information from the immediate neighborhood. We do not further average , , and , 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 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:
- Weak or ambiguous transition: the probabilities of the neighboring classes change gradually across the boundary, producing a blurred or uncertain semantic transition.
- Directionally incoherent transition: the boundary is approximately localized, but the surrounding probability gradients vary irregularly across neighboring positions, producing jagged or locally inconsistent structures.
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.
| Dataset | Training objective | mIoU (%) | B-mIoU (%) | ΔmIoU vs. CE | ΔB-mIoU vs. CE |
|---|---|---|---|---|---|
| ADE20K | CE | 54.50 | 43.19 | – | – |
| ADE20K | CE + Sobel | 54.61 | 43.55 | +0.11 | +0.36 |
| ADE20K | CE + LS | 55.44 | 45.06 | +0.94 | +1.87 |
| ISPRS-Potsdam | CE | 81.53 | 60.24 | – | – |
| ISPRS-Potsdam | CE + Sobel | 81.83 | 60.83 | +0.30 | +0.59 |
| ISPRS-Potsdam | CE + LS | 82.21 | 61.65 | +0.68 | +1.41 |
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.
Thank you for the detailed response. The authors have satisfactorily addressed my concerns, and I will raise my score accordingly.
Thank you very much. We sincerely appreciate your constructive comments and your reconsideration of the score.
- Rating
- 3/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper identifies a clear pain point, while VFMs provide strong region-level semantics, they do not ensure coherent local boundary structures, and addresses it by adapting structure-tensor analysis to multi-channel probability fields, deriving LSM and LSO as complementary cues. The method is model-agnostic, consistently improving performance across five backbones and three decoders with zero inference overhead. Extensive experiments across four datasets and seven boundary-related losses demonstrate its stability and effectiveness.
Strengths and weaknesses
Strengths: 1.The paper identifies a real problem: VFMs are good at recognizing objects but still produce poor boundaries, and it tackles this directly. 2.The idea of extending structure tensors from grayscale images to multi-class probability maps makes sense. LSM and LSO provide two complementary views—strength and orientation—that together improve results. 3.The method works across five backbones and three decoders, so it is not tied to a specific architecture. 4.It adds zero cost at inference time, which matters for real use. 5.The experiments are solid: four datasets, seven competing boundary losses, and clean ablations that show what each component contributes. Weaknesses: 1.The novelty is limited. This is still a boundary-aware loss at heart, in the same family as ABL or Boundary Loss. The difference is more about engineering robustness than a new idea. 2.LSM and LSO are still per-pixel values, just with local context. So the method does not really escape the pixel-level supervision paradigm. 3.The physical meaning of the structure tensor in a multi-class probability field is not clearly explained. The math is there, but the intuition is missing. 4.Hyperparameters (λ, buffer size, window size) are all fixed and hand-tuned. The authors acknowledge this but offer no adaptive solution. 5.The decoder choices feel dated—Linear, UPerNet, DPT, but nothing newer like Mask2Former. It is unclear whether LS still helps when stronger decoders with built-in attention are used.
Questions
1.Physical interpretation of the structure tensor in probability fields. 2.Adaptive hyperparameter handling. 3.Validation on newer decoders. 4.Rationale and scale sensitivity of the boundary buffer. I like the idea of using regional structure to refine boundaries, but the current method mostly stays at gradient-level optimization. I am willing to raise my score if the authors can clarify the physical meaning of LSM/LSO, the sensitivity of the boundary buffer size, and generalizability to stronger decoders.
Limitations
yes
Formatting concerns
No major issues detected with respect to formatting, anonymity, or other policy requirements.
4 comments
Rebuttal
Physical Interpretation of LSM and LSO
We thank the reviewer for pointing out that the geometric interpretation of LSM and LSO should be explained more intuitively.
A semantic boundary corresponds to an abrupt spatial transition between semantic classes in the predicted probability field. To characterize such a transition, it is necessary to consider both its magnitude, which reflects how strong and distinct the transition is, and its orientation, which describes the spatial direction in which the transition occurs. Accordingly, LSM and LSO capture these two complementary properties and answer two intuitive questions:
- LSM: How strong and reliable is the semantic transition?
- LSO: In which spatial direction does the semantic transition occur?
Sobel gradients and structure tensor. For each semantic channel, the Sobel operators compute the horizontal and vertical probability changes, denoted by and . A large , for example, means that the class probability changes rapidly from left to right. The structure tensor aggregates these class-wise responses as , , and . Here, and measure the accumulated transition energy along the - and -directions, while captures their correlation. The structure tensor thus converts signed, class-specific gradients into a sign-invariant description of the overall strength and dominant direction of the local multi-class semantic transition.
LSM. Local Structure Magnitude measures the strength and reliability of the dominant semantic transition. It is derived from , , and as the anisotropy magnitude of the structure tensor, equivalently the difference between its two eigenvalues, and is normalized to . A sharp and directionally coherent boundary has a high LSM value, whereas a blurred, noisy, or ambiguous transition has a lower value. In the Magnitude maps of Figs. 1 and 2, brighter responses indicate stronger semantic transitions, while darker responses indicate weak or absent boundary structure.
LSO. Local Structure Orientation describes the dominant direction of semantic probability change. It is obtained by normalizing , corresponding to the double-angle representation . This direction is normal to the boundary and therefore perpendicular to the contour direction. Because opposite gradient directions describe the same unoriented boundary, and are treated as equivalent. In the Orientation maps of Figs. 1 and 2, the color legend represents over : similar colors indicate consistent local transition directions, while inconsistent colors indicate incoherent transitions.
For example, around a vertical semantic boundary, the class probabilities mainly change horizontally. The -direction Sobel response is therefore dominant, is much larger than , LSM is high, and LSO indicates a horizontal transition direction corresponding to a vertical contour. Consequently, LSM and LSO provide complementary supervision. LSM encourages the predicted boundary to be sharp and reliable, while LSO encourages the semantic transition to have the correct and locally coherent direction.
Beyond pixel-wise supervision. Although LSM and LSO are represented as spatial maps, each value is derived from neighboring Sobel responses and aggregated across all semantic channels. LS therefore does not supervise isolated pixels like CE; instead, it constrains the local organization of the multi-class probability field. LSM measures whether neighboring probabilities form a sharp transition, while LSO measures whether that transition has the correct and coherent direction. The contribution is therefore not simply to reweight boundary pixels, but to extend structure-tensor analysis to semantic probability fields and explicitly model boundary strength and orientation.
Sensitivity to the Boundary-Buffer Kernel Size
For all datasets and all backbone–decoder configurations evaluated in the paper, we consistently set the boundary-buffer kernel size to , without dataset- or model-specific tuning. This default setting is also specified in the submitted code. To further examine the sensitivity of LS to this design choice, we conduct additional experiments on two representative datasets, ADE20K and ISPRS-Potsdam, using DINOv2-Base with UPerNet.
For each dataset, the CE baseline and CE+LS configurations use the same training split, batch size, number of GPUs, and optimization schedule. The LS loss weight is fixed to , and only the boundary-buffer kernel size is varied over .
ISPRS-Potsdam
| Training objective | mIoU (%) | B-mIoU (%) | mIoU vs. CE | B-mIoU vs. CE | |
|---|---|---|---|---|---|
| CE | – | 81.53 | 60.24 | – | – |
| CE + LS | 3 (default) | 82.21 | 61.65 | +0.68 | +1.41 |
| CE + LS | 5 | 82.19 | 61.58 | +0.66 | +1.34 |
| CE + LS | 7 | 82.30 | 61.59 | +0.77 | +1.35 |
| CE + LS | 9 | 82.22 | 61.69 | +0.69 | +1.45 |
| CE + LS | 11 | 82.14 | 61.52 | +0.61 | +1.28 |
ADE20K
| Training loss | mIoU (%) | B-mIoU (%) | mIoU vs. CE | B-mIoU vs. CE | |
|---|---|---|---|---|---|
| CE | – | 54.50 | 43.19 | – | – |
| CE + LS | 3 (default) | 55.44 | 45.06 | +0.94 | +1.87 |
| CE + LS | 5 | 55.30 | 45.15 | +0.80 | +1.96 |
| CE + LS | 7 | 55.07 | 44.91 | +0.57 | +1.72 |
| CE + LS | 9 & 11 | Pending | Pending | Pending | Pending |
On ISPRS-Potsdam, all five kernel-size configurations consistently outperform the CE baseline. Across , mIoU varies only between 82.14% and 82.30%, while B-mIoU varies between 61.52% and 61.69%. The corresponding ranges are only 0.16 and 0.17 percentage points, respectively. Every evaluated configuration improves mIoU by at least 0.61 points and B-mIoU by at least 1.28 points over CE, demonstrating that LS is insensitive to the boundary-buffer kernel size over a relatively broad range.
The completed ADE20K experiments show similarly stable boundary improvements. All evaluated LS configurations improve B-mIoU over CE, with gains ranging from 1.72 to 1.96 points. The default achieves the highest mIoU, improving mIoU and B-mIoU by 0.94 and 1.87 points, respectively, while still retains gains of 0.57 mIoU and 1.72 B-mIoU. Although the experiments for and are still running, the completed results for , , and already indicate that LS remains effective across different buffer sizes.
The results do not exhibit a monotonic relationship between kernel size and segmentation performance. On ISPRS-Potsdam, changing the kernel from the default to a larger value changes mIoU and B-mIoU by at most 0.09 and 0.13 points, respectively. On ADE20K, the compact default region provides the best region-level accuracy, while larger kernels continue to produce strong boundary improvements.
We therefore retain as the default for all experiments. It provides a strong overall trade-off between region accuracy and boundary quality while maintaining a compact and localized boundary-supervision region. Importantly, was fixed globally and was not selected separately for individual datasets or backbone–decoder configurations.
Generalization to a Stronger Decoder
To evaluate LS with a stronger decoder, we apply it to the pretrained Swin-B + Mask2Former model. Since Mask2Former requires hierarchical multi-scale features, using a plain ViT backbone such as DINOv2 would require an additional adapter. We therefore adopt its native Swin-B backbone, which directly provides the required feature hierarchy.
We follow the same training protocol as for the other models. The full Swin-B + Mask2Former model is fine-tuned using the same data splits, augmentation, optimizer, learning-rate schedule, and evaluation protocol. CE and CE+LS differ only in the training objective, with no Mask2Former-specific optimization or architectural modifications.
| Dataset | Training objective | mIoU (%) | B-mIoU (%) | mIoU vs. CE | B-mIoU vs. CE |
|---|---|---|---|---|---|
| ADE20K | CE | 51.95 | 43.55 | – | – |
| ADE20K | CE + LS | 53.57 | 45.32 | +1.62 | +1.77 |
| ISPRS-Potsdam | CE | 80.81 | 59.36 | – | – |
| ISPRS-Potsdam | CE + LS | 81.40 | 60.60 | +0.59 | +1.24 |
On ADE20K, LS improves mIoU from 51.95% to 53.57% and B-mIoU from 43.55% to 45.32%, corresponding to gains of 1.62 and 1.77 percentage points, respectively. On ISPRS-Potsdam, it improves mIoU from 80.81% to 81.40% and B-mIoU from 59.36% to 60.60%, corresponding to gains of 0.59 and 1.24 percentage points. These results show that LS continues to improve both region accuracy and boundary quality when combined with a stronger segmentation decoder.
These additional results demonstrate that LS is not limited to the Linear, UPerNet, or DPT decoders evaluated in the original submission. It remains effective with the native Swin-B + Mask2Former architecture, which already incorporates hierarchical multi-scale representations, deformable-attention-based pixel decoding, and masked Transformer decoding. Moreover, because LS is used only as an auxiliary training objective, it introduces no architectural changes and retains zero additional inference-time overhead.
All the additional experimental results and analyses presented above will be incorporated into the revised manuscript and supplementary material.
Thank you for the authors' detailed response. I have two more specific questions:
Question 1: In line 197 of your paper, λls is selected from {0.03, 0.1, 0.3, 1.0}. For the four datasets you experimented on, the hyperparameter λ needs to take different values to achieve optimal performance on each corresponding dataset, indicating that λ is relatively sensitive.
Question 2: The overall experimental process is largely centered around mIoU-related metrics for the ablation study. The experiments are relatively macroscopic, and there is a lack of microscopic and feature-level analysis on the roles of the two components, LSM and LSO.
Response to Question 1
Thank you for the comment regarding the selection of . As with most regularization losses, a weighting coefficient is required to balance the auxiliary structural constraint against the primary segmentation objective. Since different datasets may exhibit different class distributions, boundary densities, and spatial characteristics, adjusting the regularization strength accordingly is a reasonable and standard practice.
Importantly, is the only hyperparameter in our method that requires dataset-level selection. The boundary-buffer size is fixed to across all datasets and experiments, without dataset-specific tuning. Moreover, is selected from only four coarse candidate values, {}, rather than through an extensive hyperparameter search.
As shown in Table 6, values of consistently improve over the CE baseline across the evaluated datasets, indicating that LS remains effective over a range of moderate regularization strengths. For some datasets, increasing to provides further gains and can therefore be used to obtain the best dataset-specific performance.
Response to Question 2
Thank you for the comment regarding the need for a more fine-grained analysis of LSM and LSO. To complement the original mIoU and Boundary-mIoU evaluations, we conduct an additional probability-field analysis on ADE20K and ISPRS-Potsdam based on DINOv2-Base + UperNet.
Both LSM and LSO are defined and optimized directly on the soft semantic probability map after softmax. We therefore analyze the probability field, as it provides the most direct representation of the quantities constrained by the two losses. In contrast, intermediate features are not directly constrained by either loss and may vary across architectures and feature layers, making it more difficult to isolate their respective effects.
Specifically, we use LSM Field to measure the discrepancy in boundary-transition magnitude, LSO Field to measure the discrepancy in local boundary orientation, and SDF Match to evaluate the overall alignment between predicted and ground-truth boundaries. Lower LSM/LSO Field values indicate better agreement, whereas a higher SDF Match is preferred. For the first two metrics, the one-hot ground truth is smoothed using a mean filter to reduce pixel-level staircase artifacts. The same ground-truth-defined boundary support is used for all methods, avoiding bias caused by differences in the number of predicted boundary pixels.
| Dataset | Method | LSM Field | LSO Field | SDF Match |
|---|---|---|---|---|
| ADE20K | CE | 0.6849 | 0.4853 | 0.6460 |
| ADE20K | CE + LSM | 0.6293 | 0.4939 | 0.6668 |
| ADE20K | CE + LSO | 0.6860 | 0.4148 | 0.6535 |
| ADE20K | CE + LSM + LSO | 0.6363 | 0.4221 | 0.6684 |
| ISPRS-Potsdam | CE | 0.7152 | 0.3212 | 0.6990 |
| ISPRS-Potsdam | CE + LSM | 0.6689 | 0.3361 | 0.7066 |
| ISPRS-Potsdam | CE + LSO | 0.7128 | 0.2930 | 0.7039 |
| ISPRS-Potsdam | CE + LSM + LSO | 0.6513 | 0.2937 | 0.7158 |
The results show a clear division of roles between the two components. Adding LSM alone mainly reduces the boundary-transition magnitude discrepancy, decreasing the LSM Field from 0.6849 to 0.6293 on ADE20K and from 0.7152 to 0.6689 on ISPRS-Potsdam. Adding LSO alone mainly improves local orientation consistency, reducing the LSO Field from 0.4853 to 0.4148 and from 0.3212 to 0.2930, respectively. These consistent component-wise changes directly reflect the quantities regularized by LSM and LSO.
Combining the two terms yields the best overall boundary alignment on both datasets. Compared with CE, the SDF Match increases from 0.6460 to 0.6684 on ADE20K and from 0.6990 to 0.7158 on ISPRS-Potsdam. This confirms their complementary roles: LSM regularizes the strength of semantic transitions, while LSO regularizes their local directions, jointly producing probability boundaries that are more structurally consistent with the ground truth. This observation is also consistent with the qualitative examples in Fig. 3, where LSM produces stronger boundary activations and LSO leads to more consistent local boundary orientations.
Dear reviewer, we would like to kindly follow up on our response to your additional questions. If you have any remaining concerns, we would be happy to provide further clarification. We would greatly appreciate any further feedback.
- Rating
- 4/6
- Confidence
- 1/5
- Quality
- 2/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This work proposes a regularization term for fine-tuning VFM-based semantic segmentation models (VFM backbone + decoder). It uses structure tensors to characterize local anisotropic structure of the semantic probability field near boundaries, encouraging sharper and more coherent boundary transitions to improve segmentation mIoU.
Strengths and weaknesses
Strength: 1.This work introduces a targeted regularization strategy for boundary regions. It explicitly constrains the direction and strength of local variations near semantic boundaries, and the experiments report meaningful improvements. Weaknesses:
- The paper does not clearly state whether the VFM backbone is frozen or fine-tuned when LS is applied. This distinction matters for both interpretation (decoder-level regularizer vs. full fine-tuning objective) and fairness of training-cost comparisons against strong native segmentation models.
- The technical contribution is relatively straightforward, and the novelty appears limited. Moreover, semantic segmentation is a mature and well-studied task, making it harder to justify the significance of an incremental improvement in boundary quality alone.1. Training protocol: Is the VFM backbone frozen or fine-tuned with LS? Please clarify, along with learning rate and number of trainable parameters.
- Practical overhead: Please report wall-clock training time and GPU memory for CE vs. CE+LS, especially for high-resolution inputs and many-class settings.
- Comparison scope: Is the VFM+LS setup competitive with strong native segmentation models (e.g., SegFormer, Mask2Former, SAM)? Can LS also be applied to native models rather than only VFM-based ones?
Questions
- Is the VFM backbone frozen or fine-tuned with LS? Please clarify, along with learning rate and number of trainable parameters.
- Please report wall-clock training time and GPU memory for CE vs. CE+LS, especially for high-resolution inputs and many-class settings.
- Is the VFM+LS setup competitive with strong native segmentation models (e.g., SegFormer, Mask2Former, SAM)? Can LS also be applied to native models rather than only VFM-based ones?
Limitations
The authors mention that LS regularization uses fixed structural scales and loss weights, but the paper does not adequately discuss the practical computational cost, whether the VFM backbone is frozen during training, or whether the method can generalize to native segmentation models. In particular, LS appears to introduce new training-time computation, but this is not fully reflected in the current experimental analysis.
Final justification
The additional experiments and clarifications address most of my concerns. Given my limited confidence in my initial assessment, I have raised my score accordingly.
Formatting concerns
NOa
3 comments
Rebuttal
Training and Optimization Protocol
We clarify that the VFM backbones are not frozen in our main experiments. DINOv2-S/B, DINOv3-S/B, and RADIOv2.5-B are jointly fine-tuned with the Linear, UPerNet, or DPT decoder. End-to-end optimization enables the pretrained representations to adapt to the target domain and fully exploits the capacity of the VFMs for dense prediction.
All models are optimized using AdamW with and a weight decay of . In the main end-to-end experiments, the learning rates for the backbone and decoder are and , respectively. A polynomial learning-rate schedule with a power of is applied throughout training. All experiments are conducted on four A100 GPUs. The per-GPU batch sizes are 8 for ADE20K, COCO, and ISPRS-Potsdam and 4 for Cityscapes, corresponding to global batch sizes of 32, 32, 32, and 16, respectively. We use square training crops and adjust their sizes to be divisible by the backbone patch size.
| Dataset | Number of classes | Training epochs | Batch size per GPU | Global batch size | DINOv2 crop size | DINOv3/RADIOv2.5 crop size |
|---|---|---|---|---|---|---|
| ADE20K | 150 | 60 | 8 | 32 | ||
| COCO | 81 | 20 | 8 | 32 | ||
| Cityscapes | 19 | 180 | 4 | 16 | ||
| ISPRS-Potsdam | 6 | 60 | 8 | 32 |
The numbers of trainable parameters in the main end-to-end experiments are summarized below. Decoder parameter counts vary slightly with the backbone feature dimension and the number of semantic classes.
| Component | Configuration | Trainable parameters |
|---|---|---|
| Backbone | DINOv2-S | 22.1M |
| Backbone | DINOv2-B | 86.6M |
| Backbone | DINOv3-S | 21.6M |
| Backbone | DINOv3-B | 85.7M |
| Backbone | RADIOv2.5-B | 98.2M |
| Decoder | Linear | 0.002–0.115M |
| Decoder | UPerNet | 2.02–2.73M |
| Decoder | DPT | 2.74–10.96M |
For every backbone–decoder–dataset configuration, CE and CE+LS use identical initialization, data sampling, and optimization settings.
Frozen-Encoder Control Experiment
We additionally conduct a frozen-encoder control experiment using DINOv2-B + UPerNet on ISPRS-Potsdam. In this experiment, all 86.6M DINOv2-B parameters are frozen, and the encoder is maintained in evaluation mode throughout training. Only the 2.71M UPerNet decoder parameters are optimized, using a learning rate of . The frozen-encoder CE and CE+LS experiments use the same training settings. For CE+LS, we use .
| Encoder setting | Objective | Trainable parameters | mIoU (%) | B-mIoU (%) | mIoU vs. CE | B-mIoU vs. CE |
|---|---|---|---|---|---|---|
| End-to-end fine-tuning | CE | 89.3M | 81.53 | 60.24 | – | – |
| End-to-end fine-tuning | CE+LS | 89.3M | 82.21 | 61.65 | +0.68 | +1.41 |
| Frozen DINOv2-B encoder | CE | 2.71M | 79.50 | 56.21 | – | – |
| Frozen DINOv2-B encoder | CE+LS | 2.71M | 80.23 | 57.73 | +0.73 | +1.52 |
Freezing the encoder reduces the absolute segmentation accuracy, supporting our use of end-to-end fine-tuning in the main experiments. More importantly, LS remains effective when only the decoder is trainable, improving mIoU by 0.73 points and B-mIoU by 1.52 points over the corresponding frozen-encoder CE baseline. This control shows that LS is effective regardless of whether the VFM backbone is frozen or fine-tuned. In both settings, CE and CE+LS have identical trainable parameters, and differ only in the training objective.
Practical Overhead
We profile DINOv2-B + UPerNet on ADE20K and Cityscapes to evaluate the practical overhead of LS. ADE20K uses 150 classes with a input, while Cityscapes uses 19 classes with a input.
The additional computation introduced by LS includes channel-wise smoothing, Sobel-gradient computation, structure-tensor construction, and LSM/LSO consistency evaluation. These operations are implemented using depth-wise convolutions and element-wise tensor operations, with complexity , where is the number of semantic classes and is the spatial size of the probability map.
| Setting | ADE20K | Cityscapes |
|---|---|---|
| Input size | ||
| Number of classes | 150 | 19 |
| Model + CE (GFLOPs) | 155.44 | 480.80 |
| Model + CE+LS (GFLOPs) | 157.25 | 481.34 |
| Relative FLOPs overhead | 1.17% | 0.11% |
| CE training time (s/epoch) | 260 | 100 |
| CE+LS training time (s/epoch) | 302 | 105 |
| Training-time overhead | 16.15% | 5.00% |
| CE GPU memory (MB) | 24,826 | 42,334 |
| CE+LS GPU memory (MB) | 30,104 | 42,494 |
| GPU-memory overhead | 21.26% | 0.38% |
| Inference overhead | 0.00% | 0.00% |
The overhead is larger on ADE20K because LS operates on class-wise probability maps and therefore scales linearly with the number of classes. Although Cityscapes has a higher input resolution, its smaller number of classes results in substantially lower additional computation and memory usage.
The measured training-time overhead is higher than the FLOPs overhead because memory access and GPU-kernel execution costs are not fully captured by FLOPs. Nevertheless, LS is used only during training and introduces no additional trainable parameters. Therefore, the parameter count, inference FLOPs, inference memory consumption, and inference procedure remain unchanged at deployment.
Generalization to Strong Native Segmentation Models and Comparison with the VFM Setup
Vision foundation models have increasingly become strong and widely adopted backbones for semantic segmentation because their large-scale pretraining provides highly transferable and generalizable visual representations. Unlike task-specific segmentation architectures, VFM backbones can be flexibly combined with different general-purpose decoders, such as Linear, UPerNet, and DPT, to accommodate diverse segmentation settings.
Our LS is designed as a plug-and-play training objective for such backbone–decoder frameworks. It requires no modification to either the backbone or decoder and consistently improves segmentation performance, particularly boundary quality, across different VFM backbones and decoder architectures.
To further examine whether the effectiveness of LS extends beyond VFM-based configurations, we additionally evaluate it on two representative native semantic-segmentation models, Swin-B + Mask2Former and SegFormer-B5, and compare them with our DINOv2-B + UPerNet configuration.
For the main native-model comparison reported below, the entire backbone and decoder of every model, including DINOv2-B + UPerNet, are fine-tuned end-to-end. We follow the same general optimization strategy, including AdamW optimization, polynomial learning-rate decay, the same data-processing and evaluation protocols, and best-checkpoint selection based on validation mIoU. Within each controlled comparison, CE and CE+LS use identical initialization and optimization settings, with the training objective being the only difference.
DINOv2-B + UPerNet contains approximately 89.3M trainable parameters, SegFormer-B5 contains 84.7M trainable parameters, and Swin-B + Mask2Former contains approximately 106.9M trainable parameters.
| Dataset | Model | Type | Training objective | mIoU (%) | B-mIoU (%) | mIoU vs. CE | B-mIoU vs. CE |
|---|---|---|---|---|---|---|---|
| ADE20K | |||||||
| DINOv2-B + UPerNet | VFM-based | CE | 54.50 | 43.19 | – | – | |
| DINOv2-B + UPerNet | VFM-based | CE+LS | 55.44 | 45.06 | +0.94 | +1.87 | |
| Swin-B + Mask2Former | Native | CE | 51.95 | 43.55 | – | – | |
| Swin-B + Mask2Former | Native | CE+LS | 53.57 | 45.32 | +1.62 | +1.77 | |
| SegFormer-B5 | Native | CE | 49.67 | 40.09 | – | – | |
| SegFormer-B5 | Native | CE+LS | 50.17 | 41.83 | +0.50 | +1.74 | |
| ISPRS-Potsdam | |||||||
| DINOv2-B + UPerNet | VFM-based | CE | 81.53 | 60.24 | – | – | |
| DINOv2-B + UPerNet | VFM-based | CE+LS | 82.21 | 61.65 | +0.68 | +1.41 | |
| Swin-B + Mask2Former | Native | CE | 80.81 | 59.36 | – | – | |
| Swin-B + Mask2Former | Native | CE+LS | 81.40 | 60.60 | +0.59 | +1.24 | |
| SegFormer-B5 | Native | CE | 77.40 | 53.65 | – | – | |
| SegFormer-B5 | Native | CE+LS | 78.06 | 55.52 | +0.66 | +1.87 |
On ADE20K, DINOv2-B + UPerNet with LS achieves 55.44% mIoU and 45.06% B-mIoU. It outperforms Swin-B + Mask2Former with LS by 1.87 points in mIoU while obtaining comparable B-mIoU, with 45.06% versus 45.32%. LS also improves Swin-B + Mask2Former by 1.62 mIoU and 1.77 B-mIoU points and improves SegFormer-B5 by 0.50 mIoU and 1.74 B-mIoU points.
On ISPRS-Potsdam, DINOv2-B + UPerNet with LS achieves the best performance, reaching 82.21% mIoU and 61.65% B-mIoU. It exceeds Swin-B + Mask2Former with LS by 0.81 mIoU and 1.05 B-mIoU points and SegFormer-B5 with LS by 4.15 mIoU and 6.13 B-mIoU points.
These results show that the VFM+LS configuration is competitive with, and generally stronger than, the evaluated native segmentation models. Meanwhile, the consistent improvements on both SegFormer-B5 and Swin-B + Mask2Former across ADE20K and ISPRS-Potsdam demonstrate that LS is not restricted to VFM-based architectures or to the Linear, UPerNet, and DPT decoders considered in the original submission. It can be directly applied to complete native segmentation models without architectural modifications, additional trainable parameters, or inference-time overhead.
All the additional experimental results and analyses presented above will be incorporated into the revised manuscript and supplementary material.
Thank you for the detailed rebuttal. The additional experiments and clarifications address most of my concerns. Based on these improvements, I am inclined to increase my score.
Thank you very much for your positive assessment and for reconsidering the score. We sincerely appreciate your constructive comments.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
We thank the Area Chair for consolidating the reviewers’ concerns. We provide point-by-point clarifications and additional experiments following the three groups of comments in the meta-review.
1. Training protocol, practical overhead, and generalization beyond VFM-based models. In the main experiments, all VFM backbones are fine-tuned end-to-end with their decoders. We use AdamW with backbone and decoder learning rates of 5×10−6 and 2×10−4, respectively. The evaluated backbones contain 21.6–98.2M trainable parameters, and the decoders contain 0.002–10.96M. LS adds no trainable parameters.
We additionally conduct a frozen-encoder control using DINOv2-B + UPerNet on ISPRS-Potsdam. With the 86.6M encoder parameters frozen and only the 2.71M decoder parameters optimized, LS improves mIoU from 79.50% to 80.23% and B-mIoU from 56.21% to 57.73%, yielding gains of +0.73 and +1.52 points. These gains are consistent with end-to-end fine-tuning (+0.68 mIoU and +1.41 B-mIoU), showing that LS remains effective whether the encoder is frozen or fine-tuned. Within each controlled pair, CE and CE+LS have identical trainable parameters and differ only in the objective.
For DINOv2-B + UPerNet on ADE20K with 150 classes, CE+LS increases training time from 260 to 302 s/epoch and GPU memory from 24,826 to 30,104 MB, corresponding to 16.15% and 21.26% overhead. On high-resolution Cityscapes, the increases are only 5.00% in time and 0.38% in memory. LS is removed after training and introduces zero inference overhead.
We also evaluate two complete native segmentation models. LS improves Swin-B + Mask2Former by +1.62 mIoU/+1.77 B-mIoU on ADE20K and +0.59/+1.24 on Potsdam. It improves SegFormer-B5 by +0.50/+1.74 and +0.66/+1.87, respectively. DINOv2-B + UPerNet with LS remains competitive with or stronger than these native models. SAM is not included because it is a prompt-based, class-agnostic mask generator and requires additional prompt-generation and semantic-assignment modules for semantic segmentation, preventing a direct controlled CE versus CE+LS comparison.
2. Physical interpretation, boundary-buffer sensitivity, and stronger decoders. A semantic boundary is an abrupt spatial transition in the class-probability field. Characterizing it requires both transition strength and direction. LSM measures whether the transition is sharp and reliable, while LSO captures its dominant boundary-normal direction. Sobel operators first measure horizontal and vertical probability changes, and the structure tensor converts them into a sign-invariant representation of transition magnitude and orientation.
The boundary-buffer size is fixed globally to kb=3, without dataset-specific tuning. On Potsdam, varying kb from 3 to 11 changes mIoU and B-mIoU by only 0.16 and 0.17 points, and all settings outperform CE. On ADE20K, all completed settings from kb=3 to 7 improve B-mIoU by 1.72–1.96 points. The improvements obtained with Swin-B + Mask2Former further confirm that LS remains effective with a modern masked Transformer decoder.
3. Cross-class aggregation, asymmetric smoothing, and local structure-tensor construction. Cross-class aggregation is intentional. It removes dependence on class ordering while preserving the shared geometry of semantic transitions. Although class-pair identity is not explicitly retained, CE continues to supervise semantic categories, while LS regularizes their spatial organization. This also keeps the complexity linear rather than quadratic in the number of classes.
Only the ground-truth branch is smoothed because discrete one-hot labels contain rasterization artifacts and provide only abrupt binary transitions. Smoothing converts them into continuous probability transitions, providing denser and more stable cues for estimating boundary magnitude and orientation. In contrast, predictions are already continuous. The original labels remain directly supervised by CE, preserving thin structures, while the symmetric smoothing kernel does not systematically shift boundary locations.
Unlike classical structure tensors, we do not further average the gradient-product components over a larger neighborhood. The 3×3 Sobel operator already provides local context, whereas additional averaging may blur thin structures, corners, and nearby boundaries. A direct Sobel-gradient baseline also produces substantially smaller gains than LS: +0.11/+0.36 vs. +0.94/+1.87 mIoU/B-mIoU on ADE20K, and +0.30/+0.59 vs. +0.68/+1.41 on Potsdam. These results confirm that the improvement comes from the structure-tensor magnitude-and-orientation representation rather than Sobel supervision alone.
All clarifications, implementation details, and additional experimental results presented here will be incorporated into the revised manuscript and supplementary appendix.