Search papers, labs, and topics across Lattice.
This paper introduces Dynamics-aware Token Merging (DaTMe), a training-free framework for efficient diffusion model inference that leverages diffusion dynamics to guide token merging decisions. By analyzing token importance based on their contribution to denoising and structural integrity via the Tweedie denoised estimate, DaTMe adaptively preserves critical tokens while merging redundant ones. Experiments on PixArt-a and FLUX show DaTMe effectively maintains visual fidelity across generated images, outperforming prior text-relevance based methods.
Diffusion model token merging can be optimized by analyzing denoising dynamics, not just prompt relevance, to preserve structural coherence and visual fidelity.
Token merging has emerged as an effective training-free strategy for accelerating diffusion models by reducing redundant token computation while minimizing generation degradation. A key challenge is determining which tokens can be safely merged and which should be preserved for subsequent computation. Existing method addresses this by preserving prompt-aligned foreground regions, thereby protecting semantically relevant structures. However, this text-relevance criterion overlooks background objects, local details that are not explicitly mentioned in the prompt, leading to degraded structural coherence. In this work, we propose Dynamics-aware Token Merging (DaTMe), a training-free framework that grounds token merging in the underlying diffusion dynamics. Our key insight is that token importance should reflect whether a token remains unresolved during denoising and whether it carries structural information. To this end, DaTMe constructs a dynamics- aware importance map from the Tweedie denoised estimate. The map combines a temporal signal, measuring inter-step changes in the predicted clean image, with a structural signal, capturing local high-frequency content such as boundaries and fine details. Using this map, DaTMe adaptively assigns tokens into merging roles under a given compression ratio: important tokens are preserved as anchors, while tokens that are both temporally stabilized and structurally homogeneous are selected as safe merge candidates. Experiments on PixArt-a and FLUX demonstrate that DaTMe maintains visual fidelity across the entire image, highlighting diffusion dynamics as an effective token-level merging decision in efficient generation. Our code is available at https://github.com/SeungJuCha/DaTMe.