PhantomEnvironments: Training LLM Agents in Fictional Worlds
Summary
Training LLM agents with RL is bottlenecked by environments, which must provide verifiable rewards, support long-horizon interaction, and scale cheaply. Existing approaches use costly human-curated data or LLM-generated environments that risk hallucinations and benchmark contamination. PhantomEnvironments builds multi-turn RL environments from fictional worlds generated entirely by rules — templated articles and multi-hop questions (e.g., 'Who is the mother of Alice's father?') with no LLM in generation, so zero marginal cost, fully verifiable, free of distillation, and immune to contamination. Despite sharing no facts with the real world, these strikingly simple environments teach the generalizable skill of agentic search (decompose a question, retrieve documents, compose knowledge) that transfers to real-world multi-hop search benchmarks, often outperforming real-world training data on newer benchmarks. Trained agents generalize to unseen fictional universes, and Qwen models learn to scale their search budget roughly linearly with question difficulty, suggesting emergent search scaling from environment interaction alone. Ablating environment complexity shows hop count drives transfer more than constraints or comparisons. The announcement headline: a 7B LLM trained with RL in PhantomEnvs performs like an agent 10x its size.
- Venue
- arXiv:2609.40221 (cs.LG), submitted 30 Sep 2026
- Source
- arxiv
- Access
- free
- Language
- en
- Added
- Oct 2, 2026
- Verified
- Oct 3, 2026
- Found via
- #random-papers
From the source
- Published
- Sep 30, 2026
- arXiv categories
- cs.LG, cs.AI, cs.CL
- Citations
- 0
- References
- 0
Abstract (from arXiv)
Training LLM agents with reinforcement learning (RL) is bottlenecked by environments, which must provide verifiable rewards, support long-horizon interaction, and scale cheaply. Existing approaches rely on costly human-curated data or on LLM-generated environments that risk hallucinations and benchmark contamination. We show that LLMs can instead be trained into capable search agents using synthetic environments generated entirely by rules, whose generation requires no LLM and has zero marginal cost. We build PhantomEnvironments, multi-turn RL environments from fictional worlds, where agents must search a corpus of templated articles to answer multi-hop questions. Despite sharing no facts with the real world, these strikingly simple environments yield agents that transfer to real-world multi-hop search benchmarks, often outperforming real-world training data on newer benchmarks. Trained agents generalize to unseen fictional universes, and Qwen models learn to scale their search budget roughly linearly with question difficulty, suggesting emergent search scaling from environment interaction alone. Ablating environment complexity reveals that hop count drives transfer more than constraints or comparisons: even the simplest rule-generated environments are a surprisingly effective, free resource for training generalizable LLM agents.
Tags
Topics
synthetic RL environments, agent training, search agents, fictional worlds, PhantomWiki, generalization, self-improving agents
Research notes
- Discovery: @anmolkabra (Anmol Kabra, Cornell PhD, SnorkelAI) X post 2026-10-02 4:40 PM ET (https://x.com/anmolkabra/status/2106122141456613555)
- Paper: arxiv.org/abs/2609.40221
- Code: github.com/kilian-group/phantom-envs (announced as 'coming soon' — finishing a hero run on new NVIDIA compute at post time)
- Milestone in Kabra's PhD; latest in the Phantom* line: PhantomWiki (evaluating reasoning in isolation from memorization), PhantomReasoning (post-training LLMs on synthetic data), PhantomEnvironments (training search agents on rule-generated synthetic RL environments)
- Won a large NVIDIA GPU compute grant to continue synthetic-data/self-improving-agent work
- Tour: oral at SnorkelAI Frontier Data Summit (Oct 8), oral at COLM LSEI workshop + poster at LLA workshop (Oct 9)
- Joint work with @SnorkelAI support; contributors @GongAlbert, @ChaoWan0331, @katielulula, @KilianQW
- License: CC BY 4.0
- Also picked up by @arXivBangers as a 'Certified Banger' (autonomously ranked) 2026-10-03 (https://x.com/arXivBangers/status/2106446976003014844): 'Training LLM search agents on zero-cost, purely rule-generated fictional environments transfers to real-world multi-hop benchmarks, often outperforming models trained on real-world data.' Note: its post link used an arxivb.org mirror (arXiv 'b' mirror); canonical is arXiv 2609.40221.
Similar entries
- Other LLM-based agents reasoning // CoT, ToT, GoT!
- Paper SelfSearch: Reward-Free Search for Self-Improving Agents
- Paper Mixture of Self-Improving Branches For Agent Harness Optimization
- Tool RL Environment Explorer — Hugging Face Hub RL Environments filter
- Tool Open Env Arena — agent arena for RL environments
- Paper AI4AI-Bench: Benchmarking LLM Agents in Algorithmic Design for Recursive Self-Improvement