Manuscript Offprint

arXiv:2610.13948

Can Language Models Play the Wikipedia Game?

Alexander Hickey, Joanna Knight, James Bishop

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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.

1 Introduction

This project investigates the capabilities and limitations of language models when automatically navigating the content of unstructured document stores. Language models are often used to automate time-consuming tasks, and many of these, such as information retrieval, text classification, and question answering, require the models to connect concepts semantically [1, 7, 19, 20, 41]. We use the Wikipedia Game as an analogous task and present a comparison of human performance alongside an evaluation of the capabilities of various models across different topics and languages. This work constructed multiple vast and navigable graph datasets and the code to do so is available at: https://github.com/alan-turing-institute/ARC-Wiki-Game

Wikipedia is a free online encyclopedia that contains millions of hyperlinked articles created by over a quarter of a million editors and is available in over 300 languages. In the Wikipedia Game, participants start with two random articles and are expected to navigate between them by clicking only on links within each article. Succeeding in the Wikipedia Game requires players to continuously evaluate the relatedness between the target article and the linked articles available. While sentence embedding models are naturally built to assess the similarity between segments of text, large language models (LLMs) might also possess the ability to simulate strategies, which could provide a competitive advantage [15]. Throughout this report, LLM refers to a generative prompt-based model like GPT-4o or Llama.

Previous literature has discussed the Wikipedia Game, and recent natural language processing (NLP) research has started to evaluate LLMs on the game. So far, all this work has assessed the dataset via an API [27] or has used a small subset of the full graph [9, 33, 49, 54]; this is also true of demos produced by HuggingFace and TypeSafe AI. This project explores the ability of language models to play these games on Wikipedia articles in a variety of languages and on a dataset of academic works, OpenAlex 1^{1}. By building these graphs to facilitate utilising these datasets, we can see how varieties of language models perform across languages and subject areas, generating insights relevant to real-world applications [6]. These findings can help inform individuals looking to incorporate these models into their data pipelines.

References (51)