AI
What Is Synthetic Data? Uses, Limits and Risks
Synthetic data is artificial data that mimics real data. Learn how it's generated, how AI teams use it, how it compares with real data, and its main risks.
Synthetic data is data created by a computer program instead of collected from real events or people. It's designed to look and behave like real data, with the same patterns, formats and statistics, without being a record of anything that actually happened. AI teams use it to train and test models when real data is scarce, expensive, private or missing the rare cases that matter most.
This guide explains what synthetic data is, the main ways it's generated, how AI companies use it to train language models, how synthetic data compares with real data, and the risks, including model collapse, that make it powerful but not a free lunch.
What Is Synthetic Data?
Real data is recorded from the world: customer transactions, medical records, photos, sensor readings, conversations. Synthetic data is generated: a program produces new records that resemble real ones.
A simple example: a bank wants to test a fraud model without exposing real customers. It generates a million fake transactions with realistic amounts, times, locations and fraud patterns. No real customer appears in the data, but the patterns are close enough for testing and training.
Synthetic data can be:
- Fully synthetic: every record is generated.
- Partially synthetic: real data with sensitive fields replaced by generated values.
- Augmented: real data plus generated variations, such as rotated or recoloured images, or rephrased sentences.
Types of Synthetic Data
- Tabular data: rows and columns, such as customer records, transactions or lab results. Often used for analytics, software testing and privacy-sensitive sharing.
- Text: questions and answers, instructions, conversations, documents and code. Widely used to train and evaluate language models.
- Images and video: rendered scenes from game engines and simulators, or images from generative models. Used heavily in computer vision and robotics.
- Sensor and time-series data: simulated readings from machines, vehicles or medical devices.
How Synthetic Data Generation Works
There are four broad approaches to synthetic data generation:
- Rules and simulation. Engineers write rules or build a simulated world. Self-driving and robotics teams use simulators to create endless driving scenes, including rare and dangerous ones that are hard to capture safely in real life.
- Statistical models. This is the classic way of creating synthetic data from real data: a model learns the distributions and relationships in a real dataset, such as how age relates to income, and samples new rows that follow them. Open source tools like the Synthetic Data Vault (SDV) work this way for tabular data.
- Generative AI models. Neural networks such as GANs, variational autoencoders and diffusion models learn to produce realistic images, audio or records.
- Large language models. An LLM writes text data: questions, answers, explanations, conversations or code, often guided by examples and instructions.
For software testing, simpler tools like the Faker library generate fake but realistic-looking names, addresses and emails. That's useful for filling test databases, though it doesn't preserve the statistical patterns of real data.
How AI Companies Use Synthetic Data
Synthetic data has become a central ingredient in training modern language models.
- Instruction data. Early open models were taught to follow instructions with examples written by stronger models. Stanford's Alpaca project, for example, fine-tuned a model on tens of thousands of instruction-following examples generated by an OpenAI model.
- Textbook-style training data. Microsoft's phi-1, a 1.3-billion-parameter coding model, was trained on carefully filtered "textbook quality" web data plus about a billion tokens of synthetic textbooks and exercises generated with GPT-3.5, and performed far above its size on coding benchmarks.
- Distillation. A large "teacher" model generates answers that a smaller "student" model learns from, passing on much of the teacher's ability at a lower cost.
- Reasoning practice. Models generate maths and coding problems and attempted solutions; automatic checkers verify which are correct, and the correct ones become new training data.
- Preference data. AI models compare or critique answers to produce feedback for alignment training, as in AI-feedback variants of RLHF.
- Evaluation sets. Teams generate test questions, including tricky edge cases, to measure how a model behaves. Our guide to LLM evaluation covers how to build good test sets.
Businesses use the same ideas on a smaller scale, for example generating question-and-answer pairs from their own documents to fine-tune or test a model. Our guide to fine-tuning vs RAG explains when fine-tuning is worth it.
Synthetic Data Examples
Some common synthetic data examples outside AI labs:
- Healthcare: hospitals and researchers generate synthetic patient records that keep realistic patterns of age, diagnosis and treatment, so teams can build and test tools without exposing real patients.
- Finance: banks create synthetic transactions, including rare fraud patterns, to train fraud models and test systems.
- Self-driving cars and robots: simulators generate millions of driving scenes, weather conditions and near-misses that would be dangerous or impossible to collect on real roads.
- Retail and computer vision: rendered images of products on shelves train models to recognise items without photographing every combination.
- Market research: some teams use AI-generated "synthetic respondents" to explore survey ideas quickly. Treat these as a way to generate hypotheses, not as a replacement for asking real customers.
- Software testing: developers fill test databases with realistic synthetic records instead of copying production data.
Synthetic Data vs Mock Data and Test Data
These terms overlap but aren't identical. Mock data or dummy data is simple placeholder content, such as fake names and random numbers, used to make an app work during development. It doesn't need realistic patterns. Synthetic test data goes further: it mimics the structure, relationships and edge cases of real data, so tests behave like production. Synthetic data in the broader sense also covers data used to train and evaluate AI models, where realistic statistical patterns matter most.
Synthetic Data vs Real Data
| Synthetic data | Real data | |
|---|---|---|
| Source | Generated by a program | Collected from real events and people |
| Cost and speed | Cheap and fast to scale | Often slow and expensive to collect and label |
| Privacy | Can avoid exposing real people, if done carefully | May contain personal or sensitive information |
| Rare cases | Can create as many as needed | Rare cases are, by definition, rare |
| Labels | Usually come for free, because you generated them | Often need manual labelling |
| Realism | Only as good as the generator | Reflects the real world, messiness included |
| Risk | Can miss real-world patterns or amplify generator errors | Can contain bias, errors and gaps of its own |
The best results usually come from combining both: real data to stay grounded in reality, synthetic data to fill gaps and add scale. The key rule in synthetic data vs real data decisions: always test on real data, because that's what the model will face.
Why Use Synthetic Data?
- Scale: generate millions of examples quickly.
- Privacy: share or develop with data that isn't tied to real individuals.
- Coverage: create rare events, edge cases and balanced classes.
- Cost: avoid expensive data collection and labelling.
- Safety: simulate dangerous situations without real-world risk.
- Speed of iteration: change the generator and get a new dataset the same day.
Limits and Risks of Synthetic Data
Model collapse
When models are trained repeatedly on data generated by other models, quality can degrade. Researchers led by Ilia Shumailov showed that training on model-generated content causes model collapse: the rare "tails" of the original data distribution disappear, and outputs become narrower and more generic over generations. Their work was later published in Nature. The practical lesson is to keep real, human-created data in the mix and not train generation after generation on synthetic output alone.
Errors and bias get copied
A generator reproduces its own mistakes and biases. If the model writing your synthetic answers makes subtle errors, your trained model learns them too, often confidently. Bias in the original data can also be amplified.
Privacy isn't automatic
Synthetic data generated from real records can still leak information, especially about unusual individuals, if the generator memorises parts of its training data. Techniques such as differential privacy help, but privacy has to be tested, not assumed.
Realism gaps
Simulated or generated data can be cleaner and more predictable than reality. Models trained mostly on it may struggle with messy real-world inputs.
Legal and licensing limits
Some AI providers' terms restrict using their models' outputs to build competing models. Check the terms of any model you use to generate training data.
How to Use Synthetic Data Well
- Start with a clear goal: filling a gap, protecting privacy, testing edge cases or adding scale.
- Keep real data in the loop: use it to guide generation and always to evaluate results.
- Check quality: filter generated data with rules, automatic checks or a second model, and review samples by hand.
- Test privacy if the generator learned from sensitive records.
- Label it: track which data is synthetic, how it was made and with which model.
- Measure on real-world tests: if synthetic data doesn't improve performance on real data, it isn't helping.
FAQ
What is synthetic data in simple terms?
Synthetic data is artificial data created by a computer program to look and behave like real data. It has realistic patterns and formats, but it isn't a record of real events or real people, which makes it useful for training AI, testing software and protecting privacy.
What is synthetic data used for?
It's used to train and test AI models, especially when real data is scarce, private or expensive; to simulate rare or dangerous situations, such as car crashes for self-driving systems; to test software with realistic data; and to share datasets without exposing personal information.
Is synthetic data as good as real data?
Not on its own. Synthetic data is only as good as the method that generates it, and it can miss real-world messiness or copy the generator's errors. It works best combined with real data, and models should always be tested on real data.
What is model collapse?
Model collapse is the loss of quality and diversity that happens when AI models are trained repeatedly on content generated by other models. Rare patterns from the original data fade away, and outputs become narrower over generations. Mixing in real data helps prevent it.
Is synthetic data private?
Not automatically. If it's generated from real records, it can still reveal information about real individuals, especially unusual ones. Privacy techniques like differential privacy and careful testing are needed before treating synthetic data as safe to share.