NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Ensemble-Instruct: Generating Instruction-Tuning Data with a Heterogeneous Mixture of LMs

Young-Suk Lee, Md. Arafat Sultan, Yousef El-Kurdi, Tahira Naseem, Asim Munawar, Radu Florian, Salim Roukos, Ramón Fernandez AstudilloarXiv 2023 · DOI

Abstract

Instruction tuning is a critical process for transforming raw base language models into helpful, instruction-following assistants. Traditionally, generating high-quality instruction-tuning data has relied on massive, proprietary models like GPT-3 (175B+ parameters). We present Ensemble-Instruct, a novel framework that enables smaller, open-source models (10B–40B parameters) to generate high-quality synthetic data. By utilizing task categorization, simplified prompting, and a heterogeneous consensus filtering mechanism, Ensemble-Instruct produces data that outperforms the original Self-Instruct method while requiring significantly fewer computational resources.

Introduction

The current landscape of instruction tuning is dominated by a "rich get richer" cycle: only those with access to massive proprietary models can generate the data necessary to build better assistants. When researchers attempt to use smaller, open-source models for data generation, quality often suffers due to the models' inability to handle complex in-context learning (ICL) templates, leading to hallucinations or nonsensical outputs. Ensemble-Instruct addresses this bottleneck by breaking down the generation process into manageable steps for smaller models, leveraging the "wisdom of the small crowd."

Methodology

The Ensemble-Instruct framework decomposes the data generation pipeline into three strategic phases designed to maximize the strengths of smaller models:

  1. Task Categorization & Simplification: Tasks are divided into Type A (requiring external input, e.g., summarization) and Type B (standalone instructions, e.g., creative writing). Dedicated, simplified prompt templates are used for each to reduce cognitive load.
  2. Heterogeneous Generation: Instead of relying on a single teacher model, the framework uses a mixture of diverse architectures (e.g., Falcon-40B, UL2-20B, and GPT-NeoXT) to generate instructions and instances.
  3. Consensus Filtering: For every generated instruction, three different models produce outputs. A Consensus Filter, based on ROUGE-L scores, selects the best output or discards the sample if the models disagree significantly. This automated quality control effectively mitigates hallucinations.
Overview of the Ensemble-Instruct pipeline, illustrating the separate paths for tasks with and without inputs, and the final consensus filtering stage.

Experimental Evaluation

The authors initialized the process with 175 human-annotated seed tasks and generated approximately 45,000 synthetic samples. Performance was evaluated on the Super-NaturalInstructions (SuperNI) benchmark, containing over 1,600 diverse NLP tasks, and a set of 252 real-world user-oriented prompts.

Results and Analysis

Experimental results demonstrate that Ensemble-Instruct data is highly sample-efficient. Fine-tuning an MPT-7B model on just 30,000 Ensemble-Instruct samples yielded a 46.8 ROUGE-L score on SuperNI, significantly outperforming the same model tuned on 82,000 GPT-3 generated Self-Instruct samples (39.9).

Comparison of Rouge-L scores across various datasets. Ensemble-Instruct variants (EO-*) consistently outperform the original Self-Instruct and Alpaca baselines.

As shown in the performance table, the ensemble-based datasets (prefixed with EO-) consistently achieve higher Rouge-L scores than standard baselines. Notably, the EO-{UL2, NEOX}-ILM configuration reached a score of 38.3, surpassing both Alpaca (33.4) and the original Self-Instruct (34.4).

Discussion

Several key insights emerged from this study:

  • Input-Shyness: Smaller models are notably better at generating standalone instructions (Type B) than input-output pairs (Type A). Separating these pipelines prevents the model from defaulting to easier, less diverse tasks.
  • Instruction-Tuned Teachers: Smaller models that have already undergone instruction tuning (e.g., FLAN-T5) serve as more effective data generators than larger, "vanilla" base models.
  • Architectural Diversity: Using a heterogeneous mixture of models for the ensemble is more effective than multiple outputs from a single model, as different architectures tend to exhibit non-overlapping failure modes.

Conclusion

Ensemble-Instruct demonstrates that massive proprietary models are not a prerequisite for high-quality instruction tuning. By strategically ensembling smaller, open-source models, researchers can produce synthetic data that rivals or exceeds the quality of data from much larger systems. Future work will focus on incorporating explicit safety and bias filtering into the consensus process to ensure the generated assistants are both helpful and harmless.

Summary updated

BibTeX
@misc{lee2023ensemble,
  author = {Young-Suk Lee and Md. Arafat Sultan and Yousef El-Kurdi and Tahira Naseem and Asim Munawar and Radu Florian and Salim Roukos and Ramón Fernandez Astudillo},
  title = {{Ensemble-Instruct: Generating Instruction-Tuning Data with a Heterogeneous Mixture of LMs}},
  year = {2023},
  eprint = {2310.13961},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.13961},
}
Figure