Playing Codenames with Language Graphs and Word Embeddings
Not on the map. Why?
Abstract (arXiv)
Although board games and video games have been studied for decades in artificial intelligence research, challenging word games remain relatively unexplored. Word games are not as constrained as games like chess or poker. Instead, word game strategy is defined by the players' understanding of the way words relate to each other. The word game Codenames provides a unique opportunity to investigate common sense understanding of relationships between words, an important open challenge. We propose an algorithm that can generate Codenames clues from the language graph BabelNet or from any of several embedding methods - word2vec, GloVe, fastText or BERT. We introduce a new scoring function that measures the quality of clues, and we propose a weighting term called DETECT that incorporates dictionary-based word representations and document frequency to improve clue selection. We develop BabelNet-Word Selection Framework (BabelNet-WSF) to improve BabelNet clue quality and overcome the computational barriers that previously prevented leveraging language graphs for Codenames. Extensive experiments with human evaluators demonstrate that our proposed innovations yield state-of-the-art performance, with up to 102.8% improvement in precision@2 in some cases. Overall, this work advances the formal study of word games and approaches for common sense language understanding.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 7 of its 33 references that are in the map. First posted on arXiv 12 May 2021.
Builds on
7 of 33 references.
References · 7
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,474
- 2016Enriching Word Vectors with Subword Informationcited by 1,583
- 2016ConceptNet 5.5: An Open Multilingual Graph of General Knowledgecited by 1,067
- 2019GluonCV and GluonNLP: Deep Learning in Computer Vision and Natural Language Processingcited by 32
- 2018The Text-Based Adventure AI Competitioncited by 5
- 2018Comparing Models of Associative Meaning: An Empirical Investigation of Reference in Simple Language Gamescited by 5
Built on by
Citing papers per year: 2022: 1; 2023: 1; 2024: 3; 2025: 1.
6 papers.
- 2023Modeling Cross-Cultural Pragmatic Inference with Codenames Duetcited by 20
- 2024Codenames as a Benchmark for Large Language Modelscited by 8
- 2024Communicate to Play: Pragmatic Reasoning for Efficient Cross-Cultural Communication in Codenamescited by 2
- 2022Towards automating Codenames spymasters with deep reinforcement learningcited by 1
- 2024Adapting to Teammates in a Cooperative Language Gamecited by 1
- 2025Ad-hoc Concept Forming in the Game Codenames as a Means for Evaluating Large Language Modelscited by 1
- 2025Ad-hoc Concept Forming in the Game Codenames as a Means for Evaluating Large Language Models17 Feb 2025
- 2024Codenames as a Benchmark for Large Language Models16 Dec 2024
- 2024Communicate to Play: Pragmatic Reasoning for Efficient Cross-Cultural Communication in Codenames9 Aug 2024
- 2024Adapting to Teammates in a Cooperative Language Game26 Feb 2024
- 2023Modeling Cross-Cultural Pragmatic Inference with Codenames Duet4 Jun 2023
- 2022Towards automating Codenames spymasters with deep reinforcement learning28 Dec 2022