atlas

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

Physics of Language Models: Part 3.3, Knowledge Capacity Scaling Laws

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

Estimates the knowledge storage capacity of language models in bits using synthetic biography datasets, finding GPT2-style models store about 2 bits per parameter, even when quantized to int8.

Problem

Quantifying how much factual knowledge (in bits) a language model can store as a function of its size when adequately trained, and how architecture, training duration, quantization, MoE sparsity, and data quality affect this capacity.

Approach

Define a controlled synthetic knowledge-tuple dataset (bioS/bioD) with a derived bit-complexity lower bound, so that model capacity can be measured as knowledge bits per parameter (capacity ratio) rather than via loss or benchmarks; find a consistent ~2 bits/param peak ratio for GPT2 trained with 1000 exposures.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Train for 1000 exposures rather than 100 exposuresGPT2 · bioS(N)capacity ratio (bits/parameter): 1bit/param -> 2bit/paramHelped
Use LLaMA/Mistral architecture rather than GPT2GPT2 · bioS(N), 100 exposurescapacity ratio: 1.3x lower than GPT2'sHurt
Replace GPT2 with LLaMA/Mistral architectureGPT2 · bioS(N), 1000 exposurescapacity ratioNo clear effect
Quantize GPT2 to int8 (ablation)GPT2 · bioS(N), 1000 exposurescapacity ratio (bits/parameter): 2bit/paramNo clear effect
Quantize GPT2 to int4 (ablation)GPT2 · bioS(N), 1000 exposurescapacity ratio (bits/parameter): 2bit/param -> 0.7bit/paramHurt
Use MoE with 32 experts (ablation)GPT2 base scaling laws · bioS(N)capacity ratio: 1.3xHurt
Add junk data at a 1:7 useful-to-junk token ratio (ablation)GPT2 · bioS(N), 100 useful-knowledge exposuresuseful-knowledge capacity: 20xHurt
Prepend a special token to useful knowledge (ablation)GPT2 with junk data · bioS(N), useful-to-junk tokens 1:7, 100 useful-knowledge exposuresuseful-knowledge capacity loss factor: 20x -> 2xHelped
Reduce GPT2 MLP size by 1/4 (ablation)GPT2 · bioS(N), 1000 exposurescapacity ratioNo clear effect
Remove all GPT2 MLP layers (ablation)GPT2 · bioS(N), 1000 exposurescapacity ratioNo clear effect
Tie the embedding and output-layer weights (ablation)LLaMA · bioS(N), 1000 exposures, tiny models (<10M)capacity ratioHelped
Rewrite the same knowledge using diverse sentence templates (ablation)GPT2 · bioS(N) versus bioS-single(N), 1000 exposurescapacity ratioHelped

Surprising findings

Limitations

Experimental setup

Datasets: bioS bioD bioR argilla-style bioS variant

Benchmarks: bioS synthetic biography knowledge accuracy extractable knowledge accuracy after LoRA QA fine-tuning

Metrics: capacity ratio (bits per parameter) knowledge accuracy cross-entropy loss

Baselines: LLaMA Mistral

Builds on: Physics of Language Models Part 3.1 GPTQ LoRA rotary positional embedding

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