Research map / Large language models / Language, safety and interpretability
LongRecipe: Recipe for Efficient Long Context Generalization in Large Language Models
Zhiyuan Hu, Yuliang liu, Jinman Zhao, Suyuchen Wang, Yan Wang, Wei Shen, Qing Gu, Anh Tuan Luu, See-Kiong Ng, Zhiwei Jiang, Bryan Hooi
National University of Singapore · Nanjing University · Shanghai Innovation Institute · University of Toronto · Québec AI Institute / Université de Montréal · The University of Hong Kong
Read the paperPlace an idea next to itCheck your own paper ↗
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 changed | Where | Measured | Effect |
|---|---|---|---|
| simulate long position indices with LongRecipe instead of PoSE | Llama3-8B-Instruct (80k) · NIAH(M) | score: 68.8 -> 78.9 | Improved |
| LongRecipe vs PoSE | Mistral-7B (128k) · RULER | score: 46.3 -> 58.2 | Improved |
| LongRecipe vs PoSE on LongBench | Llama3-8B-Instruct (80k) · LongBench | score: 27.2 -> 26.9 | Hurt |
| select sentences randomly instead of by impactful token analysis (ablation) | LongRecipe · NIAH(M) | score: 78.9 -> 70.1 | Hurt |
| add impactful token analysis on top of position index transformation (ablation) | LongRecipe · RULER | score: 71.7 -> 74.5 | Improved |
| add position index transformation to PoSE samples (w/o T) (ablation) | PoSE · NIAH(M) | score: 68.8 -> 71.9 | Improved |
| add impactful token analysis (ablation) | LongRecipe · LongBench | score: 29.2 -> 26.4 | Hurt |
| add pretraining data replay (ablation) | LongRecipe · GSM8K | accuracy: 42.7 -> 50.9 | Improved |
| add pretraining data replay (ablation) | LongRecipe · HumanEval | accuracy: 20.1 -> 6.7 | Hurt |
| add model merging after replay (ablation) | LongRecipe · MMLU | accuracy: 62.1 -> 63.0 | Improved |
| add model merging after replay (ablation) | LongRecipe · HumanEval | accuracy: 6.7 -> 29.3 | Improved |
| long-context training (LongRecipe, 80k) vs base model | Llama3-8B-Instruct · GSM8K | accuracy: 71.4 -> 57.9 | Hurt |
Open problems in LLM pruning and scaling data
Do pruning, unlearning and data-scaling methods still work at larger scale and beyond English?
- Experiments are small and larger models or corpora are untested. · 34 papers state it
- The method adds training or compute overhead over the baseline. · 20 papers state it
- Most evaluation uses English or a few high-resource languages. · 13 papers state it
Closest papers by meaning
- LongRoPE: Extending LLM Context Window Beyond 2 Million Tokens (ICML 2024 · similarity 0.91)
- A Little Goes a Long Way: Efficient Long Context Training and Inference with Partial Contexts (ICLR 2025 · similarity 0.91)
- Long-Short Alignment for Effective Long-Context Modeling in LLMs (ICML 2025 · similarity 0.91)
- LongRoPE2: Near-Lossless LLM Context Window Scaling (ICML 2025 · similarity 0.90)
- LongLoRA: Efficient Fine-tuning of Long-Context Large Language Models (ICLR 2024 · similarity 0.89)
- LongMagpie: A Self-synthesis Method for Generating Large-scale Long-context Instructions (NeurIPS 2025 · similarity 0.89)
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.