# IdealCache: Rethinking Cache Scheduling in Diffusion Transformers via Ideal Trajectories

*shang xue, Li Zhu, Ping Chen*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/155683) · [OpenReview](https://openreview.net/forum?id=3jq55sxmcq) · [Open on the map](../papers.html#p155683)

Category: [Diffusion & Image Generation](../pcat/5.md) › [Diffusion Model Acceleration](../pgroup/211.md) · Type: new method · Keywords: feature caching, diffusion transformer, ideal trajectory, scheduling algorithm, speedup, image generation

Areas: [Generative Models (Diffusion & Flows)](../areas/generative-models.md) › Diffusion Language Modeling › Diffusion Model Caching

## Summary
IdealCache is a training-free framework that schedules feature caching using ideal trajectories to achieve near-lossless fidelity and large speedups in diffusion transformers.

## Explained to a 5-year-old
Computers can create pictures by starting with random dots and slowly cleaning them up. This cleaning process happens step by step, and each step needs a lot of math calculations. To save time, computers can remember some of the math from earlier steps and reuse it later. The old way of remembering work always followed the same order, like a fixed recipe. The new idea is to imagine what the perfect picture should look like before starting.

## Explained to a 5-year-old, longer
Computers can create pictures by starting with random dots and slowly cleaning them up. This cleaning process happens step by step, and each step needs a lot of math calculations. To save time, computers can remember some of the math from earlier steps and reuse it later. The old way of remembering work always followed the same order, like a fixed recipe. Following a fixed recipe is okay, but sometimes it doesn't give the best result. The new idea is to imagine what the final picture should look like before starting. By thinking about the best possible picture, we can decide which saved math pieces are most useful. This helps us choose a better order to reuse the work, not just follow the old recipe. The new method does not need to be trained or changed; it just works with any picture. It can make the picture generation faster while keeping the picture quality almost perfect. It also helps with editing pictures, making them more consistent and clear. Overall, this makes creating pictures quicker and easier for everyone.

## For a technical reader
The paper addresses the inefficiency of feature caching in diffusion transformers, where intermediate activations are reused across denoising timesteps. Existing approaches approximate the reference denoising trajectory, which imposes a quality ceiling because the trajectory is arbitrary. The proposed solution constructs per-input ensembles of ideal trajectories from candidate outputs, builds a geometric graph from them, and computes optimal non-uniform caching schedules via a constrained shortest-path algorithm. By decoupling caching from the reference trajectory, the method achieves near-lossless fidelity and significant speedups (e.g., 6× on image generation models) without any retraining. The framework is training-free and can be applied to any diffusion transformer, offering both performance and quality improvements for image and video generation tasks.

## Problem
Existing feature caching methods for diffusion transformers approximate the reference denoising trajectory, which limits generation quality because the trajectory is arbitrary and not necessarily optimal. This creates a performance bottleneck where caching cannot achieve the best possible results.

## Method
The approach constructs per-input ensembles of ideal trajectories from candidate target results, aggregates their geometry into a graph, and discovers optimal non-uniform caching schedules via a constrained shortest-path algorithm, thereby decoupling caching from the reference trajectory.

## Results
The approach achieves 6.35× speedup on Qwen-Image, 5.84× on Qwen-Image-Edit, and 4.32× on HunyuanVideo while maintaining or improving generation quality, including higher semantic consistency in image editing.

## Contributions
It introduces a training-free caching framework that uses ideal trajectories instead of the reference trajectory, enabling optimal non-uniform schedules and breaking the quality bottleneck of prior caching methods.

## Practical relevance
The method enables faster inference of diffusion models on consumer hardware without sacrificing quality, making high-fidelity generation more accessible.

## Research questions this paper is counted under

- [How can diffusion transformers be made more computationally efficient without sacrificing output quality?](../q/91.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/155683)
