PhantomEnvironments: Training LLM Agents in Fictional Worlds
On the map: LLM agents and tool use → Reinforcement learning for LLM agents
Abstract (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.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Reinforcement learning for LLM agents, one of 16 directions in LLM agents and tool use. Builds on 27 of its 50 references that are in the map. First posted on arXiv 30 Sep 2026.
Builds on
27 of 50 references.
Closest ancestors · 1
Same direction, newest first
Other references · 26
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2025Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learningcited by 1,444
- 2025Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Modelscited by 1,261
- 2022Text Embeddings by Weakly-Supervised Contrastive Pre-trainingcited by 1,253
- 2025Does Reinforcement Learning Really Incentivize Reasoning Capacity in LLMs Beyond the Base Model?cited by 982
- 2025Phi-4-Mini Technical Report: Compact yet Powerful Multimodal Language Models via Mixture-of-LoRAscited by 521
- 2025Cognitive Behaviors that Enable Self-Improving Reasoners, or, Four Habits of Highly Effective STaRscited by 377
- 2025R1-Searcher: Incentivizing the Search Capability in LLMs via Reinforcement Learningcited by 336
14 more
- 2025ZeroSearch: Incentivize the Search Capability of LLMs without Searchingcited by 208
- 2025BrowseComp-Plus: A More Fair and Transparent Evaluation Benchmark of Deep-Research Agentcited by 200
- 2025REASONING GYM: Reasoning Environments for Reinforcement Learning with Verifiable Rewardscited by 130
- 2025Retaining by Doing: The Role of On-Policy Data in Mitigating Forgettingcited by 94
- 2025StepSearch: Igniting LLMs Search Ability via Step-Wise Proximal Policy Optimizationcited by 88
- 2025DeepDive: Advancing Deep Search Agents with Knowledge Graphs and Multi-Turn RLcited by 55
- 2026Endless Terminals: Scaling RL Environments for Terminal Agentscited by 54
- 2025An Empirical Study on Reinforcement Learning for Reasoning-Search Interleaved LLM Agentscited by 46
- 2024Cofca: A Step-Wise Counterfactual Multi-hop QA benchmarkcited by 27
- 2025GSM-Infinite: How Do Your LLMs Behave over Infinitely Increasing Context Length and Reasoning Complexity?cited by 17
- 2025PhantomWiki: On-Demand Datasets for Reasoning and Retrieval Evaluationcited by 14
- 2026Learning from Synthetic Data Improves Multi-hop Reasoningcited by 6
- 2025SynthWorlds: Controlled Parallel Worlds for Disentangling Reasoning and Knowledge in Language Modelscited by 5
- 2026KARL: Knowledge Agents via Reinforcement Learningcited by 5
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2024EnvGen: Generating and Adapting Environments via LLMs for Training Embodied Agents
- 2026Agent World Model: Infinity Synthetic Environments for Agentic Reinforcement Learning
- 2025Simulating Environments with Reasoning Models for Agent Training
- 2025GenEnv: Difficulty-Aligned Co-Evolution Between LLM Agents and Environment Simulators
- 2026State2State: Environment-Derived Mid-Training for LLM Agents
- 2026Mock Worlds, Real Skills: Building Small Agentic Language Models with Synthetic Tasks, Simulated Environments, and Rubric-Based Rewards
- 2025GEM: A Gym for Agentic LLMs
- 2026Agent-World: Scaling Real-World Environment Synthesis for Evolving General Agent Intelligence