跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 机器学习

arXiv:2602.17688 (cs)
[提交于 2026年2月5日]

标题:AnCoder: Anchored Code Generation via Discrete Diffusion Models

作者:Anton Xue, Litu Rout, Constantine Caramanis, Sanjay Shakkottai
查看论文《AnCoder: Anchored Code Generation via Discrete Diffusion Models》的 PDF
查看中文 PDF 查看原文 PDF EasyResearch 阅读
摘要:Diffusion language models offer a compelling alternative to autoregressive code generation, enabling global planning and iterative refinement of complex program logic. However, existing approaches fail to respect the rigid structure of programming languages and, as a result, often produce broken programs that fail to execute. To address this, we introduce AnchorTree, a framework that explicitly anchors the diffusion process using structured, hierarchical priors native to code. Specifically, AnchorTree uses the abstract syntax tree to prioritize resolving syntactically and semantically salient tokens, such as keywords (e.g., if, while) and identifiers (e.g., variable names), thereby establishing a structural scaffold that guides the remaining generation. We validate this framework via AnCoder, a family of models showing that structurally anchored diffusion offers a parameter-efficient path to high-quality code generation.
主题: 机器学习 (cs.LG); 程序设计语言 (cs.PL)
引用方式: arXiv:2602.17688 [cs.LG]
  (或者 arXiv:2602.17688v1 [cs.LG] 对于此版本)
  https://doi.org/10.48550/arXiv.2602.17688

提交历史

来自:Anton Xue
[v1] 2026年2月5日 星期四 22:46:43 UTC
全文链接:

访问论文:

  • 查看中文 PDF
  • 查看原文 PDF
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.LG
< 上一篇   |   下一篇 >
最新 | 近期 | 2026-02
切换浏览方式为:
cs
cs.PL

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站