E2LLM: Encoder Elongated Large Language Models for Long-Context Understanding and Reasoning
In the realm of Large Language Models (LLMs), the ability to process long contexts is increasingly crucial for tasks such as multi-round dialogues, code generation, and document summarization. This paper addresses the challenges of enhancing the long-context performance, reducing computational complexity, and leveraging pretrained models collectively termed the "impossible triangle." We introduce E2LLM (Encoder Elongated Large Language Models), a novel approach that effectively navigates this paradox. The method involves splitting long contexts into chunks, compressing each into embedding vectors via a pretrained text encoder, and utilizing an adapter to align these representations with a decoder-only LLM. Two training objectives, focusing on reconstruction of the encoder output and long-context instruction fine-tuning, are employed to facilitate the understanding of soft prompts by the LLM. Experimental results demonstrate that E2LLM achieves superior performance in long-context scenarios while balancing efficiency, performance, and compatibility with pretrained models. Our framework thus represents a significant advancement in the field, contributing to effective long-text modeling.
Code (0)
등록된 구현이 없습니다.
Tasks
Code GenerationDecoderDocument SummarizationLong-Context UnderstandingMethods 이 논문이 사용한 방법론
Similar Papers 제목 키워드 기반
Fast and robust curve skeletonization for real-world elongated objects
We consider the problem of extracting curve skeletons of three-dimensional, elongated objects given a noisy surface, which has applications in agricultural contexts such as extracting the branching structure of plants. W…
Decision MakingShape Estimation for Elongated Deformable Object using B-spline Chained Multiple Random Matrices Model
In this paper, a B-spline chained multiple random matrices representation is proposed to model geometric characteristics of an elongated deformable object. The hyper degrees of freedom structure of the elongated deformab…
ObjectIntegration of Lexical and Semantic Knowledge for Sentiment Analysis in SMS
With the explosive growth of online social media (forums, blogs, and social networks), exploitation of these new information sources has become essential. Our work is based on the sud4science project. The goal of this pr…
General ClassificationSentiment AnalysisThe Orientation Estimation of Elongated Underground Objects via Multi-Polarization Aggregation and Selection Neural Network
The horizontal orientation angle and vertical inclination angle of an elongated subsurface object are key parameters for object identification and imaging in ground penetrating radar (GPR) applications. Conventional meth…
GPRObjectDoes nematic order allow groups of elongated cells to sense electric fields better?
Collective response to external directional cues like electric fields plays a pivotal role in processes such as tissue development, regeneration, and wound healing. In this study we focus on the impact of anisotropy in c…