EdgeDiff: Edge-aware Diffusion Network for Building Reconstruction from Point Clouds

Yujun Liu, Ruisheng Wang, Shangfeng Huang, Guorong CaiCVPR 2025

Abstract

Accurate 3D building reconstruction from point clouds is a critical task for urban planning and autonomous navigation. We introduce EdgeDiff, a generative framework that treats building wireframe reconstruction as a conditional diffusion process. By iteratively refining random noise into precise geometric structures, EdgeDiff overcomes the limitations of traditional vertex-first or direct regression methods. Our approach utilizes a midpoint-offset edge representation and an edge-aware attention mechanism to achieve state-of-the-art results on large-scale real-world datasets like Building3D.

Introduction: The Challenge of Building Reconstruction

Reconstructing 3D models from raw sensor data is inherently difficult due to noise, occlusions, and irregular sampling. Wireframes—compact collections of vertices and edges—are the preferred representation for their efficiency, but generating them reliably remains a challenge. Traditional methodologies generally fall into two categories, each with significant drawbacks.

Vertex Detection Methods identify corners first, which often leads to error accumulation if a single vertex is missed.

Vertex Detection Methods (illustrated above) focus on identifying corner points before establishing connectivity. The primary weakness of this approach is its lack of robustness; a single missed vertex can cause the entire structural reconstruction to fail.

Edge Regression Methods use learnable queries to predict edges directly but struggle with the complex topologies of urban architecture.

Edge Regression Methods (illustrated above) attempt to predict edges directly using learnable queries. While more stable than vertex-based approaches, they often struggle to capture the intricate and varying topologies found in diverse urban environments. EdgeDiff addresses these issues by reframing reconstruction as a generative task, leveraging the iterative refinement capabilities of diffusion models.

Methodology: Diffusion for 3D Geometry

EdgeDiff is built upon a Conditional Diffusion Model specifically optimized for 3D geometric structures. The model starts with pure Gaussian noise and, guided by the input point cloud, progressively "cleans" the noise into a structured wireframe.

Midpoint-Offset Parameterization

A core innovation of EdgeDiff is the shift from absolute endpoint coordinates to a midpoint-offset representation. Each edge is defined as a 6D vector: the 3D coordinates of its midpoint and the 3D offsets to its endpoints. This representation is significantly more stable during the iterative denoising process. Ablation studies indicate that this shift improves the Corner F1-score by 57% compared to traditional endpoint-based methods, as it maintains better spatial consistency.

Edge-aware Architecture

The model employs a transformer-based Edge-aware Denoising Module. This module utilizes self-attention to understand the relationships between different edge queries and cross-attention to fuse these queries with features extracted from the point cloud. To further guide the process, an Edge Attention Module identifies which points in the cloud are likely part of a building's edge, providing a geometric "map" for the denoising steps.

Experimental Results

We evaluated EdgeDiff on the Building3D dataset, a large-scale benchmark for urban wireframe reconstruction.

  • Entry-level Dataset: EdgeDiff achieved a Corner F1-score (CF1) of 0.91 and an Edge F1-score (EF1) of 0.88, outperforming previous state-of-the-art methods like PBWR.
  • Tallinn Dataset (Complex): On this more challenging urban subset, EdgeDiff maintained high performance with a CF1 of 0.84 and EF1 of 0.79. In contrast, traditional vertex detection methods often saw their performance drop below 0.40 in these complex scenarios.

Qualitatively, EdgeDiff produces cleaner, more topologically sound wireframes compared to mesh-based methods, which often introduce redundant facets or jagged edges.

Conclusion and Future Work

EdgeDiff demonstrates that diffusion models are naturally suited for structural refinement. By iteratively updating edge parameters, the model can "fix" its own geometric mistakes over multiple steps. While the current pipeline still relies on post-processing steps like Non-Maximum Suppression (NMS) to ensure endpoint continuity, future research will explore fully end-to-end frameworks to generate global topology directly. Despite the increased computational cost of iterative inference, the accuracy and flexibility of EdgeDiff set a new standard for automated 3D urban modeling.

Summary updated

BibTeX
@inproceedings{liu2025edgediff,
  author = {Yujun Liu and Ruisheng Wang and Shangfeng Huang and Guorong Cai},
  title = {{EdgeDiff: Edge-aware Diffusion Network for Building Reconstruction from Point Clouds}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.01585},
}
Figure