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.

Synthetic data generationDiagram with these labels, in reading order: Strong Model; Generates Data; Instruction-Response; Pairs & Paraphrases; Filtered Data; (Verification); Synthetic Data; for Training; Human Spot-Checks.Strong ModelGenerates DataInstruction-ResponsePairs & ParaphrasesFiltered Data(Verification)Synthetic Datafor TrainingHuman Spot-Checks
Synthetic Data Generation Process

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.

  1. Generate candidates with a strong model.
  2. Verify them with rules or a second model.
  3. Remove duplicates.
  4. Have people spot-check a sample.
  5. 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.

Beware of model collapse Training on unfiltered synthetic data can amplify biases and bake a flaw into the model's behavior.

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.

Synthetic data generationDiagram with these labels, in reading order: Check LLM quality; Verify simulation settings; Reassess edge case definitions; Adjust augmentation strategy; Add more scenarios for testing; Data Coverage Check; LLM Output Quality; Simulation Configuration; Edge Case Definition; Augmentation Strategy; Add More Scenarios.Check LLM qualityVerify simulation settingsReassess edge case definitionsAdjust augmentation strategyAdd more scenarios for testingData Coverage CheckLLM Output QualitySimulation ConfigurationEdge Case DefinitionAugmentation StrategyAdd More Scenarios
Debugging synthetic data failure
  • 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.
The call Add more diverse scenarios to generation and check them against the target distribution. This raises compute cost and complexity. Track performance on both synthetic and human-labeled validation sets.

Back to the knowledge baseRequest an assessment