跳到主要导航 跳到搜索 跳到主要内容

E2LLM: Encoder Elongated Large Language Models for Long-Context Understanding and Reasoning

  • Zihan Liao
  • , Jun Wang*
  • , Hang Yu
  • , Lingxiao Wei
  • , Jianguo Li*
  • , Jun Wang*
  • , Wei Zhang*
  • *此作品的通讯作者
  • East China Normal University
  • Ant Group
  • Shanghai Innovation Institute

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

Processing long contexts is increasingly important for Large Language Models (LLMs) in tasks like multi-turn dialogues, code generation, and document summarization. This paper addresses the challenges of achieving high long-context performance, low computational complexity, and compatibility with pretrained models - collectively termed the “impossible triangle”. We introduce E2LLM (Encoder Elongated Large Language Models), a novel approach that effectively navigates this paradox. E2LLM divides long contexts into chunks, compresses each into soft prompts using a pretrained text encoder, and aligns these representations with a decoder-only LLM via an adapter. To enhance the LLM's reasoning with these soft prompts, we employ two training objectives: encoder output reconstruction and long-context instruction fine-tuning. Extensive experiments reveal that E2LLM not only outperforms 8 state-of-the-art (SOTA) methods in effectiveness and efficiency for document summarization and question answering, but also achieves the best performance on LongBench v2 among models of comparable size. The source code is available at https://github.com/codefuse-ai/E2LLM.

源语言英语
主期刊名EMNLP 2025 - 2025 Conference on Empirical Methods in Natural Language Processing, Proceedings of the Conference
编辑Christos Christodoulopoulos, Tanmoy Chakraborty, Carolyn Rose, Violet Peng
出版商Association for Computational Linguistics (ACL)
19201-19230
页数30
ISBN(电子版)9798891763326
DOI
出版状态已出版 - 2025
活动30th Conference on Empirical Methods in Natural Language Processing, EMNLP 2025 - Suzhou, 中国
期限: 4 11月 20259 11月 2025

出版系列

姓名EMNLP 2025 - 2025 Conference on Empirical Methods in Natural Language Processing, Proceedings of the Conference

会议

会议30th Conference on Empirical Methods in Natural Language Processing, EMNLP 2025
国家/地区中国
Suzhou
时期4/11/259/11/25

学术指纹

探究 'E2LLM: Encoder Elongated Large Language Models for Long-Context Understanding and Reasoning' 的科研主题。它们共同构成独一无二的学术指纹。

引用此