扩散应进入语言模型的何处?几何引导的隐藏状态替换
Where Should Diffusion Enter a Language Model? Geometry-Guided Hidden-State Replacement
AI总结:
本文提出DiHAL模型,通过几何引导确定扩散在预训练Transformer中的最佳插入位置,通过隐藏状态恢复而非直接连续到离散恢复提升性能。
摘要:
连续扩散语言模型在性能上落后于自回归Transformer,部分原因是扩散应用于不适合语言去噪和token恢复的空间。我们提出DiHAL,一种几何引导的扩散-Transformer混合模型,旨在确定扩散应进入预训练Transformer的何处。DiHAL通过几何代理评分层,选择适合扩散的隐藏状态接口,并在保留上层和原始LM头的情况下,用扩散桥替换下层Transformer前缀。通过重构所选层的隐藏状态而非token,DiHAL避免了直接连续到离散恢复。在8B规模backbone上的实验表明,几何分数在固定桥训练协议下能预测有效的浅层插入层,并且在诊断比较中,隐藏状态恢复在连续扩散基线之上表现更优。这些结果表明,隐藏状态几何有助于识别预训练语言模型中扩散替换可行的位置。
英文摘要:
Continuous diffusion language models require choosing a representation space in which denoising operates, yet it remains unclear which representations are most compatible with diffusion. We study a basic design question: where inside a pretrained language model should continuous diffusion operate? We formulate this as a hidden-state interface-selection problem and hypothesize that diffusion-friendly interfaces can be identified from representation geometry. We operationalize this hypothesis using three training-free geometric proxies: local compactness, global stiffness, and effective rank. Across two 8B-scale backbones, the resulting geometry score predicts fixed-budget diffusion bridgeability beyond the dominant effect of layer depth. We then instantiate DiHAL, a Locate-and-Replace framework that replaces the transformer prefix below a selected interface with conditional diffusion while retaining the pretrained suffix and LM head. Under full training, geometry-selected interfaces remain close to validation-loss oracles and outperform worst-layer controls, while the diffusion bridge outperforms a parameter-matched deterministic replacement under matched diagnostic conditions. These results suggest that the representation space in which diffusion operates should itself be treated as a first-class design variable for continuous diffusion in language models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。