Can Language Models Play the Wikipedia Game?
Organizations: The Alan Turing Institute, 96 Euston Rd., London NW1 2DB, UK
Abstract
Language models increasingly support or automate information retrieval from document collections too large to index. This task is difficult when it requires specialist linguistic or scientific knowledge. We used the Wikipedia Game to test language models on an analogous information retrieval task. In the game, players must reach a target article using only article links. We compared sentence embedding models and LLMs across five Wikipedia languages and five academic-literature datasets. We construct very large local graphs of Wikipedia pages and of paper citations using OpenAlex and provide code to build and navigate them. This allows the study of language models' navigation capabilities without relying on third-party APIs. We compared the models with human and TF-IDF benchmarks. The Wikipedia Game format enables robust comparisons across techniques, languages, and domains. No model significantly outperformed humans, although the best models (GPT-o3 mini, GPT-4o, QwQ:32B, and DeepSeek-R1:70B) achieved comparable success. Performance and rankings varied across languages and topics, with implications for practitioners utilising these techniques.
Figures & tables
Appendix figures & tables16 assets
Supplementary material from the paper’s appendix.
Appendix
| Model | Parameters (Billions) | Size (GB) |
| Llama3.2 | 1 | 2 |
| 3 | 3 | |
| Llama3.1 | 8 | 5 |
| 70 | 40 | |
| 405 | 230 | |
| Gemma2 | 27 | 16 |
| Cosine Similarity | ||
| Article Title | E5-Small | TF-IDF |
| Magic star | 0.73 | 0.01 |
| Star polygon | 0.73 | 0.00 |
| Religion | 0.73 | 0.00 |
| Religious music | 0.77 | 0.00 |
| Anglican church music | 0.80 | 0.11 |
| Model | All Articles | Only 2024 Articles |
| TF-IDF | 0.47 ± 0.02 | 0.10 ± 0.00 |
| AllMPNetBase | 0.50 ± 0.00 | 0.40 ± 0.02 |
| E5-Large | 0.53 ± 0.00 | 0.43 ± 0.02 |
| E5-Small | 0.53 ± 0.00 | 0.43 ± 0.02 |
| Gemma:27b | 0.16 ± 0.02 | 0.09 ± 0.02 |
| Llama:8b | 0.10 ± 0.02 | 0.03 ± 0.02 |