Abstract: We introduce a large scale crowdsourced text adventure game as a research platform for studying grounded dialogue. In it, agents can perceive, emote, and act whilst conducting dialogue with other agents. Models and humans can both act as characters within the game. We describe the results of training state-of-the-art generative and retrieval models in this setting. We show that in addition to using past dialogue, these models are able to effectively use the state of the underlying world to condition their predictions. In particular, we show that grounding on the details of the local environment, including location descriptions, and the objects (and their affordances) and characters (and their previous actions) present within it allows better predictions of agent behavior and dialogue. We analyze the ingredients necessary for successful grounding in this setting, and how each of these factors relate to agents that can talk and act successfully.
Introduction
Most modern dialogue agents are trained on massive "text-only" corpora, such as Reddit or Wikipedia. While these models excel at mimicking statistical language patterns, they often lack grounding: an explicit understanding of the physical world the language describes. A standard chatbot might know that the word "sword" often follows "unsheathe," but it lacks the situational awareness to know it must be holding a sword to perform the action, or that such an action might provoke a nearby NPC.
Researchers at Facebook AI Research have introduced LIGHT, a massive crowdsourced fantasy text adventure world designed to train agents that can speak, act, and emote simultaneously. By embodying agents in a cohesive world where words are tied to environment and action, the platform aims to bridge the gap between statistical mimicry and true situational intelligence.
The LIGHT Dataset
The LIGHT dataset provides a remarkably dense environment for training. It consists of 663 unique locations (e.g., "Graveyard," "Bazaar"), 3,462 objects with specific affordances (such as gettable or wearable), and 1,755 characters. The dataset includes 11,000 episodes of human-human dialogue where players were assigned personas and instructed to interact, emote (e.g., grin, shrug), and act (e.g., get, give, steal).
To test generalization, the researchers created a specific "Unseen" test set featuring entirely new locations and characters not present during training.
Methodology and Grounding
To model this data, the researchers evaluated two main classes of architectures: Ranking Models (BERT Bi-Ranker and Cross-Ranker) and Generative Models (Transformer-based encoder-decoders). A key component of these models is the Transformer Memory Network, which treats environmental information—such as room descriptions and character personas—as "memories" that the model can attend to when deciding its next move.
Key Insights and Results
The study yielded several critical findings regarding the nature of grounded dialogue:
- Grounding is Essential: Models with access to room descriptions and character personas performed significantly better than those relying solely on dialogue history. A character's persona (e.g., a "King") fundamentally alters the appropriate response to another agent (e.g., a "Servant").
- Actions and Words are Linked: Dialogue history proved to be a powerful predictor of physical actions. For instance, if a partner asks, "Can you grab me a beer?", the model is significantly more likely to correctly predict the action
get beer. - The "Unseen" Challenge: While performance dropped in "Unseen" locations, BERT-based models showed a surprising ability to transfer knowledge, suggesting that large-scale pretraining on general text helps agents navigate novel fantasy scenarios.
- Complexity Trade-offs: Interestingly, adding exhaustive descriptions of every object in a room slightly hurt performance, suggesting that models can become "lost" in environmental noise, highlighting a need for more refined attention mechanisms.
In terms of performance, the BERT Cross-Ranker was the most effective at predicting physical actions, reaching 50.7% accuracy. However, a significant gap remains: human performance on dialogue retrieval reached 87.5%, compared to the Bi-Ranker's 76.5%.
Conclusion
While LIGHT agents can effectively select immediate next steps, they currently lack long-term planning and the ability to maintain a consistent world state over extended gameplay. Future research will focus on Reinforcement Learning to achieve specific goals, improving common-sense reasoning regarding object affordances, and developing long-term memory architectures to maintain narrative consistency.
Summary updated