potentialpaper

Z-Cache: Accelerating Diffusion Transformers via Self-Reflection

Zegang Cheng, Zhikai Wang, Jiacheng Liu, Xiaobing Tu, Chang Zhou, Junjie Chen, Yue Ma, Zhiyuan Ma, Jinkui Ren, Likai Zou, Linfeng Zhang

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Diffusion transformers have become the most powerful models for visual generation, but still suffer from massive computation costs. To solve this problem, feature caching has been proposed to cache the features of diffusion models in the previous computation steps and then reuse them in the following caching steps, which brings significant acceleration but also degradation in generation quality. To address this problem, this paper proposes Z-cache as a feature caching method that can maintain high-quality generation through self-reflection. Concretely, we observe that the error from feature caching tends to be sharply reduced after each full computation. Based on this observation, Z-Cache is designed to first predict the features in the future caching steps and then perform a full computation. After that, Z-Cache returns to the caching steps and re-predicts them based on the previous and the current computation steps, which brings correction in features. Experiments demonstrate that with Z-Cache, diffusion transformers achieve comparable generation quality to the original model but with faster inference speed, for instance, 6.22X acceleration on FLUX-dev for text-to-image generation. Our codes is released on GitHub.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

FromAToBDateVersionSubmitted toPDFEvidence
13 Sep 2025ICLR 2026submittedICLR 2026Rejected—[1]
3 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Their titles, abstracts and, where both have a PDF, the text.Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:42 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The submission presents a clever, well-motivated, and empirically strong approach to a major bottleneck in Diffusion Transformer inference. The major weaknesses of Z-Cache center on its theoretical gaps, noticeable latency/memory overheads, and simplistic design choice to combine past- and future-anchors. Also, the paper lacks explicit pseudocode to clarify its complex execution flow, and recent 2026 caching baselines were omitted from discussions.

In the rebuttal, the authors successfully addressed these primary concerns by providing detailed clarifications of the execution flow, latency analysis, justifications for fusion function choices, and comparisons with recent baselines. Following these updates, all reviewer ratings converged to positive. Therefore, the AC recommends acceptance and urges the authors to incorporate all promised revisions and clarifications into the final camera-ready version.

Final justification

See above.

Area Chair TYZ9 · Meta-reviewOpenReview ↗
Final justification
See above.
Read meta-review
Meta-review

The submission presents a clever, well-motivated, and empirically strong approach to a major bottleneck in Diffusion Transformer inference. The major weaknesses of Z-Cache center on its theoretical gaps, noticeable latency/memory overheads, and simplistic design choice to combine past- and future-anchors. Also, the paper lacks explicit pseudocode to clarify its complex execution flow, and recent 2026 caching baselines were omitted from discussions.

In the rebuttal, the authors successfully addressed these primary concerns by providing detailed clarifications of the execution flow, latency analysis, justifications for fusion function choices, and comparisons with recent baselines. Following these updates, all reviewer ratings converged to positive. Therefore, the AC recommends acceptance and urges the authors to incorporate all promised revisions and clarifications into the final camera-ready version.

1 comment
Authors · CommentOpenReview ↗

Dear Area Chair,

Thank you for the careful meta-review. Since it was issued, we have addressed each of its five concerns through additional controlled experiments, a more precise statement of the method's scope, and concrete revisions for the final paper.

  1. Theoretical gaps. We reformulated the analysis as a conditional local guarantee and now state the exact condition under which dual-anchor reflection improves over past-only prediction. We do not assume that the future-anchor estimate is always more accurate, nor do we claim universal convergence. To test whether the corrected endpoint remains beneficial after subsequent denoising, we added matched FLUX.1-dev/TaylorSeer experiments using 32 frozen prompts, two seeds, and N={6,8}, together with same-start local controls covering 768 cache windows. Within these evaluated settings, reflection moves both the local and global trajectories closer to Full computation and improves all four reported final-image metrics.

  2. Latency and memory overhead. We separated low additional Transformer FLOPs from actual wall-clock and memory costs and identified the main implementation-dependent sources: block-wise replay, hooks and small kernels, scheduler replay, and live cache/state traffic. A controlled A100 diagnostic also reproduces the larger overhead trend for base methods with cheap Transformer-level early-return paths. We then designed a stack-wise residual replay backend. On 200 paired prompts it improves all four reported quality point estimates; in a separate frozen-prompt/seed FLUX.1-dev/TaylorSeer N=6 A100 diagnostic, it reduces median denoising latency by 19.99% and peak allocated memory by 3.94% relative to the original block-wise +Z backend. We will therefore replace any implication of universally negligible overhead with the accurate conclusion that wall-clock and memory costs are implementation- and base-method-dependent. These A100 measurements are a scoped mitigation, not an H100 reproduction or a Base-to-+Z memory decomposition.

  3. Simple past/future-anchor fusion. We evaluated four matched reflection functions—original linear, remainder-ratio, variance-optimal, and jet-smoothstep—on 200 paired DrawBench prompts under the same immutable schedule and compute. No function dominates every metric: variance-optimal leads the reconstruction metrics, while linear leads ImageReward. We therefore retain linear fusion as a simple, parameter-free default, not as a claimed optimum, and will include the complete ablation and its metric-dependent conclusion.

  4. Complex execution flow and missing pseudocode. We made the state transition explicit: advance a provisional window under the immutable Base schedule, observe its scheduled future FULL anchor, discard and replay only that closed provisional window with reflected features, then atomically commit the corrected endpoint and cache state. Previously committed states are never reversed, and the Base method's FULL-step decisions never move. We will add this pseudocode and a corresponding state-transition diagram to the final paper.

  5. Missing recent 2026 caching methods. We will add SenCache, D2Cache, and ResCa to the related-work discussion and distinguish their intervention layers from Z-Cache's cache-then-check trajectory correction. We also conducted matched Base/+Z comparisons using audited clean-room FLUX ports of SenCache and D2Cache on DrawBench200, with identical prompts, seeds, and frozen FULL schedules. SenCache shows consistent improvements across the reported metrics, whereas D2Cache exhibits metric-dependent trade-offs. We accordingly narrowed our claim from applicability to "any" caching method to compatibility with a broad range of feature-cache predictors.

Thank you again for your consideration.

Reviewer QSmROpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes Z-Cache, a training-free reflection wrapper for feature caching. Although skip-step acceleration introduces cumulative errors, such errors tend to drop sharply after every full computation pass. This indicates that the model itself rectifies the denoising trajectory whenever a full computation is executed. Based on this observation, Z-Cache is equipped with a self-reflection mechanism. It leverages features computed at future full timesteps to calibrate previously predicted features, followed by an additional forward propagation pass. Notably, Z-Cache is not a standalone feature predictor. Instead, it applies the self-reflection mechanism to refine pre-existing prediction outputs and must be built upon other predictors such as TaylorSeer. Experimental results demonstrate that this plug-and-play approach effectively improves image quality. Furthermore, Z-Cache is not limited to standard DiT text-to-image generation tasks. It can be transferred to a broader range of scenarios, including few-step distillation models, image editing tasks, quantization, and U-Net backbones. This validates the generalization capability of Z-Cache across diverse tasks and settings.

Strengths and weaknesses

Strengths:

  1. The cache-then-check (self-reflection) based caching mechanism is quite intriguing. Conventional feature caching methods only predict future features relying on historical features. In contrast, Z-Cache works differently: it not only predicts future states from past information, but also calibrates existing predicted features using fully-computed features from future timesteps, followed by an additional forward propagation pass. Experimental results show that this method improves image quality across various predictors and tasks.
  2. Z-Cache boasts strong compatibility. Instead of being tailored for a single specific predictor, Z-Cache acts as a reflection wrapper that can be directly stacked with other feature caching approaches such as TaylorSeer, MagCache and TeaCache. Experiments verify that combining Z-Cache with diverse feature caching strategies consistently boosts quantitative metrics under different acceleration ratios.
  3. The extensive scope of experiments strengthens the reliability of the method’s generalization ability. The paper conducts evaluations not only on class-to-image and text-to-image tasks, but also extends its validation to text-to-video generation, FLUX-Kontext image editing, the few-step distilled Qwen-Image-Lightning model, 8-bit quantization, and U-Net backbones like SDXL. Weaknesses:
  4. The theoretical analysis is relatively weak and leans more toward intuitive reasoning rather than rigorous mathematical guarantees. The theoretical section of this paper builds upon Lipschitz continuity, demonstrating that if the self-reflection mechanism reduces the hidden error, the upper bound of the final prediction error will also decline. While this analysis helps rationalize the intuition behind the method, it fails to prove that future-anchor prediction is inherently more accurate than past-anchor prediction.
  5. Z-Cache combines past-anchor and future-anchor via a linear weighting scheme defined by wi=(i−a)/(b−a)w_i=(i-a)/(b-a). Although this design makes intuitive sense, it is overly simplistic, and the paper does not sufficiently justify whether this weighting formulation is optimal. For instance, the design of wiw_i could draw inspiration from DiCache, which measures the bias of intermediate predictions toward past or future states based on relative distances.
  6. Most existing feature caching methods adopt a past-anchor paradigm, whose computational pipeline aligns naturally with the timestep-wise denoising process inherent to diffusion models. In contrast, after acquiring the future-anchor, Z-Cache executes an additional "Forward Again" operation: it reverts to the current caching window and re-runs the full denoising pass. Since this workflow breaks the unidirectional timestep progression, readers who have not examined the source code may struggle to quickly grasp Z-Cache’s computation flow solely from Figure 3’s flowchart and textual descriptions. Including pseudocode would significantly improve clarity.
  7. While Z-Cache improves the performance of underlying baseline methods, it drastically increases inference latency (seconds) and peak memory consumption (GiB) in certain scenarios. The combination of MagCache and Z-Cache serves as a representative example, where marginal performance gains come at the cost of substantially elevated latency. This indicates that Z-Cache yields only limited improvements under some conditions and is not a low-overhead wrapper module.

The text-to-image generation section contains an insufficient number of qualitative showcase examples.

Questions
  1. The core design of Z-Cache is intuitively reasonable. Since the future-anchor is derived from a full computation, it can provide relatively reliable feature information to rectify the deviated denoising trajectory within the current cache window. Nevertheless, a potential concern exists regarding "Step-3: Forward Again" illustrated in Figure 3. After the reflection operation, Z-Cache rolls back to re-perform the denoising process. As a result, the newly predicted future-anchor may not be identical to the original future-anchor obtained via full computation. How significant is this discrepancy? Does it impair the stability of subsequent denoising trajectories and the final generation quality?
  2. Z-Cache adopts linear weights to fuse the past-anchor and future-anchor. This design is overly simplistic and may not be optimal. Have the authors experimented with alternative weighting strategies?
  3. Where do the extra latency and peak memory overhead of Z-Cache primarily originate? Are they caused by "Step-3: Forward Again"? Could this issue be mitigated via code-level optimizations?
Limitations

Yes

Final justification

I have carefully read the authors’ rebuttal. The response addresses my concern on the proposed Z-Cache.

Formatting concerns

No

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Response to Reviewer QSmR

Thank you for recognizing Z-Cache's cache-then-check mechanism, compatibility, and broad evaluation. We address each weakness and question directly.

W1 — Theoretical scope

The criticism assumes that Z-Cache requires the future-conditioned estimate to be inherently more accurate than the past-conditioned estimate. It does not: improvement can arise from complementary errors. Let

ep=H^p−H⋆,ef=H^f−H⋆,ez=(1−w)ep+wef.e_p=\hat H^p-H^\star,\qquad e_f=\hat H^f-H^\star,\qquad e_z=(1-w)e_p+we_f.

Then

∥ez∥2=(1−w)∥ep∥2+w∥ef∥2−w(1−w)∥ep−ef∥2.\|e_z\|^2=(1-w)\|e_p\|^2+w\|e_f\|^2-w(1-w)\|e_p-e_f\|^2.

For a weight in (0,1], reflection improves over past-only prediction exactly when

∥ef∥2−∥ep∥2<(1−w)∥ep−ef∥2.\|e_f\|^2-\|e_p\|^2<(1-w)\|e_p-e_f\|^2.

Thus, even a larger future error can help when its direction is sufficiently complementary; a biased or aligned error may not. We will add this condition, retain the theorem as a conditional local bound, and state that the future anchor supplies a complementary constraint—not that it is always more accurate or ensures global convergence.

W2 + W4, Q2 + Q3 — Fusion design and practical overhead

First, Z-Cache does not linearly interpolate latents. TaylorSeer extrapolates cached features from the past FULL anchor and backward from the future FULL anchor; the reflection function only fuses these two Taylor-predicted features before scheduler replay.

Q2: Were alternative reflection functions tested?

Yes. The review motivated four functions. With Taylor order K,

dL=i−a,dR=b−i,r=dLdL+dR,d_L=i-a,\qquad d_R=b-i,\qquad r=\frac{d_L}{d_L+d_R},

we tested

woriginal=r,wremainder=dLK+1dLK+1+dRK+1,wvariance=dL2(K+1)dL2(K+1)+dR2(K+1),wjet=r2(3−2r).\begin{aligned} w_{\mathrm{original}}&=r,\\ w_{\mathrm{remainder}}&=\frac{d_L^{K+1}}{d_L^{K+1}+d_R^{K+1}},\\ w_{\mathrm{variance}}&=\frac{d_L^{2(K+1)}}{d_L^{2(K+1)}+d_R^{2(K+1)}},\\ w_{\mathrm{jet}}&=r^2(3-2r). \end{aligned}

original-linear uniformly transitions between Taylor predictions. remainder-ratio weights their modeled Taylor-remainder scales. variance-optimal squares those scales, matching inverse-variance fusion under an independent-error model; it is deterministic, not oracle-based. jet-smoothstep is cubic with zero endpoint slope.

On 200 paired DrawBench prompts under one immutable FLUX.1-dev/TaylorSeer N=6 schedule:

Reflection function PSNR ↑ SSIM ↑ LPIPS ↓ ImageReward ↑
original-linear 29.1348 0.6462 0.3914 0.9908
remainder-ratio 29.1644 0.6474 0.3888 0.9763
variance-optimal 29.1813 0.6476 0.3883 0.9863
jet-smoothstep 29.1531 0.6471 0.3898 0.9821

All use the same Base schedule, FLOPs, and peak memory. No rule wins every metric: variance-optimal leads reconstruction metrics, while original-linear leads ImageReward. We therefore retain linear as a simple parameter-free default, not a claimed optimum.

Q3: Where do latency/VRAM overhead arise, and can they be reduced?

For profiled FLUX.1-dev/TaylorSeer N=6, a major reducible cost comes from Step 3's fine-grained replay/state implementation, not extra Base-scheduled FULL evaluations. Fusing 95 sites creates hook, small-kernel, scheduler, state-access, and live-state costs not represented by Transformer FLOPs.

We therefore designed a stack-wise residual backend: unlike the original Z-Cache which stores caches for all blocks, it only stores the feature differences btween first block's input and last block's output

Backend PSNR SSIM LPIPS IR A100 latency TFLOPs Peak GiB
block-wise 29.1348 0.6462 0.3914 0.9908 6.7656 s 747.502 41.652
stack-wise residual 29.3412 0.6505 0.3797 0.9916 5.4130 s 747.095 40.011

The stack-wise residual improves all four quality point estimates, reduces median clean A100 latency by 19.99% (1.250x), and lowers peak allocated memory by 3.94%. It changes the approximation and is not a behavior-preserving micro-optimization. Latency is the median of 7 balanced post-warm-up rounds covering hooks, denoising, and replay but excluding model/text/VAE preparation.

W3 + Q1 — Forward Again, endpoint consistency, and stability

Z-Cache does not reverse committed denoising states. A window remains provisional until its next Base-scheduled FULL observation; only this closed window is replayed. Appendix pseudocode will explicitly: (1) advance the immutable Base schedule; (2) observe the future FULL anchor and construct two Taylor predictions; (3) discard only the closed provisional window and replay it with reflected features; and (4) atomically commit its endpoint latent/cache state and continue forward. No earlier committed state changes and no Base FULL decision moves.

Q1: Does the changed endpoint impair subsequent denoising?

The replayed endpoint need not equal the provisional endpoint, because it belongs to the intentionally corrected trajectory. The relevant test is whether Z-Cache is closer to Full than unreflected TaylorSeer—not whether replay reproduces the trajectory being corrected.

We first saved all 50 latent tensors for matched Full, TaylorSeer-only, and Z-Cache runs on FLUX.1-dev: 32 frozen prompts, two seeds, and N={6,8}. All share the initial latent and scheduler. For Z-Cache, the replayed value replaces the provisional value at every revisited step. With

diM=∥xiM−xiFull∥2max⁡(∥xiFull∥2,ϵ).d_i^{M}=\frac{\left\lVert x_i^{M}-x_i^{\mathrm{Full}}\right\rVert_2 }{\max\left(\left\lVert x_i^{\mathrm{Full}}\right\rVert_2,\epsilon\right)}.
AUC⁡M=1T−1∑i=0T−2diM+di+1M2.\operatorname{AUC}^{M}=\frac{1}{T-1} \sum_{i=0}^{T-2} \frac{d_i^{M}+d_{i+1}^{M}}{2}.

20,000-resample prompt-cluster intervals give:

N Metric TaylorSeer Z-Cache Z benefit [95% CI]
6 trajectory AUC ↓ 0.21298 0.19812 0.01486 [0.01155,0.01858]
6 final rel-L2 ↓ 0.57401 0.54684 0.02717 [0.02016,0.03465]
6 final cosine ↑ 0.82375 0.84140 0.01766 [0.01325,0.02246]
8 trajectory AUC ↓ 0.25629 0.23565 0.02063 [0.01688,0.02450]
8 final rel-L2 ↓ 0.66909 0.63089 0.03820 [0.03038,0.04670]
8 final cosine ↑ 0.76294 0.79240 0.02947 [0.02237,0.03713]

Z-Cache reduces trajectory AUC by 6.98%/8.05% at N=6/8; all three prompt-aggregated metrics improve for 32/32 prompts at both settings. We do not claim sample-wise universality: final rel-L2 improves for 60/64 and 63/64 samples.

To isolate reflection from previously accumulated drift, we additionally forked local Full, local TaylorSeer, and reflected Z-Cache from the exact same canonical left-anchor state in every window. The Full-local oracle runs FULL at each local step but never supplies features or a future anchor to either cached branch; it is a diagnostic reference, not an equal-compute baseline. This covers seven/five windows per sample at N=6/8, 768 matched windows total:

Direct Taylor-to-Z replay-endpoint relative L2, normalized by the Taylor endpoint norm, is 0.01418 [0.01365,0.01473] at N=6 and 0.02306 [0.02221,0.02391] at N=8; window-level p95 values are 0.02563/0.03723, and mean cosine is 0.999891/0.999729. The endpoint therefore changes measurably but remains finite.

N Local metric TaylorSeer Z-Cache Z benefit [95% CI]
6 trajectory AUC ↓ 0.012688 0.008928 0.003760 [0.003596,0.003926]
6 endpoint rel-L2 ↓ 0.026057 0.016922 0.009135 [0.008744,0.009530]
6 endpoint cosine ↑ 0.999620 0.999828 0.000208 [0.000191,0.000226]
8 trajectory AUC ↓ 0.020822 0.015519 0.005303 [0.005049,0.005543]
8 endpoint rel-L2 ↓ 0.045693 0.031364 0.014329 [0.013640,0.014996]
8 endpoint cosine ↑ 0.998882 0.999430 0.000548 [0.000501,0.000596]

All three sample-aggregated local metrics favor Z-Cache for 64/64 samples and 32/32 prompts at both settings. All 52,736 global and 20,992 local checked values are finite, with no execution failure. The complete DrawBench200 results likewise improve TaylorSeer to +Z at N=6: PSNR 28.84→29.22, SSIM .6302→.6539, LPIPS .4359→.3914, ImageReward .9737→.9882; and at N=8: 28.46→28.71, .5703→.6002, .5190→.4692, .9292→.9451.

Thus, from an identical window start, reflection moves both the local trajectory and endpoint closer to conditional Full; globally, the benefit survives subsequent denoising and improves final-image metrics. This directly counters instability within the evaluated FLUX/TaylorSeer settings, but is not a universal convergence or stability guarantee.

W5 — Qualitative coverage

The existing panel is too small to characterize failure frequency or human preference, but the claims do not depend on selected images: they use paired DrawBench and complete trajectory controls. We will add appendix Full/Base/+Z panels with frozen random, win, mixed, largest-error, and degradation cases, disclosing prompts, seeds, schedules, and selection rules. We will add more visual comparision examples in appendix in the final version.

Revision summary

We will add the exact theory condition, reflection-function ablation, state-graft analysis, appendix pseudocode/state diagram, global and same-start local trajectory analyses, and expanded visuals. We will position Z-Cache as a training-free cache-then-check quality-recovery mechanism—not a universal predictor replacement or latency-free wrapper.

Reviewer QSmR · CommentOpenReview ↗

Thanks for the detailed response. The rebuttal clarifies my concern on the proposed Z-Cache.

Reviewer 3cWVOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
4/4
Clarity
4/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper presents Z-Cache, a novel training-free caching framework designed to accelerate Diffusion Transformers (DiTs). The author identifies a cache-induced error pattern that grows within a cache window but drops sharply at full-computation anchors. Towards this point, the authors propose a training-free "cache-then-check" trajectory correction mechanism. Specifically, Z-Cache first forecasts a provisional trajectory to reach a future anchor. It then applies a dual-anchor reflection to refine the intermediate hidden states via interpolation. Finally, the active window is re-sampled using these updated latents without introducing extra full-computation FLOPs. Extensive experiments on both image and video generation tasks demonstrate that Z-Cache can be attached to different feature-cache predictors, improving generation quality while remaining compatible latency.

Strengths and weaknesses

Strengths

  1. The paper is well-motivated by an insightful empirical discovery regarding the periodic decline of cache-induced errors.
  2. The framework demonstrates exceptional efficacy in mitigating semantic drift and local artifacts under aggressive acceleration budgets (e.g., over 6x speedup).
  3. The manuscript is exceptionally well-structured and easy to follow.

Weakness

  1. There is a presentation typo in Table 3's highlights. It seems that TaylorSeer has the best acceleration in terms of FLOPs, while the Z-cache result is highlighted.
Questions

In Table 2, the latency discrepancy between the baseline and Z-Cache configurations is noticeably larger for MagCache and TeaCache than for other methods. Could the authors provide a more detailed analysis or explanation regarding this result? Specifically, what specific aspects of these two methods exacerbate this latency overhead compared to the other methods?

Limitations

As mentioned in the previous sections

Final justification

Thank you for the authors’ response, which addresses most of my concerns. Therefore, I will maintain my original rating.

Formatting concerns

No

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for pointing out the larger latency overhead of Z-Cache when combined with TeaCache and MagCache. We reproduced the same trend in a controlled A100 experiment with aligned Base/+Z FULL schedules. The measured overheads were +1.04 s for TaylorSeer (+18.4%), +1.34s for SpeCa (+23.1%), +2.69 s for MagCache (+57.2%), and +2.85 s for TeaCache (+51.4%).

All compared methods follow the same composition rule: the base cache method determines which steps are FULL or cached and retains its original primary reuse behavior, while Z-Cache uses the shared TaylorSeer-based past/future reflection mechanism. To clarify, the intermediate cached features are not obtained by directly interpolating the two anchor features. Instead, Z-Cache forms a position-dependent linear blend of two Taylor predictions: a forward prediction extrapolated from the preceding FULL anchor and a backward prediction extrapolated from the subsequent FULL anchor. Therefore, the different latency overheads are not caused by different reflection mechanisms.

The main difference instead comes from the cost of each method’s original cached path. TaylorSeer and SpeCa already traverse the Transformer blocks to perform block-wise Taylor prediction during their primary cached steps. Consequently, the additional reflection replay has a relatively small marginal cost. In contrast, MagCache and TeaCache normally reuse an aggregated residual through an early return at the Transformer level. Once the subsequent FULL anchor becomes available, Z-Cache must replay each cached interval through all Transformer blocks to perform block-wise dual-anchor fusion. This makes its marginal cost substantially larger for these two methods.

The absolute overhead also depends on the number of reflected steps and closed cache intervals. In our runs, TaylorSeer, SpeCa, MagCache, and TeaCache required approximately 36, 42, 48, and 49 reflection calls, respectively. Moreover, because the TeaCache Base path does not require per-block Taylor caches, TeaCache+Z must additionally populate these caches at FULL anchors and commit TeaCache-specific states at reflection endpoints. Together with its larger number of reflection intervals, this explains why TeaCache has a slightly larger absolute overhead than MagCache.

Although absolute A100 latency should not be directly compared with the reported H100 latency, these measurements reproduce the same qualitative method-dependent trend. We will clarify this execution-path difference and report the verified FULL schedules and reflection-call counts alongside the latency results.

Also, we will correct the typo in our final version.

Reviewer 3cWV · CommentOpenReview ↗

Thanks for the clarification. The response addresses my concern regarding the latency discrepancy among different cache predictors.

Reviewer XnXfOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
4/4
Clarity
4/4
Significance
4/4
Originality
4/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This work addresses the central challenge of accelerating diffusion transformers by proposing Z-Cache, a training-free feature-caching framework that uses a self-reflection mechanism to reduce the accumulated hidden-state errors caused by aggressive caching. The method first predicts cached features from a past full-computation anchor, then uses the next scheduled full-computation anchor as future guidance to revise the active cache window and re-sample the latent trajectory without adding extra full-computation steps. The claims of the paper are supported by experiments on text-to-image, text-to-video, image editing, few-step generation, quantization, and U-Net backbones

Strengths and weaknesses

Strengths:

  1. The paper is clearly written and presents a well-motivated problem. The authors identify a concrete and intuitive observation: cache-induced feature errors tend to accumulate within each cache window but are reduced after scheduled full-computation steps.

  2. The proposed method is elegant and easy to understand. By using the next scheduled full-computation anchor as future guidance, Z-Cache revisits the active cache window, refines the intermediate cached features, and re-samples the latent trajectory without introducing additional full-computation steps.

  3. The proposed framework is general and plug-and-play. The extensive experiments demonstrate the generality and effectiveness of Z-Cache across multiple settings, including text-to-image generation, text-to-video generation, image editing, few-step generation, and other acceleration scenarios.

Weakness:

The theoretical justification is somewhat limited. Although the paper provides a local error bound, it only shows that Z-Cache can improve the bound if the dual-anchor estimate reduces the hidden-state error, but it does not rigorously prove why the future anchor should consistently provide a better estimate than the original single-anchor predictor.

Questions

NAN

Limitations

Missing some recent methods:

  1. SenCache: Accelerating Diffusion Model Inference via Sensitivity-Aware Caching. CVPR 2026.

  2. D2Cache: Second-Order Delta Caching for Higher Video Diffusion Acceleration. CVPR 2026.

  3. ResCa: Residual Caching for Diffusion Transformers Acceleration. CVPR 2026.

Final justification

Thank you for the authors’ response, which addresses most of my concerns. Therefore, I will maintain my original rating. Please add the mentioned methods to the related-work discussion and clarify their relationship with Z-Cache.

Formatting concerns

NAN

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you very much for the positive assessment of Z-Cache’s motivation, generality, and empirical coverage. We also appreciate the reviewer’s insightful comments regarding the theoretical scope and missing recent baselines. These comments help us clarify the claims and better position Z-Cache.

Theoretical scope of dual-anchor reflection.
We agree that our current theoretical analysis is conditional: it proves that Z-Cache provides a tighter local error bound when the dual-anchor estimate reduces hidden-state estimation error, but it does not claim that the future-anchor predictor is universally more accurate than the past-only predictor.

In fact, Z-Cache does not require the future anchor to independently outperform the past anchor. The key mechanism is that the future anchor provides an additional boundary condition that can complement the past-anchor prediction. Let

eip=H^ip−Hi⋆,eif=H^if−Hi⋆e_i^p=\hat{H}_i^p-H_i^\star,\qquad e_i^f=\hat{H}_i^f-H_i^\star

denote the hidden-state errors from the past and future anchors. Since Z-Cache uses

eiz=(1−wi)eip+wieif,e_i^z=(1-w_i)e_i^p+w_i e_i^f,

the reflected error satisfies

∥eiz∥2=(1−wi)∥eip∥2+wi∥eif∥2−wi(1−wi)∥eip−eif∥2.\|e_i^z\|^2=(1-w_i)\|e_i^p\|^2+w_i\|e_i^f\|^2-w_i(1-w_i)\|e_i^p-e_i^f\|^2 .

Therefore, improvement does not require ∥eif∥<∥eip∥\|e_i^f\|<\|e_i^p\|. Even when the future-anchor estimate is not individually better, reflection can still reduce error when the two predictions provide complementary information. Conversely, when the future anchor introduces biased or redundant correction, the gain can diminish or become metric-dependent. This also explains the different interactions observed when composing Z-Cache with different cache predictors.

In the final version, we will revise the theoretical claim accordingly, explicitly state the improvement condition, and discuss both favorable and failure cases instead of implying a universal guarantee.

Comparison with recent caching methods.
We thank the reviewer for pointing out SenCache, D2Cache, and ResCa. We will add them to the related-work discussion and clarify their relationship with Z-Cache. Specifically, SenCache mainly focuses on selecting safer caching schedules, D2Cache improves single-trajectory temporal prediction through second-order residual modeling, and ResCa explores token-level residual propagation. In contrast, Z-Cache introduces a predictor-agnostic cache-then-check framework that revisits an active cache window after obtaining the next scheduled full-computation anchor and performs trajectory correction through dual-anchor reflection.

We further conducted controlled comparisons with SenCache and D2Cache on FLUX.1-dev with DrawBench200. For each matched Base/+Z-Cache pair, we use exactly the same frozen full-computation schedule, prompts, and seeds, isolating the effect of reflection itself. We additionally report FLOPs speedup to verify that the quality improvement does not come from extra denoising computation. Since Z-Cache reuses the scheduled future full-computation anchor rather than introducing additional full steps, the FLOPs speedup remains nearly unchanged (less than 0.3% difference in all settings).

Δ=(+Z-Cache)−Base\Delta=(+\text{Z-Cache})-\text{Base}
Base Method N ΔF-Speed ΔPSNR ↑ ΔSSIM ↑ ΔLPIPS ↓ ΔImageReward ↑
SenCache 6 -0.009× +0.053 +0.0034 -0.0209 +0.0775
SenCache 7 -0.013× +0.049 +0.0039 -0.0270 +0.0770
D2Cache 6 -0.009× -0.066 +0.0027 -0.0053 -0.0121
D2Cache 7 -0.011× -0.045 +0.0012 -0.0026 +0.0143
D2Cache 8 -0.014× -0.048 -0.0012 +0.0003 +0.0401

For SenCache, Z-Cache consistently improves all reported quality metrics across matched operating points, supporting that schedule-oriented caching and trajectory reflection are complementary. The interaction with D2Cache is more nuanced: Z-Cache improves several perceptual metrics and ImageReward at certain operating points, while slightly trading off PSNR in some cases. This behavior is consistent with our theoretical analysis: when the base predictor already performs higher-order temporal correction, the additional benefit depends on whether the future-anchor information provides complementary rather than redundant correction.

We will include the complete absolute-value results and revise our wording from “applicable to any existing feature caching methods” to “applicable to a broad range of compatible feature caching predictors,” since the magnitude of improvement naturally depends on the error characteristics of the underlying predictor.

Thank you again for the constructive feedback. We believe these revisions will make the theoretical scope, empirical boundaries, and positioning of Z-Cache clearer.

Reviewer XnXf · CommentOpenReview ↗

Thank you for the authors’ response, which addresses most of my concerns. Please add the mentioned methods to the related-work discussion and clarify their relationship with Z-Cache.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…