How To Guide Your Learner: Imitation Learning with Active Adaptive Expert Involvement

Xu-Hui Liu, Feng Xu, Xinyu Zhang, Tianyuan Liu, Shengyi Jiang, Ruifeng Chen, Zongzhang Zhang, Yang Yu

TL;DR

This paper introduces AdapMen, a novel imitation learning framework that treats expert guidance as an active teaching process rather than passive data provision. By framing imitation learning as a teacher-student interaction, AdapMen theoretically guarantees improved error bounds and sample efficiency, and empirically demonstrates superior performance across challenging driving and gaming benchmarks with significantly less expert intervention.

What Problem Does This Paper Address?

Imitation Learning (IL) aims to teach an agent a task by mimicking expert demonstrations, often using methods like Behavior Cloning (BC). However, BC suffers from "compounding errors" where small mistakes accumulate over time, leading to poor performance, especially in long-horizon tasks. More advanced methods like DAgger try to mitigate this by actively querying experts for guidance, but they often lack theoretical guarantees and can be sensitive to hyperparameter tuning. Existing "active imitation learning" methods, while improving on passive approaches, are often based on heuristics without a strong theoretical foundation. This paper addresses the need for an imitation learning approach that is theoretically grounded, efficient, and actively guides the learner in a principled way, moving beyond simple data collection to a more intelligent teaching paradigm.

Methods

The core of this work is the teacher-student interaction model. Instead of just collecting expert data, the "teacher" (expert) actively intervenes to guide the "student" (learner) based on a principled criterion. This criterion is derived from an optimization problem that aims to minimize the value loss of the learned policy.

The proposed algorithm, AdapMen, implements this by:

  • Teacher-Student Framework: The expert acts as a teacher, deciding what to teach and how to impart knowledge, rather than just providing correct actions.
  • Adaptive Intervention Criterion: AdapMen uses a Q-value difference between the expert and learner policies as a criterion to decide when the expert should intervene. This criterion is adaptively tuned during training.
  • Surrogate for Q-value: When the exact expert Q-value is unavailable, AdapMen uses policy divergence (e.g., KL divergence) as a surrogate, which is theoretically justified.
  • Theoretical Guarantees: The paper provides theoretical analysis showing that AdapMen can avoid compounding errors and achieve better sample complexity bounds under mild conditions.

Datasets

  • MetaDrive: A benchmark for autonomous driving tasks, used for training and evaluation. It features a compositional environment with procedural generation and real-world data import, offering diverse driving scenarios.
  • Atari 2600 games: A suite of classic video games used for evaluating performance in challenging visual-input RL tasks with discrete action spaces. Six common Atari games were selected.

Key Insights and Ideas

  • Expert as Teacher, Not Just Data Source: The most significant insight is reframing expert involvement from passive data collection to active, adaptive teaching. This shift allows for more efficient and principled guidance.
  • Theoretical Foundation for Active Intervention: Unlike previous heuristic-based active learning methods, AdapMen's intervention strategy is derived from a formal optimization problem, providing theoretical guarantees on performance and efficiency.
  • Adaptive Intervention is Crucial: The paper demonstrates that adaptively adjusting the intervention threshold (p-value) is key to effective learning, especially as the learner improves. This allows the teacher to increase the difficulty of the learning content when appropriate.
  • Policy Divergence as a Robust Surrogate: Using policy divergence as a surrogate for the Q-value difference is shown to be effective, making the method applicable even when exact Q-values are not readily available.

Key Results

  • MetaDrive Performance: AdapMen achieved the best performance in terms of cumulative return and success rate on the MetaDrive benchmark, outperforming baselines like BC, DAgger, and ValueDICE.
  • Atari Performance: AdapMen outperformed baselines in 5 out of 6 Atari games, demonstrating its effectiveness in more challenging, high-dimensional environments where BC and other methods struggled.
  • Reduced Expert Intervention: AdapMen required significantly fewer expert interventions compared to other methods while achieving superior or comparable performance. For instance, in MetaDrive, it used fewer expert actions than EnsembleDAgger while achieving better results.
  • Theoretical Bounds: The paper theoretically shows that AdapMen can avoid compounding errors and achieve better sample complexity bounds compared to BC, AIL, and DAgger under mild assumptions.
  • Human Expert Performance: When a human expert was used in MetaDrive, AdapMen showed the smallest performance degradation compared to other methods, highlighting the importance of an objective criterion over potentially unreliable human intuition.

Limitations and Future Work

  • Approximated Q-value: While AdapMen can use a surrogate for the Q-value, the performance with an approximated Q-value (learned via CQL) showed some degradation compared to using the ground truth Q*. The paper suggests that the cost depends on the choice of the surrogate.
  • Human Expert Reliability: The experiments with a human expert in MetaDrive showed that while AdapMen still performed well, the overall performance degraded, suggesting that human teaching strategies can be unreliable, and an objective criterion is important.
  • Future Work: The paper suggests exploring more sophisticated teaching strategies and investigating the application of AdapMen to a wider range of complex real-world tasks. The theoretical analysis could also be extended to more general settings.

Summary updated

BibTeX
@inproceedings{liu2023how,
  author = {Xu-Hui Liu and Feng Xu and Xinyu Zhang and Tianyuan Liu and Shengyi Jiang and Ruifeng Chen and Zongzhang Zhang and Yang Yu},
  title = {{How To Guide Your Learner: Imitation Learning with Active Adaptive Expert Involvement}},
  booktitle = {AAMAS},
  year = {2023},
  url = {https://openreview.net/forum?id=sQQpY0Uf3z},
}
Figure