paper-with-me

Papers

Token Merging for Training-Free Semantic Binding in Text-to-Image Synthesis

2024-11-11 · 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}.

📄 PDF Abstract BibTeX arXiv:2411.07132

Code (1)

hutaihang/tome 공식 구현 pytorch

Tasks

AttributeImage GenerationObject

Similar Papers 제목 키워드 기반

ABE-CLIP: Training-Free Attribute Binding Enhancement for Compositional Image-Text Matching

2025-12-19 · Qi Zhang, Yuxu Chen, Lei Deng, Lili Shen arxiv

Contrastive Language-Image Pretraining (CLIP) has achieved remarkable performance in various multimodal tasks. However, it still struggles with compositional image-text matching, particularly in accurately associating ob…

Image-text matching

On Geometrical Properties of Text Token Embeddings for Strong Semantic Binding in Text-to-Image Generation

2025-03-29 · Hoigi Seo, Junseo Bang, Haechang Lee, Joohoon Lee 외

Text-to-Image (T2I) models often suffer from text-image misalignment in complex scenes involving multiple objects and attributes. Semantic binding aims to mitigate this issue by accurately associating the generated attri…

Image GenerationText to Image GenerationText-to-Image Generation

How Bias Binds: Measuring Hidden Associations for Bias Control in Text-to-Image Compositions

2025-11-10 · Jeng-Lin Li, Ming-Ching Chang, Wei-Chao Chen arxiv

Text-to-image generative models often exhibit bias related to sensitive attributes. However, current research tends to focus narrowly on single-object prompts with limited contextual diversity. In reality, each object or…

V-CAST: Video Curvature-Aware Spatio-Temporal Pruning for Efficient Video Large Language Models

2026-03-29 · Xinying Lin, Xuyang Liu, Yiyu Wang, Teng Ma 외 arxiv

Video large language models (VideoLLMs) show strong capability in video understanding, yet long-context inference is still dominated by massive redundant visual tokens in the prefill stage. We revisit token compression f…

Scene Segmentation

GRKV: Global Regression for Training-Free KV Cache Compression in Long-Context LLMs

2026-05-29 · Junjie Peng, You Wu, Haoyi Wu, Jialong Han 외 arxiv

Large language models (LLMs) with extended context lengths rely on the key-value (KV) cache to support attention over prior tokens. However, maintaining the KV cache incurs substantial memory overhead, motivating KV-cach…