[Paper Review] Learn How to Cook a New Recipe in a New House: Using Map Familiarization, Curriculum Learning, and Common Sense to Learn Families of Text-Based Adventure Games
This paper proposes a curriculum learning approach enhanced with map familiarization and contextual multi-armed bandits to enable AI agents to learn families of text-based adventure games with shared themes (e.g., cooking) but varying specifics. By simulating human-like learning—starting simple, exploring environments first, and prioritizing uncertain actions—the agent achieves significantly higher success rates on unseen games in the same theme family compared to baselines.
We consider the task of learning to play families of text-based computer adventure games, i.e., fully textual environments with a common theme (e.g. cooking) and goal (e.g. prepare a meal from a recipe) but with different specifics; new instances of such games are relatively straightforward for humans to master after a brief exposure to the genre but have been curiously difficult for computer agents to learn. We find that the deep Q-learning strategies that have been successfully leveraged for superhuman performance in single-instance action video games can be applied to learn families of text video games when adopting simple strategies that correlate with human-like learning behavior. Specifically, we build agents that learn to tackle simple scenarios before more complex ones using curriculum learning, that familiarize themselves in an unfamiliar environment by navigating before acting, and that explore uncertain environments more thoroughly using contextual multi-armed bandit decision policies. We demonstrate improved task completion rates over reasonable baselines when evaluating on never-before-seen games of that theme.
Motivation & Objective
- To address the challenge of generalizing across families of text-based adventure games with shared themes but varying specifics.
- To improve sample efficiency and generalization in reinforcement learning agents for text-based games beyond single-instance performance.
- To emulate human-like learning behaviors such as progressive skill acquisition and environmental exploration before action.
- To reduce reliance on extensive pre-training by incorporating common sense and contextual exploration strategies.
Proposed method
- The agent uses curriculum learning to progress from simpler to more complex game instances within a theme family.
- Before taking actions, the agent performs a map familiarization phase by navigating the environment to build spatial and object awareness.
- A contextual multi-armed bandit policy guides exploration by prioritizing actions with high uncertainty, improving sample efficiency.
- The agent leverages common sense and environmental structure to infer plausible actions and reduce the action space.
- The method integrates deep Q-learning with hierarchical exploration and planning to improve long-horizon task completion.
- The framework is trained on a curriculum of games from the same theme (e.g., cooking) and evaluated on unseen games from the same family.
Experimental results
Research questions
- RQ1Can curriculum learning improve zero-shot generalization in text-based adventure games across a theme family?
- RQ2How does map familiarization prior to action-taking affect sample efficiency and success rates?
- RQ3To what extent can contextual multi-armed bandits improve exploration in partially observable, text-based environments?
- RQ4Can common sense reasoning reduce the need for extensive training on individual game instances?
- RQ5Does combining these strategies lead to measurable performance gains over standard deep Q-learning baselines on unseen games?
Key findings
- The proposed method achieves significantly higher task completion rates on unseen games within the same theme family compared to strong baseline agents.
- Map familiarization before acting leads to faster convergence and more reliable navigation in novel environments.
- Contextual multi-armed bandits improve exploration efficiency by focusing on uncertain or high-information actions.
- The curriculum learning strategy enables agents to generalize across game instances with varying complexity and object configurations.
- The agent demonstrates human-like learning progression, starting with simple tasks and gradually mastering complex ones.
- The framework generalizes effectively to new games in the same theme, indicating robust transfer learning across instances.
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.