Synthetic data
Definition
Training or test examples generated by a model or program instead of collected from real users, used when real data is scarce.
In more detail
Teams generate synthetic questions to bootstrap a RAG eval set, varied user personas to stress-test a chatbot, or thousands of worked examples from a large model to fine-tune a small one. It is fast and avoids privacy problems.
The catch is that synthetic data reflects the generator's habits and blind spots. Questions written by a model tend to be cleaner and easier than real ones, so an eval built only from them can overstate quality. Mix in real examples, have a person review a sample, and dedupe near-identical items.
Related terms
Data contamination
When benchmark or test examples appear in a model's training data, so high scores reflect memorisation rather than ability.
Distillation
Training a smaller model to imitate the outputs of a larger one, keeping much of the quality at a lower cost and latency per request.
Fine-tuning
Further training a pretrained model on task-specific examples to change its behaviour, format or style, rather than its general knowledge.
Golden dataset
A curated set of inputs with expected outputs or grading notes, used as the fixed reference that your evals are scored against.
Read more about Synthetic data
- Evaluate RAG answers with a golden dataset
Set up RAG evaluation with a golden dataset and promptfoo: score retrieval, correctness and grounding for every question, and fail CI when answer quality drops.
- LLM evaluation
Measuring AI system quality with datasets, code checks and model-graded tests.
- Fine-tuning
Further training a model on task-specific examples, and knowing when RAG is enough.