为文本驱动的CAD原型设计开发专用分词器,提升生成与编辑质量
CAD-Tokenizer: Towards Text-based CAD Prototyping via Modality-Specific Tokenization
- 基于原始构造序列设计专用分词方法,保留几何结构语义
- 在统一任务中实现更优指令遵循与生成效果,优于通用与专用基线
- 适合需要高效文本交互式建模的设计自动化研究者
计算机辅助设计(CAD)是工业原型设计的基础,其模型通过草图、拉伸等构造序列定义,而非原始坐标。这种序列结构支持高效的原型初始化与后续编辑。文本引导的CAD原型设计可统一文本到CAD生成与编辑任务,有望简化整个设计流程。然而,以往工作未探索此场景,主要因标准大语言模型(LLM)分词器将CAD序列拆分为自然语言词元,无法捕捉基础几何语义,阻碍注意力模块建模几何结构。我们提出一种与CAD的原始与结构特性对齐的多模态分词策略,构建了基于序列的VQ-VAE框架,采用基础单元级池化与约束解码,生成紧凑且具备基础单元感知能力的表示。应用于统一文本引导的CAD原型设计,该方法显著提升指令遵循与生成质量,在定量与定性指标上均优于通用大模型与特定任务基线。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。