TempFit: Panoptic Symbol Spotting via Template Fitting
Honghao Xu, Hao Wang, Xiang Liu, Juzhan Xu, Manfred Lau, Kai Xu, Ruizhen Hu
Key points
From the paper's conclusion- 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.
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/.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Blueprint2CAD: Benchmarking Foundation Models on Engineering Drawing-to-CAD Render CorrespondencearXiv · 2026
- CAD-Based Relation Learning and Geometric-Symbolic Planning for Robotic AssemblyarXiv · 2026
- Sketch-Omni: Instance-Level Sketch-Based Visual Prompting for Perception MLLMsarXiv · 2026
- Biomimetic Cross-Scale Feature Recalibration with Axis-Decompositional Positional Embedding for Architectural Floor Plan Parsing.Biomimetics (Basel, Switzerland) · 2026
- PrimitiveCAD: An LLM-Based Point-to-CAD Reconstruction with Primitive-Aware Tokenization and Operation AlignmentarXiv · 2026
- PhyCAD: Physics-Aware Text-to-CAD Generation via Hierarchical Reinforcement LearningarXiv · 2026