Reproduce “General agents contain world models” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Jonathan Richens, David Abel, Alexis Bellot, Tom Everitt

The authors show that under specific assumptions, a competent goal-conditioned policy for multi-step tasks contains enough information to recover approximate environment transition probabilities. The recovery algorithm queries choices among competing goals. Error scales as O(δ/√n) + O(1/n); rare transitions may remain inaccurate, and optimal myopic policies need not reveal dynamics. In a toy experiment, error fell from 0.066 to 0.031 as goal depth increased.

Key insights

  • Any agent capable of generalizing to multi-step goal-directed tasks (beyond a single step) must internally contain an accurate predictive model of its environment, refuting the possibility of a purely model-free path to general AI.
  • The accuracy of this implicitly learned world model is directly proportional to the agent's ability to achieve increasingly complex and long-horizon goals, scaling with its performance and goal depth.
  • For myopic agents, which optimize only for immediate, one-step goals, a world model is not necessary, as their policies provide no non-trivial information about the underlying environmental dynamics.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.