Large Language Models (LLMs) incur significant computational and memory costs when processing long prompts, as full self-attention scales quadratically with input length. Token compression aims to address this challenge by reducing the number of tokens representing inputs. However, existing prompt-compression approaches primarily operate in token space and overlook inefficiencies in the latent embedding space. In this paper, we propose K-Token Merging, a latent-space compression framework that merges each contiguous block of K token embeddings into a single embedding via a lightweight encoder. The compressed sequence is processed by a LoRA-adapted LLM, while generation remains in the original vocabulary. Experiments on structural reasoning (Textualized Tree), sentiment classification (Amazon Reviews), and code editing (CommitPackFT) show that K-Token Merging lies on the Pareto frontier of performance vs. compression, achieving up to 75% input length reduction with minimal performance degradation. Code is available at https://github.com/shsjxzh/K-Token-Merging.
Pruning via Merging: Compressing LLMs via Manifold Alignment Based Layer Merging
Harbin Institute of Technology(哈尔滨工业大学);University of Science and Technology of China(中国科学技术大学);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);Shandong Agricultural University(山东农业大学);Tencent Inc.(腾讯公司);Anhui University(安徽大学)
Dynamic Compressing Prompts for Efficient Inference of Large Language Models
School of Software Engineering, South China University of Technology(华南理工大学软件学院);Pazhou Lab(琶洲实验室);School of Future Technology, South China University of Technology(华南理工大学未来技术学院);Peng Cheng Laboratory(鹏城实验室);Hong Kong Polytechnic University(香港理工大学);Department of Computer Science and Technology, Chongqing University of Posts and Telecommunications(重庆邮电大学计算机科学与技术学院)
R-Capsule: Compressing High-Level Plans for Efficient Large Language Model Reasoning
Tianjin University(天津大学);Tencent Hunyuan(腾讯文元);Peking University(北京大学);Fudan University(复旦大学);National Engineering Research Center of Educational Big Data and the Faculty of Artificial Intelligence in Education, Central China Normal University(教育大数据国家工程研究中心和教育人工智能学院,中央财经大学)
AdmTree: Compressing Lengthy Context with Adaptive Semantic Trees
Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院);Peng Cheng Laboratory(鹏城实验室);University of Illinois Chicago(伊利诺伊大学芝加哥分校);Guangdong Laboratory of Artificial Intelligence and Digital Economy (SZ)(广东人工智能与数字经济实验室(深圳))
CRISP: Compressing Redundancy in Chain-of-Thought via Intrinsic Saliency Pruning
College of Artificial Intelligence, Nanjing University of Aeronautics and Astronautics(南京航空航天大学人工智能学院);The Key Laboratory of Brain-Machine Intelligence Technology, Ministry of Education(教育部脑机智能技术重点实验室)
Token Merging for Training-Free Semantic Binding in Text-to-Image Synthesis
Nankai University(南开大学);Computer Vision Center(计算机视觉中心);Universitat Autònoma de Barcelona(巴塞罗那自治大学);University of Chinese Academy of Sciences(中国科学院大学);Mohamed bin Zayed University of AI(穆罕默德·本·扎耶德人工智能大学);Linkoping University(林雪平大学);NKIARI(深圳市人工智能与机器人研究院)
On the Token Value Inequality in Efficient Reasoning
Purdue University(普渡大学);Rochester Institute of Technology(罗切斯特理工学院);MIT-IBM Watson AI Lab(MIT-IBM沃森人工智能实验室);University of Missouri-Kansas City(密苏里大学堪萨斯城分校);Rutgers University(罗格斯大学);Meta AI
Demystifying Entropy-based Selection for Chain-of-Thought Compression in Large Reasoning Models
University of Trieste(的里雅斯特大学);University of Milano-Bicocca(米兰-比科卡大学);University of Groningen(格罗宁根大学);Khoury College of Computer Sciences, Northeastern University(东北大学科里计算机学院)
Hierarchical Context Merging: Better Long Context Understanding for Pre-trained LLMs
KAIST(韩国科学技术院);University of Michigan(密歇根大学);Carnegie Mellon University(卡内基梅隆大学);Hanyang University ERICA(汉阳大学ERICA校区);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);NAVER(NAVER(韩国网络公司))
本文提出免训练的 HOMER 分层上下文合并方法,通过分块、层级合并、token 约减和对数内存计算顺序,提升预训练 LLM 的长上下文理解与内存效率。
VISA: Group-wise Visual Token Selection and Aggregation via Graph Summarization for Efficient MLLMs Inference
Key Laboratory of Multimedia Trusted Perception and Efficient Computing, Ministry of Education of China, Xiamen University(多媒体可信感知与高效计算重点实验室,教育部,厦门大学);Tencent Youtu Lab(腾讯优图实验室)