[Paper Review] Language Expansion In Text-Based Games
This paper proposes a policy distillation approach to train a single LSTM-DQN agent capable of playing multiple text-based games by transferring knowledge from multiple specialized teacher agents. The method enables full, bidirectional language expansion across games with diverse vocabularies, outperforming both multi-task training and standard transfer learning, with the distilled agent achieving 100% quest completion in test games while learning robust, semantically meaningful word representations.
Text-based games are suitable test-beds for designing agents that can learn by interaction with the environment in the form of natural language text. Very recently, deep reinforcement learning based agents have been successfully applied for playing text-based games. In this paper, we explore the possibility of designing a single agent to play several text-based games and of expanding the agent's vocabulary using the vocabulary of agents trained for multiple games. To this extent, we explore the application of recently proposed policy distillation method for video games to the text-based game setting. We also use text-based games as a test-bed to analyze and hence understand policy distillation approach in detail.
Motivation & Objective
- To design a single agent capable of playing multiple text-based games with bidirectional knowledge transfer across games.
- To investigate whether policy distillation can effectively expand an agent's language vocabulary when games have different, overlapping, or conflicting vocabularies.
- To analyze how policy distillation functions internally by visualizing representations and control modules in the agent.
- To compare policy distillation with alternative methods like multi-task learning and standard transfer learning in terms of learning speed and performance.
- To evaluate the utility of distilled word embeddings for transfer learning in new, unseen games with shared vocabulary.
Proposed method
- Train separate LSTM-DQN teacher agents on individual text-based games, each with distinct vocabularies.
- Use policy distillation to transfer the Q-value policies of these teachers to a single student network with a shared representation layer and game-specific output heads.
- Apply temperature-scaled soft labels (softmax(q^T / τ)) from teachers as targets for the student’s output layer during training.
- Use a game label to route inputs to the appropriate action and object output module in the student network.
- Maintain separate memory buffers for each game and train sequentially on samples from one game at a time.
- Visualize internal representations using heat maps to analyze how policy distillation shapes word embeddings and policy decisions.
Experimental results
Research questions
- RQ1Can policy distillation effectively transfer knowledge from multiple game-specific agents to a single unified agent capable of playing all games?
- RQ2How does policy distillation perform when games have conflicting state dynamics or overlapping but non-identical vocabularies?
- RQ3Does the distilled agent learn semantically meaningful word embeddings that generalize better than random or multi-task initialized embeddings?
- RQ4How does the performance of the distilled agent compare to multi-task fine-tuning and standard transfer learning in new, unseen games?
- RQ5What insights can be gained from visualizing the internal representations of the distilled agent during training?
Key findings
- The policy distillation method achieved 100% quest completion in test games, significantly outperforming multi-task LSTM-DQN, which solved only about 30% of quests.
- The distilled agent (A₄) trained with embeddings from the student outperformed A₆, which used all teacher embeddings simultaneously, indicating superior knowledge integration.
- The student network learned semantically meaningful word embeddings, with similar words clustering in vector space, unlike the random-like embeddings from multi-task training.
- Transfer learning using embeddings from the distilled student agent led to faster convergence and better performance than using embeddings from individual teachers or random initialization.
- Visualizations revealed that policy distillation stabilizes learning by producing coherent, interpretable representations in both the representation and control modules of the agent.
- The method successfully enabled full, bidirectional language expansion across games with different vocabularies, demonstrating feasibility for continual, online language learning in agents.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.