Synthetic Data Generation
Dataset design rests on three core criteria that apply across training phases: quality, coverage, and quantity.
Two Training Sets Compared
Building the data for a model can feel like a vast, messy task. Yet the reasoning behind it is simpler than it first appears. Synthetic data generation is one way to produce that data, and it is practical for many use cases. But generating data is only the first step, and the way you judge that data matters as much as how you made it. This article follows one dataset through a short sequence of checks, so you can see how the three core criteria of dataset design work in practice.
What do you think happens?
Imagine two candidate training sets for the same model. The first is very large but full of errors, inconsistent labels, and off-topic entries. The second is much smaller, but each example has been carefully checked. Which set would you expect to produce the better model, and why?
Reveal answer
The smaller carefully checked set, because a small amount of high-quality data can outperform a large amount of noisy data.
Quantity alone is not enough. Errors, inconsistent labels, and off-topic entries reduce what a model can learn from, so a large noisy set can be less useful than a small clean one.
Designing Data Backward From Behavior
A useful way to begin is to ask what you want the model to be able to do. Once you have that answer, you build a collection of examples that demonstrates exactly that behavior. In other words, the dataset is designed backward from the behavior you want, not forward from whatever files happen to be available.
This reversal changes how you think about the work. A common shortcut is to gather whatever material is at hand and hope it contains what the model needs. Designing backward starts from the target behavior and asks what examples would show it. Dataset creation is therefore both a technical question about what the model should learn and an organizational question about who is responsible for gathering and checking the material. The source notes that teams now create dedicated data roles whose job is to acquire suitable datasets while protecting privacy and meeting compliance requirements.
Start from the behavior you want the model to show, then build examples that demonstrate it. Do not start from the files you happen to have.
The Three Core Criteria
Dataset design rests on three core criteria: quality, coverage, and quantity. These criteria apply across training phases. Each one answers a different question about the same collection of examples. The diagram below shows how the three criteria relate to one another and to the dataset as a whole.
Why Quantity Alone Misleads
The three criteria are not independent checkboxes. High-quality data with sufficient coverage matters as much as how much data you have. A small amount of high-quality data can outperform a large amount of noisy data, so quantity alone is not enough. Treating quantity as the only headline measure leads teams to overlook quality and coverage.
Tracing One Dataset Through the Criteria
Judging a candidate dataset
A team has 50,000 generated examples meant to teach a model to answer customer questions about a software product. Judge the dataset against quality, coverage, and quantity before deciding whether to train on it.
- 1Check quality first
Sample individual examples and ask whether each one is correct, consistent, and on-topic. Suppose the sample reveals many answers that contradict the product documentation. Quality is poor, and the size of the set does not fix that.
- 2Check coverage next
Ask whether the examples span the situations customers actually raise. Suppose nearly all examples cover installation questions, and billing or error-message questions are almost absent. Coverage is narrow, even though the total count looks impressive.
- 3Check quantity last
Count what is available. 50,000 examples is a large number, so quantity looks strong on its own. Yet the first two checks show that quantity is the criterion that looks best while the others fail.
- 4Decide what to do
A reasonable decision is to repair the flawed examples and add coverage for missing topics before training. Adding more examples of the same narrow kind would not address the quality and coverage gaps.
The large count does not make the dataset ready. Quality and coverage must be judged alongside quantity, and the weakest criterion determines what work comes next.
How Training Phases Change Data Needs
The data you need depends on more than your application. It also depends on the training phase. Three phases are named: pre-training, instruction finetuning, and preferred finetuning. Pre-training requires different data from instruction finetuning, and both differ from preferred finetuning. The contents change from one phase to the next.
The lens you use to judge the data does not change. Each phase is still evaluated through quality, coverage, and quantity. So when you move from one phase to another, you ask the same three questions about different material. The answers to those questions will shift, but the questions stay the same.
- Pre-training: requires its own kind of data
- Instruction finetuning: requires different content from pre-training
- Preferred finetuning: requires different content from both earlier phases
- All three phases: judged by the same quality, coverage, and quantity criteria
Why Synthetic Data Needs an Evaluation Gate
High-quality data is hard to acquire, so many teams turn to synthetic data, meaning data produced programmatically. Generating data this way has long been a goal. It became a practical solution for many more use cases once AI could create realistic, complex data. The chapter this article belongs to focuses in particular on synthesizing instruction data for finetuning.
Generation comes first, but it does not feed training directly. The generated output must pass an evaluation step before it is used to train a model. The flowchart below shows where that evaluation sits in the sequence.
Evaluating AI-generated data is just as tricky as evaluating other AI outputs. People are more likely to use generated data when they can reliably evaluate it. A generation method is only as useful as your ability to judge its output. If you cannot check the data, you have little basis for trusting it.
Mistakes When Using Synthetic Data
The following mistakes follow directly from the criteria and the evaluation gate described above.
Common mistake Treating quantity as the only headline measure
What it looks likeChoosing the larger of two sets because it contains more examples
Why it failsA large noisy set can be less useful than a smaller set whose examples are carefully checked
Do this insteadJudge every candidate on quality and coverage as well as on how many examples it contains
Common mistake Training directly on generated output
What it looks likeFeeding freshly generated examples straight into a training run
Why it failsGeneration does not feed training directly; the output must pass an evaluation step first
Do this insteadInsert an evaluation step between generation and training, and check the output before it reaches the model
Common mistake Assuming the criteria change between training phases
What it looks likeUsing a different set of questions for pre-training data than for instruction finetuning data
Why it failsThe contents differ between phases, but each phase is still judged by quality, coverage, and quantity
Do this insteadKeep the same three questions and apply them to the content each phase needs
Common mistake Gathering whatever data is available before deciding what the model should do
Judging a Dataset Yourself
A team proposes two training sets for the same model. Set A has 200,000 examples, many with inconsistent labels and a few off-topic entries. Set B has 8,000 examples, each checked by a reviewer, but it covers only the most common situations the model will meet. Judge each set on quality, coverage, and quantity, then decide which one to evaluate further before training, and explain your reasoning.
Hints
- Start with quality: how many examples in Set A are inconsistent or off-topic, and what does the review of Set B tell you?
- Then check coverage: does Set B include rare situations the model must handle, and does Set A?
- Remember that quantity alone does not decide the question. Consider which weakness is easier to repair before training.
Key Takeaways
- Dataset design rests on three core criteria: quality asks whether each example is good enough to learn from, coverage asks whether examples span the situations the model must handle, and quantity asks how much material is available in total.
- A small amount of high-quality data can outperform a large amount of noisy data, so quantity alone is not enough.
- The training phase changes the content you need, including the differences between pre-training, instruction finetuning, and preferred finetuning, but the same three criteria still judge the data.
- Synthetic data is practical for many use cases, yet generated output must pass an evaluation step for quality before it is used to train a model.