arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2603.13243cs.AI
收藏

先思后推:通过自回归计划条件改进扩散语言模型推理

Think First, Diffuse Fast: Improving Diffusion Language Model Reasoning via Autoregressive Plan Conditioning

Independent Researcher(独立研究者)

Earl J St Sauver

AI总结:

本文提出计划条件方法,通过在扩散模型提示前添加自回归生成的计划,提升多步推理能力,实验表明在GSM8K和HumanEval上分别提升11.6和12.8个百分点,证明了协调问题假设。

摘要:

扩散大语言模型(dLLMs)通过迭代去噪生成文本,但在多步推理上表现不佳。我们假设这一差距源于协调问题:自回归模型逐token构建连贯性,而扩散模型必须同时协调所有位置。我们提出计划条件,一种无需训练的方法,将自回归模型生成的短计划(约100个token)前置到扩散模型提示中。计划作为冻结的框架——全局可见的上下文,每个token位置可以从去噪的第一步开始关注。在GSM8K上,计划条件将LLaDA-8B-Instruct的准确率从75.6%提升到87.2%(+11.6个百分点),接近同等大小的自回归模型(LLaMA 3.1 8B,87.7%),尽管基线弱6.4个百分点。在HumanEval上,提升为+12.8个百分点(37.2%到50.0%),显示计划可推广到代码。相同计划在GSM8K和HumanEval上分别提升LLaMA仅+5.7和+1.3个百分点,表明扩散模型受益2-10倍更多,支持协调问题假设。在5个随机种子下,计划条件GSM8K准确率无标准差,使扩散推理高度稳定。消融实验显示模型遵循计划策略(错误策略计划导致-16.3个百分点),但对计划值鲁棒(扰动数字:-1.1个百分点),且计划质量有明显阈值:较小的Llama类计划有害(-1.6到-6.8个百分点),而前沿计划提供全部提升。注意力分析确认机制:计划token在早期去噪中获得1.8倍额外注意力,随着完成token固化而下降。计划条件成本约每问题0.002美元,增加约2秒延迟。

英文摘要:

Diffusion large language models (dLLMs) generate text via iterative denoising but consistently underperform on multi-step reasoning. We hypothesize this gap stems from a coordination problem: AR models build coherence token-by-token, while diffusion models must coordinate all positions simultaneously. We propose plan conditioning, a training-free method that prepends a short (~100-token) natural-language plan from an AR model to the diffusion model's prompt. The plan serves as a frozen scaffold -- globally visible context that every token position can attend to from the first denoising step. On GSM8K, plan conditioning improves LLaDA-8B-Instruct from 75.6% to 87.2% (+11.6 percentage points), matching a same-size AR model (LLaMA 3.1 8B, 87.7%) despite a 6.4pp weaker baseline. On HumanEval, the gain is +12.8pp (37.2% to 50.0%), showing plans generalize to code. The same plans improve LLaMA by only +5.7pp on GSM8K and +1.3pp on HumanEval -- diffusion models benefit 2-10x more, supporting the coordination-problem hypothesis. Across 5 random seeds, plan-conditioned GSM8K accuracy has zero standard deviation, making diffusion inference highly stable. Ablations reveal the model follows plan strategy (wrong-strategy plans cause -16.3pp) but is robust to plan values (perturbed numbers: -1.1pp), and that planner quality has a sharp threshold: smaller Llama-class plans hurt (-1.6 to -6.8pp) while frontier plans provide the full lift. Attention analysis confirms the mechanism: plan tokens receive 1.8x excess attention during early denoising, declining to uniform as completion tokens solidify. Plan conditioning costs ~$0.002 per problem and adds ~2s of latency.

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

↑