[Paper Review] Synthetic Data (Almost) from Scratch: Generalized Instruction Tuning for Language Models
GLAN is a general, scalable method that creates large-scale synthetic instruction data from a human-knowledge taxonomy and uses it to instruction-tune LLMs, achieving strong general performance without task-specific training data.
We introduce Generalized Instruction Tuning (called GLAN), a general and scalable method for instruction tuning of Large Language Models (LLMs). Unlike prior work that relies on seed examples or existing datasets to construct instruction tuning data, GLAN exclusively utilizes a pre-curated taxonomy of human knowledge and capabilities as input and generates large-scale synthetic instruction data across all disciplines. Specifically, inspired by the systematic structure in human education system, we build the taxonomy by decomposing human knowledge and capabilities to various fields, sub-fields and ultimately, distinct disciplines semi-automatically, facilitated by LLMs. Subsequently, we generate a comprehensive list of subjects for every discipline and proceed to design a syllabus tailored to each subject, again utilizing LLMs. With the fine-grained key concepts detailed in every class session of the syllabus, we are able to generate diverse instructions with a broad coverage across the entire spectrum of human knowledge and skills. Extensive experiments on large language models (e.g., Mistral) demonstrate that GLAN excels in multiple dimensions from mathematical reasoning, coding, academic exams, logical reasoning to general instruction following without using task-specific training data of these tasks. In addition, GLAN allows for easy customization and new fields or skills can be added by simply incorporating a new node into our taxonomy.
Motivation & Objective
- Motivation to improve instruction following of LLMs beyond seed-data or domain-specific datasets.
- Propose a scalable pipeline that generates synthetic instruction data from a curated taxonomy of human knowledge.
- Demonstrate that models trained on GLAN-generated data excel in math reasoning, coding, logic, and academic exams.
- Show that GLAN is customizable and extensible by adding new taxonomy nodes.
Proposed method
- Construct a taxonomy of human knowledge and capabilities using a frontier LLM (GPT-4) plus human verification.
- Decompose disciplines into subjects, then design a syllabus for each subject via LLMs.
- Break subjects into class sessions and extract key concepts from the syllabus using LLMs.
- Sample class sessions and key concepts to generate diverse homework questions with LLMs; generate answers with GPT-3.5-turbo.
- Train a base model (Mistral 7B) on the synthetic instruction-answer pairs with standard fine-tuning setup.
Experimental results
Research questions
- RQ1Can a taxonomy-based, fully automated data-generation pipeline produce broadly useful instruction data across diverse domains?
- RQ2Does instruction tuning on GLAN-generated data improve performance on mathematical reasoning, coding, logic, and academic exams compared with baselines?
- RQ3Is GLAN robust to adding new domains by extending the taxonomy without re-generating all data?
- RQ4Do models trained on GLAN data preserve general instruction-following without task-specific in-domain data?
Key findings
- GLAN-generated data yield strong performance across math reasoning, coding, logical reasoning, and academic exams without using task-specific training data.
- GLAN achieves competitive or best results compared to several baselines on a suite of benchmarks (math, coding, reasoning, exams).
- The taxonomy-based data generation approach enables easy extension by adding new nodes without re-running the entire pipeline.
- Models trained on GLAN data show high adaptability across diverse disciplines, with notable gains in STEM-related tasks.
- Evaluation suggests GLAN produces diverse instruction data that avoids overfitting to in-domain benchmark data.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.