atlas

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

MobileLLM: Optimizing Sub-billion Parameter Language Models for On-Device Use Cases

ICML 2024 · Large language models › Language, safety and interpretability · approach: LLM pruning and scaling data · 11 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.

Designs sub-billion LLMs (MobileLLM) via deep-thin architecture, embedding sharing, GQA, and immediate block-wise layer sharing (MobileLLM-LS), trained from scratch on 1T tokens and evaluated on common-sense, QA, chat, and API-calling tasks.

Problem

Building high-quality LLMs under 1B parameters for on-device deployment, where memory (DRAM) and energy constraints limit model size.

Approach

Shows that depth matters more than width for small LLMs, and combines embedding sharing, grouped-query attention, and immediate block-wise weight sharing (repeating adjacent blocks so weights stay in cache) to improve accuracy at fixed model size and minimal latency cost.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace vanilla FFN with SwiGLU (ablation)125M MobileLLM design · Zero-shot common-sense reasoningaverage accuracy: 42.6 -> 43.9Helped
Use a deep-thin architecture instead of a shallower, wider structure (ablation)125M MobileLLM design · Zero-shot common-sense reasoningaverage accuracy: 43.9 -> 44.8Helped
Share input and output embeddings (ablation)125M MobileLLM design · Zero-shot common-sense reasoningaverage accuracy: 44.8 -> 44.6Hurt
Use grouped-query attention and increase embedding dimension (ablation)125M MobileLLM design · Zero-shot common-sense reasoningaverage accuracy: 44.6 -> 45.0Helped
Add immediate block-wise layer sharing (ablation)MobileLLM-125M · Zero-shot common-sense reasoningaverage accuracy: 46.3 -> 47.0Helped
Add immediate block-wise layer sharing (ablation)MobileLLM-350M · Zero-shot common-sense reasoningaverage accuracy: 51.3 -> 52.1Helped
Replace immediate block-wise sharing with repeat-all-over sharing (ablation)125M model · Zero-shot common-sense reasoningaverage accuracy: 44.6 -> 45.2Helped
Increase layer-sharing repetition from ×2 to ×4 (ablation)125M model · Zero-shot common-sense reasoningaverage accuracy: 45.0 -> 45.3Helped
Apply W8A8 post-training quantization (ablation)MobileLLM-125M · Zero-shot common-sense reasoningaverage accuracy: 45.0 -> 44.8Hurt
Add LLaMA-v2 7B knowledge distillation loss (ablation)125M model trained with labels · Zero-shot common-sense reasoningaverage accuracy: 43.9 -> 43.8Hurt
Add LLaMA-v2 7B knowledge distillation loss (ablation)350M model trained with labels · Zero-shot common-sense reasoningaverage accuracy: 49.1 -> 48.8Hurt
Train MobileLLM-1.5B rather than Qwen1.5-1.8BZero-shot common-sense reasoning · Zero-shot common-sense reasoning, 1.5B scaleaverage accuracy: 56.5 -> 59.4Helped

Surprising findings

Limitations

Experimental setup

Datasets: pretraining corpus (1T tokens, unspecified) synthetic API calling dataset (5000 train / 2500 test) AlpacaEval MT-Bench

Benchmarks: ARC-easy ARC-challenge BoolQ PIQA SIQA HellaSwag OBQA WinoGrande TriviaQA RACE AlpacaEval MT-Bench

Metrics: zero-shot accuracy F1 win rate MT-Bench score exact match Rouge latency

Baselines: OPT-125M GPT-neo-125M Pythia-160M RWKV-169M OPT-350M Pythia-410M BLOOM-560M LLaMA-v2 7B Qwen1.5-1.8B MobiLlama TinyLlama-1.1B

Builds on: SwiGLU grouped-query attention OPT embedding sharing LLaMA-v2

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