Despite recent advances in subquadratic attention mechanisms or state-space models, processing long token sequences still imposes significant computational requirements. Token merging has emerged as a solution to increase computational efficiency in computer vision architectures. In this work, we perform the first investigations of token merging in time series analysis on both transformers and state-space models. We further introduce local merging, a domain-specific token merging algorithm that selectively combines tokens within a local neighborhood, achieving two major benefits: a) Local merging can adjust its computational complexity from quadratic to linear based on the neighborhood size to effectively scale to long sequences; b) Local merging is the first causal merging scheme enabling token merging in transformer decoders. Further, we identify spectral properties of the input data that reliably predict the potential benefits of local merging without requiring evaluation on downstream tasks. Our comprehensive empirical evaluation demonstrates that local merging offers substantial efficiency gains with minimal impact on accuracy, achieving up to 5400% acceleration on the recently proposed Chronos foundation model.
Accelerating Transformers with Spectrum-Preserving Token Merging
University of Science - VNUHCM(胡志明市国家大学自然科学大学);Max Planck Research School for Intelligent Systems (IMPRS-IS)(马克斯·普朗克智能系统研究院(IMPRS-IS));University of Stuttgart(斯图加特大学);Dublin City University(都柏林城市大学);University of Queensland(昆士兰大学);University of Arkansas(阿肯色大学);MBZUAI(穆罕默德·本·扎耶德人工智能大学);German Research Center for Artificial Intelligence (DFKI)(德国人工智能研究中心);UC San Diego(加利福尼亚大学圣地亚哥分校);Oldenburg University(奥尔登堡大学);Stanford University(斯坦福大学)
Token Caching for Diffusion Transformer Acceleration
State Key Laboratory of Multimodal Artificial Intelligence Systems, Institute of Automation, Chinese Academy of Sciences(多模态人工智能系统国家重点实验室,自动化研究所);School of Information and Electronic Engineering, Shandong Technology and Business University(山东科技职业大学信息与电子工程学院);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);PeopleAl, Inc.(PeopleAl公司);School of Information Science and Technology, ShanghaiTech University(上海科技大学信息科学与技术学院);Terminal Technology Department, Alipay, Ant Group(蚂蚁集团支付宝终端技术部)
Training-Free Transformer Merging via Sequential Local Operator Alignment
CISPA Helmholtz Center for Information Security(CISPA赫尔姆霍茨信息安全中心);Munich Center for Machine Learning(慕尼黑机器学习中心);Technical University of Munich(慕尼黑工业大学);Massachusetts Institute of Technology(麻省理工学院)
MergeOver: Post-Training Token Merging for Recursive Vision Transformers
University of Twente(特文特大学);Faculty of Engineering Technology, University of Twente(特文特大学工程技术学院);Computer Architecture for Embedded Systems, University of Twente(特文特大学嵌入式系统计算机架构实验室)
NTFormer: A Composite Node Tokenized Graph Transformer for Node Classification
School of Computer Science and Technology, Huazhong University of Science and Technology(华中科技大学计算机科学与技术学院);Institute of Artificial Intelligence, Huazhong University of Science and Technology(华中科技大学人工智能研究院);Hopcroft Center on Computing Science, Huazhong University of Science and Technology(华中科技大学霍普克罗夫特计算科学中心)
StructSAM: Structure- and Spectrum-Preserving Token Merging for Segment Anything Models
University of Stuttgart(斯图加特大学);DFKI;Max Planck Research School(马克斯·普朗克研究学校);University of Oldenburg(奥尔登堡大学);Technical University of Darmstadt(达姆施塔特技术大学);VinRobotics;VinUniversity(Vin大学);Aalto University(阿莱大学);Queensland University of Technology(昆士兰技术大学);HUST(华中科技大学);Technical University of Denmark(丹麦技术大学);University of Arkansas(阿肯色大学);UC San Diego(圣地亚哥大学);Stanford University(斯坦福大学)
MSG-Transformer: Exchanging Local Spatial Information by Manipulating Messenger Tokens
Institute of Artificial Intelligence, Huazhong University of Science & Technology(华中科技大学人工智能研究院);School of EIC, Huazhong University of Science & Technology(华中科技大学电子信息与通信学院);Huawei Inc.(华为公司)
Rethinking Tokenized Graph Transformers for Node Classification
School of Computer Science and Technology, Huazhong University of Science and Technology(华中科技大学计算机科学与技术学院);Hopcroft Center on Computing Science, Huazhong University of Science and Technology(华中科技大学霍普克罗夫特计算科学中心);Cornell University(康奈尔大学)
Uncertainty-Aware Token Importance Estimation in Spiking Transformers
School of Computer Science, Peking University(北京大学计算机科学学院);School of Computer Science, Peking University. Institute for Artificial Intelligence, Peking University(北京大学计算机科学学院。人工智能研究所);Peking University(北京大学)
Adaptive Pareto-Optimal Token Merging for Edge Transformer Models in Semantic Communication
Department of Electrical Engineering(电气工程系);KU 6G Research Centre, College of Computing(KU 6G研究中心,计算学院);Mathematical Sciences, Khalifa University, UAE(数学科学,卡利法大学,阿联酋);Department of Electrical and Software Engineering(电气与软件工程系);University of Calgary, Canada(卡尔加里大学,加拿大);Centre for Wireless Communications, University of Oulu, Finland(无线通信中心,奥卢大学,芬兰)