Grounded Language Learning Fast and Slow

Felix Hill, Olivier Tieleman, Tamara von Glehn, Nathaniel Wong, Hamza Merzic, Stephen ClarkICLR 2020

Abstract: Recent work has shown that large text-based neural language models, trained with conventional supervised learning objectives, acquire a surprising propensity for few- and one-shot learning. Here, we show that an embodied agent situated in a simulated 3D world, and endowed with a novel dual-coding external memory, can exhibit similar one-shot word learning when trained with conventional reinforcement learning algorithms. After a single introduction to a novel object via continuous visual perception and a language prompt ("This is a dax"), the agent can re-identify the object and manipulate it as instructed ("Put the dax on the bed"). In doing so, it seamlessly integrates short-term, within-episode knowledge of the appropriate referent for the word "dax" with long-term lexical and motor knowledge acquired across episodes (i.e. "bed" and "putting"). We find that, under certain training conditions and with a particular memory writing mechanism, the agent's one-shot word-object binding generalizes to novel exemplars within the same ShapeNet category, and is effective in settings with unfamiliar numbers of objects. We further show how dual-coding memory can be exploited as a signal for intrinsic motivation, stimulating the agent to seek names for objects that may be useful for later executing instructions. Together, the results demonstrate that deep neural networks can exploit meta-learning, episodic memory and an explicitly multi-modal environment to account for 'fast-mapping', a fundamental pillar of human cognitive development and a potentially transformative capacity for agents that interact with human users.

Introduction

In developmental psychology, "fast-mapping" refers to a child's ability to learn a new word and associate it with a physical object after a single exposure. While large language models (LLMs) have demonstrated remarkable one-shot learning in text-only domains, grounding this capability in a physical, 3D environment remains a significant challenge for artificial intelligence. Traditional reinforcement learning (RL) agents often require thousands of trials to learn a single word-object association—a process known as "slow learning."

This research introduces an architecture capable of bridging the gap between episodic memory (remembering specific associations within a current context) and long-term knowledge (understanding general concepts like verbs and navigation). By situating an agent in a 3D environment, researchers have demonstrated that embodied agents can achieve human-like fast-mapping through a novel memory mechanism.

Methods and Architecture

The experimental framework utilizes a two-phase episode structure designed to test one-shot learning. In the Discovery Phase, the agent explores a room and receives linguistic labels for objects it encounters (e.g., "This is a dax"). In the subsequent Instruction Phase, the agent must execute a command involving those objects (e.g., "Pick up the dax"), requiring it to retrieve the specific association formed moments earlier.

The experimental setup consists of a Discovery phase for learning object names and an Instruction phase for executing commands.

To facilitate this, the researchers developed the Dual-coding Episodic Memory (DCEM). Inspired by Allan Paivio’s dual-coding theory, this architecture maintains separate but linked channels for linguistic and visual data:

  • Keys/Queries: Derived from linguistic embeddings (the words).
  • Values: Derived from visual embeddings (the pixels).

When the agent receives an instruction, it uses the linguistic prompt as a query to retrieve the corresponding visual representation from its memory. This separation allows the agent to "lookup" what a word refers to without mashing different modalities into a single, potentially confusing vector.

Key Results

The DCEM architecture significantly outperformed baseline models, including Differentiable Neural Computers (DNC) and Gated Transformers. The DCEM + Reconstruction model achieved a near-perfect 98% accuracy on 3-object fast-mapping tasks. Notably, the DCEM was far more efficient, requiring only 20 memory slots to solve tasks that a Transformer needed 1024 slots to approach.

Comparison of learning curves for DCEM against baseline architectures like Transformers, DNC, and LSTM.

Beyond simple recall, the agent demonstrated several advanced cognitive capabilities:

  • Zero-Shot Integration: The agent successfully combined "slow-learned" motor skills (like the verb "put") with "fast-mapped" nouns (like "dax") to execute novel instructions.
  • Category Extension: Using ShapeNet models, the agent showed it could generalize. If shown a red chair labeled "dax," it could later identify a blue chair as a "dax" with high accuracy, provided it had sufficient training on diverse object categories.
  • Intrinsic Motivation: The researchers found that the DCEM could provide a signal for "surprise." When the agent encountered an object it couldn't find in memory, it was motivated to explore and seek a name for that object, effectively "asking" for information that might be useful later.

Discussion

While the current study uses a simplified vocabulary, it represents a major step toward agents that can interact naturally with humans in the real world. The ability to learn on the fly and integrate that new information with long-term skills is essential for practical robotics. Future research will likely focus on memory consolidation—the process by which an agent moves a "fast-mapped" word from temporary episodic memory into its permanent, long-term vocabulary.

Summary updated

BibTeX
@inproceedings{hill2020grounded,
  author = {Felix Hill and Olivier Tieleman and Tamara von Glehn and Nathaniel Wong and Hamza Merzic and Stephen Clark},
  title = {{Grounded Language Learning Fast and Slow}},
  booktitle = {International Conference on Learning Representations},
  year = {2020},
  url = {https://openreview.net/forum?id=anNkAgW-Ogg},
}
Figure