Continual Learning for Grounded Instruction Generation by Observing Human Following Behavior

Noriyuki Kojima, Alane Suhr, Yoav Artzi · DOI

This paper, from researchers at Cornell University, explores how AI systems can learn to give better instructions by simply "watching" how humans respond to them. Instead of relying on massive, static datasets of human-written text, the authors propose a continual learning framework that treats human behavior as a noisy but valuable reward signal.

TL;DR

The researchers developed a system that learns to generate natural language instructions by observing how human users execute them in a collaborative game. By framing the problem as a contextual bandit task and using human behavior as implicit feedback, the system improved its task completion rate from 44.7% to 79.3% over 14 rounds of interaction.

What Problem Does This Paper Address?

Training AI to generate grounded instructions (e.g., "Go past the windmill and grab the red card") usually requires large supervised datasets where humans have written "gold standard" instructions for specific actions. This is expensive, static, and doesn't account for the "closed-loop" nature of real-world interaction.

The challenge is that human feedback is often implicit. If a user fails to follow an instruction, it might be because the instruction was poorly phrased, or it might be because the user was distracted. Furthermore, standard supervised learning doesn't have a good way to handle "negative examples"—knowing what not to say is just as important as knowing what to say, but mathematically, simply minimizing the likelihood of a "bad" sentence can lead to unstable training.

Methods

The authors used a collaborative game environment called CEREALBAR, where an AI "Leader" must instruct a human "Follower" to collect cards.

The Architecture

The model uses an encoder-decoder setup:

  • Encoder: Processes the 3D world state and the Leader's intended plan (a sequence of coordinates).
  • Decoder: A GPT-2 based Transformer that generates the natural language instruction.

The Learning Loop

The system learns in "rounds." In each round, the AI interacts with human workers (via Amazon MTurk). After an interaction, the system creates a dataset based on three heuristics:

  1. Negative Signal: If the user gives negative feedback (via a binary "Was this clear?" question), the instruction is marked as a negative example.
  2. Positive Signal (Execution): If the user thinks they did it right, the system treats the user's actual path as the intended plan for that instruction.
  3. Positive Signal (Intent): If the user follows the AI's original plan perfectly, it's a strong positive example.

The Technical Innovation

To handle negative examples without the model's loss function "exploding," the authors used Inverse Propensity Scoring (IPS). This technique weights the importance of a negative example based on how likely the model was to generate it in the first place, preventing the system from over-correcting on rare or arbitrary errors.

Datasets

  • Initialization (D0): A small static dataset of 360 human-to-human interactions (7,147 examples) used to give the model a "warm start."
  • Interaction Data: Over 14 rounds, the researchers collected 27,031 instructions from 1,445 live interactions with humans.
  • Comparison Dataset: They also compared their results against the full CEREALBAR supervised dataset (19,112 examples) to see if continual learning could beat traditional static training.

Key Insights and Ideas

  • User Behavior as a Label: One of the most clever "aha" moments is treating the user's execution as the "ground truth" plan. If the AI says something confusing and the human does something logical but different, the AI can learn that "Instruction X" maps to "Action Y" (the human's action), even if that wasn't the AI's original intent.
  • Vocabulary "Evolution": As the model learned, its vocabulary actually shrank. It stopped using flowery or erroneous phrases and converged on a highly effective, "utilitarian" dialect that humans found easier to follow.
  • The "Planner" Advantage: The continual learning system actually outperformed a model trained on more human-written data. This is likely because the AI learned to describe the specific quirks of its own automated path-planner, whereas human-written instructions were based on how humans plan paths.

Key Results

The improvements over 14 rounds were dramatic:

  • Task Completion: Jumped from 44.7% to 79.3%.
  • Path Similarity (EMD): The distance between the intended path and the user's path dropped from 1.73 to 0.88 (lower is better).
  • Grammaticality: User-rated grammaticality rose from 88.9% to 99.2%.
  • Error Reduction: The frequency of erroneous instructions (like mentioning cards that weren't there) dropped from 68.5% to 26.8%.

Limitations and Future Work

  • Underspecification: Because the model learned that "shorter is better," it occasionally became too brief. In complex scenarios requiring navigation around many landmarks, the model sometimes dropped crucial details, leading to a slight performance dip in specific 1-card tasks.
  • The Need for Better Metrics: The authors emphasized that standard NLP metrics like BLEU or BERTScore are "unreliable" for this task. They had to rely on expensive human-in-the-loop testing, highlighting a need for better automated evaluation of grounded language.
  • Language Diversity: The system tends to converge on very repetitive language. Future work could explore how to maintain linguistic diversity while still being accurate.

Summary updated

BibTeX
@article{kojima2021continual,
  author = {Noriyuki Kojima and Alane Suhr and Yoav Artzi},
  title = {{Continual Learning for Grounded Instruction Generation by Observing Human Following Behavior}},
  journal = {Trans. Assoc. Comput. Linguistics},
  year = {2021},
  doi = {10.1162/tacl\_a\_00428},
}

Loading related content...

Figure