Abstract
Traditional Natural Language Processing (NLP) research often relies on static datasets that fail to capture the interactive nature of human language acquisition. This paper introduces Mechanical Turker Descent (MTD), a gamified framework designed to train AI agents through grounded, interactive communication. By leveraging human "teachers" in a competitive environment, MTD creates a self-evolving curriculum that effectively teaches agents to map natural language to complex actions. Our experiments in a fantasy text adventure game show that MTD-trained agents significantly outperform those trained on static baselines.
Introduction: The "Goldilocks" Problem in Data Collection
A central challenge in grounded language learning is the "Goldilocks" problem of data complexity. Static datasets are often either too simple, preventing the model from learning complex reasoning, or too difficult, causing the model to fail to generalize. Humans learn language through interaction and feedback, adjusting the complexity of communication based on the listener's understanding. MTD addresses this by placing humans-in-the-loop to provide "just right" training examples that evolve alongside the agent's capabilities.
The Mechanical Turker Descent Framework
The core of our approach is the MTD algorithm, which transforms data collection into a multi-round competition.
The process involves three key components:
- Competition: Turkers are incentivized with bonuses if the agent they train performs best on a shared evaluation set. This encourages the provision of diverse and high-quality examples.
- Collaboration: Data from all participants is merged into a global pool after each round, ensuring the model benefits from a wide range of linguistic inputs.
- Feedback Loop: Turkers can interact with the current model in real-time. If the model successfully executes a command, the Turker is prompted to provide a more challenging task, naturally creating a curriculum of increasing difficulty.
Model Architecture: Action-Centric Seq2Seq
To effectively navigate the game world, we developed the Action-Centric Seq2Seq (AC-Seq2Seq) model. Unlike standard models that treat actions as atomic labels, AC-Seq2Seq recognizes their compositional nature, separating an action into a type (e.g., "get") and arguments (e.g., "elven sword").
Furthermore, the model utilizes decoding constraints to ground its decisions in the physical reality of the environment. By masking impossible actions—such as attempting to move to a location with no connecting path—the model focuses its learning on valid interactions, leading to a significant boost in performance.
The GraphWorld Environment
We evaluated MTD using GraphWorld, an engine where the environment is represented as a graph of nodes (locations, items, actors) and edges (relationships).
The specific game, Mastering the Dungeon, features a fantasy setting with three locations (Tower, Cavern, Forest), three agents, and 14 distinct objects. This structured environment allows for precise tracking of state changes and provides a clear ground truth for evaluating agent actions.
Results and Discussion
Our evaluation compared MTD against standard static data collection methods over five rounds with 30 Turkers per round. The results highlight the efficacy of both the MTD framework and the AC-Seq2Seq architecture:
- Framework Performance: Agents trained via MTD achieved 41.8% accuracy, a substantial improvement over the 33.4% achieved by the static baseline.
- Architectural Impact: The specialized AC-Seq2Seq model outperformed a standard Seq2Seq baseline (41.8% vs. 26.1%), validating the importance of compositional representations and environmental grounding.
- Human Engagement: Qualitative feedback indicated that Turkers found the gamified MTD process highly engaging, suggesting that competitive frameworks can improve the quality of human-provided data.
Conclusion
Mechanical Turker Descent demonstrates that interactive, human-in-the-loop training can overcome the limitations of static datasets in grounded language learning. By gamifying the teaching process, we successfully created a curriculum that adapts to the agent's learning curve. Future work will explore scaling MTD to larger, open-world environments and transitioning to fully online learning systems for even tighter feedback loops between humans and AI agents.
Summary updated