arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2509.21150cs.LG
收藏

CAD-Tokenizer: 向基于文本的CAD原型设计迈进:通过模态特定的分词

CAD-Tokenizer: Towards Text-based CAD Prototyping via Modality-Specific Tokenization

University of Toronto(多伦多大学);Microsoft Research Asia(微软亚洲研究院);Fudan University(复旦大学)

Ruiyu Wang, Shizhao Sun, Weijian Ma, Jiang Bian

AI总结:

CAD-Tokenizer通过模态特定的分词策略,提升文本引导的CAD原型设计效率与生成质量。

摘要:

计算机辅助设计(CAD)是工业原型设计的基础组件,其中模型不是由原始坐标定义,而是由构造序列如草图和延伸定义。这种顺序结构使得原型初始化和后续编辑都更加高效。通过文本引导的CAD原型设计,将文本到CAD生成和CAD编辑统一起来,有潜力简化整个设计流程。然而,先前的工作没有探索这种设置,主要是因为标准大型语言模型(LLM)分词器将CAD序列分解为自然语言词片,无法捕捉基本级CAD语义,阻碍了注意力模块对几何结构的建模。我们推测,一种与CAD的基本和结构性质对齐的多模态分词策略可以提供更有效的表示。为此,我们提出了CAD-Tokenizer,一个使用基于序列的VQ-VAE,结合基本级池化和受约束的解码,用模态特定的令牌表示CAD数据的框架。这种设计产生了紧凑且基本意识的表示,与CAD的结构性质相一致。应用于统一的文本引导的CAD原型设计,CAD-Tokenizer显著提高了指令遵循和生成质量,在通用大型语言模型和任务特定基线方面均实现了更好的定量和定性性能。

英文摘要:

Computer-Aided Design (CAD) is a foundational component of industrial prototyping, where models are defined not by raw coordinates but by construction sequences such as sketches and extrusions. This sequential structure enables both efficient prototype initialization and subsequent editing. Text-guided CAD prototyping, which unifies Text-to-CAD generation and CAD editing, has the potential to streamline the entire design pipeline. However, prior work has not explored this setting, largely because standard large language model (LLM) tokenizers decompose CAD sequences into natural-language word pieces, failing to capture primitive-level CAD semantics and hindering attention modules from modeling geometric structure. We conjecture that a multimodal tokenization strategy, aligned with CAD's primitive and structural nature, can provide more effective representations. To this end, we propose CAD-Tokenizer, a framework that represents CAD data with modality-specific tokens using a sequence-based VQ-VAE with primitive-level pooling and constrained decoding. This design produces compact, primitive-aware representations that align with CAD's structural nature. Applied to unified text-guided CAD prototyping, CAD-Tokenizer significantly improves instruction following and generation quality, achieving better quantitative and qualitative performance over both general-purpose LLMs and task-specific baselines.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑