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(深圳市人工智能与机器人研究院)
Taihang Hu, Linxuan Li, Joost van de Weijer, Hongcheng Gao, Fahad Shahbaz Khan, Jian Yang, Ming-Ming Cheng, Kai Wang, Yaxing Wang
Although text-to-image (T2I) models exhibit remarkable generation capabilities, they frequently fail to accurately bind semantically related objects or attributes in the input prompts; a challenge termed semantic binding. Previous approaches either involve intensive fine-tuning of the entire T2I model or require users or large language models to specify generation layouts, adding complexity. In this paper, we define semantic binding as the task of associating a given object with its attribute, termed attribute binding, or linking it to other related sub-objects, referred to as object binding. We introduce a novel method called Token Merging (ToMe), which enhances semantic binding by aggregating relevant tokens into a single composite token. This ensures that the object, its attributes and sub-objects all share the same cross-attention map. Additionally, to address potential confusion among main objects with complex textual prompts, we propose end token substitution as a complementary strategy. To further refine our approach in the initial stages of T2I generation, where layouts are determined, we incorporate two auxiliary losses, an entropy loss and a semantic binding loss, to iteratively update the composite token to improve the generation integrity. We conducted extensive experiments to validate the effectiveness of ToMe, comparing it against various existing methods on the T2I-CompBench and our proposed GPT-4o object binding benchmark. Our method is particularly effective in complex scenarios that involve multiple objects and attributes, which previous methods often fail to address. The code will be publicly available at \url{https://github.com/hutaihang/ToMe}.
Variable-Length Tokenization via Learnable Global Merging for Diffusion Transformers
Kim Jaechul Graduate School of AI, KAIST, Daejeon, South Korea(韩国科学技术院金载哲人工智能研究生院,大田,韩国);School of Computing, KAIST, Daejeon, South Korea(韩国科学技术院计算学院,大田,韩国)
开放词汇扩散模型永远地改变了图像生成的前景。然而,这些模型的核心是使用Transformers,这使得发电速度很慢。已经出现了更好的实现来增加这些Transformers的吞吐量,但它们仍然评估整个模型。在本文中,我们反而加快扩散模型,利用自然冗余生成的图像合并冗余令牌。在对令牌合并(ToMe)进行了一些特定于扩散的改进之后,我们的ToMe for Stable Diffusion可以将现有稳定扩散模型中的令牌数量减少多达60%,同时仍然可以生成高质量的图像,而无需任何额外的训练。在此过程中,我们将图像生成速度提高了2倍,并将内存消耗减少了5.6倍。此外,这通过xFormers等高效实现加快了堆栈速度,对质量的影响最小,同时对于大型图像的速度提高了5.4倍。代码可在https://github.com/dbolya/tomesd上获得。
MergeVQ: A Unified Framework for Visual Generation and Representation with Disentangled Token Merging and Quantization
Zhejiang University(浙江大学);Tsinghua University(清华大学);Westlake University(西湖大学);The Hong Kong University of Science and Technology(香港科技大学);OPPO AI Center(OPPO人工智能中心);CAIR, HKISI-CAS(中国科学院香港中文大学深圳先进集成技术研究所);MAIS CASIA(中国科学院自动化研究所多模态人工智能系统实验室);University of Chinese Academy of Sciences(中国科学院大学)
MergeTok: Unified Continuous and Discrete Visual Tokenization via Token Merging
Tsinghua University(清华大学);Westlake University(西湖大学);Zhejiang University(浙江大学);Hong Kong University of Science and Technology(香港科学与技术大学);OPPO;Shanghai AI Lab(上海人工智能实验室)
Attend to Not Attended: Structure-then-Detail Token Merging for Post-training DiT Acceleration
Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);National Cheng-Kung University(国立成功大学)
针对 DiT 推理计算昂贵的问题,本文提出训练后即插即用的 SDTM,依据“先结构后细节”先验动态合并冗余视觉 token,实现 1.55 倍加速且几乎不损失图像质量。
B-VLLM: A Vision Large Language Model with Balanced Spatio-Temporal Tokens
School of Computer Science, The University of Sydney(悉尼大学计算机科学学院);Department of Engineering Science, University of Oxford(牛津大学工程科学系);International School of Information Science and Engineering, Dalian University of Technology(大连理工大学信息科学与工程国际学院);Advanced Micro Devices(先进微器件公司);School of Science, Edith Cowan University(埃迪斯科文大学科学学院)
AdaTok: Adaptive Token Compression with Object-Aware Representations for Efficient Multimodal LLMs
Institute of Medical Technology, Peking University Health Science Center(北京大学医学部医学技术研究所);Department of Biomedical Engineering, Peking University(北京大学生物医学工程系);National Biomedical Imaging Center, Peking 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 的长上下文理解与内存效率。
Unlocking the Potential of Model Merging for Low-Resource Languages
Wangxuan Institute of Computer Technology, Peking University(北京大学王选计算机研究所);State Key Laboratory of General Artificial Intelligence, Peking University(北京大学通用人工智能国家重点实验室);Center for Data Science, Peking University(北京大学数据科学中心);College of Engineering, Peking University(北京大学工学院)