scimeatlas

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

Transformer Language Models Handle Word Frequency in Prediction Head

Goro Kobayashi, Tatsuki Kuribayashi, Sho Yokoi, Kentaro Inui

ACL 2023Large language models › Language, safety and interpretabilityapproach: LLM pruning and scaling dataopen problems in this approach16 citations (OpenAlex)

RIKEN · Tohoku University · MBZUAI

Read the paperPlace an idea next to itCheck your own paper ↗

10measured effects
3improved
4hurt
3mixed

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
remove b_LN from prediction head (ablation)BERT/GPT-2 · KL to corpus word frequencyKL divergence: 0.14 -> 0.83 (GPT-2 small); 0.20 -> 0.39 (BERT-base)Hurt
remove b_LN from larger GPT-2 models (ablation)GPT-2 large/xl · KL to corpus word frequencyKL divergence: 0.14 -> 0.17Mixed
remove b_FC or b_last (ablation)BERT · KL to corpus word frequencyKL divergence: 0.20 -> 0.22 (w/o b_FC), 0.23 (w/o b_last), BERT-baseMixed
remove bias direction from output embeddings (ablation)BERT-base · embedding isotropyaverage cosine similarity: 0.15 -> 0.09Improved
fine-tune GPT-2 small on ML abstractsGPT-2 small · correlation of b_LN projection with frequencySpearman's rho: 0.38 -> 0.62 (fine-tuning corpus); 0.78 -> 0.73 (pre-training corpus)Mixed
weaken b_LN (lambda 1 -> 0.5) (ablation)GPT-2 large, top-p · text generationMAUVE / diversity D / PPL: MAUVE 0.90 -> 0.91; D 0.47 -> 0.50; PPL 12.7 -> 12.9Improved
weaken b_LN (lambda 1 -> 0.7) (ablation)GPT-2 xl, top-p · text generationMAUVE / diversity D / PPL: MAUVE 0.90 -> 0.92; D 0.47 -> 0.49; PPL 11.4 -> 11.5Improved
weaken b_LN (lambda 1 -> 0.6) (ablation)GPT-2 small, top-p · text generationMAUVE: 0.85 -> 0.18Hurt
remove b_LN entirely (lambda 0) (ablation)GPT-2 small, top-p · text generationMAUVE / PPL: MAUVE 0.85 -> 0.01; PPL 19.4 -> 65.9Hurt
weaken b_LN with vanilla sampling (ablation)GPT-2 · text generation (vanilla sampling)MAUVE: 0.50 -> 0.02 (small, lambda 1 -> 0.5)Hurt

Open problems in LLM pruning and scaling data

Do pruning, unlearning and data-scaling methods still work at larger scale and beyond English?

All 5 open problems and what was already tried →

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