Lune

NeurIPS2024Top-tier venue

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

Taihang Hu, Linxuan Li, Joost van de Weijer, Hongcheng Gao, Fahad Shahbaz Khan, Jian Yang, Ming-Ming Cheng, Kai Wang, Yaxing Wang

Abstract

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 https://github.com/hutaihang/ToMe.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

18 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Free-Lunch Color-Texture Disentanglement for Stylized Image Generation cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Free-Lunch Color-Texture Disentanglement for Stylized Image Generation cites SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis
  • Free-Lunch Color-Texture Disentanglement for Stylized Image Generation cites Adding Conditional Control to Text-to-Image Diffusion Models
  • Free-Lunch Color-Texture Disentanglement for Stylized Image Generation cites Learning Transferable Visual Models From Natural Language Supervision
  • High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Probabilistic Models
  • Addressing Text Embedding Leakage in Diffusion-Based Image Editing cites Learning Transferable Visual Models From Natural Language Supervision
  • SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis cites High-Resolution Image Synthesis with Latent Diffusion Models
  • SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis cites Adding Conditional Control to Text-to-Image Diffusion Models
  • SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis cites Learning Transferable Visual Models From Natural Language Supervision
  • SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis cites Denoising Diffusion Probabilistic Models
  • Adding Conditional Control to Text-to-Image Diffusion Models cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Adding Conditional Control to Text-to-Image Diffusion Models cites Learning Transferable Visual Models From Natural Language Supervision
  • Representation Entanglement for Generation: Training Diffusion Transformers Is Much Easier Than You Think cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Representation Entanglement for Generation: Training Diffusion Transformers Is Much Easier Than You Think cites Learning Transferable Visual Models From Natural Language Supervision
  • Representation Entanglement for Generation: Training Diffusion Transformers Is Much Easier Than You Think cites Denoising Diffusion Probabilistic Models
  • Mod-Adapter: Tuning-Free and Versatile Multi-concept Personalization via Modulation Adapter cites Adding Conditional Control to Text-to-Image Diffusion Models
  • Mod-Adapter: Tuning-Free and Versatile Multi-concept Personalization via Modulation Adapter cites Learning Transferable Visual Models From Natural Language Supervision
  • Mod-Adapter: Tuning-Free and Versatile Multi-concept Personalization via Modulation Adapter cites Denoising Diffusion Probabilistic Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers18

  1. Representation Entanglement for Generation: Training Diffusion Transformers Is Much Easier Than You ThinkGe Wu, Shen Zhang, Ruijing Shi, Shanghua Gao et al.NeurIPS 2025 · 102 citations
  2. Does Object Binding Naturally Emerge in Large Pretrained Vision Transformers?Yihao Li, Saeed Salehi, Lyle H. Ungar, Konrad P. KordingNeurIPS 2025 · 20 citations
  3. Mod-Adapter: Tuning-Free and Versatile Multi-concept Personalization via Modulation AdapterWeizhi Zhong, Huan Yang, Zheng Liu, Huiguo He et al.ICLR 2026 · 17 citations
  4. Free-Lunch Color-Texture Disentanglement for Stylized Image GenerationJiang Qin, Alexandra Gomez-Villa, Senmao Li, Shiqi Yang et al.NeurIPS 2025 · 12 citations
  5. Addressing Text Embedding Leakage in Diffusion-Based Image EditingSunung Mun, Jinhwan Nam, Sunghyun Cho, Jungseul OkICCV 2025 · 10 citations

Builds on47

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  2. Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
  3. High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
  4. Adding Conditional Control to Text-to-Image Diffusion ModelsLvmin Zhang, Anyi Rao, Maneesh AgrawalaICCV 2023 · 6,759 citations
  5. SDXL: Improving Latent Diffusion Models for High-Resolution Image SynthesisDustin Podell, Zion English, Kyle Lacey, Andreas Blattmann et al.ICLR 2024 · 4,569 citations

Related papers

  1. VSC: Visual Search Compositional Text-to-Image Diffusion ModelDo Huu Dat, Nam Hyeon-Woo, Po Yuan Mao, Tae-Hyun OhICCV 2025 · 1 citation
  2. R-Bind: Unified Enhancement of Attribute and Relation Binding in Text-to-Image Diffusion ModelsHuixuan Zhang, Xiaojun WanEMNLP 2025
  3. Token Merging: Your ViT But FasterDaniel Bolya, Cheng-Yang Fu, Xiaoliang Dai, Peizhao Zhang et al.ICLR 2023 · 62 citations
  4. Training-Free Structured Diffusion Guidance for Compositional Text-to-Image SynthesisWeixi Feng, Xuehai He, Tsu-Jui Fu, Varun Jampani et al.ICLR 2023 · 70 citations
  5. GOME: Grounding-based Metaphor Binding With Conceptual Elaboration For Figurative Language IllustrationLinhao Zhang, Jintao Liu, Li Jin, Hao Wang et al.EMNLP 2024 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines