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

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

计算机科学 > 软件工程

arXiv:2602.07672 (cs)
[提交于 2026年2月7日 (v1),最后修订于 2026年2月14日 (此版本, v2)]

标题:Debugging code world models

作者:Babak Rahmani
查看论文《Debugging code world models》的 PDF
查看中文 PDF 查看原文 PDF EasyResearch 阅读
摘要:Code World Models (CWMs) are language models trained to simulate program execution by predicting explicit runtime state after every executed command. This execution-based world modeling enables internal verification within the model, offering an alternative to natural language chain-of-thought reasoning. However, the sources of errors and the nature of CWMs' limitations remain poorly understood. We study CWMs from two complementary perspectives: local semantic execution and long-horizon state tracking. On real-code benchmarks, we identify two dominant failure regimes. First, dense runtime state reveals produce token-intensive execution traces, leading to token-budget exhaustion on programs with long execution histories. Second, failures disproportionately concentrate in string-valued state, which we attribute to limitations of subword tokenization rather than program structure. To study long-horizon behavior, we use a controlled permutation-tracking benchmark that isolates state propagation under action execution. We show that long-horizon degradation is driven primarily by incorrect action generation: when actions are replaced with ground-truth commands, a Transformer-based CWM propagates state accurately over long horizons, despite known limitations of Transformers in long-horizon state tracking. These findings suggest directions for more efficient supervision and state representations in CWMs that are better aligned with program execution and data types.
评论: 8 pages, 4 figures, under review in conference
主题: 软件工程 (cs.SE); 人工智能 (cs.AI); 机器学习 (cs.LG); 程序设计语言 (cs.PL); 符号计算 (cs.SC)
引用方式: arXiv:2602.07672 [cs.SE]
  (或者 arXiv:2602.07672v2 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.2602.07672

提交历史

来自:Babak Rahmani
[v1] 2026年2月7日 星期六 19:32:15 UTC
[v2] 2026年2月14日 星期六 20:46:17 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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