mlsanityData to 7 Oct 2026

LongReD: Mitigating Short-Text Degradation of Long-Context Large Language Models via Restoration Distillation

arXiv 2502.07365 ↗First posted 11 Feb 2025cs.CL cs.LGcited by 14

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) have gained extended context windows through scaling positional encodings and lightweight continual pre-training. However, this often leads to degraded performance on short-text tasks, while the reasons for this degradation remain insufficiently explored. In this work, we identify two primary factors contributing to this issue: distribution drift in hidden states and attention scores, and catastrophic forgetting during continual pre-training. To address these challenges, we propose Long Context Pre-training with Restoration Distillation (LongReD), a novel approach designed to mitigate short-text performance degradation through minimizing the distribution discrepancy between the extended and original models. Besides training on long texts, LongReD distills the hidden state of selected layers from the original model on short texts. Additionally, LongReD also introduces a short-to-long distillation, aligning the output distribution on short texts with that on long texts by leveraging skipped positional indices. Experiments on common text benchmarks demonstrate that LongReD effectively preserves the model's short-text performance while maintaining comparable or even better capacity to handle long texts than baselines. Our code is available at https://github.com/RUCAIBox/LongReD.

Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Builds on 46 of its 72 references that are in the map. First posted on arXiv 11 Feb 2025.

Builds on

46 of 72 references.

References · 46

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  4. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  5. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  6. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  7. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  8. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
  9. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
  10. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  11. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
  12. 2021Program Synthesis with Large Language Modelscited by 3,509
34 more
  1. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
  2. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
  3. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,140
  4. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
  5. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,114
  6. 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,793
  7. 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,767
  8. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,270
  9. 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,104
  10. 2024ChatGLM: A Family of Large Language Models from GLM-130B to GLM-4 All Toolscited by 1,096
  11. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
  12. 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 960
  13. 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 883
  14. 2023On-Policy Distillation of Language Models: Learning from Self-Generated Mistakescited by 840
  15. 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 721
  16. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
  17. 2024MiniCPM: Unveiling the Potential of Small Language Models with Scalable Training Strategiescited by 694
  18. 2024Long Context Transfer from Language to Visioncited by 502
  19. 2023Ring Attention with Blockwise Transformers for Near-Infinite Contextcited by 448
  20. 2023Llemma: An Open Language Model For Mathematicscited by 385
  21. 2018QuAC : Question Answering in Contextcited by 379
  22. 2022Large Language Models Are Reasoning Teacherscited by 318
  23. 2024LongRoPE: Extending LLM Context Window Beyond 2 Million Tokenscited by 302
  24. 2023Effective Long-Context Scaling of Foundation Modelscited by 301
  25. 2024Data Engineering for Scaling Language Models to 128K Contextcited by 183
  26. 2024Continual Learning for Large Language Models: A Surveycited by 144
  27. 2024How to Train Long-Context Language Models (Effectively)cited by 141
  28. 2023PoSE: Efficient Context Window Extension of LLMs via Positional Skip-wise Trainingcited by 109
  29. 2023A Survey on Long Text Modeling with Transformerscited by 47
  30. 2024Unleashing the Potential of Large Language Models as Prompt Optimizers: Analogical Analysis with Gradient-based Model Optimizerscited by 33
  31. 2024Exploring Context Window of Large Language Models via Decomposed Positional Vectorscited by 18
  32. 2024An Efficient Recipe for Long Context Extension via Middle-Focused Positional Encodingcited by 16
  33. 2024Mix-CPT: A Domain Adaptation Framework via Decoupling Knowledge Learning and Format Alignmentcited by 6
  34. 2024DAWN-ICL: Strategic Planning of Problem-solving Trajectories for Zero-Shot In-Context Learningcited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 8; 2026: 6.

14 papers.

Sort:

By area: