Sahaj.blogs
21 Jun 2024 · Paper summary

Paper summary: Instruction Pre-Training: Language Models are Supervised Multitask Learners

Instruction Pre-Training augments raw pre-training text with synthesised instruction–response pairs (200M of them across 40+ task types) and reports stronger base models and better gains from later instruction tuning.

Problem

Pre-training is unsupervised: predict the next token of raw text. Supervised multitask learning (instruction tuning) improves generalisation, but it usually happens only after pre-training. Can supervision be brought into pre-training itself, at scale?

Method

Instruction Pre-Training adds instruction–response pairs to the raw corpus. An instruction synthesizer, built on open-source models, reads a raw text and generates related tasks with answers. The LM is pre-trained on the raw text plus these pairs. The authors synthesise 200M pairs across 40+ task categories.

Key results

From the abstract:

  • pre-training from scratch: consistently better base models, which also gain more from later instruction tuning
  • continual pre-training: Llama3-8B becomes comparable to, or better than, Llama3-70B on their evaluations

Limitations

From the paper’s own section:

  • synthetic data can introduce hallucinations; their analysis puts the accuracy of the instruction-augmented corpora at about 70%
  • the pre-training scale is far below the trillions of tokens used for frontier models

#llm#pre-training#data

Sources

  1. Instruction Pre-Training: Language Models are Supervised Multitask Learners (arXiv:2406.14491) — arXiv
  2. Hugging Face Daily Papers, 2024-06-21 — Hugging Face
  3. Instruction Pre-Training: Language Models are Supervised Multitask Learners (arXiv HTML full text) — arXiv
  4. Code repository (linked in the paper) — GitHub

This is a summary written from the linked public sources. Figures and numbers are as reported there.