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

超越自回归:面向复杂推理与规划的离散扩散

Beyond Autoregression: Discrete Diffusion for Complex Reasoning and Planning

The University of Hong Kong(香港大学);Huawei Noah’s Ark Lab(华为诺亚方舟实验室)

Jiacheng Ye, Jiahui Gao, Shansan Gong, Lin Zheng, Xin Jiang, Zhenguo Li, Lingpeng Kong

AI总结:

针对自回归模型复杂推理与长期规划不足的问题,提出按子目标难度优先学习的离散扩散框架 MGDM,并在 Countdown、数独和 SAT 任务上显著提升无搜索性能。

摘要:

自回归语言模型尽管具有令人瞩目的能力,却在复杂推理和长期规划任务上表现吃力。我们引入离散扩散模型,作为应对这些挑战的一种新颖解决方案。通过子目标不平衡这一视角,我们展示了扩散模型如何有效学习那些自回归方法难以掌握的困难子目标。我们提出 Multi-Granularity Diffusion Modeling(MGDM,多粒度扩散建模),在学习过程中根据难度为子目标确定优先级。在 Countdown、数独和 Boolean Satisfiability Problems(布尔可满足性问题)等复杂任务上,MGDM 在不使用搜索技术的情况下显著优于自回归模型。例如,MGDM 在 Countdown 和数独上分别取得 91.5% 和 100% 的准确率,而自回归模型分别为 45.8% 和 20.7%。我们的工作凸显了基于扩散的方法在提升 AI 处理复杂语言理解和问题解决任务能力方面的潜力。所有相关代码均可在 https://github.com/HKUNLP/diffusion-vs-ar 获取。

英文摘要:

Autoregressive language models, despite their impressive capabilities, struggle with complex reasoning and long-term planning tasks. We introduce discrete diffusion models as a novel solution to these challenges. Through the lens of subgoal imbalance, we demonstrate how diffusion models effectively learn difficult subgoals that elude autoregressive approaches. We propose Multi-Granularity Diffusion Modeling (MGDM), which prioritizes subgoals based on difficulty during learning. On complex tasks like Countdown, Sudoku, and Boolean Satisfiability Problems, MGDM significantly outperforms autoregressive models without using search techniques. For instance, MGDM achieves 91.5\% and 100\% accuracy on Countdown and Sudoku, respectively, compared to 45.8\% and 20.7\% for autoregressive models. Our work highlights the potential of diffusion-based approaches in advancing AI capabilities for sophisticated language understanding and problem-solving tasks. All associated codes are available at \href{https://github.com/HKUNLP/diffusion-vs-ar}{https://github.com/HKUNLP/diffusion-vs-ar}.

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

↑