Language Model-Based Player Goal Recognition in Open World Digital Games

Authors

  • Yeo Jin Kim North Carolina State University
  • Alex Goslen North Carolina State University
  • Jonathan Rowe North Carolina State University
  • Bradford Mott North Carolina State University
  • James Lester North Carolina State University

DOI:

https://doi.org/10.1609/aiide.v19i1.27503

Keywords:

Goal Recognition, Language Model, Reasoning, Open World Educational Game

Abstract

Devising models that reliably recognize player goals is a key challenge in creating player-adaptive games. Player goal recognition is the task of automatically recognizing the intent of a player from a sequence of observed player actions in a game environment. In open-world digital games, players often undertake suboptimal and varied sequences of actions to achieve goals, and the high degree of freedom afforded to players makes it challenging to identify sequential patterns that lead toward specific goals. To address these issues, we present a player goal recognition framework that utilizes a fine-tuned T5 language model, which incorporates our novel attention mechanism called Temporal Contrary Attention (TCA). The T5 language model enables the framework to exploit correlations between observations through non-sequential self-attention within input sequences, while TCA enables the framework to learn to eliminate goal hypotheses by considering counterevidence within a temporal window. We evaluate our approach using game trace data collected from 144 players' interactions with an open-world educational game. Specifically, we investigate the predictive capacity of our approach to recognize player goals as well as player plans represented as abstract actions. Results show that our approach outperforms non-linguistic machine learning approaches as well as T5 without TCA. We discuss the implications of these findings for the design and development of player goal recognition models to create player-adaptive games.

Downloads

Published

2023-10-06

How to Cite

Kim, Y. J., Goslen, A., Rowe, J., Mott, B., & Lester, J. (2023). Language Model-Based Player Goal Recognition in Open World Digital Games. Proceedings of the AAAI Conference on Artificial Intelligence and Interactive Digital Entertainment, 19(1), 75-85. https://doi.org/10.1609/aiide.v19i1.27503