TL;DR
Training robots using human demonstrations often suffers from noisy, suboptimal, or failed data. This paper introduces Quality over Quantity (QoQ), a data curation framework that leverages influence functions to systematically select the most valuable demonstration trajectories based on their direct contribution to policy performance. By focusing on maximum validation influence and trajectory-level aggregation, QoQ significantly boosts robot learning success rates in both simulation and real-world manipulation tasks.
What Problem Does This Paper Address?
Imitation learning via Behavior Cloning (BC) has become a dominant paradigm for training robots. However, as datasets scale up, they increasingly rely on human teleoperation or "in-the-wild" collection, which inherently introduces human errors, suboptimal paths, and outright failures.
Traditional data curation is either manual and expensive, or relies on proxy metrics like feature similarity or mutual information. The core issue is that these proxies don't actually measure how much a specific piece of data helps the trained policy perform better. While influence functions can mathematically estimate a sample's impact on model performance, naively applying them to robotics yields highly noisy signals and selects redundant state-action pairs, leading to poor coverage of the robot's state space.
Methods
QoQ introduces a grounded approach to data curation by defining data quality as a training sample's direct contribution to reducing loss on a small validation set of desired behaviors.
To make influence functions work effectively for sequential robot data, the authors introduce two key techniques:
- Maximum Influence Scoring: Instead of averaging influence across all validation samples (which dilutes the signal because different task phases look irrelevant to one another), QoQ computes the maximum gradient similarity across validation samples. This pairs a training step with its most relevant validation counterpart.
- Trajectory-wise Curation: Filtering individual state-action pairs destroys temporal continuity and over-indexes on repetitive states (like holding a grasp). QoQ averages the influence scores across an entire trajectory and selects the top $N$ complete trajectories, ensuring diverse and robust state coverage.
To scale this to large models, QoQ implements efficiency strategies: it selectively computes gradients for specific network layers (like action heads) and utilizes OPORP (one-permutation one-random-projection) to compress gradient vectors without losing their dot-product relationships. Furthermore, if a clean validation set isn't available, QoQ can use initial policy rollouts—leveraging both successes and weighted failures—as a self-contained validation set.
Datasets
The authors evaluated QoQ across both simulated and physical environments:
- Robomimic Simulation: The "Can-paired" dataset, consisting of 100 successful and 100 failed trajectories of a Franka arm placing a Coke can into a bin.
- Real-Robot Datasets: Custom teleoperated datasets using a Franka Research 3 arm for three distinct tasks: banana grasping (60 success, 40 failure), multi-object pick-and-place (80 trajectories across peach, mango, snack, and gum), and cabinet opening.
- DROID Dataset: A large-scale, heterogeneous, "in-the-wild" robot dataset. The authors sampled 200 highly diverse pick-and-place trajectories of pens/pencils to test robustness against varying environments and viewpoints.
Key Insights and Ideas
- Direct Policy Impact > Feature Proxies: Standard retrieval methods get distracted by visual variations (like changing backgrounds or different objects). Because QoQ looks directly at gradient alignment, it filters data based on what the policy finds useful, rather than what a visual encoder finds similar.
- The "Max" Trick Isolates Task Phases: Robot tasks are multi-phase (e.g., reaching, grasping, lifting). A training sample that is excellent for grasping will have zero correlation with a validation sample showing a reaching phase. Averaging these out destroys the signal; taking the maximum isolates the exact moment the data becomes useful.
- Trajectories are Monolithic Units: Curation must happen at the trajectory level. Token- or step-level filtering breaks the behavioral chain required for robust imitation learning.
Key Results
QoQ consistently outperformed baseline data selection methods (such as Behavior Retrieval and Flow Retrieval) across all setups:
- Simulation: In the Robomimic task, QoQ achieved a 99.4% curation accuracy and a 99.2% policy success rate, compared to the best baseline's 76.0%.
- Real-Robot Banana Grasping: Policies trained on QoQ-curated data achieved an 86.7% success rate, substantially outperforming the best baseline (56.7%) and training on all uncurated data (36.7%).
- Multi-Object Cross-Curation: When using validation data from a banana task to curate useful trajectories from a dataset containing entirely different objects, QoQ achieved a 93.3% success rate, whereas Behavior Retrieval collapsed to 20.0%.
- In-the-Wild Robustness: On the highly diverse DROID dataset, QoQ maintained a 78.2% curation accuracy, proving its capability to parse complex, real-world data distributions.
Limitations and Future Work
Despite its strong performance, the authors note a few limitations:
- Coarse Granularity: Trajectory-level curation is an all-or-nothing approach. If a trajectory contains a brilliant recovery but ends in a minor failure, the whole sequence might be discarded. Finer-grained, sub-trajectory curation is a clear next step.
- Computational Overhead: Calculating influence functions, even with first-order approximations and layer restrictions, remains computationally expensive for massive foundation models.
- Shared Embodiments: The current framework assumes that the validation data and training data share the same robot embodiment. Extending QoQ to cross-embodiment datasets (e.g., training a humanoid using arm data) remains an open challenge.
Summary updated