Skip to main content
QUICK REVIEW

[Paper Review] Learn How to Cook a New Recipe in a New House: Using Map Familiarization, Curriculum Learning, and Bandit Feedback to Learn Families of Text-Based Adventure Games

Xusen Yin, Jonathan May|arXiv (Cornell University)|Aug 13, 2019
Artificial Intelligence in GamesComputer Science5 citations
TL;DR

This paper proposes a reinforcement learning framework that enables agents to master unseen text-based adventure games in a specific theme (e.g., cooking) by combining map familiarization, curriculum learning, and contextual bandit exploration. By training on increasingly complex game instances and using LinUCB for uncertainty-aware exploration, the agent achieves significantly higher zero-shot performance on novel, unseen games compared to baselines.

ABSTRACT

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 enable agents to generalize to unseen text-based adventure games within a shared theme, such as cooking, rather than overfitting to specific instances.
  • To improve zero-shot generalization by emulating human-like learning progression through curriculum learning.
  • To enhance exploration in unfamiliar environments by distinguishing universal from instance-specific knowledge via knowledge graph construction.
  • To improve performance on unseen games by incorporating contextual multi-armed bandit feedback during evaluation to guide exploration under uncertainty.

Proposed method

  • The agent uses curriculum learning to train first on simpler game instances (e.g., tier-4) before progressing to more complex ones (e.g., tier-6), improving overall generalization.
  • Map familiarization is achieved by constructing a knowledge graph from environment descriptions, allowing the agent to distinguish universal knowledge (e.g., 'kitchen is for cooking') from instance-specific facts (e.g., 'kitchen is east of bedroom').
  • During inference, the agent applies LinUCB contextual bandit policy to balance exploration and exploitation, prioritizing actions with high uncertainty to improve score.
  • The DQN agent uses a CNN-based state representation of action-observation trajectories, with Q-value prediction for action selection.
  • Exploration strategies are compared: $͑$-greedy, policy sampling with temperature, and LinUCB; LinUCB shows superior performance.
  • Knowledge graph construction is used to encode environmental structure and guide action planning, improving sample efficiency and generalization.

Experimental results

Research questions

  • RQ1Can curriculum learning improve zero-shot generalization in text-based adventure games beyond single-instance training?
  • RQ2How does map familiarization via knowledge graph construction enhance learning in unseen environments?
  • RQ3Does incorporating contextual bandit feedback during evaluation lead to better performance on novel, unseen games?
  • RQ4What is the relative impact of different exploration strategies—$͑$-greedy, policy sampling, and LinUCB—on task completion in zero-shot settings?

Key findings

  • The LinUCB bandit policy achieved the highest performance, with 72% average success rate on Test 1 and 68% on Test 2, outperforming $͑$-greedy and sampling methods.
  • Using curriculum learning with tiered training (e.g., starting from tier-4) led to better overall performance than training on all tiers simultaneously, with the best results seen after fine-tuning on all tiers.
  • The knowledge graph construction improved learning by enabling the agent to distinguish universal from instance-specific knowledge, supporting better generalization.
  • Exploration via LinUCB significantly outperformed both $͑$-greedy and policy sampling, especially on complex tiers, due to more thorough and informed exploration of uncertain actions.
  • The recency effect in curriculum learning was observed: performance on a tier was highest when it was the last one used for training, indicating that later training stages have a stronger influence.
  • The agent achieved 68% average success rate on the full test set when using LinUCB exploration after curriculum training, demonstrating strong zero-shot generalization.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.