Importance-Based Token Merging for Efficient Image and Video Generation

Haoyu Wu, Jingyi Xu, Hieu Le, Dimitris Samaras
11/23/2024
cs.CV

No official code found. Best implementation: cvlab-stonybrook/importance-token-merge (9 stars, MIT, last commit 2025-07-24).

Abstract

Token merging can effectively accelerate various vision systems by processing groups of similar tokens only once and sharing the results across them. However, existing token grouping methods are often ad hoc and random, disregarding the actual content of the samples. We show that preserving high-information tokens during merging - those essential for semantic fidelity and structural details - significantly improves sample quality, producing finer details and more coherent, realistic generations. Despite being simple and intuitive, this approach remains underexplored. To do so, we propose an importance-based token merging method that prioritizes the most critical tokens in computational resource allocation, leveraging readily available importance scores, such as those from classifier-free guidance in diffusion models. Experiments show that our approach significantly outperforms baseline methods across multiple applications, including text-to-image synthesis, multi-view image generation, and video generation with various model architectures such as Stable Diffusion, Zero123++, AnimateDiff, or PixArt-$α$.

View on arXivView PDF

Code Implementations(1)

MIT

Official implementation of "Importance-Based Token Merging for Efficient Image and Video Generation" (ICCV 2025)

91PythonJul 24, 20251 years agoMIT

Similar Papers

Cite this paper

@article{wu2024importancebased,
  title  = {Importance-Based Token Merging for Efficient Image and Video Generation},
  author = {Haoyu Wu and Jingyi Xu and Hieu Le and Dimitris Samaras},
  year   = {2024},
  eprint = {2411.16720},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.16720v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.16720.svg)](https://codeofpaper.com/paper/2411.16720)

Discussion