Introduction
The transition of base large language models (LLMs) into capable conversational assistants relies heavily on Supervised Fine-Tuning (SFT). This process requires massive datasets of high-quality instruction-response pairs. While human-annotated data is the gold standard, its collection is prohibitively expensive and difficult to scale. Consequently, researchers have turned to synthetic data generation. However, traditional synthetic methods—such as prompting an LLM to "evolve" simple questions into harder ones—often result in repetitive distributions or artificially convoluted prompts that lack the nuance of real-world human needs.
This paper introduces Attributed Grounding, a novel framework designed to generate high-quality synthetic data by reverse-engineering the context of real human queries. By grounding synthetic instructions in simulated user motivations and specific real-world situations, the authors produced SYNTHQUESTIONS, a dataset of 1 million diverse and complex instructions that significantly improves LLM performance.
The Attributed Grounding Framework
The authors argue that real human instructions are "grounded"—they arise from specific identities, motivations, and real-world contexts. To replicate this in synthetic data, they propose a two-step process:
1. Top-Down Attributing (The Setup)
The process begins with REALQUESTIONS, a curated seed dataset of approximately 29,000 high-quality human instructions. For each instruction, the researchers use web searches to find relevant background documents. A powerful teacher model (LLaMA-3-70B) is then prompted to deduce the user identity and motivation behind the original query. This step creates a blueprint of how real-world contexts map to complex human instructions.
2. Bottom-Up Synthesizing (The Generation)
The framework then reverses this logic at scale. Using massive web corpora (FineWeb, PILE, and MathPILE), the system prompts an LLM to invent a grounded situation—a specific user persona and a motivation—based on a provided text segment. The LLM then adopts that persona to generate a brand-new, complex instruction.
To maintain high standards, the generated instructions undergo a strict quality control phase. They are scored against a rubric evaluating complexity, specificity, and problem-solving depth. Low-scoring prompts are discarded, and topic modeling is used to ensure the final 1-million-sample dataset covers a broad spectrum of human knowledge.
Key Insights: Context and Scaling
One of the paper's primary findings is that context is the engine of complexity. Simply asking an LLM to "write a hard question" often results in generic or pedantic outputs. However, forcing the model to first imagine a specific user (e.g., a high-school student) with a specific goal (e.g., investing a small sum of money legally) based on a real document naturally produces multi-layered, specific instructions.
Furthermore, the researchers found that the input text dictates the ceiling of the model's intelligence. By incorporating specialized corpora like MathPILE into the document sampling phase, the resulting synthetic data significantly boosted the reasoning and coding capabilities of the trained models.
Experimental Results
The authors evaluated their framework by training a LLaMA-3-8B model on the 1M SYNTHQUESTIONS dataset. The results demonstrate the effectiveness of Attributed Grounding:
- Competitive Performance: The model achieved a 19.15% Win Rate on Alpaca Eval 2.0 and 15.4% on Arena Hard, outperforming other popular 1M-scale synthetic datasets like OpenHermes2.5.
- Strong Reasoning: On closed-form benchmarks, the model excelled in mathematical and logical reasoning, scoring 70.53% on GSM8K and 22.71% on MATH.
- Scaling Laws: Performance on Alpaca Eval improved steadily as the training set grew from 100k to 1M instructions, suggesting that the method scales effectively without immediate plateaus.
- DPO Integration: When combined with Direct Preference Optimization (DPO), the LLaMA-3-8B model's Alpaca Eval Win Rate jumped to 33.81%, proving that high-quality synthetic SFT data provides a strong foundation for further alignment.
Conclusion and Future Work
Attributed Grounding demonstrates that grounding synthetic data in simulated human motivations is a powerful alternative to expensive human annotation. By leveraging the vast information available in web documents to create realistic user contexts, the researchers have provided a path toward scaling high-quality instruction data.
Future research will explore scaling beyond the 1-million-sample mark and refining the distribution of source corpora to further enhance specialized reasoning. Additionally, the authors note the need to assess potential hallucination risks, as synthetic data is ultimately limited by the factual accuracy of its source documents.
Summary updated