mlsanityData to 14 Oct 2026

ANTE: Anticipate, Then Execute -- Learning Internal World Models for Coding Agents from Verified Beliefs

arXiv 2610.15368 ↗First posted 11 Oct 2026cs.LGcited by 0

On the map: World models → World models for language agents also fits: Latent dynamics models and model-based RL

also in 1 more
Abstract (arXiv)

Rapid advances in large language models have made software engineering agents capable of tackling complex coding tasks. Within a containerized environment, a coding agent receives tool responses or execution results, and determines its later actions by those earlier results. However, most existing coding agents never look ahead: their policies do not anticipate the consequences of actions, and the terminal reward barely attributes a failure to certain earlier steps, so an ill-judged edit can corrupt the repository state irreversibly before any signal arrives. Recent code world models aim to address these challenges, but they are either trained and then frozen before reinforcement learning (RL), or reduced to an auxiliary next-token loss on the environment's outputs. We present ANTE (Anticipate, Then Execute), an agentic RL framework that verifies the policy's pre-action predictions by real execution and turns them into per-step credit for its actions and trust-or-abstain decisions. With an internal belief stated before each action, Belief-Anchored Policy Optimization (BAPO) turns the settled predictions into per-step advantages by anchoring credit on the policy's own forecasts. To turn the trained forecasts into better actions at inference, thereby facilitating effective test-time scaling, ANTE-TTO (test-time optimization) selects among candidate actions without an external scorer. ANTE raises Qwen3-32B from 25.0% to 57.2% pass@1 on SWE-bench Verified, 6.2% above a matched GRPO baseline trained without the belief state; its world model's accuracy climbs from 44% to 69% during RL, and the learned foresight capability transfers across harnesses and out-of-distribution domains. In summary, we aim to build a code world model that knows what has happened, what holds now, and what the next action will achieve.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in World models for language agents, one of 11 directions in World models. Builds on 67 of its 87 references that are in the map. First posted on arXiv 11 Oct 2026.

Builds on

67 of 87 references.

Closest ancestors · 6

Same direction, newest first

  1. 2026Policy and World Modeling Co-Training for Language Agents1 Jun
  2. 2026PatchWorld: Gradient-Free Optimization of Executable World Models for Agent Environments29 May
  3. 2026ECHO: Terminal Agents Learn World Models for Free23 May
  4. 2026Reinforcement World Model Learning for LLM-based Agents5 Feb
  5. 2025VAGEN: Reinforcing World Model Reasoning for Multi-Turn VLM Agents19 Oct
  6. 2025CWM: An Open-Weights LLM for Research on Code Generation with World Models30 Sep

Other references · 61

  1. 2017Proximal Policy Optimization Algorithmscited by 15,215
  2. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  3. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  4. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
  5. 2025Qwen3 Technical Reportcited by 8,820
  6. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  7. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  8. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
  9. 2023Let's Verify Step by Stepcited by 3,789
  10. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  11. 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,810
  12. 2015Trust Region Policy Optimizationcited by 2,580
38 more
  1. 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 2,057
  2. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 2,004
  3. 2024MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmarkcited by 1,848
  4. 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,807
  5. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,737
  6. 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,392
  7. 2025Understanding R1-Zero-Like Training: A Critical Perspectivecited by 1,345
  8. 2024Qwen2.5-Coder Technical Reportcited by 1,203
  9. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 1,002
  10. 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 815
  11. 2025SFT Memorizes, RL Generalizes: A Comparative Study of Foundation Model Post-trainingcited by 672
  12. 2026Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfacescited by 585
  13. 2025Process Reinforcement through Implicit Rewardscited by 504
  14. 2025Group-in-Group Policy Optimization for LLM Agent Trainingcited by 497
  15. 2018Reward Constrained Policy Optimizationcited by 417
  16. 2022CodeT: Code Generation with Generated Testscited by 384
  17. 2024Training Software Engineering Agents and Verifiers with SWE-Gymcited by 336
  18. 2024CRUXEval: A Benchmark for Code Reasoning, Understanding and Executioncited by 300
  19. 2025SWE-smith: Scaling Data for Software Engineering Agentscited by 285
  20. 2023SciBench: Evaluating College-Level Scientific Problem-Solving Abilities of Large Language Modelscited by 256
  21. 2025R2E-Gym: Procedural Environments and Hybrid Verifiers for Scaling Open-Weights SWE Agentscited by 158
  22. 2025SWE-rebench: An Automated Pipeline for Task Collection and Decontaminated Evaluation of Software Engineering Agentscited by 142
  23. 2025SWE-Fixer: Training Open-Source LLMs for Effective and Efficient GitHub Issue Resolutioncited by 90
  24. 2024NExT: Teaching Large Language Models to Reason about Code Executioncited by 63
  25. 2024Lingma SWE-GPT: An Open Development-Process-Centric Language Model for Automated Software Improvementcited by 61
  26. 2026Endless Terminals: Scaling RL Environments for Terminal Agentscited by 54
  27. 2025SkyRL-Agent: Efficient RL Training for Multi-turn LLM Agentcited by 48
  28. 2026On Data Engineering for Scaling LLM Terminal Capabilitiescited by 43
  29. 2025Kimi-Dev: Agentless Training as Skill Prior for SWE-Agentscited by 41
  30. 2026Large-Scale Terminal Agentic Trajectory Generation from Dockerized Environmentscited by 33
  31. 2026Tmax: A simple recipe for terminal agentscited by 33
  32. 2026SWE-Lego: Pushing the Limits of Supervised Fine-tuning for Software Issue Resolvingcited by 31
  33. 2025BugPilot: Complex Bug Generation for Efficient Learning of SWE Skillscited by 30
  34. 2025SWE-Dev: Building Software Engineering Agents with Training and Inference Scalingcited by 26
  35. 2025Skywork-SWE: Unveiling Data Scaling Laws for Software Engineering in LLMscited by 26
  36. 2026SWE-World: Building Software Engineering Agents in Docker-Free Environmentscited by 25
  37. 2019Learning Belief Representations for Imitation Learning in POMDPscited by 24
  38. 2026SWE-Master: Unleashing the Potential of Software Engineering Agents via Post-Trainingcited by 22

50 most cited of 61 All 61 (JSON)

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Agentic Harness Engineering: Observability-Driven Automatic Evolution of Coding-Agent Harnesses
  2. 2026Cross-Benchmark Transfer from RL on Agentic Coding Tasks
  3. 2026CodeMidas: Scaling Agentic Coding RL Environments from Code Itself
  4. 2026CodeScout: An Effective Recipe for Reinforcement Learning of Code Search Agents
  5. 2026AutoCompact: Learning When to Compact Context in Long-Horizon Coding Agents
  6. 2026Latent Programming Horizons in Coding Agents
  7. 2026SWE-Shepherd: Advancing PRMs for Reinforcing Code Agents
  8. 2026SWE-Critix: Post-Training Generalist Verifiers for Assessing Coding-Agent Trajectories