Abstract
Imitation Learning (IL) is a powerful paradigm for teaching robots complex tasks through expert demonstrations. However, its effectiveness is often limited by distribution shift—the compounding of small errors that lead the agent into unfamiliar states. While research has traditionally focused on algorithmic solutions, this paper shifts the focus toward a data-centric approach. We formalize "data quality" by identifying two primary drivers of performance: action divergence and transition diversity. Our findings reveal a "diversity paradox": while state diversity is often prioritized, it can degrade performance if it increases action inconsistency. We provide a theoretical framework and empirical evidence across multiple robotics benchmarks to demonstrate how data curation can mitigate distribution shift.
Introduction
In the field of robotics, Imitation Learning allows agents to acquire skills by mimicking human or scripted experts. Despite its successes, IL faces a fundamental challenge known as the "Achilles' heel" of the field: distribution shift. When a robot deviates slightly from the expert's path, it encounters states not represented in its training data. Without guidance on how to recover, these errors accumulate, leading to total task failure.
Historically, researchers have addressed this through interactive algorithms like DAgger or by simply increasing the volume of data. However, in robotics, data collection is often expensive and time-consuming. This paper asks a more fundamental question: What makes a dataset "high quality"? By moving beyond the "more is better" mantra, we aim to provide a mathematical and empirical framework to measure and optimize data for robust imitation.
Formalizing Data Quality
We define data quality as the negative distribution shift of a learned policy. To make this concept actionable, we decompose it into two fundamental properties:
- Action Divergence: This measures the mismatch between the expert's actions and the learned policy's actions at specific states. High divergence typically arises from inconsistent demonstrations (where the expert does different things in the same situation) or limited model capacity.
- Transition Diversity: This refers to the inherent variability or noise in the environment's dynamics. It determines how the state distribution expands over time.
Through Theorem 4.1, we establish a theoretical lower bound showing that distribution shift is directly constrained by action divergence over the visited states. Furthermore, we analyze how system noise influences the probability of "covering" the state space effectively.
Experimental Methodology
To test these concepts, we utilized several standard robotics benchmarks, including PMObstacle (a 2D point mass task) and the Square and Can tasks from the Robomimic suite. Our approach was twofold:
- Controlled Noising: We took perfect scripted policies and systematically injected noise into the system (transition diversity) and the policy (action divergence). This allowed us to observe how success rates fluctuated across different dataset sizes and noise levels.
- Human Data Analysis: We applied empirical metrics—Action Variance and State Similarity—to existing human-generated datasets (the "Proficient Human" and "Multi-Human" sets) to determine if these metrics could predict actual robot performance.
The Diversity Paradox and the Role of Noise
Our experiments yielded several counter-intuitive insights regarding data diversity:
The Diversity Paradox
It is a common assumption that more diverse data leads to better generalization. However, we found that state diversity is not a universal good. If increasing diversity makes the expert's actions harder to learn (thereby increasing action divergence), the robot's performance actually drops. Consistency in action is often more valuable than breadth of state coverage.
System Noise as a Regularizer
Interestingly, a moderate amount of system noise (transition diversity) can act as a regularizer. By forcing the expert to visit a wider variety of states during data collection, it provides the model with the necessary "recovery data" to handle evaluation-time perturbations. This benefit is most pronounced in high-data regimes where the model has enough samples to capture the underlying patterns.
The "Thin Coverage" Limit
There is a critical threshold for noise. In the Square task, for instance, increasing transition diversity helped up to a specific point ($σ_s = 0.3$). Beyond this, performance plummeted. We call this the "thin coverage" limit: when noise is too high, the data becomes too sparse for the model to learn meaningful transitions, as predicted by Theorem 4.3.
Results and Human Data Insights
In the PMObstacle environment, adding system noise during training significantly bolstered success rates, making policies more robust. Conversely, adding even small amounts of policy noise (action divergence) was far more damaging than system noise, particularly when data was scarce.
When analyzing human datasets, our "Action Variance" metric successfully identified lower-quality data. In the Square task, the "Proficient Human" dataset (58% success rate) showed significantly lower action variance than the "Worse" dataset. While some human datasets exhibit multi-modal behavior that simple variance metrics might miss, the correlation between action consistency and task success remained a dominant trend.
Conclusion and Future Work
This research demonstrates that data quality in Imitation Learning is a delicate balance between consistency and coverage. While some environmental noise can help a model generalize, action inconsistency is a primary driver of failure.
Future work will focus on refining metrics for multi-modal behavior and developing automated curation tools. By identifying and filtering low-quality transitions in raw datasets, we can move toward more efficient and reliable robotic learning without the need for infinite data.
Summary updated