The limited context window of contemporary large language models (LLMs) remains a huge barrier to their broader application across various domains. While continual pre-training on long-context data is a straightforward and effective solution, it incurs substantial costs in terms of data acquisition and computational resources. To alleviate this issue, we propose SharedLLM, a novel approach grounded in the design philosophy of multi-grained context compression and query-aware information retrieval. SharedLLM is composed of two short-context LLMs such as LLaMA-2, termed upper model and lower model. The lower model functions as a compressor while the upper model acts as a decoder. The upper model receives compressed, multi-grained context information from the lower model and performs context-aware modeling on the running text. Information transfer between the compressor and decoder occurs only at the lowest layers to refrain from long forward paths in the lower model and redundant cross-attention modules in the upper model. Based on this architecture, we introduce a specialized tree-style data structure to efficiently encode, store and retrieve multi-grained contextual information for text chunks. This structure, combined with a search algorithm, enables rapid encoding and retrieval of relevant information from various levels of the tree based on the input query. This entire process, wherein the sender and receiver are derived from the same LLM layer, is referred to as self-injection.
Stacked from One: Multi-Scale Self-Injection for Context Window Extension
Singapore University of Technology and Design (SUTD)(新加坡科技设计大学);Singapore Management University (SMU)(新加坡管理大学);Nanyang Technological University (NTU)(南洋理工大学);National University of Singapore (NUS)(新加坡国立大学)
SLiNT: Structure-aware Language Model with Injection and Contrastive Training for Knowledge Graph Completion
University of Chinese Academy of Sciences(中国科学院大学);Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所);National Astronomical Observatories, Chinese Academy of Sciences(中国科学院国家天文台)
RAR: Retrieving And Ranking Augmented MLLMs for Visual Recognition
Shanghai Jiao Tong University(上海交通大学);Shanghai AI Laboratory(上海人工智能实验室);The Chinese University of Hong Kong(香港中文大学);MThreads, Inc.(MThreads公司);Nanyang Technological University(南洋理工大学)
GhostEI-Bench: Do Mobile Agents Resilience to Environmental Injection in Dynamic On-Device Environments?
Shanghai Jiao Tong University, School of Computer Science(上海交通大学计算机科学学院);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);The University of Hong Kong(香港大学)
Enhancing Chest X-ray Classification through Knowledge Injection in Cross-Modality Learning
Zhejiang University(浙江大学);School of Engineering, Westlake University(西湖大学工程学院);Westlake University Research Center for Industries of the Future(西湖大学未来产业研究中心);The Second Affiliated Hospital Zhejiang University School of Medicine (SAHZU)(浙江大学医学院附属第二医院);Google Developer Relations Team(谷歌开发者关系团队)
Deep Expert Injection for Anchoring Retinal VLMs with Domain-Specific Knowledge
Beijing Institute of Technology, Beijing, China(北京理工大学);National University of Singapore, Singapore(新加坡国立大学);Tsinghua University, Beijing, China(清华大学);The Hong Kong Polytechnic University, Hong Kong(香港理工大学)
Switch Attention: Towards Dynamic and Fine-grained Hybrid Transformers
State Key Laboratory for Multimedia Information Processing(多媒体信息处理国家重点实验室);School of Computer Science, PKU-Anker LLM Lab, Peking University(计算机科学学院,PKU-Anker LLM实验室,北京大学);Huawei Technologies Co., Ltd.(华为技术有限公司)
Multi-Granularity Semantic Aware Graph Model for Reducing Position Bias in Emotion-Cause Pair Extraction
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院)