[论文解读] AGDC: Autoregressive Generation of Variable-Length Sequences with Joint Discrete and Continuous Spaces
AGDC 在可变长度序列中将离散值与连续值联合建模,使用带有扩散的 EOS 调整自回归框架处理连续部分,并引入长度正则化的训练目标,同时推出 ContLayNet 以实现高精度半导体布局。
Transformer-based autoregressive models excel in data generation but are inherently constrained by their reliance on discretized tokens, which limits their ability to represent continuous values with high precision. We analyze the scalability limitations of existing discretization-based approaches for generating hybrid discrete-continuous sequences, particularly in high-precision domains such as semiconductor circuit designs, where precision loss can lead to functional failure. To address the challenge, we propose AGDC, a novel unified framework that jointly models discrete and continuous values for variable-length sequences. AGDC employs a hybrid approach that combines categorical prediction for discrete values with diffusion-based modeling for continuous values, incorporating two key technical components: an end-of-sequence (EOS) logit adjustment mechanism that uses an MLP to dynamically adjust EOS token logits based on sequence context, and a length regularization term integrated into the loss function. Additionally, we present ContLayNet, a large-scale benchmark comprising 334K high-precision semiconductor layout samples with specialized evaluation metrics that capture functional correctness where precision errors significantly impact performance. Experiments on semiconductor layouts (ContLayNet), graphic layouts, and SVGs demonstrate AGDC's superior performance in generating high-fidelity hybrid vector representations compared to discretization-based and fixed-schema baselines, achieving scalable high-precision generation across diverse domains.
研究动机与目标
- 强调在高精度领域中,面向混合离散-连续、可变长度序列的离散化方法的局限性。
- 提出 AGDC,在自回归框架内联合建模离散和连续分量。
- 引入基于 EOS 的长度控制和可微分长度正则化项。
- 提供 ContLayNet 作为高精度半导体布局的实际大规模基准,基于 DRC 指标评估。
- 展示 AGDC 相较离散化基方法和固定模式基线,在半导体布局、图形、文本转 SVG 等任务上的跨领域优势。
提出的方法
- 将每个原子单元表示为离散标记与连续向量的组合,形成 [d, c] 单元的序列。
- 通过连接 one-hot(d) 与投影后的连续向量进行嵌入,输入自回归网络以产生 z^i。
- 离散分支:通过 MLP + softmax 得到 p(d^i|z^i)。
- 连续分支:在 z^i 条件下,使用扩散为基础的去噪网络采样 c^i。
- EOS 逻辑回归通过基于序列上下文的 MLP 机制进行调整。
- 联合损失训练:离散的交叉熵损失,连续的去噪分数匹配损失,以及一个可微分的长度正则化项。
- 长度:通过调整后的 EOS 概率计算期望长度,并通过 L_ell 对目标长度偏差进行惩罚。
- 生成:从 p(d|z) 采样离散标记,并在给定 z 的条件下通过反向扩散采样连续向量。
- 关键方程包括:e^i = concat(E(onehot(d^i)), W c^i); z^i = f(e^1,...,e^{i-1}); p(d^i|z^i) = softmax(MLP_DISC(z^i)); denoise(c^i|z^i) 通过 ε_θ 与扩散步数实现; EOS logits 调整为 logit_EOS += α * MLP_EOS(z^i); L_total = L_d + λ1 L_c + λ2 L_ell; L_ell = (E[length] - L_target)^2。
实验结果
研究问题
- RQ1一个统一的自回归模型,是否能够在可变长度输出中同时处理离散与连续值,并超越基于离散化的混合方法在高精度领域的表现?
- RQ2带上下文感知的 EOS 调整加上可微分长度正则化,是否能提升生成长度的准确性与保真度?
- RQ3与固定模式或仅扩散的基线相比,AGDC 在半导体布局、图形布局、文本转 SVG 任务中的表现如何?
- RQ4在高精度设计(如 ContLayNet)的下游功能正确性方面,保留连续值对结果有何影响?
主要发现
- 相较离散化基 LT 与扩散基 DLT 基线,AGDC 在半导体布局、图形布局和文本转 SVG 任务上实现了更优的离散-连续生成质量。
- 在 ContLayNet 中,AGDC 在 CLC、PDC、HSC、VSC 等指标上优于基线,显示出更好的功能保真性。
- EOS 对数 logits 的调整与长度正则化共同提升了长度控制效果并降低长度误差。
- AGDC 在生成过程中保留了高精度的连续坐标,避免了离散化方法带来的精度损失。
- 消融实验表明,EOS 调整与长度正则化的组合在所有任务中都带来最佳性能。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。