SEAL: Scaling to Emphasize Attention for Long-Context Retrieval
While many advanced LLMs are designed to handle long sequence data, we can still observe notable quality degradation even within the sequence limit.In this work, we introduce a novel approach called Scaling to Emphasize Attention for Long-context retrieval (SEAL), which enhances the retrieval performance of large language models (LLMs) over long contexts.We observe that specific attention heads are closely tied to long-context retrieval, showing positive or negative correlation with retrieval scores, and adjusting the strength of these heads boosts the quality of LLMs in long context by a large margin.Built on this insight, we propose a learning-based mechanism that leverages generated data to emphasize these heads.By applying SEAL, we achieve significant improvements in long-context retrieval performance across various tasks and models.Additionally, when combined with existing training-free context extension techniques, SEAL extends the contextual limits of LLMs while maintaining highly reliable outputs.
Authors
- Jie Jin (ORCID: https://orcid.org/0000-0002-5622-0964)
- Yuichiro Cho (ORCID: https://orcid.org/0000-0003-2749-2204)
- Changhun Lee (ORCID: https://orcid.org/0000-0003-2722-7400)
- Eunhyeok Park (ORCID: https://orcid.org/0000-0002-7331-9819)
- Minsang Seok
Publication Details
- Published
- 2025-01-01
- DOI
- https://doi.org/10.18653/v1/2025.acl-long.1405
- Primary Topic
- Topic Modeling
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Ministry of Science and ICT, South Korea
- Institute for Information and Communications Technology Promotion