atlas

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

Rethinking Optimization and Architecture for Tiny Language Models

ICML 2024 · Large language models › Language, safety and interpretability · approach: LLM unlearning and benchmarks · 1 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.

Empirical study of tiny (1B-1.5B) language model design across tokenizer compression, architecture shape, parameter inheritance from a 7B model, and multi-round training, yielding PanGu-π Pro models that beat similarly sized and some larger open models.

Problem

Tiny language models for mobile/edge devices lack carefully studied training recipes; the paper asks which design and optimization choices matter most for high performance at ~1B parameters.

Approach

Systematically ablates four components (compact tokenizer, depth-heavy architecture, parameter inheritance from PanGu-π-7B via learnable binary masks after removing redundant intermediate layers, and loss-weighted multi-round training with sample selection) and combines them into PanGu-π-1B Pro and 1.5B Pro.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
compress the tokenizer from 100k to 48k vocabulary (ablation)PanGu-π-1B · ARC-E, HellaSwag, C3 averageAvg.: 42.41 to 44.11Helped
use an 8k tokenizer instead of the 48k tokenizer (ablation)1B model · ARC-E, HellaSwag, C3Avg.: 41.19 -> 37.94Hurt
increase depth to 40 layers and reduce width to 1280 (ablation)1B model · ARC-E, HellaSwag, C3Avg.: 41.19 -> 42.02Helped
increase depth to 40 layers and reduce width to 1280 (ablation)1B model · inferencetokens per second: 29.49 -> 12.81Hurt
set FFN expansion rate to 1.00 (ablation)1B model · ARC-E, HellaSwag, C3Avg.: 41.19 -> 37.71Hurt
inherit parameters from a larger model (ablation)1B model · ARC-E, HellaSwag, C3Avg.: 42.06 -> 48.08Helped
use learned masks to select inherited parameters instead of Taylor selection (ablation)1B model · ARC-E, HellaSwag, C3Avg.: 47.90 -> 48.08Helped
increase the second-round sampling rate from 0% to 50% (ablation)PanGu-π-1B training · ARC-E, HellaSwag, C3Average: 51.61 -> 54.46Helped
increase the sampling rate from 50% to 100% (ablation)PanGu-π-1B training · ARC-E, HellaSwag, C3Average: 54.46 -> 54.87Helped
train for a third round instead of two rounds (ablation)PanGu-π-1B training · ARC-E, HellaSwag, C3Average: 54.46 -> 54.44No clear effect
replace MHA with GQA (ablation)PanGu-π-1.5B Pro · C-Eval, CMMLU, MMLU, AGI-Evalbenchmark scores: 52.91 / 49.51 / 53.76 / 44.42 -> 48.75 / 46.94 / 51.97 / 43.59Hurt
use the depth-adaptive initialization method instead of constant initialization (ablation)1B model · ARC-E, HellaSwag, C3Avg.: 42.59 -> 42.94Helped

Surprising findings

Limitations

Experimental setup

Datasets: ARC Easy HellaSwag C3 RedPajama PanGu-π pretraining corpus (1.6T tokens)

Benchmarks: C-Eval CMMLU MMLU AGI-Eval BoolQ AX-b PIQA EPRSTMT XSum C3 ARC-E HellaSwag

Metrics: accuracy average accuracy tokens per second

Baselines: TinyLLaMA-1.1B Qwen-1.8B Phi2-2.7B Open-LLaMA-3B Sheared-LLaMA-1.3B MobileLLaMA-2.7B Qwen2-1.5B Qwen2.5-1.5B RWKV-5-1.5B Gemma-2.5B

Builds on: PanGu-π GPT-2 initialization LLaMA architecture GQA

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