Abstract
Text-based games (TGs) present a significant challenge for reinforcement learning due to their vast, natural language action spaces. While recent approaches rely on Large Language Models (LLMs) or Knowledge Graphs (KGs) to prune these spaces, we present Text-based Actor-Critic (TAC), a minimalist architecture that achieves state-of-the-art performance without such heavy machinery. By utilizing ε-admissible exploration and a dual-critic design, TAC outperforms complex baselines across the Jericho benchmark while remaining significantly more computationally efficient.
Introduction
Text-based games like Zork serve as a unique frontier for reinforcement learning (RL). Unlike traditional environments with discrete, low-dimensional action spaces, TGs require agents to interact via natural language. This creates a "language bottleneck" where the number of possible word combinations is combinatorially large.
To navigate this, previous state-of-the-art (SOTA) agents have integrated external knowledge sources, such as pre-trained Language Models (LMs) to suggest likely actions or Knowledge Graphs (KGs) to track world state. However, these additions introduce significant computational overhead and complexity. The Text-based Actor-Critic (TAC) architecture questions whether such complexity is necessary, proposing a lean alternative that focuses on efficient exploration and regularization.
Methods
TAC is designed to prove that a streamlined architecture can match or exceed the performance of more complex models. The system is built on four pillars:
- The Architecture: TAC uses a single shared Gated Recurrent Unit (GRU) to encode game observations, including room descriptions, inventory, and feedback. It employs a template-object decoder to generate actions (e.g., "take [object] from [container]").
- ε-admissible Exploration: This is the core training strategy. During training, the agent has a probability ε of ignoring its own policy and instead randomly sampling an admissible action—a command guaranteed by the game engine to change the world state. This ensures the agent collects diverse and useful data rather than getting stuck in repetitive, non-functional loops.
- Dual-Critic Design: To mitigate overestimation bias, TAC uses two independent state-action critics (Q-networks) and takes the minimum of their outputs. This technique, borrowed from modern continuous control (TD3), provides more stable value estimates.
- Supervised Learning (SL) Loss: The agent incorporates a supervised loss to nudge the actor toward producing valid, admissible templates and objects. This acts as a regularizer, preventing the agent from overfitting to specific training observations.
Experimental Setup
The study utilizes the Jericho suite, a standard benchmark for text-adventure research. The authors tested TAC on 10 popular games for primary comparison and expanded to a larger set of 29 games for broader performance analysis. TAC was benchmarked against established heavyweights: CALM-DRRN (LM-based) and KG-A2C (KG-based).
Key Insights
- Exploration as Data Collection: The primary value of admissible actions is not just pruning the search space, but ensuring the agent experiences a wide variety of state transitions. By occasionally forcing a "valid" action, the agent avoids the trap of typing gibberish in the starting environment.
- The Exposure Bias Trap: The research found that fully constraining an agent to only see admissible actions during training actually hurts performance. Agents need to experience "meaningless" actions to understand the boundaries of the environment and build robustness.
- Efficiency and Accessibility: TAC features fewer than 2 million parameters, making it roughly three times smaller than KG-A2C. It runs twice as fast on GPUs and three times faster on CPUs, allowing for high-level RL research to be conducted on standard hardware.
Results
TAC demonstrated superior performance across the Jericho benchmark:
- State-of-the-Art Performance: TAC achieved the highest scores on 5 out of the 10 primary games.
- Mean Performance: Across 29 games, TAC's normalized mean score was approximately 50% higher than both CALM-DRRN and KG-A2C.
- Significant Gains: In specific titles like Zork3 and ZTUU, TAC achieved scores 200% to 400% higher than previous methods.
Conclusion and Future Work
TAC proves that a minimalist approach to natural language action spaces can outperform models relying on heavy external machinery like LLMs or KGs. The primary limitation remains the dependency on the game engine for admissible actions during the training phase. Future work will focus on developing versions of TAC that can identify "admissible-like" actions autonomously, potentially extending this minimalist framework to language-grounded tasks in robotics and other complex environments.
Summary updated