Interactive Learning from Activity Description

Khanh Nguyen, Dipendra Misra, Robert E. Schapire, Miroslav Dudík, Patrick Shafto

Abstract

Training agents to follow natural language instructions typically requires either sparse rewards (Reinforcement Learning) or expert demonstrations (Imitation Learning). We propose ILIAD (Interactive Learning from Activity Description), a novel protocol where a teacher provides feedback by describing the agent's actual behavior. Our implementation, the ADEL algorithm, treats learning as a density estimation problem, grounding descriptions to actions. Experiments on Vision-Language Navigation and Word Modification tasks demonstrate that ILIAD significantly outperforms RL and approaches the performance of Imitation Learning while remaining more accessible for human teachers.

Introduction: The Feedback Gap

Building agents that understand human requests—such as "go to the kitchen"—is a fundamental challenge in AI. Traditional approaches face a significant "feedback gap." Reinforcement Learning (RL) relies on scalar rewards (e.g., +1 for success), providing "thin" feedback that doesn't explain why an agent failed. Conversely, Imitation Learning (IL) provides "thick" feedback through demonstrations, but requires the human teacher to operate the agent's specific control interface, which is often unintuitive for non-experts.

Researchers from the University of Maryland, Microsoft Research, and Rutgers University propose a middle ground: Activity Description. Humans naturally describe what they observe. If a robot enters the wrong room, a human can simply state, "You walked into the living room and stopped by the sofa." This paper explores how agents can leverage these descriptions of their own (often incorrect) actions to learn the underlying task.

The ILIAD protocol: A teacher provides natural language descriptions of the agent's actual paths in a 3D environment.

The ILIAD Protocol and ADEL Algorithm

The authors introduce the ILIAD protocol and the ADEL (Activity-Description Explorative Learner) algorithm to bridge this gap.

  1. The ILIAD Protocol: In each training episode, the agent receives a request and executes a sequence of actions. A teacher then provides a natural language description of that specific execution. The agent uses the action-description pair to update its policy.
  2. The ADEL Algorithm: ADEL treats the problem as density estimation, aiming to learn a policy where the agent's behavior matches the distribution of successful executions.
  3. Semi-Supervised Exploration: To overcome the initial lack of data, ADEL uses a mixture of its current policy and an explorative policy to generate diverse behaviors, eliciting a wide range of descriptive feedback.
  4. Theoretical Grounding: The paper proves that in a contextual bandit setting, ADEL converges to a near-optimal policy, providing a formal basis for learning from descriptions.

Experimental Evaluation

The approach was evaluated on two challenging benchmarks:

  • Vision-Language Navigation (NAV): Using the Matterport3D simulator and Room-to-Room (R2R) dataset, agents navigate 3D houses based on English instructions.
  • Word Modification (REGEX): Agents generate regular expressions to transform strings (e.g., "replace all n with c") based on natural language requests.

Key Results

The results indicate that ADEL effectively bridges the performance gap between RL and IL.

Performance comparison on the NAV task: ILIAD (green) bridges the gap between RL (blue/yellow) and IL (orange).
  • Superiority over RL: ADEL significantly outperformed RL baselines. In the REGEX task, RL agents failed to learn (0% success), while ADEL reached 89%. In the NAV task, ADEL achieved 31.9% success compared to RL's 20.5%.
  • Competitive with IL: ADEL's success rates were remarkably close to IL (only 3-4% lower), despite IL having the advantage of direct "correct" action sequences.
  • Sample Efficiency: While ADEL requires more episodes than IL (5-9x), it is vastly more efficient than RL, which often failed to converge even after 1 million interactions.

Discussion and Future Work

ILIAD demonstrates that language is a rich, compositional signal. An agent can learn the meaning of "turn right" from a failed attempt and apply it to future requests. Furthermore, the protocol is "teacher-agnostic," as humans only need to describe what they see rather than understand the robot's internal mechanics.

Current limitations include the theoretical scope being limited to horizon $H=1$ and a dependence on initial exploration. Future research may explore handling inconsistent or noisy human teachers and extending the theoretical proofs to multi-step decision processes.

Summary updated

BibTeX
@inproceedings{nguyen2021interactive,
  author = {Khanh Nguyen and Dipendra Misra and Robert E. Schapire and Miroslav Dudík and Patrick Shafto},
  title = {{Interactive Learning from Activity Description}},
  booktitle = {International Conference on Machine Learning},
  year = {2021},
}
Figure