How to Generate and Use Synthetic Data for Finetuning
It is increasingly viable to use synthetic data for pretraining, instruction-tuning, and preference-tuning. Synthetic data refers to data generated via a model or simulated environment, instead of naturally occurring on the internet or annotated by humans. Relative to human annotation, it’s faster and cheaper to generate task-specific synthetic data. Furthermore, the quality and diversity of synthetic data often exceeds that of human annotators, leading to improved performance and generalization when models are finetuned on synthetic data. Finally, synthetic data sidesteps privacy and copyright concerns by avoiding reliance on user data or possibly copyrighted content. There are two main approaches to generate synthetic data: Distillation from a stronger model or Self-improvement on the model’s own output. The synthetic data can then be used in pretraining, instruction-tuning, and preference-tuning. Distillation transfers knowledge and reasoning skills from a stronger teacher to a weak
How to Generate and Use Synthetic Data for Finetuning eugeneyan Start Here Writing Speaking Prototyping About How to Generate and Use Synthetic Data for Finetuning [ llm survey ] · 42 min read It is increasingly viable to use synthetic data for pretraining, instruction-tuning, and preference-tuning. Synthetic data refers to data generated via a model or simulated environment, instead of naturally occurring on the internet or annotated by humans. Relative to human annotation, it’s faster and cheaper to generate task-specific synthetic data. Furthermore, the quality and diversity of synthetic da
related reading
- On-Policy Distillation - Thinking Machines Labthinkingmachines.ai
- Synthetic data generation (Part 1)cookbook.openai.com
- [2409.19759] Balancing Cost and Effectiveness of Synthetic Data Generation Strategies for LLMsarxiv.org
- Synthetic Pretraining | Vintage Datavintagedata.org
- Modifying LLM Beliefs with Synthetic Document Finetuningalignment.anthropic.com
- BeyondWeb: Lessons from Scaling Synthetic Data for Trillion-scale Pretrainingdatologyai.com
- LLM Optimization via Synthetic Distillationanarchyai.substack.com
- Machine Learning for Synthetic Data Generation: A Reviewarxiv.org
- RL on Incorrect Synthetic Data Scales the Efficiency of LLM Math Reasoning by Eight-Foldarxiv.org
- Alignment Pretraining: AI Discourse Causes Self-Fulfilling (Mis)alignmentalignmentpretraining.ai
- Self-Fulfilling Misalignment Data Might Be Poisoning Our AI Modelsturntrout.com
- A primer on synthetic data, which is gaining steam for AIemergingtechbrew.com