Synthetic data is artificial training or evaluation examples, produced by an LLM, a simulation or augmentation, to cover rare edge cases, sensitive domains and new tasks that have no labels yet.
Generate, then filter: the synthetic pipeline
You prompt a strong language model to produce instruction-response pairs, paraphrases or adversarial cases. For sentiment analysis, that means asking for both positive and negative reviews. You can also perturb existing data, changing existing examples slightly to create variations.
The step that decides quality is filtering. Model-based or rule-based verification checks that each example is valid, removes duplicates, and routes a sample to human spot-checks that catch errors and bias.
- Generate candidates with a strong model.
- Verify them with rules or a second model.
- Remove duplicates.
- Have people spot-check a sample.
- Train on what survives.
Model collapse and amplified bias
Skipping the filter amplifies whatever bias the generator already has. If the generator learned from skewed data, new examples inherit the skew. Training repeatedly on a model's own output across generations is called model collapse: the model loses the rarer parts of the original distribution and reinforces its own errors.
Consider a medical example: you generate synthetic cases of a rare disease to balance a dataset. If those cases are not checked for accuracy, the model can learn to associate wrong symptoms with the disease, and the error carries into its predictions.
Synthetic fixtures versus synthetic training data
The closest software analogue is test fixtures or property-based test inputs. The difference is the target. A bad fixture is fixed by editing the test. Synthetic training data changes the model, so a systematic flaw in generation becomes a flaw in its predictions that you have to retrain to remove.
Why synthetic beats human labeling only with a quality gate
Human labeling is slow and costly, and it is hard when data is sensitive or the scenario has few real examples. For a newly described medical condition, annotators may struggle to label accurately. Synthetic data is fast and can cover rare cases, but it needs the quality gate below.
Volume without a quality gate can produce a dataset that hurts the model. Use synthetic data to bootstrap when real data is scarce and to augment rare classes. Anchor it to a human-labeled seed set and a human-labeled evaluation set, and never let synthetic data be both the training source and the evaluation metric, or you optimize against the generator's own mistakes.
Example scenario: 30% coverage of edge cases
Suppose generation reaches 30% coverage of rare edge cases against a target of 80% (illustrative figures). The synthetic set may not match the distribution or complexity of the target data, so the model may overfit to it and generalize poorly.
- Compare feature distributions in the synthetic set against the human-labeled data.
- Evaluate on a subset of human-labeled data to find the specific failures.
- Inspect the generation process for bias or lack of variety.