Data Curation for Visual and Physical AI: Duplicates, Label Errors, Balance, and Training Subsets
Nov 21, 2026
• 15 min read
In this article
What is data curation?At a glanceData curation tutorials and guides from the Voxel51 blogCore concepts in data curationHow do you curate a dataset?Step 1: Which samples or episodes are broken?Step 2: How do you find duplicate and near-duplicate data?Step 3: What is overrepresented, underrepresented, or missing?Step 4: How do you find mislabeled data?Step 5: How do you choose a training subset?How do you know if data curation helped?Curating robot and multimodal episodes: what's different?What changes once you have a model?Data curation across physical AITry data curation in your browser
In this article
What is data curation?At a glanceData curation tutorials and guides from the Voxel51 blogCore concepts in data curationHow do you curate a dataset?Step 1: Which samples or episodes are broken?Step 2: How do you find duplicate and near-duplicate data?Step 3: What is overrepresented, underrepresented, or missing?Step 4: How do you find mislabeled data?Step 5: How do you choose a training subset?How do you know if data curation helped?Curating robot and multimodal episodes: what's different?What changes once you have a model?Data curation across physical AITry data curation in your browser
Try Voxel51 for yourself
Data curation decides which data a model gets to learn from: what to keep, what to fix, what to label, and what to leave out. This guide covers data curation for visual and physical AI, from images to video to robot episodes. It walks through the five checks most teams run, in the order that keeps each check's numbers reliable, and shows how to tell whether curation helped.
What is data curation?
Data curation is the practice of deliberately selecting, cleaning, and organizing the data a model is trained and evaluated on, instead of using everything that was collected. It sits between collection and training. It overlaps with data cleaning, which fixes broken records, and with data annotation, which adds labels, but its central question is different: of everything we have, what should the model see?
For visual and physical AI, the answer is harder to reach. Video frames and sensor logs are sequences, so a large share of any dataset is near-identical neighbors of itself. Robot demonstrations can play back smoothly and still teach the wrong behavior. Datasets pooled from many contributors differ in camera placement, lighting, and naming in ways a loader never notices. And the rare conditions that cause failures are a small share of the data, which makes them easy to average away.
Curation works best as a short sequence of checks, each feeding the next: find what is broken, remove redundancy, measure balance and coverage, find label errors, and then choose the subset to train on. The diagram below summarizes the sequence, and the rest of this guide follows it.
Related: data curation (glossary), physical AI data curation, multimodal data curation, Voxel51 Data Curation
At a glance
- Data curation decides what a model trains on. Done well, it lets a team train on less data and get a better model, because redundant, broken, and mislabeled samples stop competing with the ones that matter.
- Run the checks in order: integrity, duplicates, balance and coverage, label errors, then subset selection. Each step changes the numbers the next step relies on.
- Video, driving logs, and robot episodes are sequential, so deduplicate and split at the episode, drive, or window level, not frame by frame.
- Every curation decision needs a before-and-after check on a fixed held-out set.
Data curation tutorials and guides from the Voxel51 blog
These posts show the checks in this guide on real datasets. Each section below links to more.
- Five problems hiding in 383 robot episodes: aborted takes, duplicate demonstrations, hidden task variation, and bystanders, each found with a different tool.
- Curation metrics for LeRobot datasets: what each episode metric measures, when to trust it, and how to rank thousands of episodes.
- Smooth isn't the same as correct: triaging robot episode quality with motion smoothness, sensor health, and outlier scores.
- Everyone is scoring robot data, nobody is looking at it: why quality scores need a verification loop.
- A CropAndWeed walkthrough: class imbalance, near-duplicates, and broken labels in an agriculture dataset, with the Voxel51 Agent.
- Eliminate image duplicates: finding exact and approximate duplicate images.
- Zero-shot coreset selection with ZCore: choosing a representative subset without labels or training.
- Curate first, annotate smarter: why curation before annotation lowers labeling cost.
- Explore L2D in Voxel51: how 750 driving episodes turn out to be 15 drives.
Core concepts in data curation
These six terms anchor the rest of this guide. Others are defined where they come up.
- Near-duplicate detection: finding samples that are identical or nearly identical, such as the same scene resaved or the next frame of a video.
- Class imbalance: a skewed distribution of labels, where a few classes dominate and others have only a handful of examples.
- Label noise: wrong, missing, or inconsistent labels in training or evaluation data.
- Outlier detection: finding samples that sit far from the rest of the data, which may be errors or may be rare cases worth keeping.
- Coreset selection: choosing a small, representative subset that approximates the full dataset.
- Data slice: a subset of data defined by a condition, such as night scenes or one robot type, measured on its own.
How do you curate a dataset?
Most curation work fits five checks. The order matters, because each step changes what the next one measures. Embeddings computed on corrupt files produce misleading neighbors, class counts taken before deduplication overcount whatever was recorded most, and a training subset chosen before label errors are fixed inherits them.
- Integrity: find samples and episodes that are broken or mislabeled at the metadata level.
- Duplicates: find exact and near-duplicate samples, and redundant stretches of recordings.
- Balance and coverage: measure what is overrepresented, underrepresented, and missing.
- Label errors: find labels that are wrong, missing, or inconsistent.
- Subset selection: choose what to train on, and save the choice so it can be reproduced.
| Check | What it finds | Signals | What it costs |
|---|---|---|---|
| Integrity | Truncated episodes, missing streams, corrupt files, aborted takes, wrong task text | Metadata filters, durations, frame counts, image quality scores | Cheap. Mostly filters and counts. |
| Duplicates | Byte-identical files, near-identical frames, overlapping clips, repeated demonstrations | File hashes, embedding distance | Moderate. One embedding pass, then nearest-neighbor search. |
| Balance and coverage | Dominant classes, rare conditions, missing scenarios, clusters by contributor | Label counts, metadata histograms, embedding plots, search | Moderate. Needs human judgment on what should be there. |
| Label errors | Wrong classes, missed objects, loose boxes, task text that doesn't match the episode | Model disagreement, per-class embedding outliers, annotation review | Higher. Needs a model or reviewer time per flagged sample. |
| Subset selection | The smallest set that trains the best model | Diversity, representativeness, quality scores, model-based scores | Varies. Cheap for random or stratified, expensive for model-based. |
Step 1: Which samples or episodes are broken?
Start with what doesn't need a model to find. For images, that means corrupt files, extreme brightness or blur, odd aspect ratios, and samples with almost no visual information. In Voxel51, the Data Quality panel scans a dataset for brightness, blurriness, aspect ratio, entropy, near duplicates, and exact duplicates, and counts flagged samples as potential issues, in review, and reviewed.
Robot episodes and sensor logs break in different ways: one-frame episodes from a recording that started and stopped, missing camera streams, idle frames padding the start and end, and task strings that don't match what happened. In Voxel51's check of 383 LeRobot episodes pooled from seven community datasets, six episodes were aborted takes of 1 to 141 frames, and the set used ten different task strings. Sorting by duration and opening the list of task values surfaced both.
Automated quality scores help rank where to look, but they are not verdicts. Motion smoothness, sensor health, and outlier scores flag episodes that are unusual, and unusual is not the same as bad. As Voxel51's episode quality triage post puts it, smooth isn't the same as correct: a teleoperator can produce a smooth demonstration of the wrong grasp. Use the scores to build a review queue, then look.
Step 2: How do you find duplicate and near-duplicate data?
Exact duplicates are byte-identical files, and a file hash finds them. Near-duplicates are the bigger problem: the same scene resaved, lightly cropped, or captured a fraction of a second later. They are found by computing an embedding for each sample and flagging pairs whose distance falls below a threshold.
Duplicates cost a team in three ways. They waste labeling budget, they overweight whatever was recorded most, and when copies land on both sides of a train and test split they inflate evaluation scores. The model evaluation guide covers that leakage in detail.
Removing redundancy can cut a dataset sharply without hurting the model. SemDeDup, which removes semantic near-duplicates using pretrained embeddings, removed 50% of a LAION subset with minimal performance loss and roughly halved training time (Abbas et al., 2023). That result is for CLIP training on web-scale image and text pairs. It shows how much redundancy large datasets can hold, not a ratio to apply to every dataset.
Sequential data has its own kind of redundancy. In the 750-episode slice of Yaak's L2D driving dataset in Voxel51, every episode shares footage with at least one other episode. The slice holds 341.6 minutes of clips but only 182.8 minutes of unique driving, from 15 drives on 13 cars (Explore L2D in Voxel51). Overlapping windows are a reasonable design for training. They only cause trouble when episodes are counted or split as if each one stood alone.
Three choices decide whether deduplication helps or hurts:
- The embedding model. A model trained on web photos may treat two wrist-camera frames with different gripper states as identical. Spot-check flagged pairs before removing anything, and prefer a model that has seen data like yours.
- The threshold. Start strict, review a sample of the pairs near the cutoff, and loosen it only while the pairs still look redundant. There is no universal distance.
- The unit. For policies and video models that learn from sequences, don't drop individual frames from inside an episode, which breaks the sequence. Deduplicate whole episodes, clips, or windows. For per-frame image models, subsampling frames is fine. In both cases, split by drive, session, or scene.
See also image deduplication on the Voxel51 blog.
What near-duplicate demonstrations look like
Community robot datasets often contain the same demonstration recorded twice, or the same object layout repeated across dozens of episodes. A policy trained on them sees one setup many times and the rest rarely.
SO-100 and SO-101 Tabletop · 383 episodes · LeRobot tabletop manipulation episodes pooled from seven community datasets, with embeddings and saved views of quality problems.
Try this: open the near-duplicate view and check whether the closest pairs share an object layout.
Free with a work or .edu email.
Step 3: What is overrepresented, underrepresented, or missing?
Balance is about counts. Coverage is about whether the conditions a model will face appear in the data at all. Both need checking, and they need different tools.
Class and label balance starts with a histogram, and the histogram often needs a second look. In Voxel51's CropAndWeed walkthrough, the label chart showed a catch-all "Vegetation" class at 33,000 instances and several weed species at 1. The species-level imbalance, with the catch-all set aside, was still more than 12,000 to 1. Check what is inside the biggest bucket before planning a rebalancing strategy around it.
Scenario balance asks the same question of conditions instead of labels: time of day, weather, camera, robot type, operator, task, and site. Metadata histograms answer it when the metadata exists and is accurate. Often it is neither. In the L2D slice, precipitation is zero for every episode, while plain-language search turns up damp roads and construction zones that no field records (Explore L2D in Voxel51). The multimodal search guide covers how to find what metadata misses.
Coverage gaps are easiest to see in an embedding plot. Clusters show what the data contains, empty regions and thin clusters show what it lacks, and clusters that sort by contributor or camera rather than by task are a warning that a model may learn the setup before it learns the task. Search and similarity search then confirm whether a gap is real.
For robot learning, balance also applies to the mix of datasets in a training run. Re-Mix learned weights for the datasets in a robot pretraining mixture and outperformed uniform weights by 38% on average, and human-selected weights by 32%, on Open X-Embodiment datasets used to train RT-X models (Hejna et al., 2024). How much of each source a model sees is a curation decision, whether or not anyone makes it on purpose.
Step 4: How do you find mislabeled data?
Relabeling everything is rarely affordable, so the goal is a short, ranked list of the labels most likely to be wrong. Three signals produce that list:
- Model disagreement. When a trained model confidently predicts something other than the label, either the model or the label is wrong. Confident learning formalizes this by estimating which labels are likely errors from a model's predicted probabilities (Northcutt, Jiang, and Chuang, 2021). High-confidence false positives and false negatives from an evaluation run are the practical version.
- Outliers within a class. A sample that sits far from the rest of its labeled class in embedding space is often mislabeled, or a rare variant worth a second look.
- Annotation review. Spot checks, agreement between annotators, and review queues catch what the first two miss. The data annotation guide covers QA workflows.
Label errors are common even in well-known benchmarks: one study estimated an average of at least 3.3% label errors across 10 widely used test sets (Northcutt, Athalye, and Mueller, 2021). The model evaluation guide covers what they do to test scores.
Robot data adds labels that aren't boxes. Task text is a label, and so is a success flag. In the SO-100 and SO-101 Tabletop check, one task string, "pick-place-cube", covered episodes with five different cube colors, so a policy conditioned on that text had no way to know which cube to pick (Five problems hiding in 383 robot episodes). Comparing task text against what the episode shows is label review for robot learning.
Once a label error is confirmed, fix it in place, then route patterns of errors back to annotation so the guidelines change, not only the labels.
Step 5: How do you choose a training subset?
With broken, redundant, and mislabeled data handled, the last step is choosing what to train on. The options run from simple to expensive:
- Random sampling keeps the dataset's existing distribution, including its imbalances. It is the baseline every other method should beat.
- Stratified sampling caps or guarantees counts per class, condition, or source, using the balance numbers from step 3.
- Diversity and coreset selection picks samples that cover the embedding space, dropping redundant ones. Voxel51's open source ZCore method does this zero-shot, with no labels or training, and the ZCore post walks through pruning a robot dataset by 95%.
- Quality-weighted selection ranks samples or episodes by the scores from steps 1 and 4, then keeps the best. For robot demonstrations, research ties dataset quality to measurable properties, such as action divergence, the mismatch between the learned and expert policy at a given state, and transition diversity, the noise in the system for a given state and action. The same work shows that more state diversity is not always better (Belkhale et al., 2023), and scores such as mutual information between states and actions can rank demonstrations by quality (Hejna et al., 2025).
Pruning can do better than adding more data, under conditions. Sorscher et al. showed, in theory and in experiments on CIFAR-10, SVHN, and ImageNet, that a good pruning metric can beat power-law scaling. They also found that most of the ten metrics they benchmarked on ImageNet scaled poorly, and they introduced a cheap self-supervised metric that was comparable to the best supervised ones (Sorscher et al., 2022). In their analysis, the best strategy depends on how much data there is: with little data, keeping the easy examples works better, and with a lot, keeping the hard ones does. Aggressive pruning can also remove the rare classes a team cares about most, so check per-class results, not only the overall score.
The same selection methods decide what to send to annotation, before anything is labeled. The curate first, annotate smarter post covers why that lowers labeling cost.
Whatever the method, save the selection as a named, versioned subset or view, with the criteria that produced it, so the training set can be recreated and debugged.
How do you know if data curation helped?
Every curation decision is a hypothesis about the model. Test it the same way each time:
- Freeze a held-out evaluation set before curating. Deduplicate it against the training data and check its labels, but don't prune it with the training data's selection criteria.
- Train on the curated set and on a baseline, such as a random sample of the same size or the full dataset.
- Compare overall metrics and per-slice metrics, especially the rare classes and conditions that pruning or rebalancing touched.
- For robot policies, compare success rates with enough rollouts to separate the results. The model evaluation guide covers confidence intervals on small rollout counts.
A curated set that matches the full set on a third of the data is a win. One that loses on a slice the product depends on is not, even if the overall number went up.
Curating robot and multimodal episodes: what's different?
Physical AI data arrives as episodes and recordings, not loose images, and that changes how each check works.
- Curate at the right level. Some problems live at the episode level (an aborted take), some at the segment level (a two-second slip inside a long recording), and some at the frame level (a blurred camera). Tools need to score and search at all three.
- Check the signals, not only the pixels. Joint states, commanded actions, and gripper values show problems no camera does, such as an operator fighting the grasp or a large gap between commanded and measured position. Voxel51's LeRobot curation metrics post covers nine families of episode metrics.
- Pooled data needs consistency checks. The LeRobot Community demo dataset in Voxel51 holds 2,378 episodes from 117 community datasets. Pooling makes a large training mix easy. It doesn't make camera placement, task text, or recording rate consistent.
- Mark moments, not only episodes. Temporal tags let a reviewer mark the exact stretch of a recording that is wrong, so the rest of the episode isn't thrown away with it.
What changes once you have a model?
The checks above are one pass over a dataset a team already has. Once a model is trained and deployed, its failures and uncertainty become the strongest signal for what to fix next, and curation turns into a loop repeated every round: mine the failures, select what to label or collect, retrain, and check the fix. Some of the most effective selection methods only work inside that loop. CUPID, for example, ranks robot demonstrations by their estimated influence on a policy's closed-loop success, which requires a trained policy and evaluation rollouts (Agia et al., 2025). The data flywheel guide covers that loop.
Data curation across physical AI
The checks are the same across domains. What changes is the unit of data and the failure that matters most.
Robotics
Robot learning datasets are small and often pooled from many sources, so a few bad demonstrations can change what a policy learns.
Explore: five problems hiding in 383 robot episodes, everyone is scoring robot data, nobody is looking at it, LeRobot guide
Autonomous driving
Driving data is the opposite: large and redundant, with few examples of the rare scenarios that decide safety.
Explore: autonomous vehicle data guide, autonomous driving data curation, the long tail of autonomous driving
Agriculture
Field imagery is shot in bursts and dominated by a few common species, so near-duplicates and extreme imbalance arrive together.
Explore: CropAndWeed walkthrough
Synthetic data
Generated data inherits the strengths and flaws of the real seeds it starts from, so seed curation comes first.
Explore: synthetic data is a curation problem
Try data curation in your browser
You can run the checks in this guide on a real robot dataset without writing code. In the free tier of Voxel51, you can:
- Open the Explore page and add SO-100 and SO-101 Tabletop, 383 LeRobot episodes with embeddings and saved views. Each dataset you add uses one of three free dataset slots.
- Open the "Episodes under 5 seconds" saved view to see the aborted takes, and sort by duration to check the rest.
- Open the "Near-duplicate episodes (sorting)" view and compare the closest pairs.
- Open the Embeddings panel and look for clusters that group by source dataset instead of by task.
- Search in plain language for "a person visible in the background", then tag the episodes you'd drop.
Sign up with a work or .edu email, then start with the SO-100 and SO-101 Tabletop demo. The post on five problems hiding in 383 robot episodes walks through each view, and Try Voxel51 free covers what the free tier includes.

Director of Growth
Jesse Mostipak is the Director of Growth at Voxel51, where the work is helping humans find and trust what the brand knows, and teaching the Google knowledge graph and the LLMs answering on their behalf to do the same. That question, how knowledge gets built inside a system, is one Jesse has been chasing for years. Earlier versions of it ran through a New York City high school science classroom, data science and machine learning, and developer relations at Kaggle, Posit (formerly RStudio), and Baseten. The answer doesn't change much depending on whether the learner is a teenager, a software engineer, or a knowledge graph. Jesse holds a Master's in Education from CUNY Hunter College. LinkedIn
See all articles by Jesse Mostipak
Try Voxel51 for yourself
Frequently asked questions about data curation
Data curation in machine learning is the practice of deciding which data a model is trained and evaluated on: removing broken and redundant samples, fixing label errors, checking balance and coverage, and choosing a training subset. The goal is a dataset that trains a better model, often with less data than was collected.
Data cleaning fixes or removes broken records, such as corrupt files or invalid values. Data curation includes cleaning, but also decides what to keep among valid data: which near-duplicates to drop, which rare cases to add, and which subset to train on.
Exact duplicates can be found with file hashes. Near-duplicates are found by computing embeddings and flagging pairs closer than a threshold, then reviewing the flagged pairs. For video and robot data, compare whole clips, episodes, or windows, and split by drive or session so overlapping recordings don't end up on both sides of a split.
Rank samples by how likely their labels are to be wrong: confident disagreements between a model and the label, samples that sit far from the rest of their class in embedding space, and items flagged in annotation review. Then review the top of that list and fix confirmed errors in place.
It depends on how redundant the data is and what the model needs. One study on web-scale image and text data removed half the data with little loss (SemDeDup), but rare classes can suffer under aggressive pruning. Compare the curated set against a same-size random baseline on a fixed held-out set, overall and per slice.
Remove broken and aborted episodes, deduplicate repeated demonstrations at the episode level, check that task text matches what each episode shows, look for clusters that sort by contributor or setup instead of task, and review episodes flagged by motion and gripper metrics before dropping them. The VLA fine-tuning guide has a pre-training checklist.