AgentInstruct: Toward Generative Teaching with Agentic Flows
Mitra, Arindam, Luciano Del Corro, Guoqing Zheng, Shweti Mahajan, Dany Rouhana, Andrés Codas et al. · 2024 · 135 citationsRead the paper
Synthetic data is becoming increasingly important for accelerating the development of language models, both large and small. Despite several successful use cases, researchers also raised concerns around model collapse and drawbacks of imitating other models. This discrepancy can be attributed to the fact that synthetic data varies in quality and diversity. Effective use of synthetic data usually requires significant human effort in curating the data. We focus on using synthetic data for post-training, specifically creating data by powerful models to teach a new skill or behavior to another model, we refer to this setting as Generative Teaching. We introduce AgentInstruct, an extensible agentic framework for automatically creating large amounts of diverse and high-quality synthetic data. AgentInstruct can create both the prompts and responses, using only raw data sources like text documents and code files as seeds. We demonstrate the utility of AgentInstruct by creating a post training dataset of 25M pairs to teach language models different skills, such as text editing, creative writing, tool usage, coding, reading comprehension, etc. The dataset can be used for instruction tuning of any base model. We post-train Mistral-7b with the data. When comparing the resulting model Orca-3 to Mistral-7b-Instruct (which uses the same base model), we observe significant improvements across many benchmarks. For example, 40% improvement on AGIEval, 19% improvement on MMLU, 54% improvement on GSM8K, 38% improvement on BBH and 45% improvement on AlpacaEval. Additionally, it consistently outperforms other models such as LLAMA-8B-instruct and GPT-3.5-turbo.
What the full text shows
Working prototype- Orca-3 (Mistral-7B post-trained with AgentInstruct) showed significant benchmark improvements over Mistral-7B-Instruct. — 40% on AGIEval, 19% on MMLU, 54% on GSM8K, 38% on BBH, and 45% on AlpacaEval (Post-training on 25M synthetic pairs)
- AgentInstruct data improved performance on the Orca-Bench test set. — 33.94% over Orca 2.5 and 14.92% over Mistral-Instruct-7B (Average macro scores across 17 skills)
- Reduction in hallucinations for abstractive summarization. — 31.34% reduction (Evaluated by GPT-4 across ACI-Bench, InstruSum, and Orca-Sum)
- Improvement in RAG proficiency on the MIRAGE medical benchmark. — 38.30% average improvement over Mistral-7B-Instruct (Using MedRAG corpus)
- Improvement in format-following capabilities. — 11.5% improvement over Mistral-7B-Instruct (FoFo benchmark)
- Enhancement in mathematical reasoning. — 44% to 168% improvement (Across various math benchmarks including AGIEval math and MMLU college mathematics)
- Setup
- Post-training dataset of 25M synthetic pairs; base model Mistral-7B; evaluated against baselines including Llama3-8B-Instruct and GPT-3.5-turbo.
- How
- The authors developed AgentInstruct, an agentic framework that uses raw text and code as seeds to automatically generate diverse prompts and responses via agentic flows. This synthetic data was used to post-train Mistral-7B to create the Orca-3 model.
- Limitations
- Creating agentic flows still requires human effort for construction. · Synthetic data may not perfectly replicate real-world complexity and nuances. · Resource-intensive cost of generating data with multiple agents. · Dependency on the quality of seed data to avoid bias amplification.
Summarized by Gemma 4 from the open-access full text · 24 Nov 2026. Read it