Instruction Pre-Training: Language Models are Supervised Multitask Learners

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Cheng, Daixuan, Gu, Yuxian, Huang, Shaohan, Bi, Junyu, Huang, Minlie, Wei, Furu
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866915038486331392
author Cheng, Daixuan
Gu, Yuxian
Huang, Shaohan
Bi, Junyu
Huang, Minlie
Wei, Furu
author_facet Cheng, Daixuan
Gu, Yuxian
Huang, Shaohan
Bi, Junyu
Huang, Minlie
Wei, Furu
contents Unsupervised multitask pre-training has been the critical method behind the recent success of language models (LMs). However, supervised multitask learning still holds significant promise, as scaling it in the post-training stage trends towards better generalization. In this paper, we explore supervised multitask pre-training by proposing Instruction Pre-Training, a framework that scalably augments massive raw corpora with instruction-response pairs to pre-train LMs. The instruction-response pairs are generated by an efficient instruction synthesizer built on open-source models. In our experiments, we synthesize 200M instruction-response pairs covering 40+ task categories to verify the effectiveness of Instruction Pre-Training. In pre-training from scratch, Instruction Pre-Training not only consistently enhances pre-trained base models but also benefits more from further instruction tuning. In continual pre-training, Instruction Pre-Training enables Llama3-8B to be comparable to or even outperform Llama3-70B. Our model, code, and data are available at https://github.com/microsoft/LMOps.
format Preprint
id arxiv_https___arxiv_org_abs_2406_14491
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Instruction Pre-Training: Language Models are Supervised Multitask Learners
Cheng, Daixuan
Gu, Yuxian
Huang, Shaohan
Bi, Junyu
Huang, Minlie
Wei, Furu
Computation and Language
Unsupervised multitask pre-training has been the critical method behind the recent success of language models (LMs). However, supervised multitask learning still holds significant promise, as scaling it in the post-training stage trends towards better generalization. In this paper, we explore supervised multitask pre-training by proposing Instruction Pre-Training, a framework that scalably augments massive raw corpora with instruction-response pairs to pre-train LMs. The instruction-response pairs are generated by an efficient instruction synthesizer built on open-source models. In our experiments, we synthesize 200M instruction-response pairs covering 40+ task categories to verify the effectiveness of Instruction Pre-Training. In pre-training from scratch, Instruction Pre-Training not only consistently enhances pre-trained base models but also benefits more from further instruction tuning. In continual pre-training, Instruction Pre-Training enables Llama3-8B to be comparable to or even outperform Llama3-70B. Our model, code, and data are available at https://github.com/microsoft/LMOps.
title Instruction Pre-Training: Language Models are Supervised Multitask Learners
topic Computation and Language
url https://arxiv.org/abs/2406.14491