Papers › Imagine-then-Plan: Agent Learning from Adaptive Lookahead with World Models

Imagine-then-Plan: Agent Learning from Adaptive Lookahead with World Models

13 Jan 2026arXiv:2601.08955added by Syntology

Youwei Liu, Jian Wang, Hanlin Wang, Beichen Guo, Wenjie Li

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Recent advances in world models have shown promise for modeling future dynamics of environmental states, enabling agents to reason and act without accessing real environments. Current methods mainly perform single-step or fixed-horizon rollouts, leaving their potential for complex task planning under-exploited. We propose Imagine-then-Plan (\texttt{ITP}), a unified framework for agent learning via lookahead imagination, where an agent's policy model interacts with the learned world model, yielding multi-step ``imagined'' trajectories. Since the imagination horizon may vary by tasks and stages, we introduce a novel adaptive lookahead mechanism by trading off the ultimate goal and task progress. The resulting imagined trajectories provide rich signals about future consequences, such as achieved progress and potential conflicts, which are fused with current observations, formulating a partially \textit{observable} and \textit{imaginable} Markov decision process to guide policy learning. We instantiate \texttt{ITP} with both training-free and reinforcement-trained variants. Extensive experiments across representative agent benchmarks demonstrate that \texttt{ITP} significantly outperforms competitive baselines. Further analyses validate that our adaptive lookahead largely enhances agents' reasoning capability, providing valuable insights into addressing broader, complex tasks. Our code and data will be publicly available at https://github.com/loyiv/ITP.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2601.08955")

Code

Syntology Ran 14 of 18 code samples harvested from 1 repository linked to this paper; 4 have no recorded run. Of those that ran: 9 ran · our draft was wrong; 5 ran with no contract checked.

By repository: found in paper text by Syntology: 18 samples from 1 repository, 14 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

loyiv/ITP found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

18 samples harvested; 14 ran; 0 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

9ran · our draft was wrong
5ran
4unverified

Licence: 0 of the 18 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from loyiv/ITP. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

ChatGeneration loyiv/ITP/itp/orchestrator.py found in paper text by Syntology ran MIT (permissive) · cb4ad1af85e2cce7 · report
DeepSeekAPILLM loyiv/ITP/itp/orchestrator.py found in paper text by Syntology ran MIT (permissive) · d654df042acc2656 · report
ITPDecision loyiv/ITP/itp/orchestrator.py found in paper text by Syntology ran MIT (permissive) · 05b7208e858ee61a · report
PromptRender loyiv/ITP/itp/orchestrator.py found in paper text by Syntology ran MIT (permissive) · 53cb563045540ac5 · report
PromptTemplate loyiv/ITP/itp/orchestrator.py found in paper text by Syntology ran MIT (permissive) · 0da3549500da00b3 · report
_extract_tag_or_field loyiv/ITP/itp/orchestrator.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · f08a96bd4231d971 · report
_messages_to_prompt loyiv/ITP/itp/orchestrator.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · 64a222151846dc40 · report
_truncate_by_stop_strings loyiv/ITP/itp/orchestrator.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · 0639ddaf4ea63c9d · report
load_prompt loyiv/ITP/itp/orchestrator.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · 21523634b7dd82f6 · report
normalize_action loyiv/ITP/itp/orchestrator.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · 4a920b2ceac6b3b0 · report
pick_fallback_action loyiv/ITP/itp/orchestrator.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · 99ac8254b04e3c55 · report
read_text loyiv/ITP/itp/orchestrator.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · aa20ac65f6b33d56 · report
split_system_user loyiv/ITP/itp/orchestrator.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · 074d7f7b66ff7af6 · report
validate_action loyiv/ITP/itp/orchestrator.py found in paper text by Syntology ran · our draft was wrong fingerprinted MIT (permissive) · b172369c1a19452b · report
ITPOrchestrator loyiv/ITP/itp/orchestrator.py found in paper text by Syntology unverified MIT (permissive) · 5dac82f6ed3d3491 · report
LocalCausalLM loyiv/ITP/itp/orchestrator.py found in paper text by Syntology unverified MIT (permissive) · 3352e72b424c76ca · report
PolicyModel loyiv/ITP/itp/orchestrator.py found in paper text by Syntology unverified MIT (permissive) · 96106dbeb38b4670 · report
WorldModel loyiv/ITP/itp/orchestrator.py found in paper text by Syntology unverified MIT (permissive) · 7e7128e9ce87c11f · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2601.08955, was issued in January 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections