E^2-LLM: Efficient and Extreme Length Extension of Large Language Models
Not on the map. Why?
Abstract (arXiv)
Typically, training LLMs with long context sizes is computationally expensive, requiring extensive training hours and GPU resources. Existing long-context extension methods usually need additional training procedures to support corresponding long-context windows, where the long-context training data (e.g., 32k) is needed, and high GPU training costs are assumed. To address the aforementioned issues, we propose an Efficient and Extreme length extension method for Large Language Models, called E 2 -LLM, with only one training procedure and dramatically reduced computation cost, which also removes the need to collect long-context data. Concretely, first, the training data of our E 2 -LLM only requires a short length (e.g., 4k), which reduces the tuning cost greatly. Second, the training procedure on the short training context window is performed only once time, and we can support different evaluation context windows at inference. Third, in E 2 - LLM, based on RoPE position embeddings, we introduce two different augmentation methods on the scale and position index parameters for different samples in training. It aims to make the model more robust to the different relative differences when directly interpolating the arbitrary context length at inference. Comprehensive experimental results on multiple benchmark datasets demonstrate the effectiveness of our E 2 -LLM on challenging long-context tasks.
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 26 of its 50 references that are in the map. First posted on arXiv 13 Jan 2024.
Builds on
26 of 50 references.
References · 26
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
- 2020Reformer: The Efficient Transformercited by 1,658
14 more
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
- 2022Atlas: Few-shot Learning with Retrieval Augmented Language Modelscited by 940
- 2017RACE: Large-scale ReAding Comprehension Dataset From Examinationscited by 851
- 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 721
- 2018A Discourse-Aware Attention Model for Abstractive Summarization of Long Documentscited by 477
- 2023Landmark Attention: Random-Access Infinite Context Length for Transformerscited by 206
- 2023LongNet: Scaling Transformers to 1,000,000,000 Tokenscited by 201
- 2023PoSE: Efficient Context Window Extension of LLMs via Positional Skip-wise Trainingcited by 109
- 2023FlashDecoding++: Faster Large Language Model Inference on GPUscited by 70
- 2023OWL: A Large Language Model for IT Operationscited by 43
- 2022LVP-M3: Language-aware Visual Prompt for Multilingual Multimodal Machine Translationcited by 21
- 2024LogFormer: A Pre-train and Tuning Pipeline for Log Anomaly Detectioncited by 15
Built on by
Citing papers per year: 2024: 9; 2025: 2.
11 papers.
- 2024Long-context LLMs Struggle with Long In-context Learningcited by 285
- 2024How to Train Long-Context Language Models (Effectively)cited by 141
- 2024LongRAG: Enhancing Retrieval-Augmented Generation with Long-context LLMscited by 104
- 2024Depth Any Video with Scalable Synthetic Datacited by 57
- 2025LongReason: A Synthetic Long-Context Reasoning Benchmark via Context Expansioncited by 47
- 2024HelloBench: Evaluating Long Text Generation Capabilities of Large Language Modelscited by 42
- 2024DAPE: Data-Adaptive Positional Encoding for Length Extrapolationcited by 30
- 2024V2PE: Improving Multimodal Long-Context Capability of Vision-Language Models with Variable Visual Position Encodingcited by 28
- 2024ConceptMath: A Bilingual Concept-wise Benchmark for Measuring Mathematical Reasoning of Large Language Modelscited by 10
- 2024DAPE V2: Process Attention Score as Feature Map for Length Extrapolationcited by 10
- 2025Revisiting Long-context Modeling from Context Denoising Perspectivecited by 5
- 2025Revisiting Long-context Modeling from Context Denoising Perspective7 Oct 2025
- 2025LongReason: A Synthetic Long-Context Reasoning Benchmark via Context Expansion25 Jan 2025
- 2024V2PE: Improving Multimodal Long-Context Capability of Vision-Language Models with Variable Visual Position Encoding12 Dec 2024
- 2024Depth Any Video with Scalable Synthetic Data14 Oct 2024
- 2024DAPE V2: Process Attention Score as Feature Map for Length Extrapolation7 Oct 2024
- 2024How to Train Long-Context Language Models (Effectively)3 Oct 2024
- 2024HelloBench: Evaluating Long Text Generation Capabilities of Large Language Models24 Sep 2024
- 2024LongRAG: Enhancing Retrieval-Augmented Generation with Long-context LLMs21 Jun 2024
- 2024DAPE: Data-Adaptive Positional Encoding for Length Extrapolation23 May 2024
- 2024Long-context LLMs Struggle with Long In-context Learning2 Apr 2024
- 2024ConceptMath: A Bilingual Concept-wise Benchmark for Measuring Mathematical Reasoning of Large Language Models22 Feb 2024