YaRN: Efficient Context Window Extension of Large Language Models
Problem: RoPE models fail beyond their training length; how to extend the context window with fewer tokens and training steps?
Where the evidence sits: the abstract claims 10x fewer tokens and 2.5x fewer training steps than prior methods; LLaMA models extrapolate far beyond their original pretraining length; it surpasses prior SOTA on context extension and can extrapolate beyond the fine-tuning dataset context.
What the authors say about limits: mainly LLaMA-family experiments; requires light fine-tuning; long contexts still pay attention cost; fidelity on all tasks is not proven.
What it does not claim: not zero-cost infinite context; not fine-tuning-free; not universal across models.
Key specs
- 证据位置 / evidence
- 摘要:10× token、2.5× 步数、LLaMA 外推
- 训练成本 / training
- 10× fewer tokens; 2.5× fewer steps
- 复现状态 / reproduction
- 未复现(只读摘要)
What the source says
requiring 10x less tokens and 2.5x less training steps than previous methods
LLaMA models can effectively utilize and extrapolate to context lengths much longer than their original pre-training would allow
extrapolate beyond the limited context of a fine-tuning dataset
Source and licence
- Source checked
- 2026-11-19
- Licence / kind
- arxiv-preprint
- Licence evidence
- https://arxiv.org/abs/2309.00071
- Category
- Efficiency
How to read the numbers
Before citing a score, separate what it measures, how it is scored, what it compares against and whether contamination is controlled. If unsure, go back to the experiment setup in the paper. See benchmark cards · See dataset cards