arXiv:2610.17776cs.GROct 2026

Manuscript Offprint

arXiv:2610.17776

TempFit: Panoptic Symbol Spotting via Template Fitting

Honghao Xu, Hao Wang, Xiang Liu, Juzhan Xu, Manfred Lau, Kai Xu, Ruizhen Hu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

HONGHAO XU, Shenzhen University, China

HAO WANG, SpeedBot Robotics Co., Ltd, China

XIANG LIU, Shenzhen University, China

JUZHAN XU, Shenzhen University, China

MANFRED LAU, Lakehead University, Canada

KAI XU, Institute of AI for Industries, Chinese Academy of Sciences and Jiangsu Key Laboratory of AI for Industries, China

RUIZHEN HU*, Shenzhen University, China

Panoptic Symbol Spotting (v2026)

Figure

Spotting Results

3D Scenes

Fig. 1. Motivated by the professional “retrieve-and-transform” CAD design workflow, we reformulate Panoptic Symbol Spotting as Template Fitting. Left: given an input CAD drawing, our method retrieves the matching template from a predefined library and aligns it via pose prediction to produce the panoptic result. Right: since each template can be canonically associated with a 3D model, the detected symbols directly support downstream 3D applications such as digital twin reconstruction, illustrated here on floorplan (top) and industrial (bottom) scenes.

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

*Corresponding author: Ruizhen Hu (ruizhen.hu@gmail.com)

Authors' Contact Information: Honghao Xu, Shenzhen University, Shenzhen, China, littledaisy20001227@gmail.com; Hao Wang, SpeedBot Robotics Co., Ltd, Changsha, China, 21020100007@pop.zjgsu.edu.cn; Xiang Liu, Shenzhen University, Shenzhen, China, lyr02302561@gmail.com; Juzhan Xu, Shenzhen University, Shenzhen, China, juzhan.xu@gmail.com; Manfred Lau, Lakehead University, Orillia, Canada, manfred.lau@gmail.com; Kai Xu, Institute of AI for Industries, Chinese Academy of Sciences and Jiangsu Key Laboratory of AI for Industries, Nanjing, China, kevin.kai.xu@gmail.com; Ruizhen Hu, Shenzhen University, Shenzhen, China, ruizhen.hu@gmail.com.

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/.

CCS Concepts: • Computing methodologies → Shape analysis.

Additional Key Words and Phrases: Panoptic Symbol Spotting, Primitive Fitting

Figure

This work is licensed under a Creative Commons Attribution 4.0 International License. © 2026 Copyright held by the owner/author(s). ACM 1557-7368/2026/12-ART213 https://doi.org/10.1145/3842584

ACM Reference Format:

Honghao Xu, Hao Wang, Xiang Liu, Juzhan Xu, Manfred Lau, Kai Xu, and Ruizhen Hu. 2026. TempFit: Panoptic Symbol Spotting via Template Fitting. ACM Trans. Graph. 45, 6, Article 213 (December 2026), 14 pages. https://doi.org/10.1145/3842584

213:2

Honghao Xu, Hao Wang, Xiang Liu, Juzhan Xu, Manfred Lau, Kai Xu, and Ruizhen Hu

References (9)