Better & Faster Large Language Models via Multi-token Prediction

Authors: Fabian Gloeckle, Badr Youbi Idrissi, Baptiste Rozière, David Lopez-Paz, Gabriel Synnaeve

License: CC BY 4.0

Results of the summarizing process for the arXiv paper: 2404.19737v1

  • Comprehensive Summary
  • Key points
  • Layman's Summary
  • Blog article
The authors of "Better & Faster Large Language Models via Multi-token Prediction," Fabian Gloeckle, Badr Youbi Idrissi, Baptiste Rozière, David Lopez-Paz, and Gabriel Synnaeve propose a novel approach to training large language models such as GPT and Llama. Their method involves predicting multiple future tokens simultaneously using n independent output heads on top of a shared model trunk. This auxiliary training task leads to improved downstream capabilities for both code and natural language models without any additional training time overhead. The effectiveness of multi-token prediction is demonstrated on generative benchmarks like coding, where their models consistently outperform strong baselines by several percentage points. Notably, their 13B parameter models solve 12% more problems on HumanEval and 17% more on MBPP compared to comparable next-token models. Additionally, experiments show that multi-token prediction enhances induction heads and algorithmic reasoning capabilities for small algorithmic tasks. Another advantage is the increased speed at inference with up to 3 times faster performance even with large batch sizes when trained with 4-token prediction. Detailed performance metrics are provided for abstractive text summarization tasks and the induction capability of n-token prediction models is showcased in the study.
AI-generated keywords: Large Language Models Multi-token Prediction Sample Efficiency Downstream Capabilities Natural Language Processing

AI-generated Key Points

  • Authors propose a novel approach to training large language models
  • Method involves predicting multiple future tokens simultaneously using n independent output heads on top of a shared model trunk
  • Auxiliary training task leads to improved downstream capabilities for code and natural language models without additional training time overhead
  • Multi-token prediction demonstrated effectiveness on generative benchmarks like coding, outperforming strong baselines by several percentage points
  • 13B parameter models solve more problems on HumanEval and MBPP compared to next-token models
  • Multi-token prediction enhances induction heads and algorithmic reasoning capabilities for small algorithmic tasks
  • Increased speed at inference with up to 3 times faster performance when trained with 4-token prediction
Also access our AI generated: Comprehensive summary, Lay summary, Blog-like article; or ask questions about this paper to our AI assistant.

Abstract: Large language models such as GPT and Llama are trained with a next-token prediction loss. In this work, we suggest that training language models to predict multiple future tokens at once results in higher sample efficiency. More specifically, at each position in the training corpus, we ask the model to predict the following n tokens using n independent output heads, operating on top of a shared model trunk. Considering multi-token prediction as an auxiliary training task, we measure improved downstream capabilities with no overhead in training time for both code and natural language models. The method is increasingly useful for larger model sizes, and keeps its appeal when training for multiple epochs. Gains are especially pronounced on generative benchmarks like coding, where our models consistently outperform strong baselines by several percentage points. Our 13B parameter models solves 12 % more problems on HumanEval and 17 % more on MBPP than comparable next-token models. Experiments on small algorithmic tasks demonstrate that multi-token prediction is favorable for the development of induction heads and algorithmic reasoning capabilities. As an additional benefit, models trained with 4-token prediction are up to 3 times faster at inference, even with large batch sizes.

Submitted to arXiv on 30 Apr. 2024

Tools for this paper

Explain it differently 3 free rewrites left today
Export BibTeX · RIS (Zotero, Mendeley, EndNote) · Markdown (Notion, Obsidian) · Premium
Citation alerts Premium
Journal club Slides to present it Premium
For journalists Press kit and hype check Premium

Ask questions about this paper to our AI assistant

You can also chat with multiple papers at once here.

Figures and plots

Ask about a figure by number or use its question button to request visual analysis. Up to two figures and four image panels per question. Values read from plots are approximate; check the original data.

AI assistant instructions?

Assess the quality of the AI-generated content by voting

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.

Similar papers summarized with our AI tools

Navigate through even more similar papers through a

tree representation

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.