ASkDAgger: Active Skill-level Data Aggregation for Interactive Imitation Learning

Jelle Luijkx, Zlatan Ajanović, Laura Ferranti, Jens Kober

Abstract

Human teaching effort is a significant bottleneck for the broader applicability of interactive imitation learning. To reduce the number of required queries, existing methods employ active learning to query the human teacher only in uncertain, risky, or novel situations. However, during these queries, the novice’s planned actions are not utilized despite containing valuable information, such as the novice’s capabilities, as well as corresponding uncertainty levels. To this end, we allow the novice to say: “I plan to do this, but I am uncertain.” We introduce the Active Skill-level Data Aggregation (ASkDAgger) framework, which leverages teacher feedback on the novice plan in three key ways: (1) S-Aware Gating (SAG): Adjusts the gating threshold to track sensitivity, specificity, or a minimum success rate; (2) Foresight Interactive Experience Replay (FIER), which recasts valid and relabeled novice action plans into demonstrations; and (3) Prioritized Interactive Experience Replay (PIER), which prioritizes replay based on uncertainty, novice success, and demonstration age. Together, these components balance query frequency with failure incidence, reduce the number of required demonstration annotations, improve generalization, and speed up adaptation to changing domains. We validate the effectiveness of ASkDAgger through language-conditioned manipulation tasks in both simulation and real-world environments.

Introduction

Imitation Learning (IL) allows robots to acquire complex skills from human demonstrations. However, a primary challenge in IL is covariate shift: small errors in the robot's execution lead it into states not covered by the training data, causing a cascade of failures. While the classic DAgger (Dataset Aggregation) algorithm addresses this by involving a human teacher in the loop, the constant supervision required is often prohibitively expensive and exhausting for the teacher.

Active DAgger methods attempt to mitigate this by only querying the human when the robot is uncertain. Yet, these methods typically discard the robot's own planned action during a query, missing an opportunity to learn from the robot's current internal state. ASkDAgger addresses this by allowing the robot to present its plan for validation, effectively saying "Check my work."

The ASkDAgger Framework

The ASkDAgger framework integrates three core components: SAG for adaptive thresholding, FIER for recycling novice plans, and PIER for prioritized learning.

ASkDAgger is composed of three novel modules designed to maximize learning efficiency and minimize human burden:

1. S-Aware Gating (SAG)

Standard active learning uses a fixed uncertainty threshold to decide when to query a human. SAG replaces this with a dynamic threshold that adapts based on historical performance. By using semi-supervised logistic regression, SAG can be tuned to prioritize different objectives, such as maximizing safety (sensitivity) or minimizing human interruptions (specificity).

SAG dynamically adjusts the uncertainty threshold by fitting a model to the relationship between uncertainty, rewards, and failures.

2. Foresight Interactive Experience Replay (FIER)

FIER is the framework's "recycling" engine. When the robot queries the human, it presents its intended plan. The human can provide three types of feedback:

  • Validate: Confirm the plan is correct, turning a novice action into a high-quality demonstration.
  • Relabel: Identify that the plan is incorrect for the current goal but would be correct for a different goal (Hindsight Relabeling).
  • Annotate: Provide a manual demonstration if the robot's plan is entirely unusable.

This approach significantly reduces the time a human spends manually piloting the robot, as validation is much faster than demonstration.

3. Prioritized Interactive Experience Replay (PIER)

PIER ensures the model learns from the most informative data. It prioritizes "confident mistakes" (low uncertainty but failed) and "shaky successes" (high uncertainty but succeeded). By focusing on these edge cases, the model improves its generalization and robustness more rapidly than with uniform sampling.

Experimental Results

The framework was evaluated across diverse environments, including the CLIPort simulation benchmark and real-world tasks with a Franka Panda arm and a Boston Dynamics Spot robot.

Key findings include:

  • Efficiency: In language-conditioned manipulation tasks, ASkDAgger achieved success rates comparable to or better than standard Active DAgger while requiring significantly fewer manual human annotations.
  • Generalization: The use of goal-relabeling in FIER allowed the robot to generalize better to unseen objects and colors, as it learned from "accidental" successes on distractor objects.
  • Real-World Adaptability: The system successfully trained robots for complex assembly and sorting tasks, demonstrating its viability for high-level skill acquisition across different robot morphologies.

Conclusion

ASkDAgger represents a shift in interactive imitation learning by treating the robot's uncertain plans as valuable data rather than noise. By combining adaptive gating, plan validation/relabeling, and prioritized replay, the framework reduces human effort while enhancing the robot's ability to learn and generalize in complex, real-world scenarios. Future work will explore integrating these methods with foundation models to further automate the feedback process.

Summary updated

BibTeX
@article{luijkx2025askdagger,
  author = {Jelle Luijkx and Zlatan Ajanović and Laura Ferranti and Jens Kober},
  title = {{ASkDAgger: Active Skill-level Data Aggregation for Interactive Imitation Learning}},
  journal = {Accepted by TMLR},
  year = {2025},
  url = {https://openreview.net/forum?id=987Az9f8fT},
}
Figure