atlas

Research map / Large language models / Retrieval and knowledge

PhantomWiki: On-Demand Datasets for Reasoning and Retrieval Evaluation

ICML 2025 · Large language models › Retrieval and knowledge · approach: Retrieval-augmented reasoning · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes PhantomWiki, an on-demand pipeline that generates fictional universes of templated Wikipedia-style articles with CFG-generated multi-hop questions and Prolog-verified answers, to evaluate LLM reasoning and retrieval without data leakage.

Problem

Static QA and reasoning benchmarks are prone to data contamination and memorization, and existing perturbation-based or dynamic datasets struggle with factual consistency or focus on real-time knowledge rather than knowledge-independent reasoning and retrieval.

Approach

Generate a fresh, fully synthetic fictional universe per evaluation: family trees and facts are rendered as templated articles, questions come from a context-free grammar with depth-controlled recursion, and answers are computed exactly by a Prolog program, so reasoning difficulty and corpus size can be varied independently.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use in-context CoT instead of in-context ZeroShotDeepSeek-R1-32B · PhantomWiki n=50F1 (%): 42.42 ± 1.69 -> 52.42 ± 2.64Helped
Use in-context CoT instead of in-context ZeroShotGPT-4o · PhantomWiki n=500F1 (%): 16.76 ± 0.87 -> 41.02Helped
Use RAG CoT instead of RAG ZeroShotGPT-4o · PhantomWiki n=50F1 (%): 28.05 ± 2.48 -> 20.49 ± 1.07Hurt
Use RAG CoT instead of RAG ZeroShotGemini-1.5-Flash · PhantomWiki n=50F1 (%): 28.92 ± 2.60 -> 20.12 ± 1.69Hurt
Use ReAct instead of RAG promptingGPT-4o · PhantomWiki n=5000F1 (%): 18.13 ± 0.66 -> 36.85Helped
Fine-tune with GRPO instead of ZeroShot promptingQwen2.5-0.5B · PhantomWiki n=50F1 (%): 11.78 ± 0.94 -> 13.25 ± 0.93Helped
Fine-tune with GRPO instead of ZeroShot promptingQwen2.5-3B (LoRA) · PhantomWiki n=50F1 (%): 16.82 ± 2.37 -> 31.38 ± 0.86Helped
Fine-tune with SFT instead of ZeroShot promptingQwen2.5-0.5B · PhantomWiki n=50F1 (%): 11.78 ± 0.94 -> 11.71 ± 1.10No clear effect
Fine-tune with SFT instead of ZeroShot promptingQwen2.5-3B (LoRA) · PhantomWiki n=50F1 (%): 16.82 ± 2.37 -> 16.89 ± 2.22No clear effect
Use CoT instead of ZeroShot promptingQwen2.5-0.5B · PhantomWiki n=50F1 (%): 11.78 ± 0.94 -> 2.68 ± 0.22Hurt
Increase universe sizeLLMs across prompting techniques · PhantomWikiF1 (%)Hurt
Increase the number of reasoning stepsLLMs across prompting techniques · PhantomWiki n=50F1 (%)Hurt

Surprising findings

Limitations

Experimental setup

Datasets: PhantomWiki synthetic universes

Benchmarks: PhantomWiki

Metrics: answer-level F1 runtime

Baselines: ZeroShot in-context CoT in-context ZeroShot RAG CoT RAG ReAct

Builds on: CLUTRR ReAct GRPO chain-of-thought

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy