atlas

Research map / Image generation / Autoregressive and latent generation

ToMA: Token Merge with Attention for Diffusion Models

ICML 2025 · Image generation › Autoregressive and latent generation · approach: High-resolution diffusion synthesis · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes ToMA, a training-free token merging method for diffusion transformers that selects destination tokens via submodular facility location and performs merge/unmerge as attention-like matrix multiplications, achieving real wall-clock speedups on SDXL and Flux.

Problem

Existing token reduction methods for diffusion models (ToMeSD, ToFu, ToDo) rely on GPU-inefficient operations such as sorting and scattered writes, so their overhead cancels theoretical speedups when combined with optimized attention like FlashAttention.

Approach

Reformulate token merge as submodular facility-location destination selection followed by an attention-style soft merge matrix, unmerged by its transpose; exploit latent locality (tile/stripe regions) and reuse destinations and merge weights across denoising steps and layers.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use ToMA instead of ToMe at ratio 0.50SDXL-base · SDXL, ratio 0.50, RTX6000Sec/img: 8.73 -> 5.04Helped
Use ToMA instead of ToFu at ratio 0.50SDXL-base · SDXL, ratio 0.50, RTX6000Sec/img: 6.83 -> 5.04Helped
Use ToMA instead of ToMe at ratio 0.50SDXL-base · SDXL, ratio 0.50FID: 26.7 -> 28.9Hurt
Use ToMA instead of ToFu at ratio 0.50SDXL-base · SDXL, ratio 0.50FID: 142.1 -> 28.9Helped
Restrict destination selection to tiles rather than globally (ablation)ToMA · SDXL, ratio 0.50, destination selectionCLIP: 30.949 -> 31.019Helped
Use tile rather than stripe destination selection (ablation)ToMA · SDXL, ratio 0.50, destination selectionDINO: 0.074 -> 0.055Helped
Increase tile count from 4 to 64 (ablation)ToMA · SDXL, ratio 0.50, tile granularityDINO: 0.069 -> 0.055Helped
Increase tile count from 64 to 256 (ablation)ToMA · SDXL, ratio 0.50, tile granularityDINO: 0.055 -> 0.057Hurt
Replace index-scatter merge with dense matrix multiplication (ablation)ToMA · Merge kernel, 25% ratio, N=1024time (μs): 202.2 -> 39.0Helped
Replace index-scatter unmerge with dense matrix multiplication (ablation)ToMA · Unmerge kernel, 25% ratio, N=1024time (μs): 160.5 -> 40.2Helped
Replace transpose unmerge with pseudo-inverse (ablation)ToMA · SDXL, ratio 0.50, unmerge methodSec/img: 4.8 -> 10.1Hurt
Replace transpose unmerge with pseudo-inverse (ablation)ToMA · SDXL, ratio 0.50, unmerge methodCLIP: 31.027 -> 30.997No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: GEMRec ImageNet-1K class names

Benchmarks: ImageNet-1K GEMRec

Metrics: FID CLIP-T DINO seconds per image

Baselines: ToMeSD ToDo ToFu Theoretical Lower Bound (TLB)

Builds on: ToMeSD Token Merging (ToMe) FlashAttention-2 ToFu

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy