arXiv(opens in a new tab)cs.AISep 2026Cited by 2 papers on PaperVantage

Manuscript Offprint

arXiv:2609.01861

Belief-Calibrated Optimization: An Explicit World Model for Agentic Optimization

Yuhan Chen, Zhihua Tian, Mahavir Dabas, Charith Peris, Rahul Gupta, Ming Jin, Feiyang Kang, Siyuan Zhang, Nan Wang, Ruoxi Jia

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

The performance of an LLM agent depends on the scaffold around a frozen model. A common way to improve that scaffold is to use a coding agent as an optimizer: it reads current scores and traces and iteratively edits the source, producing a new candidate each round. Each edit is chosen according to a belief about how the environment will respond: what went wrong, and which change should help. That belief is typically implicit. It lives in the coding agent's reasoning on the current call, or remains latent in its parameters, rather than as something written down. Later calls therefore see scores and traces, but they do not use that belief. We introduce Belief-Calibrated Optimization (bco), a method that writes that belief down as a persistent in-context document and continually revises that document as new candidates are evaluated. The resulting document is a world model: the current account of how the environment responds to edits. Added to an otherwise standard loop, bco reaches a higher train passrate than a matched control that lacks only the world model, on five benchmarks spanning memory QA, tool-use QA, code-as-action app agents, and terminal agents. The gap remains on every held-out split, which is not used to select the candidate. After a target-model swap, in which the frozen model is replaced and the scaffold is not, the selected bco scaffold leads on the tasks we test, except where context-window overruns leave it unfinished. An offline ablation then asks whether that gap comes from what the world model says. A fresh predictor given the accumulated document forecasts how the environment will respond more accurately than predictors given either no document or a same-form copy whose content has been falsified. The comparison indicates that the document carries reusable information in its content, not only in its form.

1 Introduction

The performance of an LLM agent is determined by both its weights and the scaffold around them. Strong models are typically served as frozen, closed endpoints, so the scaffold is what a practitioner can actually change. A recent line of work uses a coding-agent proposer as an optimizer: it reads the current scaffold's scores and traces, diagnoses what went wrong, and edits the source to produce a new candidate, whose evaluation outcome then informs the next round (Hu, Lu, and Clune 2024; Zhang et al. 2024; Yang et al. 2023; Lee et al. 2026; Chen et al. 2026; Liu et al. 2026; Zhang et al.

2025). Throughout, the frozen model is not updated; only the surrounding program evolves.

Each edit is chosen according to a belief about how the environment will respond: where the bottleneck is, and which change should help which tasks. That belief typically remains in the proposer's reasoning or parameters, so later rounds see scores and traces without using the belief that produced the last edit.

We introduce Belief-Calibrated Optimization (bco), which writes that belief down as a persistent in-context document and continually revises that document as new candidates are evaluated (Figure 1). The resulting document is a world model: the current account of how the environment responds to edits. Within a run the target model, tasks, and evaluation stay fixed, so how the environment responds can be accumulated rather than relearned. This is the setting of a Bayes-Adaptive MDP, from which we inherit one fact: what to carry forward is a belief about that response (Duff 2002; Ghavamzadeh et al. 2015).

Our contributions are as follows:

  1. Belief-Calibrated Optimization. We present bco, which maintains a world model as a persistent in-context document (§3).

  2. Gains across four task families, and evidence for the mechanism behind them. Against a matched control that lacks only the world model, bco reaches a higher train passrate on all five benchmarks, and the gap remains on every held-out split. After a target-model swap, the selected scaffold leads on the tasks we test, except where context-window overruns leave it unfinished. An offline ablation indicates that a fresh predictor given the accumulated document forecasts environmental responses more accurately than predictors given no document or a same-form copy whose content has been falsified, so the reusable information is in the content, not only the form (§4).

References (51)