arXiv · 2610.17776
TempFit: Panoptic Symbol Spotting via Template Fitting
Abstract
In this paper, we introduce TempFit, a novel approach for the problem of Panoptic Symbol Spotting on CAD drawings. Existing methods treat symbol spotting as a per-primitive classification or mask-prediction task, with no explicit constraint enforcing that the primitives assigned to one instance form a spatially connected group. As a result, predictions may erroneously merge primitives from distant symbols into a single instance or fragment a coherent symbol across multiple predictions. Motivated by the professional "retrieve-and-transform" CAD design workflow, we reformulate this task as a Template Fitting problem, where each foreground instance is detected by retrieving and aligning a canonical template from a library, enforcing structural completeness by construction. Building on this formulation, we present an autoregressive transformer that unifies template retrieval and pose prediction within a single end-to-end pipeline. The framework treats the template library as an explicit geometric memory, parsing background regions in parallel via learnable background tokens and synthesizing foreground instances autoregressively while attending to template-specific geometry at each step. Experiments on FloorplanCAD and our newly collected IndustryCAD dataset, a more challenging benchmark with complex industrial symbols, heavy occlusion, and wide scale variation, demonstrate state-of-the-art performance with particularly large gains on IndustryCAD. Project page: https://tempfit-project.github.io/.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Honghao Xu, Hao Wang, Xiang Liu, Juzhan Xu, Manfred Lau, Kai Xu, Ruizhen Hu. 2026-10-13. TempFit: Panoptic Symbol Spotting via Template Fitting. https://arxiv.org/abs/2610.17776
Cite the original work for its findings. Save a collection to share your selection of sources.