Robot Data Curation: Turning Raw Logs into Training Signal
Robot datasets rarely fail because they are too small. They fail because a large share of their episodes teach the wrong behavior, duplicate the same narrow condition, or carry labels that mean different things to different annotators. Curation, the disciplined process of filtering, deduplicating, rebalancing, and relabeling demonstrations, is what converts raw logs into training signal. For teams building embodied AI systems, the return on curation usually exceeds the return on simply collecting more hours. This article outlines a practical curation workflow and the checks that keep it honest.
Audit what you actually have
Begin with an inventory rather than a cleaning script. For each data source, record the robot platform, camera configuration, task family, operator or policy that generated the episodes, and the time window. Group episodes by task and by scenario. A dataset with 20,000 trajectories may contain only a few hundred genuinely distinct situations, repeated across slight lighting changes; knowing that early changes both collection priorities and evaluation design.
Look for failure modes that hide in aggregate metrics
Common problems include near-duplicate trajectories, episodes that end in unacknowledged failure, gripper or velocity logs that drift out of sync with video, and instructions that are inconsistent with the demonstrated action. Plot basic distributions: episode length, terminal state, object positions, and action magnitude. Spikes and suspiciously narrow clusters usually point to a specific collection session or operator, which makes remediation straightforward.
Filter with explicit, reviewable rules
Automated filters are useful only if their criteria can be explained and reversed. Write each rule as a predicate with a recorded rationale, and preserve the original episode ID when a rule rejects data.
- Reject trajectories with missing frames, timestamp gaps, or unreachable joint commands.
- Flag rather than delete episodes with long stalls or repeated recovery attempts; they may be valuable for failure-aware training.
- Deduplicate using trajectory similarity plus scene context, so two visually identical table setups are not automatically treated as one episode.
- Balance scenario coverage by down-sampling over-represented conditions instead of discarding rare ones.
The distinction between rejecting and flagging matters. A policy trained only on clean successes will fail the moment reality deviates, while a small, well-labeled set of recovery episodes can teach it how to exit a bad state. An annotator should never have to guess whether a stopped trajectory was intentional.
Fix label semantics before scaling annotation
Inconsistent labels are more damaging than missing ones. If one annotator calls a partial grasp a success and another calls it a failure, the model learns an arbitrary boundary. Run a calibration round where several annotators label the same sample of episodes, measure disagreement, and rewrite the guideline wherever it is ambiguous. Keep a small gold set with consensus labels and use it to monitor drift over time. EmboData treats this calibration step as part of dataset delivery rather than an optional quality exercise, because annotation drift compounds across large batches.
Measure the value of curation
Evaluate curation the way you would evaluate a model change: hold the test set fixed, train on the raw set and the curated set with identical settings, and compare task success across the same seeds. Report both mean performance and worst-case scenario performance; curation often improves the tail before it improves the average. If a filter produces no measurable change, its cost is unjustified. If it improves one scenario while degrading another, inspect what was removed rather than assuming the new set is universally better.
Keep curation continuous
Curation is not a one-time cleanup before training. New episodes arrive from new operators, lighting conditions, and product variants, and each batch can reintroduce the same problems. Schedule a short audit after every collection sprint, version the filter rules alongside the dataset, and document why each rule changed. More detail on dataset evaluation is available in our research articles, and teams that need external capacity can read about our services.