Skip to main content

Playing codenames with language graphs and word embeddings

Publication ,  Journal Article
Koyyalagunta, D; Sun, A; Draelos, RL; Rudin, C
Published in: Journal of Artificial Intelligence Research
January 1, 2021

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.

Duke Scholars

Altmetric Attention Stats
Dimensions Citation Stats

Published In

Journal of Artificial Intelligence Research

DOI

ISSN

1076-9757

Publication Date

January 1, 2021

Volume

71

Start / End Page

319 / 346

Related Subject Headings

  • Artificial Intelligence & Image Processing
  • 4611 Machine learning
  • 4603 Computer vision and multimedia computation
  • 4602 Artificial intelligence
  • 1702 Cognitive Sciences
  • 0801 Artificial Intelligence and Image Processing
  • 0102 Applied Mathematics
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Koyyalagunta, D., Sun, A., Draelos, R. L., & Rudin, C. (2021). Playing codenames with language graphs and word embeddings. Journal of Artificial Intelligence Research, 71, 319–346. https://doi.org/10.1613/jair.1.12665
Koyyalagunta, D., A. Sun, R. L. Draelos, and C. Rudin. “Playing codenames with language graphs and word embeddings.” Journal of Artificial Intelligence Research 71 (January 1, 2021): 319–46. https://doi.org/10.1613/jair.1.12665.
Koyyalagunta D, Sun A, Draelos RL, Rudin C. Playing codenames with language graphs and word embeddings. Journal of Artificial Intelligence Research. 2021 Jan 1;71:319–46.
Koyyalagunta, D., et al. “Playing codenames with language graphs and word embeddings.” Journal of Artificial Intelligence Research, vol. 71, Jan. 2021, pp. 319–46. Scopus, doi:10.1613/jair.1.12665.
Koyyalagunta D, Sun A, Draelos RL, Rudin C. Playing codenames with language graphs and word embeddings. Journal of Artificial Intelligence Research. 2021 Jan 1;71:319–346.

Published In

Journal of Artificial Intelligence Research

DOI

ISSN

1076-9757

Publication Date

January 1, 2021

Volume

71

Start / End Page

319 / 346

Related Subject Headings

  • Artificial Intelligence & Image Processing
  • 4611 Machine learning
  • 4603 Computer vision and multimedia computation
  • 4602 Artificial intelligence
  • 1702 Cognitive Sciences
  • 0801 Artificial Intelligence and Image Processing
  • 0102 Applied Mathematics