potentialpaper

TopoRefine: Plug-and-Play Topology-Aware Contour Refinement for Building Segmentation

Buliao Huang, Yunhui zhu

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. TopoRefine transforms noisy contours into geometry-consistent building polygons through topology-adaptive evolution, without modifying the segmentation model.

Abstract. Building segmentation has recently benefited from foundation segmentation models such as SAM, which offer strong generalization and scalable deployment through simple prompts. However, SAM-style models still produce pixel-wise masks, whose fragmented regions and irregular boundaries often fail to preserve the geometric regularity of buildings, making direct contour vectorization unreliable. Existing attempts to improve building polygonization typically modify the segmentation decoder or introduce additional polygon prediction branches, increasing adaptation costs and weakening the portability of pretrained foundation models. In this paper, we ask whether accurate building polygonization can be achieved directly from frozen segmentation outputs, without modifying or retraining the underlying model. To this end, we propose TopoRefine, a plug-and-play topology-aware contour refinement framework that converts predicted contours into geometry-consistent building polygons. Unlike conventional contour refinement methods, which follow a fixed-topology paradigm and can only adjust a predefined set of contour points, TopoRefine performs topology-adaptive polygon evolution by jointly modeling vertex insertion, vertex deletion, and coordinate refinement. This allows the refined polygon to correct structural errors inherited from frozen segmentation outputs and progressively align with the underlying building geometry. Extensive experiments on three building segmentation benchmarks demonstrate that TopoRefine generalizes across different segmentation pipelines and consistently improves both segmentation accuracy and geometric consistency, achieving notable gains such as +6.17% AP and +3.53% PolySim on SAM 3. The source code is available at https://github.com/hbl1995/TopoRefine.

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 paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
5 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]—[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:49 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

This paper proposes TopoRefine, a plug-and-play topology-aware contour refinement framework that converts predicted contours into geometry-consistent building polygons. The experiments on three building segmentation benchmarks demonstrate that TopoRefine generalizes across different segmentation pipelines and improves both segmentation accuracy and geometric consistency.

The current ratings by the reviewers are mainly attributed to.

  1. The overall novelty of the method. The contribution shows as a recombination of existing ideas. The key part of TopoRefine is the tracking and handling of vertices on the polygons whose design is similar to the snake model in classical image processing.
  2. For the comparisons and experiments, the demonstrated advance is currently marginal and hard to establish. Clearly articulating how it differs from BuildMapper and E2EC, and benchmark against them would help.
  3. Other technical and experimental issues the reviewers point out, including but not limited to the generalization, analysis of evaluation metrics, runtime analysis as well as failure cases.

I recommend that the authors submit a comprehensive rebuttal to fully address all concerns raised by the reviewers.

Final justification

The review recommendations now converge to "accept".

The authors are advised to further address the reviewers’ concerns and incorporate appropriate revisions in response to these comments.

Area Chair SiNy · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

This paper proposes TopoRefine, a plug-and-play topology-aware contour refinement framework that converts predicted contours into geometry-consistent building polygons. The experiments on three building segmentation benchmarks demonstrate that TopoRefine generalizes across different segmentation pipelines and improves both segmentation accuracy and geometric consistency.

The current ratings by the reviewers are mainly attributed to.

  1. The overall novelty of the method. The contribution shows as a recombination of existing ideas. The key part of TopoRefine is the tracking and handling of vertices on the polygons whose design is similar to the snake model in classical image processing.
  2. For the comparisons and experiments, the demonstrated advance is currently marginal and hard to establish. Clearly articulating how it differs from BuildMapper and E2EC, and benchmark against them would help.
  3. Other technical and experimental issues the reviewers point out, including but not limited to the generalization, analysis of evaluation metrics, runtime analysis as well as failure cases.

I recommend that the authors submit a comprehensive rebuttal to fully address all concerns raised by the reviewers.

Final justification

The review recommendations now converge to "accept".

The authors are advised to further address the reviewers’ concerns and incorporate appropriate revisions in response to these comments.

1 comment
Authors · CommentOpenReview ↗

Response to the Area Chair: Summary of Key Rebuttal Clarifications

Thank you for summarizing the central concerns. We have addressed the individual questions in the reviewer-specific responses and summarize the main clarifications below.

1. Novelty beyond conventional contour evolution. Existing contour-evolution methods and TopoRefine both iteratively refine explicit contours but differ in what can change during evolution. Existing methods typically construct or resample a contour into a fixed set of ordered points and update only their coordinates. This representation can mismatch buildings of varying complexity, producing redundant edge points and too few appropriately placed corner vertices. TopoRefine instead performs learned insertion, deletion, and coordinate refinement at every iteration, then feeds the updated vertex set into the next iteration so that polygon structure and vertex locations evolve jointly.

The dynamic supervision mechanism in Sec. 3.3 is essential to this structural evolution and differs from conventional contour tracking in two respects. First, supervision targets are reconstructed after every iteration. Under the conventional fixed-topology paradigm, the same contour points are preserved throughout evolution; in TopoRefine, each insertion or deletion changes the current vertex set and invalidates the previous targets. TopoRefine therefore reconstructs correspondences and regenerates supervision for the updated polygon. Second, conventional contour tracking typically matches fixed contour samples to nearby boundary points, providing coordinate-displacement targets. TopoRefine instead establishes order-preserving correspondences between current polygon vertices and GT structural vertices, providing consistent supervision for retained, deleted, and missing vertices as well as coordinate refinement. This mechanism enables the vertex structure and locations to evolve coherently across iterations.

2. Distinction from and comparison with E2EC and BuildMapper. E2EC and BuildMapper sample a fixed set of points along the initial contour and update only their coordinates during contour evolution. BuildMapper further applies vertex reduction after the final iteration. The reduced polygon is therefore not fed back into the evolution process, and vertices removed by this one-time reduction cannot be corrected by later updates. TopoRefine instead performs insertion, deletion, and coordinate refinement at every iteration and propagates the updated polygon forward. Each structural update can therefore guide subsequent predictions, enabling progressive correction of both vertex structure and locations.

Following the BuildMapper paper, we implement its vertex-reduction component on the E2EC pipeline, thereby sharing the same initialization and evolution before post-evolution reduction. At the default threshold, this reduction increases structural compactness but decreases AP from 71.18 to 51.15 and Boundary AP from 69.75 to 48.82, illustrating the cost of irreversibly removing useful vertices. From the shared initialization, TopoRefine reaches 74.14 AP, 83.18 AP₇₅, and 81.12 C-IoU. Applying TopoRefine to the BuildMapper output further raises AP from 51.15 to 72.51 and AP₇₅ from 58.57 to 81.27. This substantial recovery highlights the advantage of reintroducing missing structure and refining it through subsequent iterations. TopoRefine also improves the final E2EC output from 71.18 to 74.34 AP.

3. Expanded technical and experimental evidence.

  • Polygon quality and reliability: We add C-IoU, Boundary AP, Corner F1, and Self-Intersection Rate. TopoRefine achieves the best C-IoU (81.71), Boundary AP (71.09), and Corner F1 (76.17), with a 1.20% self-intersection rate. Three-seed evaluation further shows consistently small variations across APs and PolySim.

  • Failure cases and initialization: TopoRefine corrects 356 of 399 self-intersecting polygons (89.2%), reduces non-matched-instance overlap from 0.817 to 0.698, and improves mean IoU across all four initial-quality intervals.

  • Broader scope: A jointly trained TopoRefine model improves five of eight indoor and outdoor COCO categories, including +9.7 AP on couch and +3.1 AP on bed, suggesting potential beyond building segmentation.

  • Efficiency: On an RTX 4090, SAM 3 requires 155.71 ms per image; TopoRefine adds only 10.38 ms, increasing latency to 166.09 ms. This 6.7% overhead improves AP from 61.67 to 67.84 (+6.17).

  • Further analyses and clarifications: Experiments verify the benefits of iterative evolution and complementary CirConv/Transformer modeling. We also provide complete architecture details, clarify that mask generation and contour extraction are automatic without manual filtering, and define π\pi as an order-preserving index mapping.

We thank the AC and reviewers for their careful feedback, which helped us clarify the contribution and strengthen the comparisons and evaluation. We hope these clarifications provide a clear basis for assessing TopoRefine.

Reviewer azRYOpenReview ↗
Rating
4/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 introduces TopoRefine – a simple plug-and-play module to refine segmentation masks for building to obtain more accurate polygons. The method jointly optimizes vertex insertion, vertex deletion, and coordinate refinement. The reported results show gains in the performance of SAM.

Strengths and weaknesses

S

  • Well identified problem, topologically correct mask extraction is still an issue
  • Topology-aware mechanism is a neat solution with a claim for a plug-and-play mechanism
  • The joint vertices insertion and deletion with a coordinate refinement presents a step forward in the domain
  • Practical value for the remote sensing community

W

  • My major action-oriented concerns and elaboration are listed in Questions, in summary:
  • The paper tackles a rather niche topic, while it seems that the method can be used in other domains as well. However, this remains unaddressed.
  • The reported gains vs SOTA are rather minimal (Tab 5), and the performance to cost ratio is not fully justified
  • The paper mainly focuses on improving SAM-like masks leaving the improvement question for the downstream-task-specific models open. This may reveal the benefits and generalization of the improvement.
  • The topology of polygons with intertwined geometry, genus, overlapping segmented masks and other similar usual cases remains unaddressed
  • The standard metrics are used (also reported in RWs), which usually is a positive, however here the polygon-oriented evaluation would benefit from an analysis that evaluates not only area-based performance (like in masks) but would focus on vertices of the obtained polygons and their topological relations. Introduction of such metric to this topic would be a great contribution on its own and present a new community challenge…
  • ...Since for now, the novelty of the paper seems quite limited in the theoretical advantage and also not compensated with an empirically motivation (e.g., Tab 5); leaving to believe that it will not have a major impact on a level of a NeurIPS paper.
Questions
  • Plug and play but only for SAM?

If it is a plug and play method, I would expect that it works beyond foundation models of SAM – agnostic to the input model producing a mask. For the rebuttal, I would suggest showing the refinement gain for the supervised methods for building segmentation (at least two) to show the gain of this particular method.

  • Going beyond the building segmentation

It seems that this method can beyond the building segmentation scenarios. I understand the practical value for the narrow field. However, framing it as a plug and play should also allow to polygonize and refine any segmentation masks for multiple downstream tasks. Especially, given that the motivation is to use foundation models, it seems that this narrows the wide spectrum of foundation models to a one selected domain. This submission is not to a narrow-field journal or conference as well, and rather high task generalization is expected from methods accepted. The rebuttal would benefit from one or two experiments for other downstream tasks (say indoor segmentation, outdoor autonomous-driving-like scenarios) showcasing the generalization aspect.

  • The analysis of failure cases

The underlying assumption seems to be that the masks are non-overlapping and no self-intersections. What happens in bow-tie scenarios? What happens when instances overlap? How reliant is this method on the initially produced mask quality? Fig 4 shows quite an ideal scenario where instances are well separated, does that situation apply to all tested data? Also, the reported empirical improvement is quite small when compared to the second-best networks. What is advantage of this refinement when already those end-to-end methods produce very good results? Can the refinement improve those? I would expect for the rebuttal a thorough discussion on the above-mentioned points supported with a refinement experiment on the IPDA (which also outperformed the presented method in one scenario) to showcase the improvement magnitude.

  • Runtime analysis

This is fairly limited and focuses only on the module itself. What is the juxtaposition to the SOTA end-to-end, in essence, is it really worth running your algorithm if the SOTA (without refinement) yields quite similar results (Tab 5). This can be also one of the contributions improving the value of the paper – simple plug-and-play method that enables refining older or less performant models to achieve SOTA model results. The rebuttal would benefit from presenting the cost-to-accuracy analysis, at least on one selected baseline.

  • The novelty

The above-mentioned point links up to a general question here – it seems that the used metrics do not validate the corner accuracy and topological accuracy but rather focus on a pixel-wise assessment, which is already adopted in the previous papers on that topic (the cited building-oriented papers). This is quite puzzling since the main argument here is for vectorization to polygons, where the topology starts to play a role in contrast to masks-only. Could there be any metric that support more thoroughly that evaluation? There are quite some metrics in 3D surface reconstruction and object reconstruction (e.g., this paper: “Explaining Human Preferences via Metrics for Structured 3D Reconstruction” ICCV25). In the current state, it seems that the novelty of the presented paper is quite narrow, the rebuttal would benefit from discussing this aspect and clarifying the novelty aspect of this paper, beyond the add-on plug-and-play module which is not fully justified given the rather minimal empirical evidence of improvement.

Limitations

Yes, while the remaining limitations are in the Questions section.

Final justification

After carefully reading the discussion with me and the other reviewer, I will increase my score to 4. The authors have addressed very dutifully the raised concerns and questions.

Specifically: Q1 - this answer addresses my concern of limited backbone analysis Q2 - additional experiment shows potential usability of the solution beyond the building segmentation scenarios. Q3 - this also addresses my raised concern. Q4 - now this experiment shows clearly the advantage of the method. Q5 - the used metrics propose a different challenge and neatly address the gap; it is a new problem now. Great improvement to the overall method presentation and justification of the method's design.

Overall, I think the quality of the paper improved significantly in the discussion period. Of course, the time is limited and some experiments could be more extensive (I bet they would have been if there were more time), hence 4 not 5 score; it would still be acceptable to accept the paper with those changes and the changes recommended by other reviewers. Most importantly, the new evaluation protocol in the rebuttal also reflect the new challenge - vectorization and not only segmentation of buildings. I can see the impact of this work in the remote sensing community, showcasing broader spectrum of applicability remained somewhat limited but can still be included in suppl.

Formatting concerns

No.

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for recognizing the practical value of TopoRefine and its joint vertex insertion, deletion, and coordinate refinement. We address the concerns below.

Q1. Plug-and-play compatibility beyond SAM

Thank you for the suggestion. Here, "plug-and-play" means that TopoRefine is agnostic to the upstream architecture: it directly refines predicted masks or polygons without modifying or retraining the upstream model. SAM is therefore one possible upstream source rather than a prerequisite.

The submitted Table 3 already evaluates supervised IPDA. We additionally apply TopoRefine to E2EC and BuildMapper, which respectively use fixed-set contour evolution and post-evolution vertex reduction. All upstream methods remain unchanged.

Upstream method AP AP$_{50}$ AP$_{75}$ PolySim
IPDA 69.11 → 71.90 (+2.79) 87.78 → 88.07 (+0.29) 77.16 → 80.18 (+3.02) 84.54 → 85.99 (+1.45)
E2EC 71.18 → 74.34 (+3.16) 90.16 → 92.02 (+1.86) 78.83 → 83.10 (+4.27) 86.58 → 87.84 (+1.26)
BuildMapper 51.15 → 72.51 (+21.36) 78.59 → 90.13 (+11.54) 58.57 → 81.27 (+22.70) 78.88 → 87.54 (+8.66)

TopoRefine consistently improves all four metrics on IPDA and E2EC and substantially improves BuildMapper after its post-evolution vertex reduction. Together with the SAM results, these gains across three supervised upstream methods show that TopoRefine is not tied to SAM and transfers across building-polygonization pipelines.

Q2. Scope beyond building segmentation

Thank you for encouraging broader evaluation. To assess its applicability beyond building segmentation, we construct indoor and outdoor autonomous-driving-like subsets from COCO val2017 using an 80/20 image-level split. SAM 3 receives a fixed vocabulary of category-name prompts and produces the masks, category labels, and confidence scores. A single TopoRefine model is jointly trained across both subsets to refine the extracted contours, with the original labels and scores retained.

Domain Category SAM 3 mask AP Refined polygon AP Delta
Indoor bed 27.2 30.3 +3.1
Indoor couch 32.6 42.3 +9.7
Indoor oven 42.2 44.4 +2.2
Indoor toilet 69.5 67.1 -2.4
Outdoor bicycle 46.3 47.9 +1.6
Outdoor traffic light 37.3 37.6 +0.3
Outdoor stop sign 77.0 75.1 -1.9
Outdoor car 55.0 54.2 -0.8

The shared model improves five of the eight categories, with gains spanning indoor furniture and appliances as well as outdoor vehicles and traffic-control objects. The particularly clear improvements on couch and bed demonstrate that the learned refinement is not restricted to the regular geometry of buildings. The modest decreases occur on categories whose contours are comparatively variable and curved. Overall, these results suggest that TopoRefine has the potential to extend beyond building segmentation to a broader range of application scenarios.

Q3. Failure cases, initialization dependence, and refinement of strong models

Thank you for raising these important concerns. We provide additional analyses of polygon validity, initialization quality, and refinement of strong upstream predictions.

Topology assumptions and failure cases.
TopoRefine is designed to correct structural errors in imperfect initial contours and therefore does not require every initial polygon to be valid. We evaluate this capability on SAM 3 outputs from the WHU test set. Among 399 self-intersecting polygons, including bow-tie cases, TopoRefine corrects 356 (89.2%). The normalized overlap with non-matched ground-truth instances also decreases from 0.817 to 0.698, indicating improved polygon validity and fewer conflicts between neighboring buildings.

Dependence on initialization quality.
We stratify WHU test instances by initial polygon IoU:

Initial IoU #Instances Mean initial IoU Mean refined IoU Mean gain
[0.0, 0.4) 8,725 0.1268 0.1488 +0.0220
[0.4, 0.6) 3,244 0.5047 0.6084 +0.1037
[0.6, 0.8) 7,940 0.7221 0.8050 +0.0829
[0.8, 1.0] 39,125 0.9081 0.9197 +0.0116

TopoRefine improves the mean IoU in all four groups, with the largest gains for medium-quality polygons. Below 0.4 IoU, the gain remains positive but is smaller because a largely absent or severely mislocalized building provides insufficient structural evidence for reliable recovery.

Why refinement remains valuable for strong models.
Strong end-to-end methods may still contain misplaced corners, redundant vertices, locally distorted boundaries, or invalid geometry. TopoRefine jointly updates vertex structure and locations through insertion, deletion, and coordinate refinement. Given IPDA’s strong performance on SpaceNet, we further apply TopoRefine to its outputs:

Method AP AP$_{50}$ AP$_{75}$ PolySim C-IoU Boundary AP Corner F1 Self-Intersection Rate ↓
IPDA 45.44 73.55 49.42 70.62 67.60 46.77 38.98 0.0164
IPDA + TopoRefine 49.94 79.38 54.29 76.25 70.61 50.16 40.71 0.0089

The improvements are consistent across region accuracy, boundary quality, and polygon geometry rather than being confined to a single overlap metric. In particular, the marked gains in AP₇₅ and PolySim show that TopoRefine improves the agreement of polygons under stricter localization and shape requirements. The simultaneous increases in Boundary AP and Corner F1 further indicate that these gains arise from more accurate local boundaries and structural vertices, rather than merely expanding or shrinking the predicted regions. Moreover, the self-intersection rate is reduced by nearly half, demonstrating that refinement also produces more geometrically valid polygons. These results show that even strong polygonization models leave correctable structural errors, and that TopoRefine provides a complementary refinement stage that improves both geometric fidelity and topological validity beyond the initial prediction.

Q4. Runtime and cost-to-accuracy analysis

Thank you for the suggestion. We measure end-to-end latency for unchanged upstream models under identical settings on a single NVIDIA RTX 4090. TopoRefine contains 1.68M trainable parameters and adds 2.63 GFLOPs over three iterations.

Upstream pipeline AP AP$_{75}$ End-to-end latency (ms) Added latency (ms)
SAM 3 61.67 → 67.84 (+6.17) 70.54 → 76.48 (+5.94) 155.71 → 166.09 10.38
IPDA 69.11 → 71.90 (+2.79) 77.16 → 80.18 (+3.02) 17.20 → 28.83 11.63
SAMPolyBuild 72.26 → 73.38 (+1.12) 80.36 → 82.24 (+1.88) 213.54 → 225.27 11.73

TopoRefine improves AP by 1.12--6.17 and AP₇₅ by 1.88--5.94 with 10.38--11.73 ms additional latency; refined IPDA still runs at 34.7 FPS. On WHU, training IPDA end-to-end takes 14.33 h, whereas training only TopoRefine on frozen SAM 3 outputs takes 3.86 h (27% of that time). The latter raises SAM 3 to within 1.27 AP and 0.68 AP₇₅ of IPDA without retraining the upstream model. TopoRefine can therefore efficiently strengthen weaker models while providing low-cost gains for strong pipelines.

Q5. Novelty and polygon-oriented evaluation

Thank you for this valuable suggestion. To make polygon-level improvements explicit, we complement AP and PolySim with four polygon-oriented metrics: C-IoU jointly considers region agreement and polygon complexity, penalizing unnecessary vertices; Boundary AP evaluates instance-level boundary localization; Corner F1 measures structural-corner accuracy; and Self-Intersection Rate assesses polygon validity.

Method AP PolySim C-IoU Boundary AP Corner F1 Self-Intersection Rate ↓\downarrow
Direct vectorization 61.67 79.94 62.86 53.10 40.33 0.0056
IPDA 69.11 84.54 72.14 61.70 50.87 0.0963
E2EC 71.18 86.58 12.54 69.75 3.76 0.1010
SAMPolyBuild 72.26 86.03 79.99 68.92 67.30 0.1176
TopoRefine 73.38 86.12 81.71 71.09 76.17 0.0120

The expanded evaluation distinguishes region agreement from structural and geometric quality. E2EC achieves competitive AP and PolySim but low C-IoU and Corner F1, showing that strong overlap may coexist with an overly dense vertex representation and poor corner alignment. More directly, refining SAMPolyBuild with TopoRefine increases Corner F1 from 67.30 to 76.17 and reduces the self-intersection rate from 11.76% to 1.20%, alongside consistent gains in AP, C-IoU, and Boundary AP.

The plug-and-play property describes TopoRefine's compatibility with different upstream outputs, whereas its methodological novelty lies in jointly evolving polygon structure and vertex locations. Existing contour-evolution methods such as E2EC retain a fixed ordered point set during evolution and update only coordinates. Coordinate displacement alone cannot remove redundant vertices along straight edges or introduce missing structural vertices at corners. TopoRefine instead performs insertion, deletion, and coordinate refinement at every iteration and passes the structurally updated polygon to the next iteration, allowing structural correction and localization refinement to reinforce each other. Because insertion and deletion change the vertex set, previous correspondences and supervision targets no longer remain valid. TopoRefine therefore reconstructs order-preserving correspondences and regenerates insertion, deletion, and regression targets after every structural update. This dynamic formulation enables progressive correction of both vertex-structure and localization errors that fixed-structure evolution cannot address.

Reviewer azRY · CommentOpenReview ↗

Thank you for the thorough engagement in the discussion. I greatly appreciate the answers. After the careful evaluation of the answers to my comments, the other reviewers' comments and the authors' responses, I lean to increase the score of the paper.

Authors · CommentOpenReview ↗

Response to Reviewer azRY

Thank you for your careful reconsideration and encouraging assessment. We sincerely appreciate your constructive comments, which have helped us strengthen the paper.

Reviewer m5NJOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
2/4
Clarity
3/4
Significance
1/4
Originality
1/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper introduces a method for iteratively refining polygons for building extraction from images, given segmentation masks from an image segmentation model such as SAM. Initial polygons are derived from the masks using the Douglas-Peuker algorithm, and the model, consisting of local and global feature extraction elements, is trained in a supervised manner to iteratively adapt the initial polygon to match the GT polygon by adding, deleting, or moving vertices. The method is evaluated on 3 datasets using metrics evaluating the regions enclosed by the polygon (AP) and one geometry-aware metric (PolySim). The proposed method, named TopoRefine, shows improved results compared to baselines.

Strengths and weaknesses

My main concerns are related to the experiment section. The paper's claim is essentially about polygon quality, yet three of the four metrics (AP, AP₅₀, AP₇₅) measure region overlap in mask space, and the fourth (PolySim) rewards correct edge orientation and overlap but is largely insensitive to vertex count and redundancy. As a result, the evaluation cannot distinguish a clean, correctly-structured polygon from a well-overlapping but over-vertexed one. A complexity-aware metric such as C-IoU, and ideally a boundary-level metric, would be more informative for assessing the refined polygon's quality. Further, I am missing (to the best of my knowledge) some important baselines such as BuildMapper [1], PolyMapper [2], E2EC [3], and FFL [4]. The absence of these similar and well-established baselines, together with only marginal improvements over the chosen baselines and the lack of error bars (which makes it unclear whether the gains are significant), decreases my confidence in the evaluation of the method. Qualitative results for the baselines are also missing. Given that the method incorporates global features via attention, and that performance appears to stagnate after only four iterations, the question arises whether iteration is necessary after all, or whether a model trained to refine the polygon in a single step would be on par. An ablation of local-only versus global-only features, together with a one-step prediction variant, would shed light on this.

The motivation is clearly stated, and the paper is easy to follow. Yet it is unclear in detail how the model architecture is constituted: how many layers of CirConv and Transformers are used, which Transformer type was employed, and how the prediction head is structured. Further, it is unclear how the proposed method differs from IPDA; in particular, I am not sure what the phrasing "…still does not explicitly model topology-aware vertex adaptation to match the true building structure" means. A clear differentiation from the missing baselines is likewise crucial and would strengthen the work. There is also a minor citation inconsistency: the dataset referred to as "SpaceNet" is cited to reference [30], which is in fact the DeepGlobe paper, not the SpaceNet dataset paper [5].

The problem is significant, but the demonstrated advance is currently marginal and hard to establish. Combined with the metric limitations above, I cannot conclude that the method advances the state of the art in a demonstrable way, even though it may well do so once the evaluation is strengthened. Beyond the empirical gap, the local+global iterative contour idea sits very close to existing work (to the best of my understanding, especially BuildMapper and E2EC) that is neither cited nor compared against. This omission both weakens the coverage of related work and makes the novelty difficult to assess: the paper needs to clearly articulate how it differs from BuildMapper and E2EC, and benchmark against them. Without this positioning, the contribution reads as a recombination of existing ideas whose distinct value is not yet demonstrated.

[1] Wei, Shiqing, et al. "BuildMapper: A fully learnable framework for vectorized building contour extraction." ISPRS journal of photogrammetry and remote sensing 197 (2023): 87-104.

[2] Li, Zuoyue, Jan Dirk Wegner, and Aurélien Lucchi. "Topological map extraction from overhead images." Proceedings of the IEEE/CVF International Conference on Computer Vision. 2019.

[3] Zhang, Tao, Shiqing Wei, and Shunping Ji. "E2ec: An end-to-end contour-based method for high-quality high-speed instance segmentation." Proceedings of the IEEE/CVF conference on computer vision and pattern recognition. 2022.

[4] Girard, Nicolas, et al. "Polygonal building segmentation by frame field learning." arXiv preprint arXiv:2004.14875 (2020).

[5] Van Etten, Adam, Dave Lindenbaum, and Todd M. Bacastow. "Spacenet: A remote sensing dataset and challenge series." arXiv preprint arXiv:1807.01232 (2018).

Questions
  1. How does the proposed method differ from IPDA, BuildMapper, E2EC, and FFL? How does it compare to the latter three quantitatively and qualitatively?
  2. How does the proposed method perform on metrics like C-IoU or boundary-based segmentation measures as used in BuildMapper compared to relevant baselines?
  3. Models like SAM produce several segmentation masks. How are the masks of buildings filtered? Is there a manual process involved?
  4. On Inria, you evaluate on a within-Tyrol 3:1 split rather than the official cross-city protocol. Since Inria's primary purpose is cross-city generalization (training and testing on disjoint cities), could you justify the single-subset choice, or ideally report results under the standard cross-city setting? As used, the Inria results demonstrate in-distribution performance on one city rather than generalization.
  5. How does the method handle buildings with inner courtyards, i.e. holes?
Limitations

The paper includes a limitations section. It would be more complete with a brief discussion of (a) whether the method can represent buildings with inner courtyards (holes / multiple rings per instance), and (b) the scope of the Inria evaluation, the within-Tyrol split shows in-distribution performance rather than the cross-city generalization Inria is designed to measure.

Final justification

The authors addressed my main concerns during the discussion: the missing positioning against E2EC, BuildMapper, IPDA, and FFL is now articulated and backed by controlled comparisons, and the polygon-oriented metrics I requested confirm structural rather than merely region-level improvement, including over E2EC with post-hoc simplification from the same initialization. Since the central claim is now demonstrated under controlled settings, I raise my score to borderline accept. The remaining items are presentational fixes that the authors have committed to.

Formatting concerns

I did not notice any major formatting issues.

6 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for detailed and constructive comments. We provide related-method comparisons, polygon-oriented metrics, controlled experiments, analyses of iterative evolution and local/global modeling, and additional architecture and implementation details.

Q1. Polygon-oriented evaluation metrics

Thank you for this important suggestion. To complement the region-overlap metrics, we introduce four polygon-oriented measures. C-IoU jointly considers region agreement and polygon complexity, penalizing unnecessary vertices; Boundary AP evaluates instance-level boundary localization; Corner F1 measures structural-corner accuracy; and Self-Intersection Rate assesses polygon validity.

Method AP PolySim C-IoU Boundary AP Corner F1 Self-Intersection Rate ↓\downarrow
Direct vectorization 61.67 79.94 62.86 53.10 40.33 0.0056
IPDA 69.11 84.54 72.14 61.70 50.87 0.0963
E2EC 71.18 86.58 12.54 69.75 3.76 0.1010
SAMPolyBuild 72.26 86.03 79.99 68.92 67.30 0.1176
TopoRefine 73.38 86.12 81.71 71.09 76.17 0.0120

These metrics reveal differences obscured by region overlap. Although E2EC achieves competitive AP and PolySim, its low C-IoU and Corner F1 indicate that strong overlap does not necessarily correspond to a concise and structurally accurate vertex representation. In contrast, TopoRefine achieves the best C-IoU, Boundary AP, and Corner F1, demonstrating that its gains are accompanied by reduced vertex redundancy, more accurate boundary localization, and better recovery of structural corners. Its self-intersection rate is also limited to 1.20%, markedly below the other learned polygonization methods.

Q2. Comparison with IPDA, BuildMapper, E2EC, and FFL

Thank you for requesting clearer positioning and comparisons. E2EC, BuildMapper, IPDA, and TopoRefine all evolve an initial contour into a building polygon, but differ fundamentally in how the vertex structure is updated during evolution.

E2EC and BuildMapper sample a fixed set of points along the initial contour. During contour evolution, only vertex coordinates are updated, while the vertex set remains unchanged. This limits their adaptation to buildings with varying geometric complexity: excessive points may remain along straight edges while structural corners lack appropriately placed vertices. BuildMapper further introduces a classification head for vertex reduction, but applies it only after the final iteration. The reduced structure therefore cannot guide subsequent coordinate refinement.

In contrast, TopoRefine jointly evolves vertex structure and locations at every iteration. It inserts missing structural vertices, removes redundant ones, and refines retained and newly inserted vertices. The updated polygon is passed to the next iteration, allowing structural correction and coordinate refinement to reinforce each other progressively. Its novelty therefore lies not merely in combining local and global features or using iterative contour updates, but in enabling vertex-structure evolution throughout refinement.

IPDA recovers missing vertices but does not jointly remove redundant ones during evolution; these vertices may continue to constrain coordinate refinement and preserve distorted geometry. TopoRefine performs bidirectional structural correction through both insertion and deletion. FFL instead uses a distinct corner-detection and polygon-generation pipeline with a dedicated model, whereas TopoRefine refines contours from unchanged segmentation or polygonization models.

We further compare E2EC and BuildMapper under the same WHU protocol. Because BuildMapper's official implementation is unavailable, we reproduce its contour vertex-reduction module on the E2EC pipeline following the paper. They therefore share the same initialization, while BuildMapper performs reduction only after contour evolution. We report its default threshold of 0.6 and an additional threshold of 0.1.

Method AP AP$_{50}$ AP$_{75}$ PolySim C-IoU Boundary AP Corner F1 Self-Intersection Rate ↓
E2EC 71.18 90.16 78.83 86.58 12.54 69.75 3.76 0.101
BuildMapper (0.6) 51.15 78.59 58.57 78.88 64.07 48.82 40.88 0.021
BuildMapper (0.1) 56.85 82.71 65.15 81.36 69.21 54.87 41.10 0.031
Shared initialization + TopoRefine 74.14 93.34 83.18 86.94 81.12 70.66 39.50 0.049
E2EC output + TopoRefine 74.34 92.02 83.10 87.84 82.30 72.09 39.35 0.067
BuildMapper output + TopoRefine 72.51 90.13 81.27 87.54 82.55 70.29 50.44 0.028

E2EC retains strong region and boundary accuracy but achieves only 12.54 C-IoU and 3.76 Corner F1 because its dense vertex set remains unchanged. BuildMapper improves structural compactness through post-evolution vertex reduction followed by heuristic simplification. However, as both operations are applied only after contour evolution, necessary vertices may be irreversibly removed without an opportunity for further correction, leading to substantial drops in AP and Boundary AP. In contrast, TopoRefine updates the vertex structure and locations at every iteration, allowing each structural update to guide subsequent structural and coordinate predictions. Starting from the same initialization, TopoRefine achieves 74.14 AP, 81.12 C-IoU, and 70.66 Boundary AP, while its consistent gains on E2EC and BuildMapper outputs further demonstrate the advantage of updating vertex structure throughout contour evolution.

Q3. Statistical reliability of the reported gains

Thank you for requesting uncertainty estimates. We repeat the principal WHU experiment with three random seeds:

Setting AP AP$_{50}$ AP$_{75}$ PolySim
TopoRefine, seed 1 73.38 88.39 82.24 86.12
TopoRefine, seed 2 73.67 88.41 82.31 86.11
TopoRefine, seed 3 73.59 88.46 82.32 86.11
Mean ±\pm std. 73.55 ±\pm 0.15 88.42 ±\pm 0.04 82.29 ±\pm 0.04 86.11 ±\pm 0.01

The variations are consistently small. In particular, the 0.15-point AP standard deviation is substantially below the 1.29-point improvement over SAMPolyBuild (72.26 AP), supporting the stability of the gain.

Q4. Necessity of iterative evolution and local/global modeling

Thank you for prompting this analysis. We clarify that each iteration updates the entire polygon in parallel by jointly predicting insertion, deletion, and coordinate offsets for all candidates. Although one iteration can modify multiple vertices simultaneously, it cannot reassess their combined effect on the resulting polygon. TopoRefine therefore propagates the updated vertex structure and locations to the next iteration, enabling subsequent predictions to correct or refine earlier updates.

The submitted Tables 4 and 2 provide direct evidence for the two design choices. As shown in Table 4, AP increases from the initial 61.67 to 65.94 after one iteration and further to 67.32 and 67.84 after two and three iterations, whereas the marginal increase to 68.01 after four iterations indicates convergence. This progression demonstrates the benefit of iterative evolution over a single-step update. In Table 2, CirConv alone achieves 67.23 AP, the Transformer alone 67.11, and their combination 67.84, showing that local boundary cues and global polygon context provide complementary information.

Q5. Missing architecture details

Thank you for requesting these details. TopoRefine uses three FPN maps from the SAM image backbone. At each vertex, multi-scale features are bilinearly sampled, concatenated, and projected to a 256-dimensional representation.

The evolution network contains three circular-convolution layers: one input projection and two residual dilated CirConv blocks with dilation rates 1 and 2 and hidden dimension 128. Global dependencies are modeled by a four-layer, eight-head pre-norm Transformer encoder implemented with nn.MultiheadAttention. Three independent 1D-convolutional heads, each following 256 → 256 → 64 → output, predict insertion, deletion, and 2D coordinate offsets. Parameters are shared across all three iterations.

Q6. How are SAM masks selected and filtered?

Thank you for requesting clarification. There is no manual mask filtering or instance selection. SAM and SAM 2 use each box and center point to specify one building instance, whereas SAM 3 uses the text query "building". We set multimask_output=False to generate one mask, followed by automatic contour extraction and Douglas--Peucker simplification. During training, we retain pairs of initial and GT polygons with IoU above 0.5 for reliable supervision. At inference, no additional filtering or selection is applied; TopoRefine directly refines all initial contours produced by the upstream model.

Q7. Why is Inria evaluated using a within-Tyrol 3:1 split?

Thank you for highlighting this distinction. We follow IPDA's split to enable a fair comparison under the same protocol. We will explicitly state that this setting evaluates within-city, in-distribution performance rather than cross-city generalization.

Q8. How does TopoRefine handle buildings with inner courtyards?

Thank you for raising this limitation. TopoRefine currently processes each instance as one outer contour and does not explicitly represent holes. In principle, courtyard buildings could be handled by extracting and independently refining the outer and inner contours before combining them into a multi-ring polygon. This extension is not included in the current implementation. We will clarify the single-ring scope and leave explicit multi-ring modeling for future work.

Q9. SpaceNet citation inconsistency

Thank you for identifying this error. We will replace the DeepGlobe citation with the correct SpaceNet reference.

Reviewer m5NJ · CommentOpenReview ↗

I thank the authors for the additional experiments and responses. The positioning discussion, new metrics, and clarifications on architecture, mask handling, Inria protocol, and the single-ring limitation address most of my concerns. I have some remaining questions, mostly on the new tables:

  1. E2EC's 12.54 C-IoU / 3.76 Corner F1 follow mechanically from its dense fixed vertex set; the standard remedy is post-hoc simplification (e.g. Douglas–Peucker, which the authors themselves apply to SAM contours). Could the authors report E2EC + simplification? That is the comparison that would demonstrate the central claim: joint structure evolution beats post-hoc cleanup.
  2. The BuildMapper reproduction loses ~20 AP relative to E2EC, yet BuildMapper is a published extension of E2EC with competitive WHU results. So, I wonder whether the reproduction fully represents the method. BuildMapper also seems to describe its evolution module as simultaneously adjusting and eliminating vertices, rather than reduction only after evolution as characterized in the rebuttal, which would place it somewhat closer to the claimed contribution. Could the authors reconcile the reproduction and characterization with the original paper, or compare against its published numbers directly?
  3. Corner F1 for TopoRefine is 76.17 in the Q1 table but 39.35–39.50 in the Q2 table (and higher, 50.44, from BuildMapper output than from shared initialization). Please explain the discrepancy and state which setting is the paper's main configuration.
  4. Re Q6: are the boxes/points prompting SAM at inference derived from ground-truth annotations or from a detector? If ground truth, the evaluation is an oracle-detection setting; this should be stated explicitly, and it raises the question of whether E2EC/BuildMapper receive equivalent initialization or run from their own detection, in which case part of the AP gap may reflect detection rather than refinement quality.
  5. Minor: the seed study covers TopoRefine only; the gain's stability also depends on baseline variance (SAMPolyBuild remains a single run). And re Q7, please ensure the in-distribution scoping is reflected in the abstract/introduction claims, not only the experimental section.

My score will depend primarily on points 1, 2, and 4, which determine whether the demonstrated advantage is attributable to the proposed joint evolution rather than to comparison artifacts or initialization advantages.

Authors · CommentOpenReview ↗

Response to Reviewer m5NJ: Points 4, 1, 3, and 5

Thank you for your careful follow-up. We address Points 4, 1, 3, and 5 here and provide the detailed BuildMapper analysis for Point 2 separately.

Q4. Prompt sources and detector-controlled comparisons

Only the SAM and SAM 2 rows in submitted ablation Table 3 use a ground-truth box to specify each instance. This prompt-controlled ablation evaluates whether TopoRefine improves different SAM variants under fixed localization, rather than comparing their detection capabilities. We will explicitly label these rows as GT-box oracle localization. SAM 3 instead receives only the text prompt "building" and automatically predicts instances and masks without detection boxes. The other submitted ablations report this SAM 3 setting.

The comparisons involving E2EC and reproduced BuildMapper are also detector-controlled. Both methods use the detections and contour initialization produced by the same E2EC pipeline. TopoRefine either starts from exactly the same E2EC initialization or directly refines the unchanged final output of E2EC or reproduced BuildMapper. Thus, within each direct before/after comparison, the detected instances, confidence scores, and starting polygons remain identical. Detection recall and localization are therefore held fixed, so the reported differences isolate polygon refinement rather than detector or proposal quality.

Q1. E2EC with post-hoc simplification

This control directly tests whether TopoRefine provides benefits beyond removing redundant samples. We apply Douglas-Peucker simplification to E2EC:

Method AP AP$_{75}$ C-IoU Boundary AP Corner F1 Self-Intersection Rate
E2EC 71.18 78.83 12.54 69.75 3.76 10.10%
E2EC + simplification 69.99 78.21 78.90 68.41 27.23 5.51%
E2EC initialization + TopoRefine 74.14 83.18 81.12 70.66 39.50 4.90%

Simplification markedly improves C-IoU, Corner F1, and polygon validity by removing many samples from E2EC's dense fixed contour. However, AP decreases from 71.18 to 69.99 and Boundary AP from 69.75 to 68.41, showing that one-time cleanup can also remove vertices needed to preserve region and boundary details. Corner F1 remains relatively low because simplifying a polygon reduces its vertex count but does not relocate the retained vertices toward the true structural corners. From the same initialization, TopoRefine achieves higher AP, AP$_{75}$, C-IoU, Boundary AP, and Corner F1, together with the lowest self-intersection rate. These results demonstrate the advantage of jointly evolving vertex structure and locations over simplifying a fixed evolved contour only at the end.

Q3. Corner F1 discrepancy and main configuration

The reported Corner F1 values correspond to different upstream settings, while the metric definition and matching tolerance remain identical. The 76.17 Corner F1 result is obtained under the paper's main configuration, which is based on SAMPolyBuild. In the controlled comparison, TopoRefine obtains 39.50 when starting from the E2EC initialization and 39.35 when applied to the E2EC output. When applied to the reproduced BuildMapper output, it obtains 50.44.

The difference mainly arises from the vertex distributions produced by the upstream pipelines. The SAMPolyBuild-based configuration contains fewer redundant vertices, whereas the E2EC initialization and output retain more redundant candidates, reducing Corner Precision. Reproduced BuildMapper removes many of these candidates before TopoRefine is applied, thereby increasing Corner F1 to 50.44. We will explicitly identify the upstream setting in each table caption and mark the SAMPolyBuild-based setting as the paper's main configuration.

Q5. Seed study and Inria scope

The seed study evaluates TopoRefine's training variability while holding the upstream predictions fixed. One frozen SAMPolyBuild model provides identical detections, scores, and initial contours to all three runs. TopoRefine obtains 73.55±0.1573.55\pm0.15 AP, 88.42±0.0488.42\pm0.04 AP50, 82.29±0.0482.29\pm0.04 AP75, and 86.11±0.0186.11\pm0.01 PolySim, showing stable refinement-stage performance.

Training SAMPolyBuild once requires 45.74 hours; obtaining two additional upstream seeds would require approximately 91.47 additional GPU-hours. We therefore report the uncertainty specifically as TopoRefine's training variability under a shared upstream model, which directly evaluates the reproducibility of the refinement module introduced in this paper.

For Inria, we follow IPDA's within-Tyrol 3:1 split for a protocol-matched comparison. This setting evaluates within-city, in-distribution performance and is not used as evidence of cross-city transfer. Our generalization claim concerns compatibility across upstream segmentation and polygonization pipelines, and we will make this scope explicit in the abstract, introduction, and experimental section.

Reviewer Kq8iOpenReview ↗
Rating
4/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

The proposed method, TopoRefine, uses feature maps and mask contours extracted by existing segmentation methods such as SAM to progressively adjust polygons, which represent building boundaries. The vertices of the polygons and their changes such as addition, deletion are modeled explicitly.

Strengths and weaknesses

Strength

  • When combined with the proposed method, the performance of several segmentation methods (SAM, SAM2, SAM3, IPDA) have consistently increased.

Weakness

  • While quantitative evaluations shows the superior performance of TopoRefine, the overall novelty of the method is still limited, since TopoRefine is initialized using existing segmentation methods such as SAM or IPDA, so it is not surprising that the performance of TopoRefine is better than SAM or IPDA
  • The major part of TopoRefine is the tracking and handling of vertices on the polygons in §3.3. This is similar to the snake model in classical image processing, which also relies on an explicit representation of the contour, and thus needs to track the evolution of vertices on the polygon. Such models cannot automatically handel topological changes (see question section below)
  • While the proposed method achieves superior results quantitively according to most metrics, there should also be some images for qualitative comparison, especially for the metric AP50AP_{50} for SpaceNet, where IPDA performs better than the proposed method.
Questions
  • Equation (7) and (8): What does π(i)\pi (i) mean? Is it a permutation?
  • TopoRefine uses explicit modeling of contours using vertices. If the initial polygon does not have the correct topology, can the correct topology be recovered during the progressive update of the polygons? For example, if a building is initially detected as two separate polygons, can these two polygons be merged into one? From the paper it seems TopoRefine cannot handel such topological changes.
  • In Table 3: SAM3 (with or without TopoRefine) yields worse results compared SAM and SAM2, with quite large margin. What's the reason for that?
  • If the initialization is very poor, i.e. the initial polygon is far from the correct boundary, would TopoRefine still lead to reasonable polygons?
Limitations
  • It seems that topological changes cannot be handled automatically
  • Performance depends on the quality of the input mask
Final justification

I sincerely thank the authors for their explanation and additional experiments.

The inability to adapt to changing topology is a major limitation of the proposed method. The authors' understanding of snake models only reflects the first snake models, but not the later snake models or those based on level sets, and these methods do allow change of topology or number of control points (Q1 and Q3). In this sense, the words in the title "TopoRefine" and "Topology-Aware" are also confusing, as for researchers with background in classical computer vision, it gives the impression of topology adaptation.

I decrease my rating to 4 and raise my confidence to 4.

Formatting concerns

No concerns

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the constructive comments and for recognizing the consistent improvements achieved when TopoRefine is integrated with SAM, SAM 2, SAM 3, and IPDA. We address the remaining concerns below.

Q1. Novelty beyond classical snake models

Thank you for raising this important distinction. Although classical snakes and TopoRefine both iteratively refine an explicit contour, they differ fundamentally in what can change during evolution. Classical snake models typically resample a contour into a fixed number of ordered control points and update only their coordinates throughout evolution. This fixed vertex representation may be structurally mismatched to diverse building geometries, producing redundant points along simple edges but too few appropriately placed vertices at corners. Since coordinate updates only displace predefined points, they cannot resolve this mismatch, often resulting in rounded corners or distorted edges.

TopoRefine instead jointly evolves the contour's vertex structure and vertex locations. At every iteration, it can insert missing vertices, delete redundant ones, and refine the coordinates of retained and newly inserted vertices. The vertex set can therefore progressively adapt to each building's geometry.

This structural evolution requires the dynamic supervision mechanism introduced in Sec. 3.3, which differs from conventional contour tracking in two key aspects. First, supervision targets must be reconstructed after every iteration. Classical snakes preserve the same contour points, so their targets remain valid across iterations. In TopoRefine, each insertion or deletion changes the current vertex set and invalidates previous supervision; we therefore reconstruct correspondences and regenerate targets for the updated polygon. Second, TopoRefine establishes vertex-level structural correspondences. Conventional contour tracking generally matches sampled points to nearby boundary samples without distinguishing structural vertices from ordinary edge samples. TopoRefine instead performs order-preserving matching between current polygon vertices and ground-truth structural vertices. These correspondences identify which existing vertices should be retained or deleted, and which missing structural vertices should be inserted. The dynamic correspondence and supervision mechanism introduced in Sec. 3.3 ensures that valid targets are regenerated after each structural update, allowing the updated vertex set to be propagated to the next iteration and guide subsequent refinement of both vertex structure and locations.

Q2. Why improvement over the initialization methods is not automatic

Thank you for prompting this clarification. TopoRefine requires an upstream segmentation output as initialization, but improvement is not an automatic consequence of adding another refinement network. Under the same SAM 3 initialization, the submitted Table 1 shows that fixed-topology refinement improves AP only from 61.67 to 62.68 while decreasing PolySim from 79.94 to 77.69. Coordinate refinement alone reaches 63.98 AP and 80.94 PolySim. In contrast, jointly performing vertex insertion, deletion, and coordinate refinement reaches 67.84 AP and 83.47 PolySim.

Refinement strategy AP AP$_{75}$ PolySim
Direct vectorization 61.67 70.54 79.94
Fixed-topology refinement 62.68 72.66 77.69
Coordinate refinement only 63.98 73.32 80.94
Full TopoRefine 67.84 76.48 83.47

Thus, simply deforming the initial contour is insufficient. The main gain comes from adapting the polygon's discrete vertex structure rather than merely adding model capacity after the upstream model.

Q3. Scope of the topology changes handled by TopoRefine

Thank you for asking us to clarify this scope. TopoRefine currently refines one ordered outer contour for each building instance. Its topology adaptation changes the vertex structure within that contour through vertex insertion and deletion, rather than changing the number of connected components.

Therefore, if one building is initially represented by two disconnected polygons, the current method cannot merge them into one. It also cannot split one contour into multiple components or explicitly model multiple rings. We will clearly state these limitations in the revised manuscript.

Nevertheless, TopoRefine can correct substantial structural defects within an individual contour. On the WHU test set, it corrects 356 of 399 initially self-intersecting SAM 3 polygons (89.2%), including bow-tie cases. This demonstrates improved polygon validity and structural consistency within the supported single-contour setting.

Metric #Instances
Initially self-intersecting polygons 399
Corrected by TopoRefine 356

Q4. Dependence on initialization and performance with poor initial polygons

Thank you for highlighting initialization quality. We stratify all WHU test instances according to their initial polygon IoU:

Initial-IoU range #Instances Initial IoU Refined IoU Mean gain
[0.0,0.4)[0.0,0.4) 8,725 0.1268 0.1488 +0.0220
[0.4,0.6)[0.4,0.6) 3,244 0.5047 0.6084 +0.1037
[0.6,0.8)[0.6,0.8) 7,940 0.7221 0.8050 +0.0829
[0.8,1.0][0.8,1.0] 39,125 0.9081 0.9197 +0.0116

TopoRefine improves the mean IoU in all four groups. The largest gains occur for moderately inaccurate polygons, which preserve sufficient building structure while containing substantial correctable errors. Below 0.4 IoU, the gain remains positive but is smaller because a largely absent or severely mislocalized building provides insufficient structural evidence for reliable recovery.

Q5. Why does SAM 3 perform worse than SAM and SAM 2 in Table 3?

Thank you for noting this discrepancy. The rows use different prompting conditions. SAM and SAM 2 receive ground-truth boxes, which provide accurate instance-level localization, whereas SAM 3 uses only the text query "building". Its lower performance mainly reflects the greater difficulty of text-based localization, particularly for dense and adjacent buildings.

Upstream model Prompt AP before AP after Gain
SAM GT box 68.01 74.02 +6.01
SAM 2 GT box 72.24 75.42 +3.18
SAM 3 Text 61.67 67.84 +6.17
IPDA Supervised polygon 69.11 71.90 +2.79

Table 3 is intended to evaluate whether TopoRefine improves different upstream pipelines under their respective settings. We will clarify the prompting conditions in the table description to avoid misinterpretation.

Q6. SpaceNet results and comparison with IPDA

Thank you for requesting a controlled comparison. The comparison of AP₅₀ in the submitted Table 5 involves different upstream proposal pipelines: TopoRefine uses boxes and center points predicted by SAMPolyBuild, whereas IPDA relies on its own detections and contour initialization. Indeed, IPDA also obtains higher AP₅₀ than SAMPolyBuild. We therefore apply TopoRefine to the initial contours and final outputs generated by IPDA:

Method AP AP$_{50}$ AP$_{75}$ PolySim
IPDA 45.44 73.55 49.42 70.62
IPDA initialization + TopoRefine 48.82 79.18 53.06 74.68
IPDA output + TopoRefine 49.94 79.38 54.29 76.25

Under identical detections and initial contours, replacing IPDA's contour evolution with TopoRefine consistently improves region accuracy, high-IoU performance, and geometric similarity. Applying TopoRefine to final IPDA polygons yields further gains, showing that it also corrects residual geometric errors in a strong polygonization model. These controlled results attribute the improvement to TopoRefine rather than different upstream proposals.

The two settings serve complementary purposes: the initialization experiment compares the contour-evolution mechanisms under a shared starting point, while the output experiment directly tests TopoRefine as a detachable refinement stage.

Q7. What does π(i)\pi(i) mean in Eqs. (7) and (8)?

Thank you for identifying this ambiguity. π\pi is not a permutation, but an order-preserving index mapping from current polygon vertices to ground-truth building vertices:

π:{1,…,Mt}→{1,…,M∗}.\pi:\lbrace 1,\ldots,M_t\rbrace\rightarrow\lbrace 1,\ldots,M^\ast\rbrace.

Specifically, π(i)=j\pi(i)=j means that current vertex ii is assigned to ground-truth vertex jj. The order-preserving constraint maintains consistency with the polygon boundary order, while the many-to-one mapping allows multiple current vertices to match the same ground-truth vertex. Among feasible mappings, Eq. (7) selects π∗\pi^\ast by minimizing total matching distance. Eq. (8) then defines

Cjt={i∣π∗(i)=j},C_j^t=\lbrace i\mid\pi^\ast(i)=j\rbrace,

the set of current vertices assigned to ground-truth vertex jj. If ∣Cjt∣>1|C_j^t|>1, only the nearest current vertex is retained and the others become deletion targets; if ∣Cjt∣=0|C_j^t|=0, the unmatched ground-truth vertex provides an insertion target. Retained correspondences supervise coordinate regression.

This construction permits the supervision to remain consistent even when insertion and deletion change the number of vertices between consecutive iterations. We will explicitly define the domain of π\pi in the revision.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…