Introduction
Architectural CAD drawings are essential for construction and interior design, yet they remain difficult for automated systems to interpret holistically. The task of panoptic symbol spotting—simultaneously identifying symbol categories (semantic) and individual object boundaries (instance)—is hindered by three primary challenges: symbol overlap, inconsistent metadata (such as layer names), and the massive scale of real-world floorplans. Traditional methods often fail when faced with the complexity of hospitals or office complexes, where memory constraints and "stitching" errors at processing boundaries are common.
Methodology
CADSpotting departs from raster-based or graph-based approaches by treating CAD drawings as 3D point clouds. This geometric focus ensures robustness against varying file structures and metadata inconsistencies.
Dense Point Sampling and Feature Extraction
The framework begins with Dense Point Sampling, where points are equidistantly sampled along every geometric primitive (lines, arcs, etc.) in the CAD file. This converts the drawing into a unified point cloud representation. These points are then processed by Point Transformer V3 (PTv3), a state-of-the-art 3D backbone, to extract high-level geometric features.
Primitive Mixed Pooling (PMP) and Sliding Window Aggregation (SWA)
To reconnect point-level features with the original CAD primitives, the model employs Primitive Mixed Pooling (PMP), which aggregates maximum and average values into a compact feature for each line or curve. To handle large-scale drawings, the Sliding Window Aggregation (SWA) technique processes the floorplan in overlapping segments. A weighted voting scheme for semantic labels and Sparse Non-Maximum Suppression (Sparse-NMS) are used to merge object instances across window boundaries, preventing fragmentation of large objects.
Datasets
The model was evaluated on two benchmarks:
- FloorPlanCAD: A standard dataset containing approximately 15,000 drawings.
- LS-CAD (Large-Scale CAD): A new dataset introduced by the authors, featuring 45 finely annotated floorplans of large campuses and office complexes (approx. 1,000 m² each).
Results
CADSpotting establishes a new state-of-the-art (SOTA) across multiple metrics:
- Semantic and Instance Accuracy: On FloorPlanCAD, the model achieved an F1 score of 92.8% and a Mean Average Precision (mAP) of 66.3%, significantly outperforming previous methods like SymPoint.
- Scalability: On the LS-CAD dataset, the SWA technique improved Panoptic Quality (PQ) from 58.8% to 75.5%, demonstrating its effectiveness for massive real-world plans.
- Downstream Application: The authors successfully demonstrated an end-to-end pipeline that automatically generates parametric 3D models in Blender from raw CAD inputs.
Conclusion
By prioritizing geometry over metadata and leveraging 3D vision architectures for 2D spatial data, CADSpotting provides a robust solution for large-scale architectural analysis. Future work may explore in-context learning to adapt to diverse architectural styles and higher sampling densities for intricate decorative elements.
Summary updated