Autoencoding-Free Context Compression for LLMs via Contextual Semantic Anchors
School of Computer Science and Engineering, Northeastern University, Shenyang, China(东北大学计算机科学与工程学院,中国沈阳);NiuTrans Research, Shenyang, China(沈阳NiuTrans研究院,中国);Kunming University of Science and Technology, Kunming, China(昆明理工大学,中国昆明)
Context compression is an advanced technique that accelerates large language model (LLM) inference by converting long inputs into compact representations. Existing methods primarily rely on autoencoding tasks to train special compression tokens to represent contextual semantics. While autoencoding tasks enable compression tokens to acquire compression capabilities, we remark that such capabilities potentially conflict with actual downstream task requirements, prevent the models from learning the features more beneficial for real-world usage. Based on this observation, we propose Semantic-Anchor Compression (SAC), a novel method that shifts from autoencoding task based compression to an architecture that is equipped with this compression capability \textit{a priori}. Instead of training models to compress contexts through autoencoding tasks, SAC directly selects so-called anchor tokens from the original context and aggregates contextual information into their key-value (KV) representations. To ensure that anchors can effectively collect information, SAC introduces two key designs: (1) anchor embedding, a learnable embedding vector attached to the selected anchor tokens to mark compression carriers and (2) bidirectional attention modification, which enables anchor tokens to integrate information from the entire context. Experimental results show that SAC consistently outperforms existing context compression methods across different compression ratios and model sizes on question-answering and long-context summarization tasks. Our data, model and code have been released at \href{https://github.com/lx-Meteors/SAC}{https://github.com/lx-Meteors/SAC}.
Causal Path Alignment: Anchoring the Optimization Trajectory for Controllable In-Parameter Knowledge Editing
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络安全学院)
Context-Aware Cluster Decoding: Semantic Anchor-Driven Coherence in dMLLMs
Sun Yat-sen University(中山大学);Shanghai Jiao Tong University(上海交通大学);University of Electronic Science and Technology of China(电子科技大学);Alibaba Group(阿里巴巴集团);Shanghai University(上海大学)
School of Artificial Intelligence, Wuhan University(武汉大学人工智能学院);School of Computer Science, Wuhan University(武汉大学计算机学院);School of Information Management, Wuhan University(武汉大学信息管理学院);School of Computer Science, Shanghai Jiao Tong University(上海交通大学计算机学院)
SLANG: New Concept Comprehension of Large Language Models
Institute of Computing Technology, CAS(中国科学院计算技术研究所);University of California, Los Angeles(加利福尼亚大学洛杉矶分校);University of California, Merced(加利福尼亚大学默塞德分校);University of Chinese Academy of Sciences(中国科学院大学)
Hallucinations as Orthogonal Noise: Inference-Time Manifold Alignment via Dynamic Contextual Orthogonalization
Xi’an Jiaotong University(西安交通大学);Xingchen AGI Lab(星辰AGI实验室);China Telecom AI Technology (Beijing) Co., Ltd.(中国电信人工智能技术(北京)有限公司);Institute of Artificial Intelligence, China Telecom(中国电信人工智能研究院);University of Science and Technology of China(中国科学技术大学);Tsinghua University(清华大学)
Contextual StereoSet: Stress-Testing Bias Alignment Robustness in Large Language Models
Indian Institute of Information Technology, Allahabad (IIITA)(印度信息与技术研究所(Allahabad));National Institute of Electronics and Information Technology (NIELIT)(国家电子与信息技术研究所)
Contextual Representation Learning beyond Masked Language Modeling
Peking University(北京大学);ByteDance AI Lab(字节跳动人工智能实验室);University of California, Santa Barbara(加州大学圣巴巴拉分校)
掩蔽语言模型(Masked Language Models,MLMs)如BERT如何学习上下文表示?在这项工作中,我们分析了学习动态的MLMs。我们发现,多语言模型采用抽样嵌入作为锚来估计和注入上下文语义的表示,这限制了多语言模型的效率和有效性。为了解决这些问题,我们提出了TACO,一个简单而有效的表示学习方法,直接建模全局语义。TACO提取并对齐隐藏在上下文表示中的上下文语义,以鼓励模型在生成上下文表示时关注全局语义。在GLUE基准测试上的实验表明,TACO实现了高达5倍的加速比和高达1.2点的平均改善现有的MLMs。该代码可在https://github.com/FUZHIYI/TACO上获得。
Attention Mechanism and Context Modeling System for Text Mining Machine Translation
Boston University(波士顿大学);Duke University(杜克大学);Carnegie Mellon University(卡内基梅隆大学);University of Pennsylvania(宾夕法尼亚大学);North Carolina State University(北卡罗来纳州立大学)