atlas

Research map / Large language models / Language, safety and interpretability

Stacking Your Transformers: A Closer Look at Model Growth for Efficient LLM Pre-Training

NeurIPS 2024 · Large language models › Language, safety and interpretability · approach: Pruning and circuits in LLMs · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Systematically evaluates four model growth operators for LLM pre-training and shows depthwise stacking (G_stack) accelerates training of Llama-like 1.1B to 7B models, with guidelines for growth timing and factor.

Problem

Model growth methods that initialize large models from smaller trained ones are underexplored for efficient decoder-only LLM pre-training, lacking comprehensive evaluation, scalability tests, and empirical guidelines.

Approach

Summarizes existing growth methods into four atomic operators (direct, learned, zero, random) in widthwise and depthwise forms, finds one-hop depthwise stacking (G_stack) best, and scales it to 7B and 750B tokens with fitted equations for growth timing and factor.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use depthwise stacking instead of training from scratch1.1B LLM · ARC-c, ARC-e, PIQA, Sciq, Winogrande (100B tokens)accuracy: ARC-c: 27.21 -> 29.18; ARC-e: 48.86 -> 54.25; PIQA: 69.64 -> 71.98; Sciq: 76.8 -> 81.1; Winogrande: 54.53 -> 56.03Helped
Use depthwise stacking instead of training from scratch1.1B LLM · Lambada and Logiqa (100B tokens)accuracy: Lambada: 47.87 -> 48.20; Logiqa: 25.96 -> 28.87; Pythia-1B: 53.52 on Lambada and 29.49 on LogiqaMixed
Use depthwise stacking instead of training from scratch1.1B LLM · Average of seven benchmarks (100B tokens)accuracy: 50.09 -> 52.80Helped
Use depthwise stacking instead of training from scratch3B LLM · Instruction-tuned evaluationaverage accuracy: 55.8 -> 57.34Helped
Train with depthwise stacking rather than from scratch1.1B LLM pre-training · Training to the same lossspeedup: +49.1%Helped
Replace one-hop stacking with gradual train-stack-train-stack growth (ablation)G_stack, 1.1B LLM · 100B-token pre-trainingaverage accuracy: 2.4 higher average accuracy for G_stackHurt
Replace one-hop stacking with gradual train-stack-train-stack growth (ablation)G_stack, 1.1B LLM · 100B-token pre-trainingWikitext perplexity: 0.6 better Wikitext PPL for G_stackHurt
Add 20% noise to strict function-preserving G_direct width growth (ablation)G_direct width growth · Wikitext after 40B tokensperplexity: 0.27Helped
Add 20% noise to strict function-preserving G_direct width growth (ablation)G_direct width growth · Average benchmark accuracy after 40B tokensaverage accuracy: 0.41Helped
Add 20% noise to G_stack (ablation)G_stack · LLM pre-training evaluationperformanceHelped
Increase noise beyond 20% in G_stack (ablation)G_stack · LLM pre-training evaluationperformanceHurt
Use a one-layer base model rather than a deeper base model for stacking (ablation)G_stack, 3B LLM · IsoFLOP comparisonlossHurt

Surprising findings

Limitations

Experimental setup

Datasets: SlimPajama-627B

Benchmarks: ARC-c ARC-e LAMBADA LogiQA PIQA SciQ Winogrande WikiText perplexity Hellaswag TruthfulQA MMLU

Metrics: training loss accuracy perplexity speedup (FLOPs-based)

Baselines: training from scratch LiGO StackedBERT gradual stacking Pythia-1B TinyLlama-1.1B

Builds on: Net2Net StackedBERT LiGO Lemon TinyLlama

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy