IdealCache: Rethinking Cache Scheduling in Diffusion Transformers via Ideal Trajectories
Abstract
Feature caching accelerates Diffusion Transformers by reusing intermediate computations across denoising timesteps, yet existing methods share a fundamental blind spot: they treat the standard reference denoising trajectory as the optimisation target, approximating its per-step states and thus inheriting its output as an implicit quality ceiling. We argue that this target is arbitrary -- what truly matters is the ideal result, not the intermediate path taken to reach it. We propose IdealCache, a training-free framework that abandons step-wise imitation of the reference trajectory. Instead, it anchors caching on a per-input ensemble of ideal trajectories constructed from candidate target results, aggregates their geometry into a single graph, and discovers optimal non-uniform schedules via a constrained shortest path on this graph. By decoupling from the reference process, IdealCache breaks the performance bottleneck of trajectory-approximation; our schedules can attain near-lossless fidelity in generation and even surpass on task-specific metrics (e.g., maintaining higher semantic consistency in image editing). Without retraining, IdealCache achieves 6.35x speedup on Qwen-Image, 5.84x on Qwen-Image-Edit, and 4.32x on HunyuanVideo, with competitive or superior quality across tasks.
Create a lesson
Related papers
Specialized Large Language Models for Markovian Reasoning: Structural Cache Compression, Transition Pretraining, and Dual-Loop Transformers
Shared title terminology · Haibin Tong, Liangliang Xin, Yamei Zhu et al.
Rethinking Closed-Ended Medical VLM Evaluation: From Stable Wrongness to Counterfactual Answer Sensitivity
Shared title terminology · Qi Wu, Xiaoyu Liu, Ao Wang et al.
Neural Agent Compiler: Learning to Schedule Soft Dependencies
Shared title terminology · Bo Yan, Peng Wang, Zihan Chen et al.
STEdgeFormer: MCU and NPU Deployable Transformer Architecture
Shared title terminology · Sudhakar Sah
When do stored facts become available in looped transformers?
Shared title terminology · Fabio Valerio Massoli, Arnau Padrés Masdemont, Jordi Ros Giralt et al.
Mitigating Backdoors in Masked Diffusion Language Models
Shared title terminology · Chengzhong Wang, Lang Lin, Shengfang Zhai et al.