ADAM: A Sandbox for Implementing Language Learning

Ryan Gabbard, Deniz Beser, Jacob A. Lichtefeld, Joe Cecil, Mitch Marcus, Sarah R. B. Payne, Charles Yang, Marjorie FreedmanarXiv 2021

Introduction

How do infants map the sounds they hear to the world they see? This challenge, known as the "grounded language learning" problem, is central to understanding human cognitive development. Historically, computational research in this field has been fragmented. Some studies rely on small, hand-annotated corpora of child-directed speech, while others utilize large-scale simulations with arbitrary "atomic" word-meaning mappings—for instance, mapping the word "dog" to a single unique ID. Such approaches often fail to reflect the perceptual complexity and functional nuance of the real world.

ADAM (A Sandbox for Implementing Language Learning) is a Python-based framework designed to address these gaps. It provides a modular environment to simulate how children learn language by grounding it in a virtual world, allowing researchers to test cognitive theories in a controlled and reproducible manner.

System Architecture

ADAM is built on a modular architecture that separates the generation of situations from the learning process itself. This design allows researchers to swap out learning algorithms, curricula, and even target languages (e.g., switching from English to Chinese) while maintaining the same underlying physical scenarios.

The ADAM system architecture, illustrating the flow from curriculum templates to learner analysis.

The pipeline begins with Curriculum Templates, defined via a Python-based domain-specific language (DSL). These templates are instantiated into thousands of unique Situations. Each situation is then processed into two streams: a Language Generator produces linguistic strings, and a Perception Generator creates structured representations of the scene. The Learner—the "brain" of the system—receives both inputs to build its internal model.

Perception and Representation

To mimic the pre-linguistic perception of a child (roughly 18 months old), ADAM avoids raw pixel data, which is computationally expensive and lacks inherent cognitive structure. Instead, it generates "perceptual representations" based on established vision theories, such as Marr’s geons and Jackendoff’s spatial regions. Objects are represented as structures with axes, shapes, and properties like liquid or self-moving.

Internally, the learner represents these meanings as directed acyclic graphs. Learning a word involves finding the common subgraph that appears across different situations where that word is used. This allows the system to handle non-atomic meanings; for example, it can learn that the verb "roll" specifically requires an object with a circular cross-section.

A perception graph representing the spatial relation 'on' through the 'exterior-but-in-contact' property.

The Grounded Curriculum

The framework includes a generative suite based on a custom ontology, covering:

  • Objects: People, animals, and inanimate items like balls, chairs, and cups.
  • Properties: Colors, shapes, and functional traits (e.g., edible, rollable).
  • Relations: Spatial (on, inside) and size-based (bigger than).
  • Actions: Verbs such as walk, put, push, give, throw, and drink.
  • Complex Scenarios: Concepts like possession ("my ball"), plurals, and part-whole relationships.

Key Results and Generalization

ADAM demonstrates the ability to learn nuanced concepts that go beyond simple labeling. Through its graph-matching algorithms, the system can generalize from specific instances to abstract concepts. Key successes include:

  • Possession: Correctly identifying that "my" refers to an object possessed specifically by the speaker.
  • Action Constraints: Learning that "drinking" requires a liquid property and that the object being eaten becomes interior to the eater.
  • Spatial Nuance: Distinguishing that for an object to be "on" another, it must be both above it and in physical contact (as seen in the perception graphs).

Discussion and Future Work

While ADAM provides a robust sandbox for experimentation, several challenges remain. The core graph-matching algorithm (VF2) is computationally expensive, posing scaling issues for highly complex scenes. Additionally, current linguistic representations are based on surface templates; future iterations aim to incorporate richer syntactic structures like dependency trees. The authors also suggest moving toward more realistic inputs, such as 3D visual data or raw audio, to further bridge the gap between simulation and human reality.

Summary updated

BibTeX
@misc{gabbard2021adam,
  author = {Ryan Gabbard and Deniz Beser and Jacob A. Lichtefeld and Joe Cecil and Mitch Marcus and Sarah R. B. Payne and Charles Yang and Marjorie Freedman},
  title = {{ADAM: A Sandbox for Implementing Language Learning}},
  year = {2021},
  eprint = {2105.02263},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2105.02263},
}
Figure