synthetic data generation
**Synthetic Data Generation** is the **creation of artificial training data using generative models, rule-based systems, or simulation** — augmenting or replacing real data to address scarcity, privacy concerns, class imbalance, and expensive annotation.
**Why Synthetic Data?**
- **Data scarcity**: Rare medical conditions, edge-case driving scenarios, specialized industries.
- **Privacy**: Healthcare, finance — real data cannot be shared. Synthetic has no PII.
- **Cost**: Labeling real data is expensive; synthetic can include automatic labels.
- **Long-tail**: Real datasets are imbalanced; synthetic can generate rare classes on demand.
- **Counterfactual**: Generate scenarios that haven't occurred — critical for safety testing.
**Synthetic Data Approaches**
**Generative Models**:
- **GAN-based**: Generate realistic samples matching training distribution.
- Medical: Synthetic CT/MRI images with pathology labels.
- Autonomous driving: Rare weather, night, adverse conditions.
- **Diffusion Models**: Higher quality, more controllable than GANs.
- DALL-E, Stable Diffusion: Generate labeled image datasets from text prompts.
- "Generate 1000 photos of stop signs in rain" → training data.
- **LLM-based**: GPT-4 generating instruction data (Alpaca, WizardLM).
- FLAN: 62 NLP tasks reformatted from public datasets via templates.
**Simulation-Based**:
- **CARLA, SUMO**: Autonomous driving simulation → synthetic RGB, LiDAR, labels.
- **Blender/Unity**: Photorealistic 3D renders with exact bounding box labels.
- **Domain randomization**: Vary textures, lighting, geometry randomly → robust real-world transfer.
**Quality Challenges**
- **Distribution shift**: Synthetic data doesn't perfectly match real distribution → degraded model performance.
- **Mode collapse**: GANs produce limited variety → synthetic data lacks diversity.
- **Label noise**: Automated labels from simulators may not match real perception.
**LLM Synthetic Data at Scale**
- Phi-1, Phi-1.5 (Microsoft): "Textbooks are all you need" — trained on GPT-3.5-generated "textbook" text.
- 1.3B parameter model matches 7B models trained on web data.
- Apple, Meta: Internal synthetic data pipelines for instruction tuning.
Synthetic data generation is **increasingly central to AI development** — the ability to create unlimited, perfectly labeled, privacy-safe training data is democratizing AI for industries where real data is scarce, expensive, or sensitive.