Handling long-context sequences efficiently remains a significant challenge in large language models (LLMs). Existing methods for token selection in sequence extrapolation either employ a permanent eviction strategy or select tokens by chunk, which may lead to the loss of critical information. We propose Efficient Selective Attention (ESA), a novel approach that extends context length by efficiently selecting the most critical tokens at the token level to compute attention. ESA reduces the computational complexity of token selection by compressing query and key vectors into lower-dimensional representations. We evaluate ESA on long sequence benchmarks with maximum lengths up to 256k using open-source LLMs with context lengths of 8k and 32k. ESA outperforms other selective attention methods, especially in tasks requiring the retrieval of multiple pieces of information, achieving comparable performance to full-attention extrapolation methods across various tasks, with superior results in certain tasks.
GGC: Selective Query Correction for Reliable Text-to-SPARQL Generation
Nanyang Technological University(南洋理工大学);Institute of High Performance Computing, Agency for Science, Technology and Research (A*STAR)(新加坡科技研究局高性能计算研究所)
Korea Advanced Institute of Science and Technology / Korea, Republic of(韩国科学技术院);University of Illinois in Urbana-Champaign / United States of America(伊利诺伊大学厄巴纳-香槟分校);Korea University / Korea, Republic of(韩国大学)
Knowledge Updating? No More Model Editing! Just Selective Contextual Reasoning
School of Economics and Management, East China Normal University(华东师范大学经济与管理学部);College of Computing and Data Science, Nanyang Technological University(南洋理工大学计算与数据科学学院)
SkillScaffold: Scaffolding Agentic Reinforcement Learning with Policy-Adaptive Skill Credit Assignment and Selective Injection
Zhejiang University(浙江大学);Kuaishou Technology(快手科技);University of the Chinese Academy of Sciences(中国科学院大学);Zhejiang University of Science and Technology(浙江科技学院)
Activation-aware Probe-Query: Effective Key-Value Retrieval for Long-Context LLMs Inference
The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));The Hong Kong University of Science and Technology(香港科技大学);The Hong Kong Polytechnic University(香港理工大学);South China Normal University(华南师范大学);University College London(伦敦大学学院)
SEER: Long-Context Reasoning via Selective Visual-Text Compression
The University of North Carolina at Chapel Hill(北卡罗来纳大学教堂山分校);University of Cambridge(剑桥大学);University of Technology Sydney(悉尼科技大学);The University of North Carolina at Charlotte(北卡罗来纳大学夏洛特分校);The University of Texas at Austin(德克萨斯大学奥斯汀分校)