Data Quality and Dataset Curation
A small amount of high-quality data can outperform a large amount of noisy data. Quantity cannot compensate for poor quality or missing coverage.
Why More Data Is Not Automatically Better
What do you think happens?
A team has collected one million training examples, but nearly all of them look alike. Will a model trained on this dataset handle the wide range of situations it will meet after deployment?
Reveal answer
No. The model will likely have gaps in the situations it can handle.
Quantity is only one of the three core dataset criteria. A million examples that all look alike leave gaps the model never learns to fill. Coverage determines whether a large dataset is actually useful.
Discussions about training data often focus on how much data a model sees. This article argues that the amount is only part of the picture. Building a training dataset is shaped by what you want the model to do and by the training phase the model is in, and the quality of the data matters as much as its size. The sections that follow trace how a dataset is designed, how the three core criteria interact, how synthetic data enters the process, and what a data flywheel can and cannot promise.
Starting From Target Behaviors
Building a training dataset can feel like a mysterious craft, but the underlying logic is direct. You begin by deciding what behaviors you want the model to learn. Then you design a dataset that demonstrates those behaviors. The data you need is shaped by two things at once: your use case and the training phase the model is in. Pre-training draws on different data than instruction finetuning or preference finetuning does.
- 1Decide the behaviors the model should learn for your use case
- 2Identify which training phase the model is in, since each phase draws on different data
- 3Select or create data that demonstrates each target behavior
- 4Evaluate the chosen data against the three core criteria before training
The order matters. Data choices come after the behavior decision, not before it. A team that starts by collecting whatever data is easy to get has no clear test for whether the data teaches anything useful.
The Three Core Criteria
Dataset design across all training phases rests on the same three criteria: quality, coverage, and quantity. Quantity receives most of the attention in discussions about training, but the other two matter just as much.
Quality means that a dataset's examples are accurate and useful for the behavior you are trying to teach.
Coverage means that the dataset includes the range of situations the model will need to handle.
Quantity is how much data the model sees.
The three criteria are not independent. Coverage determines whether a large dataset is useful at all, because a million examples that all look alike leave gaps the model never learns to fill. Quality determines whether the quantity you collect helps or hurts, because noisy examples add volume without adding correct behavior. Teams have also found that increasing the diversity of their datasets is a key way to improve model performance. Diversity sits at the intersection of coverage and quality, since a varied set of examples only helps if each example is also correct.
A small amount of high-quality data can outperform a large amount of noisy data. Quantity cannot compensate for poor quality or missing coverage.
Coverage Versus Quantity in Practice
Consider two candidate training datasets. The first is very large but spans only a few behaviors. The second is much smaller but includes many different situations. The comparison below shows why the second may be the more useful dataset, even though it contains less data.
| Feature | Large dataset, narrow coverage | Smaller dataset, broad coverage |
|---|---|---|
| Number of examples | Very high | Modest |
| Situations represented | Few, repeated many times | Many different situations |
| Gaps in what the model learns | Many, because similar examples leave the rest unlearned | Fewer, because the range is included |
| Main risk | Model handles only the familiar cases | Each situation has fewer examples to learn from |
| Useful question to ask | Does this data show the behaviors I need? | Does each included situation have correct examples? |
Coverage and quantity pull in different directions, and the best dataset balances them with quality.
Why Synthetic Data Became Practical
Because acquiring high-quality data is difficult, many teams have turned to synthetic data. Synthetic data is programmatically generated to supplement real data. The source explains that the difficulty comes from steps that resist automation. Annotating data is hard, but writing annotation guidelines is harder. Generating data can be automated to some degree, but verifying that the generated data is correct is harder still. The judgment about what data you want, and attention to details, cannot be handed off to a tool.
The practical appeal is that generation can be automated in ways that collection and annotation cannot. A process that produces candidate examples quickly can supplement real data at a scale that manual work would struggle to reach. The source is careful to add that this does not remove the need for careful thinking. Synthetic data changes where the effort goes. Much of the effort moves from producing raw examples to deciding what is wanted and checking what was produced.
Generating content from rules and algorithms predates modern AI. Minecraft and No Man's Sky use noise functions and fractal algorithms to create vast, immersive worlds. In Dungeons and Dragons, procedural generation can produce random dungeons, quests, and encounters. These examples show the appeal of generation: a small set of rules can produce far more content than a designer could write by hand. Synthetic training data aims at a similar gain, but the generated content must serve a training goal, which is why evaluation matters so much.
Checks Generated Data Must Pass
The source is firm on one point: synthetic data must be evaluated to ensure its quality before it is used to train models. This applies to generated data in the same way it applies to real data. A generated example can be wrong, off-topic, or unrepresentative, and training on it can teach the model those flaws. The diagram traces the path a generated example takes. Real data remains the starting point, and the generated portion does not enter training directly.
Tracing one generated example through the checks
A team generates a batch of question and answer pairs to teach a model a specific behavior. One generated pair has a plausible-looking answer that is factually wrong. What happens to it?
- 1Creation
The example is produced by the generation process, based on the training goal the team set.
- 2Correctness check
The answer is checked for accuracy. It is wrong, so the example fails at this first checkpoint.
- 3Decision
Because it failed, it is rejected or sent back for regeneration. It does not enter training directly, even though generation produced it.
- 4Why the other checks still matter
An example that is accurate but off-topic, or accurate but unrepresentative, would also be stopped at its own checkpoint. Passing one check does not mean the example has passed all of them.
The wrong answer never reaches training. Without the correctness check, training on it could teach the model that flawed answer.
Common mistake Generating large amounts of data before deciding how to judge it
Why it failsIf you cannot evaluate the output, you cannot be confident the generation process is helping.
Do this insteadDecide how you will judge each piece of generated data before you generate at scale.
Common mistake Assuming synthetic data needs less careful thinking than real data
Why it failsSynthetic data does not remove the need for careful thinking. It changes where the effort goes.
Do this insteadPut effort into deciding what is wanted and into verifying what was produced.
Common mistake Treating generated examples as correct because a tool produced them
The Data Flywheel and Its Conditions
A data flywheel describes a model that continually improves upon itself. The source notes that the implication of using synthetic data is that, in theory, it is possible to train a model that keeps improving this way. Each round of improvement produces material for the next round, so progress builds on itself. The loop is attractive, but the source is careful about whether it works in practice. The flywheel depends on the quality of what the model feeds back into itself.
The loop works only when the feedback it carries is reliable. The source offers a case where feedback clearly helped. In one reported study, about 20 percent of solutions were initially incorrect but self-corrected, which indicated that the model learned from execution feedback and improved its performance. Here the feedback came from running the code, a signal that reliably separated good output from bad.
A team sets up a flywheel that feeds model outputs back into training. Name the two conditions that must hold for each round to improve the model rather than reinforce mistakes. Then say which step in the loop should be checked first.
Hints
- Think about the quality of what is fed back, and whether the signal reliably separates good output from bad.
- The check happens at the point where feedback enters the loop, before it becomes training data.
Summary of Dataset Curation Principles
- 1Design a dataset by first deciding the behaviors the model should learn, then choosing data that demonstrates them.
- 2Quality, coverage, and quantity are the three core criteria. They are not independent, and a large amount of data cannot compensate for poor quality or missing coverage.
- 3Synthetic data is programmatically generated to supplement real data and must be evaluated for accuracy, relevance, and representativeness before training.
- 4The data flywheel can in theory keep improving a model, but it works in practice only when the feedback it carries is reliable, since errors fed back into the loop are reinforced.
At a glance
- Dataset design starts from the behaviors the model should learn, and the use case and training phase shape the data needed.
- Quality, coverage, and quantity are the three core criteria, and a small amount of high-quality data can outperform a large amount of noisy data.
- Synthetic data supplements real data and must be evaluated for quality before training, because generated examples can be wrong, off-topic, or unrepresentative.
- The data flywheel can in theory keep improving a model, but it depends on reliable feedback, since feedback that carries errors can reinforce them.