RESEARCH

NLP

RTFM: Generalizing to Novel Environment via Reading

March 03, 2020

Abstract

Obtaining policies that can generalise to new environments in reinforcement learning is challenging. In this work, we demonstrate that language understanding via a reading policy learner is a promising vehicle for generalisation to new environments. We propose a grounded policy learning problem, Read to Fight Monsters (RTFM), in which the agent must jointly reason over a language goal, relevant dynamics described in a document, and environment observations. We procedurally generate environment dynamics and corresponding language descriptions of the dynamics, such that agents must read to understand new environment dynamics instead of memorising any particular information. In addition, we propose txt2π, a model that captures three-way interactions between the goal, document, and observations. On RTFM, txt2π generalises to new environments with dynamics not seen during training via reading. Furthermore, our model outperforms baselines such as FiLM and language-conditioned CNNs on RTFM. Through curriculum learning, txt2π produces policies that excel on complex RTFM tasks requiring several reasoning and coreference steps.

Download the Paper

AUTHORS

Written by

Edward Grefenstette

Tim Rocktäschel

Victor Zhong

Publisher

ICLR

Related Publications

October 14, 2026

RESEARCH

Human-Guided Agentic AI for End-to-End EHR Research: Sequential Antibody-Drug Conjugate Pathways in Breast Cancer

Arturo Loaiza-Bonilla

October 14, 2026

October 14, 2026

RESEARCH

Pickleball injuries, search interest, and participation in the United States, 2014-2023: an ecological time series study

Daniel Kim

October 14, 2026

October 14, 2026

RESEARCH

Outcomes in Methicillin-Susceptible and Methicillin-Resistant Staphylococcus aureus Infective Endocarditis Compared With Staphylococcus lugdunensis Infective Endocarditis

Paddy Ssentongo

October 14, 2026

October 14, 2026

RESEARCH

Social Needs Z Codes and Subsequent Acute Care Across 21 U.S. Health Systems

Roberto Lobelo

October 14, 2026

Help Us Pioneer The Future of AI

We share our open source frameworks, tools, libraries, and models for everything from research exploration to large-scale production deployment.