scimeatlas

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

LM-Infinite: Zero-Shot Extreme Length Generalization for Large Language Models

NAACL 2024Large language models › Language, safety and interpretabilityapproach: LLM pruning and scaling dataopen problems in this approach380 citations (OpenAlex)

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

13measured effects
8improved
4hurt
1mixed

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
apply LM-Infinite (Lambda mask + distance ceiling)Llama-2-7B · ArXiv perplexity (8K)perplexity: 8.5x10^3 -> 3.3Improved
apply LM-InfiniteLlama-2-7B · ArXiv perplexity (32K)perplexity: NaN -> 6.5Improved
apply LM-Infinite instead of fine-tuning on long textMPT-7B · ArXivperplexity: MPT-7B+LM-Infinite 5.8 vs MPT-7B-SW 4.3 at 8KMixed
apply LM-Infinite with top-5 middle tokensLlama-2-7b-chat · Passkey Retrievalaccuracy: 44.0 -> 81.2 (truncated baseline); 0.0 originalImproved
apply LM-Infinite with top-5 middle tokensLlama-2-7b-chat · Qasperscore: 30.1 -> 31.3Improved
add Lambda-shaped mask without distance ceiling (ablation)LM-Infinite · ArXiv NLLNLL: NLL explodes after pre-training lengthHurt
add distance ceiling without Lambda mask (ablation)LM-Infinite · ArXiv NLLNLL: ever-increasing NLLHurt
use plain sliding window instead of keeping start tokens (ablation)LM-Infinite · ArXiv NLLNLL: second worst NLLHurt
attend to starting tokens (n_starting=0 vs 10) (ablation)LM-Infinite · ArXiv 16K validationaverage NLL: 6.43 -> 1.02Improved
increase n_starting to 1000 / 2000 (ablation)LM-Infinite · ArXiv 16K validationaverage NLL: 1.02 -> 1.81 / 4.96Hurt
apply LM-Infinite instead of repeated truncationLlama-2-7B · ArXiv 10k-token generationBLEU: about 5 BLEU at similar computationImproved
apply LM-Infinite on 32K sequencesLlama-2-7B · efficiencydecoding speed / GPU memory: 2.7x speedup, 7.5x memory savingImproved

Later papers that compared with this method

3 later accepted papers report LM-Infinite as a baseline in their results tables; 3 of them report a better number on most of the results they share with it.

Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.

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