mlsanityData to 7 Oct 2026

E^2-LLM: Efficient and Extreme Length Extension of Large Language Models

arXiv 2401.06951 ↗First posted 13 Jan 2024cs.CL cs.AIcited by 11

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

  1. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  3. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
  4. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  5. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
  6. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
  7. 2020Longformer: The Long-Document Transformercited by 3,362
  8. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
  9. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
  10. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  11. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
  12. 2020Reformer: The Efficient Transformercited by 1,658
14 more
  1. 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
  2. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
  3. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
  4. 2022Atlas: Few-shot Learning with Retrieval Augmented Language Modelscited by 940
  5. 2017RACE: Large-scale ReAding Comprehension Dataset From Examinationscited by 851
  6. 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 721
  7. 2018A Discourse-Aware Attention Model for Abstractive Summarization of Long Documentscited by 477
  8. 2023Landmark Attention: Random-Access Infinite Context Length for Transformerscited by 206
  9. 2023LongNet: Scaling Transformers to 1,000,000,000 Tokenscited by 201
  10. 2023PoSE: Efficient Context Window Extension of LLMs via Positional Skip-wise Trainingcited by 109
  11. 2023FlashDecoding++: Faster Large Language Model Inference on GPUscited by 70
  12. 2023OWL: A Large Language Model for IT Operationscited by 43
  13. 2022LVP-M3: Language-aware Visual Prompt for Multilingual Multimodal Machine Translationcited by 21
  14. 2024LogFormer: A Pre-train and Tuning Pipeline for Log Anomaly Detectioncited by 15

Built on by

Cited by year

Citing papers per year: 2024: 9; 2025: 2.

11 papers.