Lune

ACL Findings2024

E2-LLM: Efficient and Extreme Length Extension of Large Language Models

Jiaheng Liu, Zhiqi Bai, Yuanxing Zhang, Chenchen Zhang, Yu Zhang, Ge Zhang, Jiakai Wang, Haoran Que, Yukang Chen, Wenbo Su, Tiezheng Ge, Jie Fu

摘要

Training Large Language Models (LLMs) to process extensive context lengths incurs prohibitive computational costs. Prevailing techniques for extending context capabilities in LLMs typically require not only additional training procedures but also access to datasets with long context (e.g., sequences of 32K tokens), presupposing substantial GPU expenditures. To address the aforementioned issues, we introduce a novel solution named Efficient and Extreme length extension for Large Language Models (E 2 -LLM). E 2 -LLM entails a singular training process over considerably short sequences (e.g., 4K tokens), which greatly mitigates the cost of continual-pretraining or finetuning. Within the training phase, we incorporate a dual augmentation strategy with Rotary Position Embeddings (RoPE) that adjusts the scale and position indices across distinct training samples. E 2 -LLM is meticulously designed to enhance the model's robustness to diverse relative positions. The experimental results on multiple benchmark datasets demonstrate the superior performance of E 2 -LLM on demanding tasks of processing long contexts.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 10 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Efficient Streaming Language Models with Attention Sinks 引用了 YaRN: Efficient Context Window Extension of Large Language Models
  • Efficient Streaming Language Models with Attention Sinks 引用了 Reformer: The Efficient Transformer
  • DAPE: Data-Adaptive Positional Encoding for Length Extrapolation 引用了 Efficient Streaming Language Models with Attention Sinks
  • DAPE: Data-Adaptive Positional Encoding for Length Extrapolation 引用了 YaRN: Efficient Context Window Extension of Large Language Models
  • DAPE: Data-Adaptive Positional Encoding for Length Extrapolation 引用了 LongLoRA: Efficient Fine-tuning of Long-Context Large Language Models
  • DAPE V2: Process Attention Score as Feature Map for Length Extrapolation 引用了 Efficient Streaming Language Models with Attention Sinks
  • DAPE V2: Process Attention Score as Feature Map for Length Extrapolation 引用了 YaRN: Efficient Context Window Extension of Large Language Models
  • DAPE V2: Process Attention Score as Feature Map for Length Extrapolation 引用了 DAPE: Data-Adaptive Positional Encoding for Length Extrapolation
  • DAPE V2: Process Attention Score as Feature Map for Length Extrapolation 引用了 LongLoRA: Efficient Fine-tuning of Long-Context Large Language Models
  • Beyond Length: Quantifying Long-Range Information for Long-Context LLM Pretraining Data 引用了 YaRN: Efficient Context Window Extension of Large Language Models
  • LongLoRA: Efficient Fine-tuning of Long-Context Large Language Models 引用了 YaRN: Efficient Context Window Extension of Large Language Models
  • LongLoRA: Efficient Fine-tuning of Long-Context Large Language Models 引用了 Recurrent Memory Transformer
  • LongLoRA: Efficient Fine-tuning of Long-Context Large Language Models 引用了 Reformer: The Efficient Transformer
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper10

  1. DDK: Distilling Domain Knowledge for Efficient Large Language ModelsJiaheng Liu, Chenchen Zhang, Jinyang Guo, Yuanxing Zhang 等NeurIPS 2024 · 50 次引用
  2. DAPE: Data-Adaptive Positional Encoding for Length ExtrapolationChuanyang Zheng, Yihang Gao, Han Shi, Minbin Huang 等NeurIPS 2024 · 42 次引用
  3. SOFA: A Compute-Memory Optimized Sparsity Accelerator via Cross-Stage Coordinated TilingHuizheng Wang, Jiahao Fang, Xinru Tang, Zhiheng Yue 等MICRO 2024 · 31 次引用
  4. DAPE V2: Process Attention Score as Feature Map for Length ExtrapolationChuanyang Zheng, Yihang Gao, Han Shi, Jing Xiong 等ACL 2025 · 12 次引用
  5. Beyond Length: Quantifying Long-Range Information for Long-Context LLM Pretraining DataHaoran Deng, Yingyu Lin, Zhenghao Lin, Xiao Liu 等ICLR 2026 · 6 次引用

它引用的 Paper17

  1. Reformer: The Efficient TransformerNikita Kitaev, Lukasz Kaiser, Anselm LevskayaICLR 2020 · 2,878 次引用
  2. Efficient Streaming Language Models with Attention SinksGuangxuan Xiao, Yuandong Tian, Beidi Chen, Song Han 等ICLR 2024 · 1,714 次引用
  3. YaRN: Efficient Context Window Extension of Large Language ModelsBowen Peng, Jeffrey Quesnelle, Honglu Fan, Enrico ShippoleICLR 2024 · 508 次引用
  4. LongLoRA: Efficient Fine-tuning of Long-Context Large Language ModelsYukang Chen, Shengju Qian, Haotian Tang, Xin Lai 等ICLR 2024 · 254 次引用
  5. Recurrent Memory TransformerAydar Bulatov, Yuri Kuratov, Mikhail BurtsevNeurIPS 2022 · 252 次引用

相关 Paper

  1. Scaling Instruction-tuned LLMs to Million-token Contexts via Hierarchical Synthetic Data GenerationLinda He, Jue Wang, Maurice Weber, Shang Zhu 等ICLR 2025
  2. LongRoPE: Extending LLM Context Window Beyond 2 Million TokensYiran Ding, Li Lyna Zhang, Chengruidong Zhang, Yuanyuan Xu 等ICML 2024 · 316 次引用
  3. LongRoPE2: Near-Lossless LLM Context Window ScalingNing Shang, Li Lyna Zhang, Siyuan Wang, Gaokai Zhang 等ICML 2025
  4. UltraLLaDA: Scaling the Context Length to 128K for Diffusion Large Language ModelsGuangxin He, Shen Nie, Fengqi Zhu, Yuankang Zhao 等ICLR 2026 · 13 次引用
  5. PoSE: Efficient Context Window Extension of LLMs via Positional Skip-wise TrainingDawei Zhu, Nan Yang, Liang Wang, Yifan Song 等ICLR 2024 · 110 次引用
黄昏的海面,两侧是细线勾勒的悬崖