Abstract
The performance of imitation learning policies often hinges on the datasets with which they are trained. Consequently, investment in data collection for robotics has grown across both industrial and academic labs. However, despite the marked increase in the quantity of demonstrations collected, little work has sought to assess the quality of said data despite mounting evidence of its importance in other areas such as vision and language. In this work, we take a critical step towards addressing the data quality in robotics. Given a dataset of demonstrations, we aim to estimate the relative quality of individual demonstrations in terms of both action diversity and predictability. To do so, we estimate the average contribution of a trajectory towards the mutual information between states and actions in the entire dataset, which captures both the entropy of the marginal action distribution and the state-conditioned action entropy. Though commonly used mutual information estimators require vast amounts of data often beyond the scale available in robotics, we introduce a novel technique based on k-nearest neighbor estimates of mutual information on top of simple VAE embeddings of states and actions. Empirically, we demonstrate that our approach is able to partition demonstration datasets by quality according to human expert scores across a diverse set of benchmarks spanning simulation and real world environments. Moreover, training policies based on data filtered by our method leads to a 5-10% improvement in RoboMimic and better performance on real ALOHA and Franka setups.
Introduction
In the era of "Big Data" for robotics, researchers are collecting massive datasets of human demonstrations. However, more data isn't always better. Large-scale datasets (like DROID or RoboCrowd) often contain "noisy" demonstrations—jerky movements, suboptimal paths, or irrelevant "play" behavior—that can actually confuse a robot's imitation learning policy. While fields like Computer Vision and NLP have mature tools for data curation (like CLIP-based filtering), robotics lacks an automated way to assess the quality of continuous, high-dimensional state-action trajectories. Currently, researchers often rely on expensive human labels or simple heuristics that fail to capture the nuance of what makes a "good" demonstration.
Methods
The proposed framework, DemInf (Demonstration Information Estimation), treats Mutual Information (MI) between states ($S$) and actions ($A$) as a proxy for data quality. Mathematically, $I(S;A) = H(A) - H(A|S)$. High marginal entropy $H(A)$ ensures the dataset covers a wide range of actions, preventing policy collapse. Low conditional entropy $H(A|S)$ ensures that for a given state, the action is predictable and consistent—a hallmark of expert behavior.
To make MI estimation tractable for robotics datasets, which are often too small for standard neural estimators like InfoNCE, DemInf follows a three-step process:
- Representation Learning: It trains Variational Auto-Encoders (VAEs) to compress high-dimensional states (images/sensors) and actions into low-dimensional latent embeddings.
- Non-Parametric Estimation: It uses a $k$-nearest neighbor ($k$-NN) based estimator (specifically the KSG estimator) on these embeddings. This is more data-efficient and stable than neural MI estimators when dealing with thousands rather than millions of samples.
- Scoring & Filtering: It calculates the average contribution of each trajectory to the total MI of the dataset. Trajectories with the highest scores are kept for training.
Results
DemInf was evaluated across three distinct regimes: RoboMimic (simulation), Franka (real-world single-arm), and RoboCrowd (real-world ALOHA bimanual).
Key results include:
- Alignment with Humans: DemInf's scores showed a high correlation with ground-truth human quality labels, outperforming baselines like VIP (Value Implicit Pre-training) and ensemble-based uncertainty.
- Performance Gains: In RoboMimic, filtering data with DemInf led to a 5-10% improvement in success rates.
- Real-World Robustness: On the RoboCrowd ALOHA tasks, DemInf successfully filtered out irrelevant "play" data, allowing the robot to learn tasks that it failed to learn when trained on the full, noisy dataset.
- Efficiency: DemInf is completely unsupervised; it requires no reward functions or human success labels to identify the best data.
Conclusion
DemInf demonstrates that expert demonstrations are fundamentally more "predictable" from the state than novice ones. By using non-parametric $k$-NN estimators on latent embeddings, the framework provides a stable and unsupervised way to curate robotics data. While current limitations include temporal blindness and potential bias toward static states, DemInf challenges the "more is always better" dogma by showing that training on a high-quality subset often outperforms training on the entire noisy dataset. Future work will focus on incorporating temporal dynamics and extending the method to multi-task settings.
Summary updated