Skip to main content
QUICK REVIEW

[Paper Review] Data Quality in Imitation Learning

Suneel Belkhale, Yuchen Cui|arXiv (Cornell University)|Jun 4, 2023
Domain Adaptation and Few-Shot LearningComputer Science7 citations
TL;DR

The paper formalizes data quality in imitation learning via action divergence and transition diversity, and empirically shows how these properties, along with horizon and noise, affect policy performance and data curation.

ABSTRACT

In supervised learning, the question of data quality and curation has been over-shadowed in recent years by increasingly more powerful and expressive models that can ingest internet-scale data. However, in offline learning for robotics, we simply lack internet scale data, and so high quality datasets are a necessity. This is especially true in imitation learning (IL), a sample efficient paradigm for robot learning using expert demonstrations. Policies learned through IL suffer from state distribution shift at test time due to compounding errors in action prediction, which leads to unseen states that the policy cannot recover from. Instead of designing new algorithms to address distribution shift, an alternative perspective is to develop new ways of assessing and curating datasets. There is growing evidence that the same IL algorithms can have substantially different performance across different datasets. This calls for a formalism for defining metrics of "data quality" that can further be leveraged for data curation. In this work, we take the first step toward formalizing data quality for imitation learning through the lens of distribution shift: a high quality dataset encourages the policy to stay in distribution at test time. We propose two fundamental properties that shape the quality of a dataset: i) action divergence: the mismatch between the expert and learned policy at certain states; and ii) transition diversity: the noise present in the system for a given state and action. We investigate the combined effect of these two key properties in imitation learning theoretically, and we empirically analyze models trained on a variety of different data sources. We show that state diversity is not always beneficial, and we demonstrate how action divergence and transition diversity interact in practice.

Motivation & Objective

  • Define a formal notion of data quality for imitation learning grounded in distribution shift.
  • Identify two core properties—action divergence and transition diversity—that shape data quality.
  • Analyze how these properties interact over time and with data characteristics like horizon length and noise.
  • Propose data-centric insights for curating datasets to improve imitation learning performance.

Proposed method

  • Model the data quality as negative f-divergence between learned and expert state visitation under an IL algorithm.
  • Define action divergence as mismatch between learned and expert action distributions at a state.
  • Define transition diversity as the environmental noise/dynamics diversity given a state and action.
  • Prove bounds linking distribution shift to action divergence and illustrate temporal effects.
  • Empirically study Data Noising (system and policy noise) and Data Measuring (human vs machine data) across environments.
  • Measure data quality factors using metrics like action variance, horizon length, and state similarity across datasets.
Figure 1: Case Study : Trajectories and action variance for scripted (left two plots) compared to human demonstration data (right two plots). Even though the human data (right) has high state coverage, the action variance is high, leading to high action divergence, and vice versa.
Figure 1: Case Study : Trajectories and action variance for scripted (left two plots) compared to human demonstration data (right two plots). Even though the human data (right) has high state coverage, the action variance is high, leading to high action divergence, and vice versa.

Experimental results

Research questions

  • RQ1How should data quality be defined and measured in imitation learning to account for distribution shift?
  • RQ2What roles do action divergence and transition diversity play in shaping dataset quality and policy performance?
  • RQ3How do these properties interact with dataset size, horizon length, and environment noise in practice?
  • RQ4Can data-centric curation strategies improve IL performance more effectively than algorithm-centric fixes?

Key findings

  • Action divergence and transition diversity jointly influence distribution shift and IL performance.
  • State diversity alone does not guarantee better IL performance; action consistency is crucial.
  • System noise during data collection can improve robustness to action divergence, especially with sufficient data.
  • Policy noise (human-like suboptimal actions) can hurt performance, particularly in low-data regimes, unless offset by transition diversity.
  • Data measuring on human datasets shows that higher action variance and longer horizons do not necessarily correlate with higher success, highlighting the complexity of data quality.
  • Providing some level of transition diversity can mitigate the adverse effects of noisy or suboptimal expert demonstrations.
Figure 2: BC Success rates in PMObstacle (top row) for 1000 and 10 episodes of data, and in Square (bottom row) for 200 and 50 episodes of data (error bars over 3 datasets). X-axis corresponds to injected Gaussian noise in the dataset and each line corresponds to injected system noise ( $\sigma_{s}$
Figure 2: BC Success rates in PMObstacle (top row) for 1000 and 10 episodes of data, and in Square (bottom row) for 200 and 50 episodes of data (error bars over 3 datasets). X-axis corresponds to injected Gaussian noise in the dataset and each line corresponds to injected system noise ( $\sigma_{s}$

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.