From Local Mismatch to Global Impact: Optimizing Cache Reuse Policy for Efficient Diffusion

arXiv cs.AI Papers

Summary

This paper proposes Global-ImpactCache (GCache), a bilevel optimization framework that learns cache reuse policies for diffusion models by aligning error weighting with final generation quality, instead of relying on local similarity heuristics. It achieves significant speedups and quality improvements on image and video generation tasks, including a 2.17x speedup on Wan2.1 with lower LPIPS.

arXiv:2608.13043v1 Announce Type: new Abstract: Diffusion models have achieved dominant performance in visual generation but suffer from substantial inference overhead. While cache-based acceleration has emerged as a promising solution, existing policies rely on local similarity heuristics, which we identify as being significantly misaligned with final generation quality. This discrepancy stems from the non-uniform propagation and accumulation of errors along the denoising trajectory. To address this, we propose Global-Impact Cache (GCache). We first establish a rigorous theoretical characterization of the error propagation upper bound. Recognizing that this bound can be overly conservative for complex, highly non-convex diffusion models, we further reparameterize the propagation exponent with a Bernstein form and reformulate cache policy search as a bilevel optimization problem. In detail, GCache identifies an optimal reuse policy in the inner objective while aligning the error-weighting function with generation quality loss in the outer objective. This framework effectively reconciles theoretical rigor with empirical performance, learning to prioritize computation where it most impacts visual fidelity. Extensive experiments demonstrate that GCache consistently outperforms prior caching strategies on both video and image generation. Notably, on the state-of-the-art Wan2.1 video diffusion model, GCache maintains a 2.17x speedup while significantly enhancing generation quality, reducing LPIPS from 0.1095 to 0.0316.
Original Article
View Cached Full Text

Cached at: 08/14/26, 09:29 AM

# From Local Mismatch to Global Impact: Optimizing Cache Reuse Policy for Efficient Diffusion
Source: [https://arxiv.org/html/2608.13043](https://arxiv.org/html/2608.13043)
Yifan WuAffiliation:Faculty of Engineering, The Chinese University of Hong KongZhikang XieXiangyu YueAffiliation:Faculty of Engineering, The Chinese University of Hong KongCheng JinWeizhong ZhangThanks:Corresponding authorAffiliation:School of Data Science, Fudan University\[3pt\] College of Computer ScienceArtificial IntelligenceFudan University

###### Abstract

Diffusion models have achieved dominant performance in visual generation but suffer from substantial inference overhead\. While cache\-based acceleration has emerged as a promising solution, existing policies rely on local similarity heuristics, which we identify as being significantly misaligned with final generation quality\. This discrepancy stems from the non\-uniform propagation and accumulation of errors along the denoising trajectory\. To address this, we proposeGlobal\-ImpactCache\(GCache\)\. We first establish a rigorous theoretical characterization of the error propagation upper bound\. Recognizing that this bound can be overly conservative for complex, highly non\-convex diffusion models, we further reparameterize the propagation exponent with a Bernstein form and reformulate cache policy search as a bilevel optimization problem\. In detail, GCache identifies an optimal reuse policy in the inner objective while aligning the error\-weighting function with generation quality loss in the outer objective\. This framework effectively reconciles theoretical rigor with empirical performance, learning to prioritize computation where it most impacts visual fidelity\. Extensive experiments demonstrate that GCache consistently outperforms prior caching strategies on both video and image generation\. Notably, on the state\-of\-the\-art Wan2\.1 video diffusion model, GCache maintains a2\.17×2\.17\\timesspeedup while significantly enhancing generation quality, reducing LPIPS from0\.10950\.1095to0\.03160\.0316\.

## 1Introduction

In recent years, diffusion models\[[9](https://arxiv.org/html/2608.13043#bib.bib17),[27](https://arxiv.org/html/2608.13043#bib.bib16),[6](https://arxiv.org/html/2608.13043#bib.bib19),[13](https://arxiv.org/html/2608.13043#bib.bib15)\]have emerged as the dominant paradigm in visual generation, delivering high\-fidelity and diverse outputs across various modalities, including images\[[22](https://arxiv.org/html/2608.13043#bib.bib20),[24](https://arxiv.org/html/2608.13043#bib.bib24)\]and videos\[[1](https://arxiv.org/html/2608.13043#bib.bib21),[3](https://arxiv.org/html/2608.13043#bib.bib23)\]\. Despite these successes, diffusion models remain burdened by substantial inference overhead, stemming from the iterative nature of solving the underlying Ordinary Differential Equations \(ODEs\), which necessitates numerous model evaluations for a single sample\. To mitigate this limitation, various acceleration mechanisms have been explored from multiple directions, including model\-centric compression\[[8](https://arxiv.org/html/2608.13043#bib.bib26),[2](https://arxiv.org/html/2608.13043#bib.bib27)\], advanced sampling solvers\[[16](https://arxiv.org/html/2608.13043#bib.bib30),[33](https://arxiv.org/html/2608.13043#bib.bib29),[35](https://arxiv.org/html/2608.13043#bib.bib31)\], and, more recently, cache\-based mechanisms\[[5](https://arxiv.org/html/2608.13043#bib.bib4),[14](https://arxiv.org/html/2608.13043#bib.bib3),[21](https://arxiv.org/html/2608.13043#bib.bib2)\]\.

Among current acceleration strategies, cache\-based methods provide a practical approach to speeding up diffusion inference\. Unlike model\-centric techniques, caching avoids intensive retraining or distillation of model parameters and remains orthogonal to advanced sampling solvers, making it a highly lightweight solution for denoising acceleration\. The primary objective is to establish an inference\-time policy that identifies redundant intermediate residuals across adjacent timesteps to avoid repeated computations\. While initial approaches\[[5](https://arxiv.org/html/2608.13043#bib.bib4),[25](https://arxiv.org/html/2608.13043#bib.bib36),[36](https://arxiv.org/html/2608.13043#bib.bib9)\]relied on uniform reuse schedules, they lacked the flexibility to adapt to varying residual dynamics across different timesteps\. Consequently, recent works\[[14](https://arxiv.org/html/2608.13043#bib.bib3),[21](https://arxiv.org/html/2608.13043#bib.bib2)\]have shifted toward non\-uniform strategies\. These methods employ local similarity metrics to quantify the mismatch between target and cached residuals, triggering reuse only when the discrepancy is sufficiently small\.

Figure 1:Comparison betweenlocal mismatchandglobal impact\(lower is better\)\. We conduct a series of independent experiments in which a cached residual is reused at exactly one specific timestep\. For each timestep, the blue marker \(Rel\-L1\) measures the local discrepancy between the ground\-truth residual and the cached residual from the preceding step, while the red marker \(LPIPS\) reflects the resulting impact on final generation quality\.Despite these advancements, existing approaches remain limited by their reliance on local similarity metrics, such as the relativeℓ1\\ell\_\{1\}distance\. However, empirical evidence suggests that such locally\-based strategies fail to accurately capture how individual cache reuse decisions affect final generation quality\. As illustrated in[Figure1](https://arxiv.org/html/2608.13043#S1.F1), large local discrepancies may correspond to only minor perceptual degradation: pronounced relativeℓ1\\ell\_\{1\}spikes occur around step 19111The prominent Rel\-L1 spike around step 19 is a known characteristic of Flux\-dev 1\.0 under the Euler ODE solver\. Similar spike behaviors across diffusion models have also been reported in prior work\[[14](https://arxiv.org/html/2608.13043#bib.bib3)\]\.and increase sharply in the final denoising stages, yet result in only marginal increases in LPIPS\. This mismatch reveals that local discrepancy alone is an unreliable proxy for global generation impact, indicating that effective cache reuse policies must account for both local reuse errors and their cumulative impact on final generation quality\.

To this end, we first establish a theoretical characterization of the error propagation dynamics in cache\-reused diffusion trajectories\. This analysis provides a principled foundation by relating local discrepancies to a global cumulative error bound, offering a rigorous heuristic for policy optimization\. While this analytical bound serves as a robust guide, its worst\-case nature inherently introduces a pessimistic bias, as it does not fully account for the high non\-convexity and intrinsic error\-resilience of diffusion models\. To bridge this gap and unlock the full potential of our theoretical framework, we proposeGlobal\-Impact Cache\(GCache\)\. In detail, we parameterize the propagation exponent in the theoretical bound as a Bernstein form and formulate the policy search as a bilevel optimization problem, where the inner objective identifies the optimal reuse policy that minimizes the current error bound for a given set of parameters, while the outer objective optimizes the propagation parameters by minimizing empirical generation loss\. In this way, GCache learns an error\-weighting function that better reflects empirical error propagation, leading to more informed cache reuse decisions and improved generation quality\. Extensive experiments across multiple image and video generation models demonstrate that our method, GCache, consistently outperforms prior caching strategies\. Overall, we summarize our contributions as follows:

- •We identify a fundamental misalignment between local cache reuse errors and global generation quality, and provide a theoretical analysis that characterizes how cache reuse errors propagate during diffusion sampling, establishing an analytical upper bound on their global impact\.
- •We demonstrate that there is an estimative gap between this theoretical bound and empirical error behavior, observing that the bound’s worst\-case assumptions can be conservatively biased in the context of highly non\-convex diffusion dynamics\.
- •Motivated by this, we propose GCache, which reparameterizes the error propagation exponent with a Bernstein form and formulates cache reuse policy search as a bilevel optimization problem to better align theoretical estimates with empirical error behavior\.
- •We conduct extensive experiments on both image and video generation tasks, demonstrating that GCache consistently achieves superior speed–quality trade\-offs compared to existing cache\-based acceleration methods\.

## 2Preliminaries

In this section, we briefly review the background on diffusion models and cache reuse to establish notation and context\. Further discussions of related work are provided in Appendix[C](https://arxiv.org/html/2608.13043#A3)\.

### 2\.1Diffusion Models

Diffusion models\[[9](https://arxiv.org/html/2608.13043#bib.bib17),[27](https://arxiv.org/html/2608.13043#bib.bib16),[13](https://arxiv.org/html/2608.13043#bib.bib15)\]synthesize samples by gradually perturbing real data𝒙∼pdata​\(𝒙\)\\bm\{x\}\\sim p\_\{\\text\{data\}\}\(\\bm\{x\}\)into prior noise𝒏∼pprior​\(𝒏\)\\bm\{n\}\\sim p\_\{\\text\{prior\}\}\(\\bm\{n\}\)\(e\.g\., a standard Gaussian distribution𝒩⁡\(𝟎,𝐈\)\\mathcal\{N\}\(\\bm\{0\},\\mathbf\{I\}\)\), subsequently learning to invert this process for sample generation\.

Recent works\[[7](https://arxiv.org/html/2608.13043#bib.bib18)\]frequently adopt the Flow Matching paradigm\[[13](https://arxiv.org/html/2608.13043#bib.bib15)\]\. Specifically, given a data\-noise pair\(𝒙,𝒏\)\(\\bm\{x\},\\bm\{n\}\), a flow path is constructed as𝒙t=\(1−t\)​𝒙\+t​𝒏\\bm\{x\}\_\{t\}=\(1\-t\)\\bm\{x\}\+t\\bm\{n\}fort∈\[0,1\]t\\in\[0,1\], which induces the conditional velocity field:

𝒗t​\(𝒙t∣𝒙\)=dd​t​\[\(1−t\)​𝒙\+t​𝒏\]=𝒏−𝒙\.\\bm\{v\}\_\{t\}\(\\bm\{x\}\_\{t\}\\mid\\bm\{x\}\)=\\frac\{\\mathrm\{d\}\}\{\\mathrm\{d\}t\}\\left\[\(1\-t\)\\bm\{x\}\+t\\bm\{n\}\\right\]=\\bm\{n\}\-\\bm\{x\}\.\(1\)Since a specific𝒙t\\bm\{x\}\_\{t\}can result from various\(𝒙,𝒏\)\(\\bm\{x\},\\bm\{n\}\)pairs, Flow Matching targets the marginal velocity field:

𝒗⁡\(𝒙t,t\):=𝔼pt​\(𝒙∣𝒙t\)​\[𝒗t​\(𝒙t∣𝒙\)\]\.\\bm\{v\}\(\\bm\{x\}\_\{t\},t\):=\\mathbb\{E\}\_\{p\_\{t\}\(\\bm\{x\}\\mid\\bm\{x\}\_\{t\}\)\}\\left\[\\bm\{v\}\_\{t\}\(\\bm\{x\}\_\{t\}\\mid\\bm\{x\}\)\\right\]\.\(2\)A neural network𝒗θ\\bm\{v\}\_\{\\theta\}is trained to approximate this marginal field by minimizing the conditional Flow Matching loss:

ℒCFM​\(θ\)=𝔼t,𝒙,𝒏​‖𝒗θ​\(𝒙t,t\)−𝒗t​\(𝒙t∣𝒙\)‖22\.\\mathcal\{L\}\_\{\\text\{CFM\}\}\(\\theta\)=\\mathbb\{E\}\_\{t,\\bm\{x\},\\bm\{n\}\}\\left\\\|\\bm\{v\}\_\{\\theta\}\(\\bm\{x\}\_\{t\},t\)\-\\bm\{v\}\_\{t\}\(\\bm\{x\}\_\{t\}\\mid\\bm\{x\}\)\\right\\\|\_\{2\}^\{2\}\.\(3\)This objective is equivalent to minimizing the Flow Matching lossℒFM​\(θ\)=𝔼t,pt​\(𝒙t\)​‖𝒗θ​\(𝒙t,t\)−𝒗⁡\(𝒙t,t\)‖22\\mathcal\{L\}\_\{\\text\{FM\}\}\(\\theta\)=\\mathbb\{E\}\_\{t,p\_\{t\}\(\\bm\{x\}\_\{t\}\)\}\\\|\\bm\{v\}\_\{\\theta\}\(\\bm\{x\}\_\{t\},t\)\-\\bm\{v\}\(\\bm\{x\}\_\{t\},t\)\\\|\_\{2\}^\{2\}, effectively fitting the model to the true marginal velocity\.

During inference, samples are generated by solving the corresponding ordinary differential equation \(ODE\):

dd​t​𝒙t=𝒗⁡\(𝒙t,t\),\\frac\{\\mathrm\{d\}\}\{\\mathrm\{d\}t\}\\bm\{x\}\_\{t\}=\\bm\{v\}\(\\bm\{x\}\_\{t\},t\),\(4\)initialized at𝒙1∼pprior\\bm\{x\}\_\{1\}\\sim p\_\{\\text\{prior\}\}and integrated backward tot=0t=0\. The final sample is given by𝒙0=𝒙1−∫01𝒗⁡\(𝒙τ,τ\)​𝑑τ\\bm\{x\}\_\{0\}=\\bm\{x\}\_\{1\}\-\\int\_\{0\}^\{1\}\\bm\{v\}\(\\bm\{x\}\_\{\\tau\},\\tau\)\\mathrm\{d\}\\tau\. In practice, this integral is approximated using numerical ODE solvers\. For instance, the Euler method discretizes the trajectory overNNtimesteps1=tN\>tN−1\>⋯\>t2\>t1=01=t\_\{N\}\>t\_\{N\-1\}\>\\cdots\>t\_\{2\}\>t\_\{1\}=0, computing each step as:

𝒙ti=𝒙ti\+1−\(ti−ti\+1\)​𝒗​\(𝒙ti\+1,ti\+1\)\.\\bm\{x\}\_\{t\_\{i\}\}=\\bm\{x\}\_\{t\_\{i\+1\}\}\-\(t\_\{i\}\-t\_\{i\+1\}\)\\bm\{v\}\(\\bm\{x\}\_\{t\_\{i\+1\}\},t\_\{i\+1\}\)\.\(5\)

### 2\.2Cache Reuse

The primary inference bottleneck in diffusion models arises from the repetitive model evaluations necessitated by the ODE solver\. Cache reuse has emerged as a promising strategy to mitigate this overhead by leveraging the temporal redundancy of intermediate representations across sampling steps\. A prevalent approach involves reusing residual mappings across specific model layers\[[5](https://arxiv.org/html/2608.13043#bib.bib4)\]\.

Formally, consider a feed\-forward neural network \(e\.g\., a Transformer\[[29](https://arxiv.org/html/2608.13043#bib.bib14)\]\) decomposed as:

𝒗⁡\(𝒙t,t\)=\(fout∘fmid∘fin\)​\(𝒙t,t\),\\bm\{v\}\(\\bm\{x\}\_\{t\},t\)=\(f\_\{\\text\{out\}\}\\circ f\_\{\\text\{mid\}\}\\circ f\_\{\\text\{in\}\}\)\(\\bm\{x\}\_\{t\},t\),\(6\)wherefmidf\_\{\\text\{mid\}\}represents the intermediate blocks \(e\.g\., core transformer layers\), whilefinf\_\{\\text\{in\}\}andfoutf\_\{\\text\{out\}\}denote the layers responsible for input embedding and output projection \(e\.g\., patchify and unpatchify\), respectively\. Let𝒉t:=fin​\(𝒙t\)\\bm\{h\}\_\{t\}:=f\_\{\\text\{in\}\}\(\\bm\{x\}\_\{t\}\)and𝒛t:=fmid​\(𝒉t\)\\bm\{z\}\_\{t\}:=f\_\{\\text\{mid\}\}\(\\bm\{h\}\_\{t\}\), the residual is then defined as

𝜹t:=𝒛t−𝒉t\.\\bm\{\\delta\}\_\{t\}:=\\bm\{z\}\_\{t\}\-\\bm\{h\}\_\{t\}\.\(7\)During the sampling process, a cache reuse policy𝒎∈\{0,1\}N\\bm\{m\}\\in\\\{0,1\\\}^\{N\}governs the use of a stored residual𝜹c\\bm\{\\delta\}^\{c\}\. At each timesteptnt\_\{n\}, the policy determines whether to approximate the state by reusing the cached residual \(𝒎ti=0\\bm\{m\}\_\{t\_\{i\}\}=0\):

𝒛tic=𝜹c\+𝒉ti,\\bm\{z\}^\{c\}\_\{t\_\{i\}\}=\\bm\{\\delta\}^\{c\}\+\\bm\{h\}\_\{t\_\{i\}\},\(8\)or to perform a full computation and update the cache \(𝒎ti=1\\bm\{m\}\_\{t\_\{i\}\}=1\):

𝜹c←𝜹ti\.\\bm\{\\delta\}^\{c\}\\leftarrow\\bm\{\\delta\}\_\{t\_\{i\}\}\.\(9\)The objective of a cache reuse policy is to minimize the degradation of generation quality subject to a specific computational budget, which is typically defined by the total number of cache reuses,‖𝒎‖0\\\|\\bm\{m\}\\\|\_\{0\}\.

To develop effective caching policies, recent studies\[[14](https://arxiv.org/html/2608.13043#bib.bib3),[21](https://arxiv.org/html/2608.13043#bib.bib2)\]typically employ a local error metric, specifically the relativeℓ1\\ell\_\{1\}distance, to determine whether to reuse the previously cached residual𝜹c\\bm\{\\delta\}^\{c\}at timesteptit\_\{i\}:

d⁡\(𝜹c,𝜹ti\)=‖𝜹c−𝜹ti‖1‖𝜹c‖1\.d\(\\bm\{\\delta\}^\{c\},\\bm\{\\delta\}\_\{t\_\{i\}\}\)=\\frac\{\\\|\\bm\{\\delta\}^\{c\}\-\\bm\{\\delta\}\_\{t\_\{i\}\}\\\|\_\{1\}\}\{\\\|\\bm\{\\delta\}^\{c\}\\\|\_\{1\}\}\.\(10\)However, as we demonstrate below, this local\-only perspective fails to account for the error propagation inherent in the denoising process, ultimately resulting in sub\-optimal caching decisions\.

## 3Method

In this section, we begin with preliminary experiments that reveal the error propagation behavior in the denoising process \([Section3\.1](https://arxiv.org/html/2608.13043#S3.SS1)\)\. We then develop a theoretical upper bound that characterizes how local cache reuse errors propagate across timesteps \([Section3\.2](https://arxiv.org/html/2608.13043#S3.SS2)\)\. Since directly optimizing cache reuse policies with this bound proves insufficient in practice, we further refine it via a bilevel optimization framework and proposeGlobal\-ImpactCache\(GCache\) with an efficient solution strategy \([Section3\.3](https://arxiv.org/html/2608.13043#S3.SS3)\)\.

### 3\.1Motivation

Figure 2:Characterization of error propagation across the denoising trajectory\.To motivate our study, we first conduct controlled perturbation experiments on video generation\. Specifically, we inject random noise of a fixed magnitude into intermediate feature maps at different denoising timesteps and track the log\-scaled deviation‖𝒙t−𝒙^t‖1\\\|\\bm\{x\}\_\{t\}\-\\hat\{\\bm\{x\}\}\_\{t\}\\\|\_\{1\}over subsequent denoising steps, where𝒙t\\bm\{x\}\_\{t\}and𝒙^t\\hat\{\\bm\{x\}\}\_\{t\}denote the unperturbed and perturbed states\. As illustrated in[Figure2](https://arxiv.org/html/2608.13043#S3.F2), Perturbations introduced earlier are progressively amplified and lead to substantially larger final deviations than those injected later\.

These findings reveal a cumulative and time\-dependent error propagation effect, suggesting that an effective cache reuse policy should account for not only the local cache reuse error but also the error propagation inherent in the denoising process\. Building on this observation, the following subsection establishes a formal relationship between local reuse discrepancies and their cumulative propagation\.

### 3\.2Error Propagation of Cache Reuse

To rigorously quantify how local cache reuse errors accumulate across the denoising trajectory, we first establish a formal theoretical framework\. Building on the empirical insights from[Section3\.1](https://arxiv.org/html/2608.13043#S3.SS1), we aim to derive an upper bound for the final generation error that accounts for the time\-dependent nature of error propagation\. We first introduce the following regularity conditions, which are standard in the analysis of diffusion\-based generative models\[[4](https://arxiv.org/html/2608.13043#bib.bib37)\]\.

###### Assumption 3\.1\(Regularity and Approximation Conditions\)\.

For all denoising timestepst∈\[t1,tN\]t\\in\[t\_\{1\},t\_\{N\}\], we assume the following conditions hold:

1. \(i\)Bounded Approximation Error:The empirical velocity field𝒗θ\\bm\{v\}\_\{\\theta\}approximates the ground\-truth marginal velocity𝒗\\bm\{v\}with a uniform error boundη≥0\\eta\\geq 0, i\.e\.,‖𝒗⁡\(𝒙,t\)−𝒗θ​\(𝒙,t\)‖1≤η\\left\\\|\\bm\{v\}\(\\bm\{x\},t\)\-\\bm\{v\}\_\{\\theta\}\(\\bm\{x\},t\)\\right\\\|\_\{1\}\\leq\\etafor all𝒙\\bm\{x\}andtt\.
2. \(ii\)Lipschitz Continuity:The output projectionfoutf\_\{\\text\{out\}\}isLoutL\_\{\\text\{out\}\}\-Lipschitz continuous, and the learned velocity field𝒗θ\\bm\{v\}\_\{\\theta\}isLtL\_\{t\}\-Lipschitz continuous with respect to its first argument, i\.e\.,‖𝒗θ​\(𝒙,t\)−𝒗θ​\(𝒚,t\)‖1≤Lt​‖𝒙−𝒚‖1\\\|\\bm\{v\}\_\{\\theta\}\(\\bm\{x\},t\)\-\\bm\{v\}\_\{\\theta\}\(\\bm\{y\},t\)\\\|\_\{1\}\\leq L\_\{t\}\\\|\\bm\{x\}\-\\bm\{y\}\\\|\_\{1\}for all𝒙,𝒚,t\\bm\{x\},\\bm\{y\},t, whereLt≤LL\_\{t\}\\leq Lfor alltt\.
3. \(iii\)Bounded Velocity Dynamics:The total time derivative of the ground\-truth velocity field along any trajectory𝒙t\\bm\{x\}\_\{t\}is bounded byMM, i\.e\.,‖dd​t​𝒗​\(𝒙t,t\)‖1≤M\\left\\\|\\frac\{\\mathrm\{d\}\}\{\\mathrm\{d\}t\}\\bm\{v\}\(\\bm\{x\}\_\{t\},t\)\\right\\\|\_\{1\}\\leq M\.

We begin by analyzing a scenario involving a single reuse event at timestepti\+1t\_\{i\+1\}\. Specifically, we evaluate the final error relative to the ground\-truth ODE trajectory under Euler discretization\.

###### Theorem 3\.2\(Global Error Bound under Cache Reuse\)\.

Under Assumption[3\.1](https://arxiv.org/html/2608.13043#S3.Thmtheorem1), let𝐱t\\bm\{x\}\_\{t\}be the ground\-truth ODE state at timett, and let𝐱^tc\\hat\{\\bm\{x\}\}^\{c\}\_\{t\}be the state generated by the Euler solver using the learned velocity𝐯θ\\bm\{v\}\_\{\\theta\}, incorporating a single cache reuse event\. Specifically, suppose that at stepti\+1→tit\_\{i\+1\}\\to t\_\{i\}, we reuse a cached residual𝛅ti\+1c\\bm\{\\delta\}\_\{t\_\{i\+1\}\}^\{c\}with errorϵti\+1c=𝛅ti\+1−𝛅ti\+1c\\bm\{\\epsilon\}\_\{t\_\{i\+1\}\}^\{c\}=\\bm\{\\delta\}\_\{t\_\{i\+1\}\}\-\\bm\{\\delta\}^\{c\}\_\{t\_\{i\+1\}\}\. Given a sequence of timestepstN,tN−1,…,t1t\_\{N\},t\_\{N\-1\},\\dots,t\_\{1\}with uniform step sizehh, the global error at the final timestept1t\_\{1\}is bounded by:

‖𝒙t1−𝒙^t1c‖1≤h​Lout​‖ϵti\+1c‖1​e\(i−1\)​h​L⏟Cache Reuse Error\+\(ηL\+h​M2​L\)​\(e\(N−1\)​h​L−1\)⏟Approximation & Discretization Error\.\\left\\\|\\bm\{x\}\_\{t\_\{1\}\}\-\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{1\}\}\\right\\\|\_\{1\}\\leq\\underbrace\{hL\_\{\\text\{out\}\}\\left\\\|\\bm\{\\epsilon\}^\{c\}\_\{t\_\{i\+1\}\}\\right\\\|\_\{1\}e^\{\(i\-1\)hL\}\}\_\{\\text\{Cache Reuse Error\}\}\+\\underbrace\{\\left\(\\frac\{\\eta\}\{L\}\+\\frac\{hM\}\{2L\}\\right\)\\left\(e^\{\(N\-1\)hL\}\-1\\right\)\}\_\{\\text\{Approximation \\& Discretization Error\}\}\.\(11\)

[Theorem3\.2](https://arxiv.org/html/2608.13043#S3.Thmtheorem2)demonstrates that the final error can be decomposed into three distinct components: \(i\) the propagated error originating from cache reuse, \(ii\) the network approximation error stemming from the learned velocity, and \(iii\) the discretization error inherent to the ODE solver\.

Notably, the cache reuse term is scaled by an exponential factor, indicating that local errors introduced by cache reuse are amplified by the system dynamics as the trajectory evolves\. This suggests that the impact of cache reuse should not be judged solely by the magnitude of the local errorϵti\+1c\\bm\{\\epsilon\}\_\{t\_\{i\+1\}^\{c\}\}, but rather by its “positional” impact: errors introduced earlier in the denoising process \(largerii\) may lead to significantly larger deviations in the final generated sample\. This theoretical insight corroborates the empirical observations presented in[Figure2](https://arxiv.org/html/2608.13043#S3.F2)\.

In practice, we are primarily concerned with the deviation of the cached trajectory from the baseline discretization rather than from the ideal ODE solution\. Our objective is to enhance the efficiency of diffusion sampling while preserving its generative fidelity as faithfully as possible\. To this end, we establish error propagation bounds for single\- and multi\-step cache reuse in the following theorems\.

###### Theorem 3\.3\(Error Propagation Bound under Single\-Step Cache Reuse\)\.

Under Assumption[3\.1](https://arxiv.org/html/2608.13043#S3.Thmtheorem1), let𝐱^t\\hat\{\\bm\{x\}\}\_\{t\}be the state generated by the Euler solver using the learned velocity𝐯θ\\bm\{v\}\_\{\\theta\}, and let𝐱^tc\\hat\{\\bm\{x\}\}\_\{t\}^\{c\}be the state incorporating a single cache reuse event at stepti\+1→tit\_\{i\+1\}\\to t\_\{i\}\. Suppose the reuse of a cached residual𝛅ti\+1c\\bm\{\\delta\}\_\{t\_\{i\+1\}\}^\{c\}introduces an errorϵti\+1c=𝛅ti\+1−𝛅ti\+1c\\bm\{\\epsilon\}\_\{t\_\{i\+1\}\}^\{c\}=\\bm\{\\delta\}\_\{t\_\{i\+1\}\}\-\\bm\{\\delta\}^\{c\}\_\{t\_\{i\+1\}\}\. Given a sequence of timestepstN,tN−1,…,t1t\_\{N\},t\_\{N\-1\},\\dots,t\_\{1\}with step sizeshtn\+1=tn\+1−tnh\_\{t\_\{n\+1\}\}=t\_\{n\+1\}\-t\_\{n\}, the cumulative error at the final timestept1t\_\{1\}is bounded by:

‖𝒙^t1−𝒙^t1c‖1≤‖ϵti\+1c‖1​ewti\+1,\\left\\\|\\hat\{\\bm\{x\}\}\_\{t\_\{1\}\}\-\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{1\}\}\\right\\\|\_\{1\}\\leq\\left\\\|\\bm\{\\epsilon\}^\{c\}\_\{t\_\{i\+1\}\}\\right\\\|\_\{1\}e^\{w\_\{t\_\{i\+1\}\}\},\(12\)where the propagation exponentwti\+1w\_\{t\_\{i\+1\}\}is defined as:

wti\+1=ln⁡\(hti\+1​Lout\)\+∑n=1i−1htn\+1​Ltn\+1\.w\_\{t\_\{i\+1\}\}=\\ln\\left\(h\_\{t\_\{i\+1\}\}L\_\{\\text\{out\}\}\\right\)\+\\sum\_\{n=1\}^\{i\-1\}h\_\{t\_\{n\+1\}\}L\_\{t\_\{n\+1\}\}\.\(13\)

###### Theorem 3\.4\(Error Propagation Bound under Multi\-Step Cache Reuse\)\.

Under Assumption[3\.1](https://arxiv.org/html/2608.13043#S3.Thmtheorem1), let𝐱^t\\hat\{\\bm\{x\}\}\_\{t\}be the state generated by the Euler solver using the learned velocity𝐯θ\\bm\{v\}\_\{\\theta\}, and let𝐱^tc\\hat\{\\bm\{x\}\}\_\{t\}^\{c\}be the state incorporating multiple cache reuse events at every stepti\+1→tit\_\{i\+1\}\\to t\_\{i\}fori∈\{N−1,…,1\}i\\in\\\{N\-1,\\dots,1\\\}\. Suppose each reuse of a cached residual introduces a local errorϵti\+1c=𝛅ti\+1−𝛅ti\+1c\\bm\{\\epsilon\}\_\{t\_\{i\+1\}\}^\{c\}=\\bm\{\\delta\}\_\{t\_\{i\+1\}\}\-\\bm\{\\delta\}^\{c\}\_\{t\_\{i\+1\}\}\. Given a sequence of timestepstN,tN−1,…,t1t\_\{N\},t\_\{N\-1\},\\dots,t\_\{1\}with step sizeshti\+1=ti\+1−tih\_\{t\_\{i\+1\}\}=t\_\{i\+1\}\-t\_\{i\}, the cumulative error at the final timestept1t\_\{1\}is bounded by:

‖𝒙^t1−𝒙^t1c‖1≤∑i=1N−1‖ϵti\+1c‖1​ewti\+1\.\\left\\\|\\hat\{\\bm\{x\}\}\_\{t\_\{1\}\}\-\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{1\}\}\\right\\\|\_\{1\}\\leq\\sum\_\{i=1\}^\{N\-1\}\\left\\\|\\bm\{\\epsilon\}^\{c\}\_\{t\_\{i\+1\}\}\\right\\\|\_\{1\}e^\{w\_\{t\_\{i\+1\}\}\}\.\(14\)where the propagation exponentwtn\+1w\_\{t\_\{n\+1\}\}is defined as:

wti\+1=ln⁡\(hti\+1​Lout\)\+∑j=1i−1htj\+1​Ltj\+1\.w\_\{t\_\{i\+1\}\}=\\ln\\left\(h\_\{t\_\{i\+1\}\}L\_\{\\text\{out\}\}\\right\)\+\\sum\_\{j=1\}^\{i\-1\}h\_\{t\_\{j\+1\}\}L\_\{t\_\{j\+1\}\}\.\(15\)

[Theorem3\.3](https://arxiv.org/html/2608.13043#S3.Thmtheorem3)and[Theorem3\.4](https://arxiv.org/html/2608.13043#S3.Thmtheorem4)provide an analytical characterization of how a cached trajectory deviates from the baseline discretization\. Crucially, these bounds suggest that an optimal cache reuse policy𝒎\\bm\{m\}can be identified by minimizing the upper bound of the total propagation error:

𝒎⋆​\(𝒔\)∈arg⁡min𝒎∈𝒞​∑i=1N−1‖ϵti\+1c‖1​ewti\+1,\\bm\{m\}^\{\\star\}\(\\bm\{s\}\)\\in\\underset\{\\bm\{m\}\\in\\mathcal\{C\}\}\{\\arg\\min\}\\sum\_\{i=1\}^\{N\-1\}\\left\\\|\\bm\{\\epsilon\}^\{c\}\_\{t\_\{i\+1\}\}\\right\\\|\_\{1\}e^\{w\_\{t\_\{i\+1\}\}\},\(16\)where𝒞=\{𝒎:‖𝒎‖0=K\}\\mathcal\{C\}=\\\{\\bm\{m\}:\\\|\\bm\{m\}\\\|\_\{0\}=K\\\}denotes the feasible set of policies under a predefined budgetKK, representing the number of full\-computation steps allowed throughout the denoising process\.

\(a\)Comparison of different cache policies\.\(b\)Comparison of error propagation estimations
Figure 3:Analysis of cache policies and error estimation\. \(a\) Policy comparison\. Reconstruction error across the denoising process\. The theoretical policy \(orange\) is overly pessimistic in early stages, leading to late\-stage error spikes; GCache \(green\) balances computation to achieve the lowest final error\. \(b\) Estimation fidelity\. Comparison of error propagation profiles\. The analytical bound \(red\) provides a conservative upper limit, while GCache’s optimized weighting \(green\) aligns tightly with the empirical ground truth \(blue\)\.Effectiveness of the Analytical Upper Bound\.By directly minimizing the analytical upper bound in[Equation16](https://arxiv.org/html/2608.13043#S3.E16), we derive a cache reuse policy that accounts for the cumulative impact of errors across the entire trajectory\. As illustrated in[Figure3\(a\)](https://arxiv.org/html/2608.13043#S3.F3.sf1), the policy optimized via this theoretical bound \(Orange\) consistently achieves a lower reconstruction error‖𝒙t1−𝒙^t1‖1\\\|\\bm\{x\}\_\{t\_\{1\}\}\-\\hat\{\\bm\{x\}\}\_\{t\_\{1\}\}\\\|\_\{1\}under a fixed computation budget \(K=10K=10\) at the final timestep compared to the state\-of\-the\-art ERTACache\[[21](https://arxiv.org/html/2608.13043#bib.bib2)\]\(Blue\)\. This superiority stems from our bound’s ability to capture the long\-term dependency of errors, whereas prior methods often rely on local heuristics that fail to account for the exponential amplification of early\-stage perturbations\.

### 3\.3Optimized Cache Reuse Policy

From Theoretical Bounds to Empirical Alignment\.While the policy derived from[Equation16](https://arxiv.org/html/2608.13043#S3.E16)effectively minimizes the cumulative error, it exhibits a distinct behavior of prioritizing full computation in early denoising stages and clustering cache reuse toward the end\. To understand the underlying mechanics, we analyze the discrepancy between our analytical bound and the actual empirical error\. As illustrated in[Figure3\(b\)](https://arxiv.org/html/2608.13043#S3.F3.sf2), the analytical bound provides a conservative overestimation of the propagated error, particularly during the initial steps\. This gap stems from the fact that the theoretical bound assumes a worst\-case error growth, which does not fully account for the intrinsic error\-resilience and non\-linear dynamics of diffusion models\. Motivated by this observation, we move beyond a conservative bound and introduce a bilevel optimization formulation\. This approach adaptively “tightens” the error estimation by learning a weighting function that aligns our theoretical framework with empirical generation quality, ultimately yielding a more refined and effective cache reuse policy\.

Bilevel Optimization Formulation\.To address the gap of the analytical bound discussed above, we proposeGlobal\-ImpactCache\(GCache\)\. The key idea is to move beyond a conservative upper bound by optimizing a parameterized error\-weighting function that better aligns with empirical results\. Specifically, we parameterize the propagation exponentwtw\_\{t\}using thedd\-th degree Bernstein polynomials as follows:

w⁡\(t,𝒔\)=∑ν=0d𝒔ν\+1​\(nν\)​tν​\(1−t\)d−ν,w\(t;\\bm\{s\}\)=\\sum\_\{\\nu=0\}^\{d\}\\bm\{s\}\_\{\\nu\+1\}\\binom\{n\}\{\\nu\}t^\{\\nu\}\(1\-t\)^\{d\-\\nu\},\(17\)where𝒔∈\[smin,smax\]d\+1\\bm\{s\}\\in\[s\_\{\\text\{min\}\},s\_\{\\text\{max\}\}\]^\{d\+1\}denotes a vector of learnable parameters \(coefficients\)\. With this parameterization, the search for an optimal cache reuse policy can be formulated as a bilevel optimization problem:

𝒔\\displaystyle\\bm\{s\}=arg⁡min𝒔∈\[smin,smax\]d\+1​ℒ​\(𝒎⋆​\(𝒔\)\),\\displaystyle=\\underset\{\\bm\{s\}\\in\[s\_\{\\text\{min\}\},s\_\{\\text\{max\}\}\]^\{d\+1\}\}\{\\arg\\min\}\\,\\mathcal\{L\}\(\\bm\{m\}^\{\\star\}\(\\bm\{s\}\)\),\(18\)s\.t\.𝒎⋆​\(𝒔\)\\displaystyle\\mathrm\{s\.t\.\}\\quad\\bm\{m\}^\{\\star\}\(\\bm\{s\}\)=arg⁡min𝒎∈𝒞​∑i=1N−1‖ϵti\+1c‖1​ew⁡\(ti\+1,𝒔\)\.\\displaystyle=\\underset\{\\bm\{m\}\\in\\mathcal\{C\}\}\{\\arg\\min\}\\sum\_\{i=1\}^\{N\-1\}\\left\\\|\\bm\{\\epsilon\}^\{c\}\_\{t\_\{i\+1\}\}\\right\\\|\_\{1\}e^\{w\(t\_\{i\+1\};\\bm\{s\}\)\}\.\(19\)Here,𝒞=\{𝒎:‖𝒎‖0=K\}\\mathcal\{C\}=\\\{\\bm\{m\}:\\\|\\bm\{m\}\\\|\_\{0\}=K\\\}denotes the feasible set for the policy𝒎\\bm\{m\}under a predefined budget constraintKK\.

Intuitively, the inner objective \([19](https://arxiv.org/html/2608.13043#S3.E19)\) seeks an optimal cache reuse policy𝒎⋆\\bm\{m\}^\{\\star\}that minimizes the current upper bound of the propagated error induced by the given polynomial parameters𝒔\\bm\{s\}; while the outer objective \([18](https://arxiv.org/html/2608.13043#S3.E18)\) optimizes the parameters𝒔\\bm\{s\}to minimize a generation quality metricℒ\\mathcal\{L\}\(e\.g\., LPIPS\[[34](https://arxiv.org/html/2608.13043#bib.bib12)\]\), effectively tuning the error\-weighting function to better reflect empirical generation quality\. However, standard first\-order methods \(e\.g\., SGD\) are inapplicable to this problem, as neither objective is differentiable with respect to𝒔\\bm\{s\}or𝒎\\bm\{m\}\. We therefore develop tailored strategies for both levels\.

Inner Optimization via Dynamic Programming\.The inner problem \([19](https://arxiv.org/html/2608.13043#S3.E19)\) can be cast as a constrained shortest path problem on a directed acyclic graph\. We define a cost matrixE∈ℝN×NE\\in\\mathbb\{R\}^\{N\\times N\}, where each entry

Ei,j=‖𝜹ti−𝜹tj‖1​ew⁡\(tj,𝒔\),E\_\{i,j\}=\\left\\\|\\bm\{\\delta\}\_\{t\_\{i\}\}\-\\bm\{\\delta\}\_\{t\_\{j\}\}\\right\\\|\_\{1\}e^\{w\(t\_\{j\};\\bm\{s\}\)\},\(20\)quantifies the propagated error of reusing the residual fromtit\_\{i\}at steptjt\_\{j\}\. Finding the optimal policy𝒎⋆\\bm\{m\}^\{\\star\}is equivalent to finding a path fromtNt\_\{N\}tot1t\_\{1\}that minimizes cumulative cost with exactlyKKrefresh nodes\. This admits an efficient Dynamic Programming \(DP\) solution withO⁡\(K​N2\)O\(KN^\{2\}\)complexity\. GivenN≤100N\\leq 100in modern schedulers, this overhead is negligible\.

Outer Optimization via Bayesian Optimization\.Since evaluating the outer objectiveℒ​\(𝒎⋆​\(𝒔\)\)\\mathcal\{L\}\(\\bm\{m\}^\{\\star\}\(\\bm\{s\}\)\)requires a full inference pass over the training set, it is a high\-cost black\-box function\. We employ Bayesian Optimization \(BO\) to efficiently search the parameter space of𝒔\\bm\{s\}\. BO models the objectivefeval​\(𝒔\)=ℒ⁡\(𝒎⋆​\(𝒔\)\)f\_\{\\text\{eval\}\}\(\\bm\{s\}\)=\\mathcal\{L\}\(\\bm\{m\}^\{\\star\}\(\\bm\{s\}\)\)using a Gaussian Process \(GP\) surrogate\. Let𝒟n=\{\(𝒔i,yi\)\}i=1n\\mathcal\{D\}\_\{n\}=\\\{\(\\bm\{s\}\_\{i\},y\_\{i\}\)\\\}\_\{i=1\}^\{n\}be the history ofnnevaluations\. The GP provides a posterior predictive distributionp⁡\(y∣𝒔,𝑺,𝒀\)∼𝒩⁡\(μ⁡\(𝒔\),σ2​\(𝒔\)\)p\(y\\mid\\bm\{s\},\\bm\{S\},\\bm\{Y\}\)\\sim\\mathcal\{N\}\(\\mu\(\\bm\{s\}\),\\sigma^\{2\}\(\\bm\{s\}\)\), where the meanμ⁡\(𝒔\)\\mu\(\\bm\{s\}\)estimates performance and the varianceσ2​\(𝒔\)\\sigma^\{2\}\(\\bm\{s\}\)quantifies uncertainty:

μ⁡\(𝒔\)\\displaystyle\\mu\(\\bm\{s\}\)=𝒌⁡\(𝒔,𝑺\)​\(𝑲\+σϵ2​𝐈\)−1​𝒀,\\displaystyle=\\bm\{k\}\(\\bm\{s\},\\bm\{S\}\)\\left\(\\bm\{K\}\+\\sigma\_\{\\epsilon\}^\{2\}\\mathbf\{I\}\\right\)^\{\-1\}\\bm\{Y\},\(21\)σ2​\(𝒔\)\\displaystyle\\sigma^\{2\}\(\\bm\{s\}\)=k⁡\(𝒔,𝒔\)−𝒌⁡\(𝒔,𝑺\)​\(𝑲\+σϵ2​𝐈\)−1​𝒌​\(𝒔,𝑺\)⊤\.\\displaystyle=k\(\\bm\{s\},\\bm\{s\}\)\-\\bm\{k\}\(\\bm\{s\},\\bm\{S\}\)\\left\(\\bm\{K\}\+\\sigma\_\{\\epsilon\}^\{2\}\\mathbf\{I\}\\right\)^\{\-1\}\\bm\{k\}\(\\bm\{s\},\\bm\{S\}\)^\{\\top\}\.\(22\)Here,𝑺=\[𝒔1,𝒔2,⋯,𝒔n\]⊤\\bm\{S\}=\[\\bm\{s\}\_\{1\},\\bm\{s\}\_\{2\},\\cdots,\\bm\{s\}\_\{n\}\]^\{\\top\}are reviously sampled parameters and𝒀=\[y1,y2,⋯,yn\]⊤\\bm\{Y\}=\[y\_\{1\},y\_\{2\},\\cdots,y\_\{n\}\]^\{\\top\}are their corresponding empirical evaluations\. We use the Lower Confidence Bound \(LCB\)\[[28](https://arxiv.org/html/2608.13043#bib.bib32)\]as the acquisition function:

ALCB​\(𝒔,𝒟n\)=μ⁡\(𝒔\)−κn​σ​\(𝒔\),A\_\{\\text\{LCB\}\}\(\\bm\{s\};\\mathcal\{D\}\_\{n\}\)=\\mu\(\\bm\{s\}\)\-\\kappa\_\{n\}\\sigma\(\\bm\{s\}\),\(23\)whereκn\\kappa\_\{n\}balances exploitation and exploration\. This framework allows GCache to iteratively discover the optimal propagation exponent that best aligns the theoretical bound with empirical performance\.

Detailed implementation specifics for Dynamic Programming and Bayesian Optimization are deferred to Appendix[A\.1](https://arxiv.org/html/2608.13043#A1.SS1)and Appendix[A\.2](https://arxiv.org/html/2608.13043#A1.SS2), respectively\. Additionally, a thorough discussion regarding the selection of our optimization objective is provided in Appendix[A\.3](https://arxiv.org/html/2608.13043#A1.SS3)\.

## 4Experiments

### 4\.1Experimental Settings

We conduct experiments on four representative DiT\-based diffusion models to validate the generality and effectiveness of our method across both video and image generation\. Specifically, we evaluate three video diffusion backbones, Open\-Sora 1\.2\[[37](https://arxiv.org/html/2608.13043#bib.bib5)\], CogVideoX\[[32](https://arxiv.org/html/2608.13043#bib.bib1)\], and Wan 2\.1\[[30](https://arxiv.org/html/2608.13043#bib.bib6)\], as well as one strong text\-to\-image model, Flux\-dev 1\.0\[[11](https://arxiv.org/html/2608.13043#bib.bib7)\]\. Unless otherwise specified, all experiments are conducted on a single NVIDIA A800 80GB GPU, and results are reported by averaging over five random seeds\. Additional experimental details are provided in Appendix[D](https://arxiv.org/html/2608.13043#A4), respectively\.

Baselines\.We compare against several recent diffusion acceleration baselines, includingΔ\\Delta\-DiT\[[5](https://arxiv.org/html/2608.13043#bib.bib4)\], T\-GATE\[[15](https://arxiv.org/html/2608.13043#bib.bib13)\], PAB\[[36](https://arxiv.org/html/2608.13043#bib.bib9)\], ProfilingDiT\[[18](https://arxiv.org/html/2608.13043#bib.bib10)\], FasterCache\[[17](https://arxiv.org/html/2608.13043#bib.bib8)\], TeaCache\[[14](https://arxiv.org/html/2608.13043#bib.bib3)\], and ERTACache\[[21](https://arxiv.org/html/2608.13043#bib.bib2)\]\.

Evaluation Metrics\.Following prior work\[[14](https://arxiv.org/html/2608.13043#bib.bib3),[21](https://arxiv.org/html/2608.13043#bib.bib2)\], we evaluate video generation using the official 946 prompts provided by VBench\[[10](https://arxiv.org/html/2608.13043#bib.bib11)\], and image generation using the official 30K prompts from COCO\[[12](https://arxiv.org/html/2608.13043#bib.bib33)\]\. For efficiency, we measure end\-to\-end inference latency, from prompt ingestion to the generation of the final frame, and report speedup relative to the corresponding base model\. For quality, we adopt four widely used metrics: VBench\[[10](https://arxiv.org/html/2608.13043#bib.bib11)\], LPIPS\[[34](https://arxiv.org/html/2608.13043#bib.bib12)\], PSNR, and SSIM\. More details are provided in Appendix[D\.2](https://arxiv.org/html/2608.13043#A4.SS2)\.

### 4\.2Main Results

Table 1:Quantitative evaluation of efficiency and visual quality for video generation across different methods on three leading text\-to\-video diffusion models\.Bolddenotes the best performance under similar acceleration ratios\.↑\\uparrowindicates higher is better, and↓\\downarrowindicates lower is better\.ModelMethodEfficiencyVisual QualitySpeedup↑\\uparrowLatency \(s\)↓\\downarrowVBench↑\\uparrowLPIPS↓\\downarrowSSIM↑\\uparrowPSNR↑\\uparrowOpen\-Sora 1\.2\(51 frames, 480P\)Open\-Sora 1\.2 \(T=30T=30\)1×\\times44\.5679\.22%\-\-\-Δ\\Delta\-DiT\[[5](https://arxiv.org/html/2608.13043#bib.bib4)\]1\.03×\\times\-78\.21%0\.56920\.481111\.91T\-GATE\[[15](https://arxiv.org/html/2608.13043#bib.bib13)\]1\.19×\\times\-77\.61%0\.34950\.676015\.50PAB\-slow\[[36](https://arxiv.org/html/2608.13043#bib.bib9)\]1\.33×\\times33\.4077\.64%0\.14710\.840524\.50PAB\-fast\[[36](https://arxiv.org/html/2608.13043#bib.bib9)\]1\.40×\\times31\.8576\.95%0\.17430\.822023\.58TeaCache\-slow\[[14](https://arxiv.org/html/2608.13043#bib.bib3)\]1\.55×\\times28\.7879\.28%0\.13160\.841523\.62TeaCache\-fast\[[14](https://arxiv.org/html/2608.13043#bib.bib3)\]2\.25×\\times19\.8478\.48%0\.25110\.747719\.10ERTACache\-slow\[[21](https://arxiv.org/html/2608.13043#bib.bib2)\]1\.55×\\times28\.7579\.36%0\.10060\.870625\.45ERTACache\-fast\[[21](https://arxiv.org/html/2608.13043#bib.bib2)\]2\.47×\\times18\.0478\.64%0\.16590\.817022\.34GCache\-slow\(K=18K=18\)1\.56×\\times28\.5479\.48%0\.05090\.924731\.52GCache\-fast\(K=11K=11\)2\.54×\\times17\.4878\.44%0\.13630\.842824\.92CogVideoX\-2B\(48 frames, 480P\)CogVideoX\-2B \(T=50T=50\)1×\\times78\.4880\.18%\-\-\-Δ\\Delta\-DiT\[[5](https://arxiv.org/html/2608.13043#bib.bib4)\]1\.26×\\times62\.5079\.09%0\.40530\.612616\.15PAB\[[36](https://arxiv.org/html/2608.13043#bib.bib9)\]1\.35×\\times57\.9879\.76%0\.08600\.897828\.04FasterCache\[[17](https://arxiv.org/html/2608.13043#bib.bib8)\]1\.62×\\times48\.4479\.83%0\.07660\.906628\.93TeaCache\[[14](https://arxiv.org/html/2608.13043#bib.bib3)\]2\.92×\\times26\.8879\.00%0\.20570\.761420\.97ERTACache\-slow\[[21](https://arxiv.org/html/2608.13043#bib.bib2)\]1\.62×\\times48\.4479\.30%0\.03680\.939432\.77ERTACache\-fast\[[21](https://arxiv.org/html/2608.13043#bib.bib2)\]2\.93×\\times26\.7878\.79%0\.10120\.870226\.44GCache\-slow\(K=31K=31\)1\.62×\\times48\.4079\.36%0\.01780\.964737\.53GCache\-fast\(K=17K=17\)2\.93×\\times26\.7678\.30%0\.07210\.904229\.14Wan2\.1\-1\.3B\(81 frames, 480P\)Wan2\.1\-1\.3B \(T=50T=50\)1×\\times19981\.30%\-\-\-TeaCache\[[14](https://arxiv.org/html/2608.13043#bib.bib3)\]2\.00×\\times99\.576\.04%0\.29130\.568516\.17ProfilingDiT\[[18](https://arxiv.org/html/2608.13043#bib.bib10)\]2\.01×\\times9976\.15%0\.12560\.789922\.02ERTACache\[[21](https://arxiv.org/html/2608.13043#bib.bib2)\]2\.17×\\times91\.780\.73%0\.10950\.820023\.77GCache\-slow\(K=24K=24\)2\.17×\\times91\.680\.81%0\.03160\.947532\.44GCache\-fast\(K=16K=16\)3\.01×\\times66\.179\.86%0\.08280\.885422\.06Table 2:Quantitative evaluation of efficiency and visual quality for image generation across different methods on Flux\-dev 1\.0\.Bolddenotes the best performance under similar acceleration ratios\.↑\\uparrowindicates higher is better, and↓\\downarrowindicates lower is better\.MethodEfficiencyVisual QualitySpeedup↑\\uparrowLatency \(s\)↓\\downarrowLPIPS↓\\downarrowSSIM↑\\uparrowPSNR↑\\uparrowFlux\-dev 1\.0 \(T=30T=30\)1×\\times15\.96\-\-\-TeaCache\[[14](https://arxiv.org/html/2608.13043#bib.bib3)\]2\.84×\\times5\.620\.44270\.744516\.48ERTACache\[[21](https://arxiv.org/html/2608.13043#bib.bib2)\]2\.87×\\times5\.560\.26580\.786320\.60GCache\-slow\(K=14K=14\)2\.05×\\times7\.780\.09000\.912928\.50GCache\-fast\(K=10K=10\)2\.87×\\times5\.560\.18250\.842323\.76![Refer to caption](https://arxiv.org/html/2608.13043v1/panda_case.png)Figure 4:Qualitative comparison of video generation results onWan 2\.1\. GCache consistently preserves higher alignment with the original, while ERTACache exhibits noticeable object and motion misalignment\.Red boxeshighlight object misalignment, andblue boxesindicate motion misalignment\. Best viewed when zoomed in\.Quantitative Evaluation\.Across all evaluated settings, GCache consistently achieves state\-of\-the\-art performance, delivering both faster inference and higher generation quality than existing cache\-based acceleration methods\. As shown in[Table1](https://arxiv.org/html/2608.13043#S4.T1), GCache\-Slow consistently outperforms the strongest baseline, ERTACache, across all video backbones, achieving higher VBench scores and reducing LPIPS by over50%50\\%on average while maintaining comparable acceleration\. Notably, on Wan 2\.1, GCache\-Slow reduces LPIPS from0\.10950\.1095to0\.03160\.0316under the same2\.17×2\.17\\timesspeedup, while GCache\-Fast further achieves a3\.01×3\.01\\timesspeedup and still surpasses ERTACache in generation quality \(0\.08280\.0828vs\.0\.10950\.1095LPIPS\)\. Similarly, on Flux\-dev 1\.0 \([Table2](https://arxiv.org/html/2608.13043#S4.T2)\), GCache achieves an LPIPS of0\.18250\.1825under a2\.87×2\.87\\timesspeedup setting, significantly outperforming prior methods\. These results highlight a key distinction between GCache and prior cache\-based methods\. While methods such as ERTACache explicitly introduce additional error estimation and rectification mechanisms to compensate for reuse\-induced approximation errors, GCache focuses directly on optimizing the cache reuse policy itself from a global\-impact perspective\. By allocating computation to the timesteps that most influence final generation quality, GCache achieves superior speed–quality trade\-offs without introducing any additional inference\-time computation\.

Qualitative Comparison\.[Figure4](https://arxiv.org/html/2608.13043#S4.F4)shows video generation results on WAN 2\.1\. Obviously, ERTACache suffers from motion and object misalignment under aggressive cache reuse, including misaligned motion dynamics \(e\.g\., panda face motion\) and object\-level deviations \(e\.g\., items on the table\) from the original outputs\. In contrast, GCache preserves consistent motion patterns and object semantics\. Similarly, Figure[5](https://arxiv.org/html/2608.13043#S4.F5)presents image generation results on Flux\-dev 1\.0\. ERTACache exhibits clear semantic and spatial misalignment under the same prompts, such as generating four smoking stacks when the prompt specifies*two*, as well as malformed human structures and incorrect object relationships\. By contrast, GCache maintains semantic correctness and spatial coherence, closely matching the original model outputs\. Additional results and discussions are provided in Appendix[F](https://arxiv.org/html/2608.13043#A6)\.

Table 3:Ablation study on polynomial orderdd\.ddLPIPS↓\\downarrowSSIM↑\\uparrowPSNR↑\\uparrow110\.11140\.859126\.15220\.07330\.904229\.09330\.07210\.904229\.14440\.07330\.901628\.84
Table 4:Ablation study on the outer objectiveℒ\\mathcal\{L\}\.ObjectiveLPIPS↓\\downarrowSSIM↑\\uparrowPSNR↑\\uparrowLPIPS0\.07330\.901628\.84SSIM0\.07360\.904529\.10LPIPS\+SSIM0\.07210\.904229\.14

![Refer to caption](https://arxiv.org/html/2608.13043v1/flux_results.png)Figure 5:Qualitative comparison of image generation results on Flux\-dev 1\.0\. Best viewed when zoomed in\.
### 4\.3Ablation Studies and Empirical Analysis

Ablation Study on Poly Degreedd\.We study the effect of the polynomial degreeddused in Eq\.[17](https://arxiv.org/html/2608.13043#S3.E17)for modeling the propagation exponentwtw\_\{t\}\. Specifically, we evaluate different choices ofddunder a fixed budgetK=17K=17on CogVideoX\-2B\. As shown in Table[4](https://arxiv.org/html/2608.13043#S4.T4), the best performance is achieved atd=3d=3, yielding the lowest LPIPS and the highest SSIM and PSNR\. Therefore, we setd=3d=3as the default choice in all experiments\.

Impact of the Outer Objectiveℒ\\mathcal\{L\}\.To investigate the sensitivity of GCache to the choice of the outer objective, we evaluate three loss formulations on CogVideoX\-2B \(K=17K=17\): LPIPS, SSIM, and a hybrid LPIPS\+SSIM objective\. As summarized in[Table4](https://arxiv.org/html/2608.13043#S4.T4), while individual losses focus on specific image attributes \(LPIPS on perceptual features and SSIM on structural integrity\), their combination \(LPIPS\+SSIM\) yields the best overall performance across all metrics\. Specifically, the hybrid objective achieves the lowest LPIPS \(0\.0721\) and the highest PSNR \(29\.14\), suggesting that a multi\-faceted supervision signal is crucial for optimizing the reuse policy\.

Additional Experimental Results\.We provide more comprehensive evaluations and empirical studies in Appendix[E](https://arxiv.org/html/2608.13043#A5)\. These include: \(i\) extensive robustness tests across diverse prompt distributions and spatial resolutions \(Appendix[E\.1](https://arxiv.org/html/2608.13043#A5.SS1)and[E\.2](https://arxiv.org/html/2608.13043#A5.SS2)\); and \(ii\) a detailed validation of the learned policy’s effectiveness and the fidelity of our pre\-computed error proxy \(Appendix[E\.3](https://arxiv.org/html/2608.13043#A5.SS3)and[E\.4](https://arxiv.org/html/2608.13043#A5.SS4)\)\. These results further substantiate the stability and generalization of GCache across various scenarios\.

## 5Conclusion

In this paper, we first identify the misalignment between local reuse discrepancies and global generation error, establishing a formal theoretical characterization of error propagation dynamics in cache\-based acceleration\. We demonstrate that policies optimized strictly via conservative analytical bounds are often sub\-optimal in practice\. To bridge this gap, we introduceGlobal\-ImpactCache\(GCache\), a framework that reformulates the policy search as a bilevel optimization problem\. This approach effectively reconciles theoretical error control with empirical perceptual quality\. Extensive evaluations across various image and video backbones show that GCache consistently outperforms prior caching strategies\.

## References

- \[1\]A\. Blattmann, T\. Dockhorn, S\. Kulal, D\. Mendelevitch, M\. Kilian, D\. Lorenz, Y\. Levi, Z\. English, V\. Voleti, A\. Letts, V\. Jampani, and R\. Rombach\(2023\)Stable video diffusion: scaling latent video diffusion models to large datasets\.CoRRabs/2311\.15127\.Cited by:[§C\.1](https://arxiv.org/html/2608.13043#A3.SS1.p1.1),[§1](https://arxiv.org/html/2608.13043#S1.p1.1)\.
- \[2\]T\. Castells, H\. Song, B\. Kim, and S\. Choi\(2024\)LD\-Pruner: efficient pruning of latent diffusion models using task\-agnostic insights\.InProceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops, CVPRW 2024, Seattle, WA, USA, June 17\-21, 2024,pp\. 821–830\.Cited by:[§C\.2](https://arxiv.org/html/2608.13043#A3.SS2.p1.1),[§1](https://arxiv.org/html/2608.13043#S1.p1.1)\.
- \[3\]H\. Chen, Y\. Zhang, X\. Cun, M\. Xia, X\. Wang, C\. Weng, and Y\. Shan\(2024\)VideoCrafter2: overcoming data limitations for high\-quality video diffusion models\.InIEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2024, Seattle, WA, USA, June 16\-22, 2024,pp\. 7310–7320\.Cited by:[§C\.1](https://arxiv.org/html/2608.13043#A3.SS1.p1.1),[§1](https://arxiv.org/html/2608.13043#S1.p1.1)\.
- \[4\]H\. Chen, H\. Lee, and J\. Lu\(2023\)Improved analysis of score\-based generative modeling: user\-friendly bounds under minimal smoothness assumptions\.InProceedings of the 40th International Conference on Machine Learning, ICML 2023,pp\. 4735–4763\.Cited by:[§3\.2](https://arxiv.org/html/2608.13043#S3.SS2.p1.1)\.
- \[5\]P\. Chen, M\. Shen, P\. Ye, J\. Cao, C\. Tu, C\. Bouganis, Y\. Zhao, and T\. Chen\(2024\)Δ\\Delta\-dit: A training\-free acceleration method tailored for diffusion transformers\.CoRRabs/2406\.01125\.Cited by:[§C\.1](https://arxiv.org/html/2608.13043#A3.SS1.p1.1),[§C\.2](https://arxiv.org/html/2608.13043#A3.SS2.p1.1),[§1](https://arxiv.org/html/2608.13043#S1.p1.1),[§1](https://arxiv.org/html/2608.13043#S1.p2.1),[§2\.2](https://arxiv.org/html/2608.13043#S2.SS2.p1.1),[§4\.1](https://arxiv.org/html/2608.13043#S4.SS1.p2.1),[Table 1](https://arxiv.org/html/2608.13043#S4.T1.6.15.1.1),[Table 1](https://arxiv.org/html/2608.13043#S4.T1.6.4.1.1)\.
- \[6\]P\. Dhariwal and A\. Q\. Nichol\(2021\)Diffusion models beat gans on image synthesis\.InAdvances in Neural Information Processing Systems 34: Annual Conference on Neural Information Processing Systems 2021, NeurIPS 2021, December 6\-14, 2021, virtual,M\. Ranzato, A\. Beygelzimer, Y\. N\. Dauphin, P\. Liang, and J\. W\. Vaughan \(Eds\.\),pp\. 8780–8794\.Cited by:[§C\.1](https://arxiv.org/html/2608.13043#A3.SS1.p1.1),[§1](https://arxiv.org/html/2608.13043#S1.p1.1)\.
- \[7\]P\. Esser, S\. Kulal, A\. Blattmann, R\. Entezari, J\. Müller, H\. Saini, Y\. Levi, D\. Lorenz, A\. Sauer, F\. Boesel, D\. Podell, T\. Dockhorn, Z\. English, and R\. Rombach\(2024\)Scaling rectified flow transformers for high\-resolution image synthesis\.InForty\-first International Conference on Machine Learning, ICML 2024, Vienna, Austria, July 21\-27, 2024,Cited by:[§2\.1](https://arxiv.org/html/2608.13043#S2.SS1.p2.1)\.
- \[8\]Y\. He, L\. Liu, J\. Liu, W\. Wu, H\. Zhou, and B\. Zhuang\(2023\)PTQD: accurate post\-training quantization for diffusion models\.InAdvances in Neural Information Processing Systems 36: Annual Conference on Neural Information Processing Systems 2023, NeurIPS 2023, New Orleans, LA, USA, December 10\-16, 2023,Cited by:[§C\.2](https://arxiv.org/html/2608.13043#A3.SS2.p1.1),[§1](https://arxiv.org/html/2608.13043#S1.p1.1)\.
- \[9\]J\. Ho, A\. Jain, and P\. Abbeel\(2020\)Denoising diffusion probabilistic models\.InAdvances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, December 6\-12, 2020, virtual,Cited by:[§C\.1](https://arxiv.org/html/2608.13043#A3.SS1.p1.1),[§1](https://arxiv.org/html/2608.13043#S1.p1.1),[§2\.1](https://arxiv.org/html/2608.13043#S2.SS1.p1.1)\.
- \[10\]Z\. Huang, Y\. He, J\. Yu, F\. Zhang, C\. Si, Y\. Jiang, Y\. Zhang, T\. Wu, Q\. Jin, N\. Chanpaisit, Y\. Wang, X\. Chen, L\. Wang, D\. Lin, Y\. Qiao, and Z\. Liu\(2024\)VBench: comprehensive benchmark suite for video generative models\.InIEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2024, Seattle, WA, USA, June 16\-22, 2024,pp\. 21807–21818\.Cited by:[1st item](https://arxiv.org/html/2608.13043#A4.I1.i1.p1.1),[2nd item](https://arxiv.org/html/2608.13043#A4.I3.i2.p1.1),[§D\.1](https://arxiv.org/html/2608.13043#A4.SS1.p1.1),[§E\.1](https://arxiv.org/html/2608.13043#A5.SS1.p1.1),[§4\.1](https://arxiv.org/html/2608.13043#S4.SS1.p3.1)\.
- \[11\]B\. F\. Labs\(2024\)FLUX\.Note:[https://github\.com/black\-forest\-labs/flux](https://github.com/black-forest-labs/flux)Cited by:[§C\.2](https://arxiv.org/html/2608.13043#A3.SS2.p1.1),[1st item](https://arxiv.org/html/2608.13043#A4.I3.i1.p1.1),[3rd item](https://arxiv.org/html/2608.13043#A4.I3.i3.p1.1),[§E\.2](https://arxiv.org/html/2608.13043#A5.SS2.p1.1),[§4\.1](https://arxiv.org/html/2608.13043#S4.SS1.p1.1)\.
- \[12\]T\. Lin, M\. Maire, S\. J\. Belongie, L\. Bourdev, R\. B\. Girshick, J\. Hays, P\. Perona, D\. Ramanan, P\. Dollár, and C\. L\. Zitnick\(2014\)Microsoft COCO: common objects in context\.InComputer Vision \- ECCV 2014 \- 13th European Conference, Zürich, Switzerland, September 6\-12, 2014, Proceedings, Part V,pp\. 740–755\.Cited by:[1st item](https://arxiv.org/html/2608.13043#A4.I3.i1.p1.1),[3rd item](https://arxiv.org/html/2608.13043#A4.I3.i3.p1.1),[§D\.1](https://arxiv.org/html/2608.13043#A4.SS1.p2.1),[§4\.1](https://arxiv.org/html/2608.13043#S4.SS1.p3.1)\.
- \[13\]Y\. Lipman, R\. T\. Q\. Chen, H\. Ben\-Hamu, M\. Nickel, and M\. Le\(2023\)Flow matching for generative modeling\.InThe Eleventh International Conference on Learning Representations, ICLR 2023, Kigali, Rwanda, May 1\-5, 2023,Cited by:[§C\.1](https://arxiv.org/html/2608.13043#A3.SS1.p1.1),[§1](https://arxiv.org/html/2608.13043#S1.p1.1),[§2\.1](https://arxiv.org/html/2608.13043#S2.SS1.p1.1),[§2\.1](https://arxiv.org/html/2608.13043#S2.SS1.p2.1)\.
- \[14\]F\. Liu, S\. Zhang, X\. Wang, Y\. Wei, H\. Qiu, Y\. Zhao, Y\. Zhang, Q\. Ye, and F\. Wan\(2025\)Timestep embedding tells: it’s time to cache for video diffusion model\.InIEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2025, Nashville, TN, USA, June 11\-15, 2025,pp\. 7353–7363\.Cited by:[§C\.2](https://arxiv.org/html/2608.13043#A3.SS2.p1.1),[§D\.1](https://arxiv.org/html/2608.13043#A4.SS1.p1.1),[§D\.1](https://arxiv.org/html/2608.13043#A4.SS1.p2.1),[§1](https://arxiv.org/html/2608.13043#S1.p1.1),[§1](https://arxiv.org/html/2608.13043#S1.p2.1),[§2\.2](https://arxiv.org/html/2608.13043#S2.SS2.p3.1),[§4\.1](https://arxiv.org/html/2608.13043#S4.SS1.p2.1),[§4\.1](https://arxiv.org/html/2608.13043#S4.SS1.p3.1),[Table 1](https://arxiv.org/html/2608.13043#S4.T1.6.18.1.1),[Table 1](https://arxiv.org/html/2608.13043#S4.T1.6.24.1.1),[Table 1](https://arxiv.org/html/2608.13043#S4.T1.6.8.1.1),[Table 1](https://arxiv.org/html/2608.13043#S4.T1.6.9.1.1),[Table 2](https://arxiv.org/html/2608.13043#S4.T2.11.4.1.1),[footnote 1](https://arxiv.org/html/2608.13043#footnote1)\.
- \[15\]H\. Liu, W\. Zhang, J\. Xie, F\. Faccio, M\. Xu, T\. Xiang, M\. Z\. Shou, J\. Pérez\-Rúa, and J\. Schmidhuber\(2025\)Faster diffusion through temporal attention decomposition\.Trans\. Mach\. Learn\. Res\.2025\.Cited by:[§4\.1](https://arxiv.org/html/2608.13043#S4.SS1.p2.1),[Table 1](https://arxiv.org/html/2608.13043#S4.T1.6.5.1.1)\.
- \[16\]C\. Lu, Y\. Zhou, F\. Bao, J\. Chen, C\. Li, and J\. Zhu\(2022\)DPM\-Solver: a fast ODE solver for diffusion probabilistic model sampling in around 10 steps\.InAdvances in Neural Information Processing Systems 35: Annual Conference on Neural Information Processing Systems 2022, NeurIPS 2022, New Orleans, LA, USA, November 28 \- December 9, 2022,Cited by:[§C\.2](https://arxiv.org/html/2608.13043#A3.SS2.p1.1),[§1](https://arxiv.org/html/2608.13043#S1.p1.1)\.
- \[17\]Z\. Lv, C\. Si, J\. Song, Z\. Yang, Y\. Qiao, Z\. Liu, and K\. K\. Wong\(2025\)FasterCache: training\-free video diffusion model acceleration with high quality\.InThe Thirteenth International Conference on Learning Representations, ICLR 2025, Singapore, April 24\-28, 2025,Cited by:[§4\.1](https://arxiv.org/html/2608.13043#S4.SS1.p2.1),[Table 1](https://arxiv.org/html/2608.13043#S4.T1.6.17.1.1)\.
- \[18\]X\. Ma, Y\. Liu, Y\. Liu, X\. Wu, M\. Zheng, Z\. Wang, S\. Lim, and H\. Yang\(2025\)Model reveals what to cache: profiling\-based feature reuse for video diffusion models\.InProceedings of the IEEE/CVF International Conference on Computer Vision \(ICCV\),pp\. 17150–17159\.Cited by:[§4\.1](https://arxiv.org/html/2608.13043#S4.SS1.p2.1),[Table 1](https://arxiv.org/html/2608.13043#S4.T1.6.25.1.1)\.
- \[19\]S\. Nie, F\. Zhu, Z\. You, X\. Zhang, J\. Ou, J\. Hu, J\. ZHOU, Y\. Lin, J\. Wen, and C\. Li\(2025\)Large language diffusion models\.InThe Thirty\-ninth Annual Conference on Neural Information Processing Systems,Cited by:[§C\.1](https://arxiv.org/html/2608.13043#A3.SS1.p1.1)\.
- \[20\]W\. Peebles and S\. Xie\(2023\)Scalable diffusion models with transformers\.InIEEE/CVF International Conference on Computer Vision, ICCV 2023, Paris, France, October 1\-6, 2023,pp\. 4172–4182\.Cited by:[§C\.1](https://arxiv.org/html/2608.13043#A3.SS1.p1.1)\.
- \[21\]X\. Peng, C\. Yan, H\. Liu, R\. Ma, F\. Chen, X\. WANG, Z\. Wu, S\. Liu, and M\. Lin\(2026\)ERTACache: error rectification and timesteps adjustment for efficient diffusion\.InThe Fourteenth International Conference on Learning Representations,Cited by:[§C\.2](https://arxiv.org/html/2608.13043#A3.SS2.p1.1),[§D\.1](https://arxiv.org/html/2608.13043#A4.SS1.p1.1),[§D\.1](https://arxiv.org/html/2608.13043#A4.SS1.p2.1),[§E\.2](https://arxiv.org/html/2608.13043#A5.SS2.p2.1),[§E\.3](https://arxiv.org/html/2608.13043#A5.SS3.p1.1),[§1](https://arxiv.org/html/2608.13043#S1.p1.1),[§1](https://arxiv.org/html/2608.13043#S1.p2.1),[§2\.2](https://arxiv.org/html/2608.13043#S2.SS2.p3.1),[§3\.2](https://arxiv.org/html/2608.13043#S3.SS2.p7.1),[§4\.1](https://arxiv.org/html/2608.13043#S4.SS1.p2.1),[§4\.1](https://arxiv.org/html/2608.13043#S4.SS1.p3.1),[Table 1](https://arxiv.org/html/2608.13043#S4.T1.6.10.1.1),[Table 1](https://arxiv.org/html/2608.13043#S4.T1.6.11.1.1),[Table 1](https://arxiv.org/html/2608.13043#S4.T1.6.19.1.1),[Table 1](https://arxiv.org/html/2608.13043#S4.T1.6.20.1.1),[Table 1](https://arxiv.org/html/2608.13043#S4.T1.6.26.1.1),[Table 2](https://arxiv.org/html/2608.13043#S4.T2.11.5.1.1)\.
- \[22\]R\. Rombach, A\. Blattmann, D\. Lorenz, P\. Esser, and B\. Ommer\(2022\)High\-resolution image synthesis with latent diffusion models\.InIEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2022, New Orleans, LA, USA, June 18\-24, 2022,pp\. 10674–10685\.Cited by:[§C\.1](https://arxiv.org/html/2608.13043#A3.SS1.p1.1),[§1](https://arxiv.org/html/2608.13043#S1.p1.1)\.
- \[23\]O\. Ronneberger, P\. Fischer, and T\. Brox\(2015\)U\-net: convolutional networks for biomedical image segmentation\.InMedical Image Computing and Computer\-Assisted Intervention \- MICCAI 2015 \- 18th International Conference Munich, Germany, October 5 \- 9, 2015, Proceedings, Part III,N\. Navab, J\. Hornegger, W\. M\. W\. III, and A\. F\. Frangi \(Eds\.\),Lecture Notes in Computer Science, Vol\.9351,pp\. 234–241\.Cited by:[§C\.1](https://arxiv.org/html/2608.13043#A3.SS1.p1.1)\.
- \[24\]C\. Saharia, W\. Chan, S\. Saxena, L\. Li, J\. Whang, E\. L\. Denton, S\. K\. S\. Ghasemipour, R\. G\. Lopes, B\. K\. Ayan, T\. Salimans, J\. Ho, D\. J\. Fleet, and M\. Norouzi\(2022\)Photorealistic text\-to\-image diffusion models with deep language understanding\.InAdvances in Neural Information Processing Systems 35: Annual Conference on Neural Information Processing Systems 2022, NeurIPS 2022, New Orleans, LA, USA, November 28 \- December 9, 2022,S\. Koyejo, S\. Mohamed, A\. Agarwal, D\. Belgrave, K\. Cho, and A\. Oh \(Eds\.\),Cited by:[§C\.1](https://arxiv.org/html/2608.13043#A3.SS1.p1.1),[§1](https://arxiv.org/html/2608.13043#S1.p1.1)\.
- \[25\]P\. Selvaraju, T\. Ding, T\. Chen, I\. Zharkov, and L\. Liang\(2024\)FORA: fast\-forward caching in diffusion transformer acceleration\.CoRRabs/2407\.01425\.Cited by:[§1](https://arxiv.org/html/2608.13043#S1.p2.1)\.
- \[26\]J\. Song, C\. Meng, and S\. Ermon\(2021\)Denoising diffusion implicit models\.In9th International Conference on Learning Representations, ICLR 2021, Virtual Event, Austria, May 3\-7, 2021,Cited by:[§C\.2](https://arxiv.org/html/2608.13043#A3.SS2.p1.1)\.
- \[27\]Y\. Song, J\. Sohl\-Dickstein, D\. P\. Kingma, A\. Kumar, S\. Ermon, and B\. Poole\(2021\)Score\-based generative modeling through stochastic differential equations\.In9th International Conference on Learning Representations, ICLR 2021, Virtual Event, Austria, May 3\-7, 2021,Cited by:[§C\.1](https://arxiv.org/html/2608.13043#A3.SS1.p1.1),[§1](https://arxiv.org/html/2608.13043#S1.p1.1),[§2\.1](https://arxiv.org/html/2608.13043#S2.SS1.p1.1)\.
- \[28\]N\. Srinivas, A\. Krause, S\. M\. Kakade, and M\. W\. Seeger\(2010\)Gaussian process optimization in the bandit setting: no regret and experimental design\.InProceedings of the 27th International Conference on Machine Learning \(ICML\-10\), June 21\-24, 2010, Haifa, Israel,pp\. 1015–1022\.Cited by:[§3\.3](https://arxiv.org/html/2608.13043#S3.SS3.p5.2)\.
- \[29\]A\. Vaswani, N\. Shazeer, N\. Parmar, J\. Uszkoreit, L\. Jones, A\. N\. Gomez, L\. Kaiser, and I\. Polosukhin\(2017\)Attention is all you need\.InAdvances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, December 4\-9, 2017, Long Beach, CA, USA,pp\. 5998–6008\.Cited by:[§2\.2](https://arxiv.org/html/2608.13043#S2.SS2.p2.1)\.
- \[30\]A\. Wang, B\. Ai, B\. Wen, C\. Mao, C\. Xie, D\. Chen, F\. Yu, H\. Zhao, J\. Yang, J\. Zeng, J\. Wang, J\. Zhang, J\. Zhou, J\. Wang, J\. Chen, K\. Zhu, K\. Zhao, K\. Yan, L\. Huang, X\. Meng, N\. Zhang, P\. Li, P\. Wu, R\. Chu, R\. Feng, S\. Zhang, S\. Sun, T\. Fang, T\. Wang, T\. Gui, T\. Weng, T\. Shen, W\. Lin, W\. Wang, W\. Wang, W\. Zhou, W\. Wang, W\. Shen, W\. Yu, X\. Shi, X\. Huang, X\. Xu, Y\. Kou, Y\. Lv, Y\. Li, Y\. Liu, Y\. Wang, Y\. Zhang, Y\. Huang, Y\. Li, Y\. Wu, Y\. Liu, Y\. Pan, Y\. Zheng, Y\. Hong, Y\. Shi, Y\. Feng, Z\. Jiang, Z\. Han, Z\. Wu, and Z\. Liu\(2025\)Wan: open and advanced large\-scale video generative models\.CoRRabs/2503\.20314\.Cited by:[§C\.2](https://arxiv.org/html/2608.13043#A3.SS2.p1.1),[§4\.1](https://arxiv.org/html/2608.13043#S4.SS1.p1.1)\.
- \[31\]X\. Yang, D\. Zhou, J\. Feng, and X\. Wang\(2023\)Diffusion probabilistic model made slim\.InProceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2023, Vancouver, BC, Canada, June 18\-22, 2023,pp\. 22552–22562\.Cited by:[§C\.2](https://arxiv.org/html/2608.13043#A3.SS2.p1.1)\.
- \[32\]Z\. Yang, J\. Teng, W\. Zheng, M\. Ding, S\. Huang, J\. Xu, Y\. Yang, W\. Hong, X\. Zhang, G\. Feng, D\. Yin, Y\. Zhang, W\. Wang, Y\. Cheng, B\. Xu, X\. Gu, Y\. Dong, and J\. Tang\(2025\)CogVideoX: text\-to\-video diffusion models with an expert transformer\.InThe Thirteenth International Conference on Learning Representations, ICLR 2025, Singapore, April 24\-28, 2025,Cited by:[2nd item](https://arxiv.org/html/2608.13043#A4.I3.i2.p1.1),[§4\.1](https://arxiv.org/html/2608.13043#S4.SS1.p1.1)\.
- \[33\]Q\. Zhang and Y\. Chen\(2023\)Fast sampling of diffusion models with exponential integrator\.InThe Eleventh International Conference on Learning Representations, ICLR 2023, Kigali, Rwanda, May 1\-5, 2023,Cited by:[§1](https://arxiv.org/html/2608.13043#S1.p1.1)\.
- \[34\]R\. Zhang, P\. Isola, A\. A\. Efros, E\. Shechtman, and O\. Wang\(2018\)The unreasonable effectiveness of deep features as a perceptual metric\.In2018 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2018, Salt Lake City, UT, USA, June 18\-22, 2018,pp\. 586–595\.Cited by:[§A\.3](https://arxiv.org/html/2608.13043#A1.SS3.p1.1),[2nd item](https://arxiv.org/html/2608.13043#A4.I1.i2.p1.1),[§3\.3](https://arxiv.org/html/2608.13043#S3.SS3.p3.1),[§4\.1](https://arxiv.org/html/2608.13043#S4.SS1.p3.1)\.
- \[35\]W\. Zhao, L\. Bai, Y\. Rao, J\. Zhou, and J\. Lu\(2023\)UniPC: a unified predictor\-corrector framework for fast sampling of diffusion models\.InAdvances in Neural Information Processing Systems 36: Annual Conference on Neural Information Processing Systems 2023, NeurIPS 2023, New Orleans, LA, USA, December 10\-16, 2023,Cited by:[§C\.2](https://arxiv.org/html/2608.13043#A3.SS2.p1.1),[§1](https://arxiv.org/html/2608.13043#S1.p1.1)\.
- \[36\]X\. Zhao, X\. Jin, K\. Wang, and Y\. You\(2025\)Real\-time video generation with pyramid attention broadcast\.InThe Thirteenth International Conference on Learning Representations, ICLR 2025, Singapore, April 24\-28, 2025,Cited by:[§1](https://arxiv.org/html/2608.13043#S1.p2.1),[§4\.1](https://arxiv.org/html/2608.13043#S4.SS1.p2.1),[Table 1](https://arxiv.org/html/2608.13043#S4.T1.6.16.1.1),[Table 1](https://arxiv.org/html/2608.13043#S4.T1.6.6.1.1),[Table 1](https://arxiv.org/html/2608.13043#S4.T1.6.7.1.1)\.
- \[37\]Z\. Zheng, X\. Peng, T\. Yang, C\. Shen, S\. Li, H\. Liu, Y\. Zhou, T\. Li, and Y\. You\(2024\)Open\-sora: democratizing efficient video production for all\.CoRRabs/2412\.20404\.Cited by:[§C\.2](https://arxiv.org/html/2608.13043#A3.SS2.p1.1),[§4\.1](https://arxiv.org/html/2608.13043#S4.SS1.p1.1)\.

Appendix

###### Contents

1. [1Introduction](https://arxiv.org/html/2608.13043#S1)
2. [2Preliminaries](https://arxiv.org/html/2608.13043#S2)1. [2\.1Diffusion Models](https://arxiv.org/html/2608.13043#S2.SS1) 2. [2\.2Cache Reuse](https://arxiv.org/html/2608.13043#S2.SS2)
3. [3Method](https://arxiv.org/html/2608.13043#S3)1. [3\.1Motivation](https://arxiv.org/html/2608.13043#S3.SS1) 2. [3\.2Error Propagation of Cache Reuse](https://arxiv.org/html/2608.13043#S3.SS2) 3. [3\.3Optimized Cache Reuse Policy](https://arxiv.org/html/2608.13043#S3.SS3)
4. [4Experiments](https://arxiv.org/html/2608.13043#S4)1. [4\.1Experimental Settings](https://arxiv.org/html/2608.13043#S4.SS1) 2. [4\.2Main Results](https://arxiv.org/html/2608.13043#S4.SS2) 3. [4\.3Ablation Studies and Empirical Analysis](https://arxiv.org/html/2608.13043#S4.SS3)
5. [5Conclusion](https://arxiv.org/html/2608.13043#S5)
6. [References](https://arxiv.org/html/2608.13043#bib)
7. [AImplementation Details](https://arxiv.org/html/2608.13043#A1)1. [A\.1Inner Optimization via Dynamic Programming](https://arxiv.org/html/2608.13043#A1.SS1) 2. [A\.2Outer Optimization via Bayesian Optimization](https://arxiv.org/html/2608.13043#A1.SS2) 3. [A\.3Optimization Objective](https://arxiv.org/html/2608.13043#A1.SS3)
8. [BProofs](https://arxiv.org/html/2608.13043#A2)1. [B\.1Proof for](https://arxiv.org/html/2608.13043#A2.SS1) 2. [B\.2Proof for](https://arxiv.org/html/2608.13043#A2.SS2) 3. [B\.3Proof for](https://arxiv.org/html/2608.13043#A2.SS3)
9. [CRelated Work](https://arxiv.org/html/2608.13043#A3)1. [C\.1Diffusion Models](https://arxiv.org/html/2608.13043#A3.SS1) 2. [C\.2Diffusion Model Acceleration](https://arxiv.org/html/2608.13043#A3.SS2)
10. [DExperimental Details](https://arxiv.org/html/2608.13043#A4)1. [D\.1Evaluation Prompts](https://arxiv.org/html/2608.13043#A4.SS1) 2. [D\.2Evaluation Metrics](https://arxiv.org/html/2608.13043#A4.SS2) 3. [D\.3Training Details](https://arxiv.org/html/2608.13043#A4.SS3) 4. [D\.4Optimization Efficiency](https://arxiv.org/html/2608.13043#A4.SS4) 5. [D\.5Experimental Details for Main Paper Visualizations](https://arxiv.org/html/2608.13043#A4.SS5)
11. [EAdditional Experiment Results](https://arxiv.org/html/2608.13043#A5)1. [E\.1Robustness to Prompt Distribution Shifts](https://arxiv.org/html/2608.13043#A5.SS1) 2. [E\.2Generalization Across Resolutions](https://arxiv.org/html/2608.13043#A5.SS2) 3. [E\.3Effectiveness of the Learned Policy](https://arxiv.org/html/2608.13043#A5.SS3) 4. [E\.4Validation of the Pre\-computed Local Error Proxy](https://arxiv.org/html/2608.13043#A5.SS4)
12. [FAdditional Qualitative Comparison](https://arxiv.org/html/2608.13043#A6)1. [F\.1Image Generation](https://arxiv.org/html/2608.13043#A6.SS1) 2. [F\.2Vedio Generation](https://arxiv.org/html/2608.13043#A6.SS2)
13. [GLimitations](https://arxiv.org/html/2608.13043#A7)
14. [HBroader Impact](https://arxiv.org/html/2608.13043#A8)

## Appendix AImplementation Details

### A\.1Inner Optimization via Dynamic Programming

Algorithm 1Dynamic Programming for Cache Reuse Mask Search0:Error matrix

E∈ℝN×NE\\in\\mathbb\{R\}^\{N\\times N\}, cache refresh budget

KK
0:Reuse mask

m∈\{0,1\}Nm\\in\\\{0,1\\\}^\{N\}with

‖m‖0=K\\\|m\\\|\_\{0\}=K
1:Define the cumulative propagated error:

ℰj,i=∑τ=j\+1i−1Ej,τ,0≤j<i≤N\\mathcal\{E\}\_\{j,i\}=\\sum\_\{\\tau=j\+1\}^\{i\-1\}E\_\{j,\\tau\},\\quad 0\\leq j<i\\leq N
2:Initialize DP table

d​p​\[k,i\]dp\[k,i\]with

\+∞\+\\inftyand parent table

p​a​r​\[k,i\]par\[k,i\]with

−1\-1for all

k,ik,i
3:

d​p​\[1,0\]←0dp\[1,0\]\\leftarrow 0
4:for

k=2,…,Kk=2,\\ldots,Kdo

5:for

i=k−1,…,N−1i=k\-1,\\ldots,N\-1do

6:

d​p​\[k,i\]←min0≤j<i⁡\(d​p​\[k−1,j\]\+ℰj,i\)dp\[k,i\]\\leftarrow\\min\\limits\_\{0\\leq j<i\}\\big\(dp\[k\-1,j\]\+\\mathcal\{E\}\_\{j,i\}\\big\)
7:

p​a​r​\[k,i\]←arg⁡min0≤j<i⁡\(d​p​\[k−1,j\]\+ℰj,i\)par\[k,i\]\\leftarrow\\arg\\min\\limits\_\{0\\leq j<i\}\\big\(dp\[k\-1,j\]\+\\mathcal\{E\}\_\{j,i\}\\big\)
8:endfor

9:endfor

10:

rK←arg⁡min0≤j≤N−1⁡\(d​p​\[K,j\]\+ℰj,N\)r\_\{K\}\\leftarrow\\arg\\min\\limits\_\{0\\leq j\\leq N\-1\}\\big\(dp\[K,j\]\+\\mathcal\{E\}\_\{j,N\}\\big\)
11:Construct

mmfrom

\{r1,…,rK\}\\\{r\_\{1\},\\dots,r\_\{K\}\\\}by backtracking using

p​a​rpar
12:return

mm

Given the propagated error matrixEEdefined in Eq\.[20](https://arxiv.org/html/2608.13043#S3.E20), where each entry encodes the cost incurred by reusing a cached residual across timesteps, selecting an optimal cache reuse policy amounts to minimizing the cumulative propagation error under a fixed refresh budget\.

Recall that a cache reuse policy can be characterized by a set ofKKrefresh timesteps, which partition the denoising trajectory intoKKsegments\. Within each segment, intermediate timesteps reuse the most recent cached residual and accumulate the corresponding propagation costs\. Consequently, the total error induced by a policy is the sum of propagation costs over all segments, which naturally leads to a shortest\-path formulation\.

To solve this problem efficiently, we adopt a dynamic programming approach\. We define the DP stated​p​\[k,i\]dp\[k,i\]as the minimum accumulated propagation error when thekk\-th cache refresh occurs at timestepii\. Transitioning from a previous refresh pointj<ij<itoiiincurs an additional cost given by the propagated errorℰj,i\\mathcal\{E\}\_\{j,i\}, which aggregates reuse costs between these two refresh points\. The objective is then to findKKrefresh points that minimize the total accumulated error while satisfying the constraint‖m‖0=K\\\|m\\\|\_\{0\}=K\.

Algorithm[1](https://arxiv.org/html/2608.13043#alg1)summarizes the resulting dynamic programming procedure, which runs inO⁡\(K​N2\)O\(KN^\{2\}\)time\. Since the number of denoising stepsNNis typically fewer than100100in practice, the computational overhead of this optimization is totally negligible\.

### A\.2Outer Optimization via Bayesian Optimization

Algorithm 2Bilevel Optimization for Cache Policy Search0:Initial observations

𝒟0=\{\(𝒔i,yi\)\}i=1m\\mathcal\{D\}\_\{0\}=\\\{\(\\bm\{s\}\_\{i\},y\_\{i\}\)\\\}\_\{i=1\}^\{m\}, exploration parameter

κn\\kappa\_\{n\}, total optimization step

TT
1:for

n=0n=0to

T−1T\-1do

2:Update GP surrogate using

𝒟n\\mathcal\{D\}\_\{n\}
3:

𝒔n\+1=arg⁡min𝒔​μ​\(𝒔\)−κn​σ​\(𝒔\)\\bm\{s\}\_\{n\+1\}=\\underset\{\\bm\{s\}\}\{\\arg\\min\}\\,\\mu\(\\bm\{s\}\)\-\\kappa\_\{n\}\\sigma\(\\bm\{s\}\)
4:

𝒎⋆​\(𝒔n\+1\)=arg⁡min𝒎∈𝒞​∑i=1N−1‖ϵti\+1c‖1​ew⁡\(ti\+1,𝒔n\+1\)\\bm\{m\}^\{\\star\}\(\\bm\{s\}\_\{n\+1\}\)=\\underset\{\\bm\{m\}\\in\\mathcal\{C\}\}\{\\arg\\min\}\\sum\_\{i=1\}^\{N\-1\}\\left\\\|\\bm\{\\epsilon\}^\{c\}\_\{t\_\{i\+1\}\}\\right\\\|\_\{1\}e^\{w\(t\_\{i\+1\};\\bm\{s\}\_\{n\+1\}\)\}
5:

yn\+1=ℒ⁡\(𝒎⋆​\(𝒔n\+1\)\)y\_\{n\+1\}=\\mathcal\{L\}\(\\bm\{m\}^\{\\star\}\(\\bm\{s\}\_\{n\+1\}\)\)
6:

𝒟n\+1=𝒟n∪\{\(𝒔n\+1,yn\+1\)\}\\mathcal\{D\}\_\{n\+1\}=\\mathcal\{D\}\_\{n\}\\cup\\\{\(\\bm\{s\}\_\{n\+1\},y\_\{n\+1\}\)\\\}
7:endfor

8:Update GP surrogate using

𝒟T\\mathcal\{D\}\_\{T\}
9:

𝒔⋆=arg⁡min𝒔​μ​\(𝒔\)\\bm\{s\}^\{\\star\}=\\underset\{\\bm\{s\}\}\{\\arg\\min\}\\,\\mu\(\\bm\{s\}\)
10:

𝒎⋆=arg⁡min𝒎∈𝒞​∑i=1N−1‖ϵti\+1c‖1​ew⁡\(ti\+1,𝒔⋆\)\\bm\{m\}^\{\\star\}=\\underset\{\\bm\{m\}\\in\\mathcal\{C\}\}\{\\arg\\min\}\\sum\_\{i=1\}^\{N\-1\}\\left\\\|\\bm\{\\epsilon\}^\{c\}\_\{t\_\{i\+1\}\}\\right\\\|\_\{1\}e^\{w\(t\_\{i\+1\};\\bm\{s\}^\{\\star\}\)\}

The comprehensive optimization procedure for GCache is summarized in Algorithm[2](https://arxiv.org/html/2608.13043#alg2)\. At each iterationn\+1n\+1, we maintain a Gaussian Process \(GP\) surrogate to model the objective landscape over the parameter space𝒔\\bm\{s\}\. The next candidate is identified by minimizing the Lower Confidence Bound \(LCB\) acquisition function, which strategically balances exploration and exploitation:

𝒔n\+1=arg⁡min𝒔​ALCB​\(𝒔,𝒟n\)\.\\bm\{s\}\_\{n\+1\}=\\underset\{\\bm\{s\}\}\{\\arg\\min\}\\,A\_\{\\text\{LCB\}\}\(\\bm\{s\};\\mathcal\{D\}\_\{n\}\)\.\(24\)Conditioned on the proposed parameters𝒔n\+1\\bm\{s\}\_\{n\+1\}, the inner optimization level formulates the weighted error objective and identifies the optimal cache reuse policy𝒎⋆​\(𝒔n\+1\)\\bm\{m\}^\{\\star\}\(\\bm\{s\}\_\{n\+1\}\)\. This is achieved by minimizing the accumulated propagation error subject to the budget constraint𝒎∈𝒞\\bm\{m\}\\in\\mathcal\{C\}\([Equation16](https://arxiv.org/html/2608.13043#S3.E16)\), leveraging the efficient dynamic programming solver detailed in Appendix[A\.1](https://arxiv.org/html/2608.13043#A1.SS1)\. Subsequently, we evaluate the empirical generation lossyn\+1=feval​\(𝒔n\+1\)=ℒ⁡\(𝒎⋆​\(𝒔n\+1\)\)y\_\{n\+1\}=f\_\{\\text\{eval\}\}\(\\bm\{s\}\_\{n\+1\}\)=\\mathcal\{L\}\(\\bm\{m\}^\{\\star\}\(\\bm\{s\}\_\{n\+1\}\)\)to augment the observation set𝒟n\+1=𝒟∪\{\(𝒔n\+1,yn\+1\)\}\\mathcal\{D\}\_\{n\+1\}=\\mathcal\{D\}\\cup\\\{\(\\bm\{s\}\_\{n\+1\},y\_\{n\+1\}\)\\\}and refine the GP surrogate\. This iterative cycle continues until the evaluation budget is exhausted, ultimately yielding an optimized propagation exponent that aligns the analytical error bound with empirical generation quality\.

### A\.3Optimization Objective

In the outer objective of the bilevel optimization framework \([Equation18](https://arxiv.org/html/2608.13043#S3.E18)\), we define the loss functionℒ\\mathcal\{L\}to evaluate the empirical generation quality\. Specifically, we utilize a joint objective that combines the Learned Perceptual Image Patch Similarity \(LPIPS\)\[[34](https://arxiv.org/html/2608.13043#bib.bib12)\]and the Structural Similarity Index Measure \(SSIM\):

ℒ=ℒLPIPS\+\(1−ℒSSIM\)\.\\mathcal\{L\}=\\mathcal\{L\}\_\{\\text\{LPIPS\}\}\+\(1\-\\mathcal\{L\}\_\{\\text\{SSIM\}\}\)\.\(25\)The rationale for this dual\-component objective is twofold:

- •Semantic and Perceptual Fidelity: LPIPS leverages deep features from pre\-trained networks \(e\.g\., VGG or AlexNet\) to quantify high\-level perceptual similarity\. In the context of cache\-based acceleration, aggressive reuse can lead to “semantic drift” or the loss of fine\-grained textures that traditional metrics often fail to capture\. LPIPS ensures that the optimized caching policy preserves the overall visual intent and semantic coherence of the generated samples\.
- •Structural and Pixel\-level Integrity: While LPIPS is effective for high\-level perception, it can occasionally overlook local structural misalignments\. By incorporating1−ℒSSIM1\-\\mathcal\{L\}\_\{\\text\{SSIM\}\}, we explicitly penalize deviations in local luminance, contrast, and spatial structure\. This term acts as a regularizer to ensure that the accelerated trajectory remains spatially faithful to the unperturbed baseline, preventing artifacts such as ghosting or structural blurring that may arise during the accumulation of propagation errors\.

To empirically justify the rationale behind our hybrid optimization objective, we conduct an ablation study comparing various loss formulations, with detailed results provided in[Section4\.3](https://arxiv.org/html/2608.13043#S4.SS3)\. The findings corroborate that the combination of LPIPS and SSIM achieves a superior balance between perceptual fidelity and structural consistency\.

## Appendix BProofs

### B\.1Proof for[Theorem3\.2](https://arxiv.org/html/2608.13043#S3.Thmtheorem2)

###### Lemma B\.1\(Single\-Step Propagation Error\)\.

Under Assumption[3\.1](https://arxiv.org/html/2608.13043#S3.Thmtheorem1), let𝐱t\\bm\{x\}\_\{t\}denote the state at timettalong the ground\-truth ODE trajectory, and let𝐱^t\\hat\{\\bm\{x\}\}\_\{t\}be the state generated by the Euler solver using the learned velocity𝐯θ\\bm\{v\}\_\{\\theta\}\. For a backward step sizehti\+1=ti\+1−ti\>0h\_\{t\_\{i\+1\}\}=t\_\{i\+1\}\-t\_\{i\}\>0, the error at timetit\_\{i\}is bounded by:

‖𝒙ti−𝒙^ti‖1≤\(1\+hti\+1​Lti\+1\)​‖𝒙ti\+1−𝒙^ti\+1‖1\+hti\+1​η\+hti\+122​M\.\\left\\\|\\bm\{x\}\_\{t\_\{i\}\}\-\\hat\{\\bm\{x\}\}\_\{t\_\{i\}\}\\right\\\|\_\{1\}\\leq\\left\(1\+h\_\{t\_\{i\+1\}\}L\_\{t\_\{i\+1\}\}\\right\)\\left\\\|\\bm\{x\}\_\{t\_\{i\+1\}\}\-\\hat\{\\bm\{x\}\}\_\{t\_\{i\+1\}\}\\right\\\|\_\{1\}\+h\_\{t\_\{i\+1\}\}\\eta\+\\frac\{h\_\{t\_\{i\+1\}\}^\{2\}\}\{2\}M\.\(26\)

###### Proof\.

By Taylor’s theorem, the ground\-truth state𝒙ti\\bm\{x\}\_\{t\_\{i\}\}can be expanded aboutti\+1t\_\{i\+1\}by:

𝒙ti\\displaystyle\\bm\{x\}\_\{t\_\{i\}\}=𝒙ti\+1−\(ti\+1−ti\)​d​𝒙td​t\|ti\+1\+\(ti\+1−ti\)22​d2​𝒙td​t2\|ξi\+1\\displaystyle=\\bm\{x\}\_\{t\_\{i\+1\}\}\-\(t\_\{i\+1\}\-t\_\{i\}\)\\left\.\\frac\{\\mathrm\{d\}\\bm\{x\}\_\{t\}\}\{\\mathrm\{d\}t\}\\right\|\_\{t\_\{i\+1\}\}\+\\left\.\\frac\{\(t\_\{i\+1\}\-t\_\{i\}\)^\{2\}\}\{2\}\\frac\{\\mathrm\{d\}^\{2\}\\bm\{x\}\_\{t\}\}\{\\mathrm\{d\}t^\{2\}\}\\right\|\_\{\\xi\_\{i\+1\}\}=𝒙ti\+1−hti\+1​𝒗​\(𝒙ti\+1,ti\+1\)\+hti\+122​dd​t​𝒗​\(𝒙t,t\)\|ξi\+1,\\displaystyle=\\bm\{x\}\_\{t\_\{i\+1\}\}\-h\_\{t\_\{i\+1\}\}\\bm\{v\}\(\\bm\{x\}\_\{t\_\{i\+1\}\},t\_\{i\+1\}\)\+\\frac\{h\_\{t\_\{i\+1\}\}^\{2\}\}\{2\}\\left\.\\frac\{\\mathrm\{d\}\}\{\\mathrm\{d\}t\}\\bm\{v\}\(\\bm\{x\}\_\{t\},t\)\\right\|\_\{\\xi\_\{i\+1\}\},\(27\)whereξi\+1∈\[ti,ti\+1\]\\xi\_\{i\+1\}\\in\[t\_\{i\},t\_\{i\+1\}\]is an intermediate time point arising from the Lagrange form of the remainder, and we use the relationd​𝒙td​t=𝒗⁡\(𝒙t,t\)\\frac\{\\mathrm\{d\}\\bm\{x\}\_\{t\}\}\{\\mathrm\{d\}t\}=\\bm\{v\}\(\\bm\{x\}\_\{t\},t\)\.

The Euler update for𝒙^ti\\hat\{\\bm\{x\}\}\_\{t\_\{i\}\}is defined as:

𝒙^ti=𝒙^ti\+1−hti\+1​𝒗θ​\(𝒙^ti\+1,ti\+1\)\.\\hat\{\\bm\{x\}\}\_\{t\_\{i\}\}=\\hat\{\\bm\{x\}\}\_\{t\_\{i\+1\}\}\-h\_\{t\_\{i\+1\}\}\\bm\{v\}\_\{\\theta\}\(\\hat\{\\bm\{x\}\}\_\{t\_\{i\+1\}\},t\_\{i\+1\}\)\.\(28\)Subtracting the discrete update from the continuous Taylor expansion, we obtain:

𝒙ti−𝒙^ti=𝒙ti\+1−𝒙^ti\+1−hti\+1​\(𝒗⁡\(𝒙ti\+1,ti\+1\)−𝒗θ​\(𝒙^ti\+1,ti\+1\)\)\+hti\+122​dd​t​𝒗​\(𝒙t,t\)\|ξi\+1\.\\displaystyle\\bm\{x\}\_\{t\_\{i\}\}\-\\hat\{\\bm\{x\}\}\_\{t\_\{i\}\}=\\bm\{x\}\_\{t\_\{i\+1\}\}\-\\hat\{\\bm\{x\}\}\_\{t\_\{i\+1\}\}\-h\_\{t\_\{i\+1\}\}\\left\(\\bm\{v\}\(\\bm\{x\}\_\{t\_\{i\+1\}\},t\_\{i\+1\}\)\-\\bm\{v\}\_\{\\theta\}\(\\hat\{\\bm\{x\}\}\_\{t\_\{i\+1\}\},t\_\{i\+1\}\)\\right\)\+\\frac\{h\_\{t\_\{i\+1\}\}^\{2\}\}\{2\}\\left\.\\frac\{\\mathrm\{d\}\}\{\\mathrm\{d\}t\}\\bm\{v\}\(\\bm\{x\}\_\{t\},t\)\\right\|\_\{\\xi\_\{i\+1\}\}\.\(29\)To bound the difference in velocity terms, we decompose it into a propagation component and an approximation component:

𝒗⁡\(𝒙ti\+1,ti\+1\)−𝒗θ​\(𝒙^ti\+1,ti\+1\)\\displaystyle\\bm\{v\}\(\\bm\{x\}\_\{t\_\{i\+1\}\},t\_\{i\+1\}\)\-\\bm\{v\}\_\{\\theta\}\(\\hat\{\\bm\{x\}\}\_\{t\_\{i\+1\}\},t\_\{i\+1\}\)=𝒗⁡\(𝒙ti\+1,ti\+1\)−𝒗θ​\(𝒙ti\+1,ti\+1\)⏟Approximation Error\\displaystyle=\\underbrace\{\\bm\{v\}\(\\bm\{x\}\_\{t\_\{i\+1\}\},t\_\{i\+1\}\)\-\\bm\{v\}\_\{\\theta\}\(\\bm\{x\}\_\{t\_\{i\+1\}\},t\_\{i\+1\}\)\}\_\{\\text\{Approximation Error\}\}\+𝒗θ​\(𝒙ti\+1,ti\+1\)−𝒗θ​\(𝒙^ti\+1,ti\+1\)⏟Propagated Error\.\\displaystyle\\quad\\ \+\\underbrace\{\\bm\{v\}\_\{\\theta\}\(\\bm\{x\}\_\{t\_\{i\+1\}\},t\_\{i\+1\}\)\-\\bm\{v\}\_\{\\theta\}\(\\hat\{\\bm\{x\}\}\_\{t\_\{i\+1\}\},t\_\{i\+1\}\)\}\_\{\\text\{Propagated Error\}\}\.\(30\)Taking theℓ1\\ell\_\{1\}\-norm on both sides and applying the triangle inequality yields:

‖𝒙ti−𝒙^ti‖1\\displaystyle\\left\\\|\\bm\{x\}\_\{t\_\{i\}\}\-\\hat\{\\bm\{x\}\}\_\{t\_\{i\}\}\\right\\\|\_\{1\}≤‖𝒙ti\+1−𝒙^ti\+1‖1\\displaystyle\\leq\\left\\\|\\bm\{x\}\_\{t\_\{i\+1\}\}\-\\hat\{\\bm\{x\}\}\_\{t\_\{i\+1\}\}\\right\\\|\_\{1\}\+hti\+1​‖𝒗⁡\(𝒙ti\+1,ti\+1\)−𝒗θ​\(𝒙ti\+1,ti\+1\)‖1\\displaystyle\\quad\+h\_\{t\_\{i\+1\}\}\\left\\\|\\bm\{v\}\(\\bm\{x\}\_\{t\_\{i\+1\}\},t\_\{i\+1\}\)\-\\bm\{v\}\_\{\\theta\}\(\\bm\{x\}\_\{t\_\{i\+1\}\},t\_\{i\+1\}\)\\right\\\|\_\{1\}\+hti\+1​‖𝒗θ​\(𝒙ti\+1,ti\+1\)−𝒗θ​\(𝒙^ti\+1,ti\+1\)‖1\\displaystyle\\quad\+h\_\{t\_\{i\+1\}\}\\left\\\|\\bm\{v\}\_\{\\theta\}\(\\bm\{x\}\_\{t\_\{i\+1\}\},t\_\{i\+1\}\)\-\\bm\{v\}\_\{\\theta\}\(\\hat\{\\bm\{x\}\}\_\{t\_\{i\+1\}\},t\_\{i\+1\}\)\\right\\\|\_\{1\}\+hti\+122​‖dd​t​𝒗​\(𝒙t,t\)\|ξi\+1‖1\.\\displaystyle\\quad\+\\frac\{h\_\{t\_\{i\+1\}\}^\{2\}\}\{2\}\\left\\\|\\left\.\\frac\{\\mathrm\{d\}\}\{\\mathrm\{d\}t\}\\bm\{v\}\(\\bm\{x\}\_\{t\},t\)\\right\|\_\{\\xi\_\{i\+1\}\}\\right\\\|\_\{1\}\.\(31\)Applying the Lipschitz continuity of𝒗\\bm\{v\}\(with constantLti\+1L\_\{t\_\{i\+1\}\}\), the approximation boundη\\eta, and the total derivative boundMMfrom Assumption[3\.1](https://arxiv.org/html/2608.13043#S3.Thmtheorem1), we have:

‖𝒙ti−𝒙^ti‖1\\displaystyle\\left\\\|\\bm\{x\}\_\{t\_\{i\}\}\-\\hat\{\\bm\{x\}\}\_\{t\_\{i\}\}\\right\\\|\_\{1\}≤‖𝒙ti\+1−𝒙^ti\+1‖1\+hti\+1​Lti\+1​‖𝒙ti\+1−𝒙^ti\+1‖1\+hti\+1​η\+hti\+122​M\\displaystyle\\leq\\left\\\|\\bm\{x\}\_\{t\_\{i\+1\}\}\-\\hat\{\\bm\{x\}\}\_\{t\_\{i\+1\}\}\\right\\\|\_\{1\}\+h\_\{t\_\{i\+1\}\}L\_\{t\_\{i\+1\}\}\\left\\\|\\bm\{x\}\_\{t\_\{i\+1\}\}\-\\hat\{\\bm\{x\}\}\_\{t\_\{i\+1\}\}\\right\\\|\_\{1\}\+h\_\{t\_\{i\+1\}\}\\eta\+\\frac\{h\_\{t\_\{i\+1\}\}^\{2\}\}\{2\}M=\(1\+hti\+1​Lti\+1\)​‖𝒙ti\+1−𝒙^ti\+1‖1\+hti\+1​η\+hti\+122​M,\\displaystyle=\\left\(1\+h\_\{t\_\{i\+1\}\}L\_\{t\_\{i\+1\}\}\\right\)\\left\\\|\\bm\{x\}\_\{t\_\{i\+1\}\}\-\\hat\{\\bm\{x\}\}\_\{t\_\{i\+1\}\}\\right\\\|\_\{1\}\+h\_\{t\_\{i\+1\}\}\\eta\+\\frac\{h\_\{t\_\{i\+1\}\}^\{2\}\}\{2\}M,\(32\)which completes the proof\. ∎

###### Lemma B\.2\(Single\-Step Propagation Error under Cache Reuse\)\.

Under Assumption[3\.1](https://arxiv.org/html/2608.13043#S3.Thmtheorem1), let𝐱t\\bm\{x\}\_\{t\}denote the state at timettalong the ground\-truth ODE trajectory, and let𝐱^t\\hat\{\\bm\{x\}\}\_\{t\}be the state generated by the Euler solver\. Suppose that at timeti\+1t\_\{i\+1\}, we reuse a cached residual𝛅ti\+1c\\bm\{\\delta\}\_\{t\_\{i\+1\}\}^\{c\}such that the reuse error isϵti\+1c=𝛅ti\+1−𝛅ti\+1c\\bm\{\\epsilon\}\_\{t\_\{i\+1\}\}^\{c\}=\\bm\{\\delta\}\_\{t\_\{i\+1\}\}\-\\bm\{\\delta\}^\{c\}\_\{t\_\{i\+1\}\}\. Let𝐱^tic\\hat\{\\bm\{x\}\}\_\{t\_\{i\}\}^\{c\}be the state attit\_\{i\}produced by an Euler step from𝐱^ti\+1\\hat\{\\bm\{x\}\}\_\{t\_\{i\+1\}\}using the cached velocity𝐯θc\\bm\{v\}\_\{\\theta\}^\{c\}\. For a backward step sizehti\+1=ti\+1−ti\>0h\_\{t\_\{i\+1\}\}=t\_\{i\+1\}\-t\_\{i\}\>0, the error at timetit\_\{i\}is bounded by:

‖𝒙ti−𝒙^tic‖1≤\(1\+hti\+1​Lti\+1\)​‖𝒙ti\+1−𝒙^ti\+1‖1\+hti\+1​η\+hti\+1​Lout​‖ϵti\+1c‖1\+hti\+122​M\.\\left\\\|\\bm\{x\}\_\{t\_\{i\}\}\-\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{i\}\}\\right\\\|\_\{1\}\\leq\\left\(1\+h\_\{t\_\{i\+1\}\}L\_\{t\_\{i\+1\}\}\\right\)\\left\\\|\\bm\{x\}\_\{t\_\{i\+1\}\}\-\\hat\{\\bm\{x\}\}\_\{t\_\{i\+1\}\}\\right\\\|\_\{1\}\+h\_\{t\_\{i\+1\}\}\\eta\+h\_\{t\_\{i\+1\}\}L\_\{\\text\{out\}\}\\left\\\|\\bm\{\\epsilon\}^\{c\}\_\{t\_\{i\+1\}\}\\right\\\|\_\{1\}\+\\frac\{h\_\{t\_\{i\+1\}\}^\{2\}\}\{2\}M\.\(33\)

###### Proof\.

By Taylor’s theorem, the ground\-truth state𝒙ti\\bm\{x\}\_\{t\_\{i\}\}can be expanded aboutti\+1t\_\{i\+1\}by:

𝒙ti=𝒙ti\+1−hti\+1​𝒗​\(𝒙ti\+1,ti\+1\)\+hti\+122​dd​t​𝒗​\(𝒙t,t\)\|ξi\+1,\\displaystyle\\bm\{x\}\_\{t\_\{i\}\}=\\bm\{x\}\_\{t\_\{i\+1\}\}\-h\_\{t\_\{i\+1\}\}\\bm\{v\}\(\\bm\{x\}\_\{t\_\{i\+1\}\},t\_\{i\+1\}\)\+\\frac\{h\_\{t\_\{i\+1\}\}^\{2\}\}\{2\}\\left\.\\frac\{\\mathrm\{d\}\}\{\\mathrm\{d\}t\}\\bm\{v\}\(\\bm\{x\}\_\{t\},t\)\\right\|\_\{\\xi\_\{i\+1\}\},\(34\)whereξi\+1∈\[ti,ti\+1\]\\xi\_\{i\+1\}\\in\[t\_\{i\},t\_\{i\+1\}\]is an intermediate time point arising from the Lagrange form of the remainder, and we use the relationd​𝒙td​t=𝒗⁡\(𝒙t,t\)\\frac\{\\mathrm\{d\}\\bm\{x\}\_\{t\}\}\{\\mathrm\{d\}t\}=\\bm\{v\}\(\\bm\{x\}\_\{t\},t\)\.

Let𝒗θc​\(𝒙t,t\)\\bm\{v\}^\{c\}\_\{\\theta\}\(\\bm\{x\}\_\{t\},t\)denote the learned velocity computed using the cached residual\. The Euler update with cache reuse for𝒙^ti\\hat\{\\bm\{x\}\}\_\{t\_\{i\}\}is defined as:

𝒙^tic=𝒙^ti\+1−hti\+1​𝒗θc​\(𝒙^ti\+1,ti\+1\)\.\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{i\}\}=\\hat\{\\bm\{x\}\}\_\{t\_\{i\+1\}\}\-h\_\{t\_\{i\+1\}\}\\bm\{v\}^\{c\}\_\{\\theta\}\(\\hat\{\\bm\{x\}\}\_\{t\_\{i\+1\}\},t\_\{i\+1\}\)\.\(35\)Subtracting the discrete update from the Taylor expansion, we have:

𝒙ti−𝒙^tic=𝒙ti\+1−𝒙^ti\+1−hti\+1​\(𝒗⁡\(𝒙ti\+1,ti\+1\)−𝒗θc​\(𝒙^ti\+1,ti\+1\)\)\+hti\+122​dd​t​𝒗​\(𝒙t,t\)\|ξi\+1\.\\displaystyle\\bm\{x\}\_\{t\_\{i\}\}\-\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{i\}\}=\\bm\{x\}\_\{t\_\{i\+1\}\}\-\\hat\{\\bm\{x\}\}\_\{t\_\{i\+1\}\}\-h\_\{t\_\{i\+1\}\}\\left\(\\bm\{v\}\(\\bm\{x\}\_\{t\_\{i\+1\}\},t\_\{i\+1\}\)\-\\bm\{v\}^\{c\}\_\{\\theta\}\(\\hat\{\\bm\{x\}\}\_\{t\_\{i\+1\}\},t\_\{i\+1\}\)\\right\)\+\\frac\{h\_\{t\_\{i\+1\}\}^\{2\}\}\{2\}\\left\.\\frac\{\\mathrm\{d\}\}\{\\mathrm\{d\}t\}\\bm\{v\}\(\\bm\{x\}\_\{t\},t\)\\right\|\_\{\\xi\_\{i\+1\}\}\.\(36\)We decompose the velocity difference into three components to isolate the cache reuse error:

𝒗⁡\(𝒙ti\+1,ti\+1\)−𝒗θc​\(𝒙^ti\+1,ti\+1\)\\displaystyle\\bm\{v\}\(\\bm\{x\}\_\{t\_\{i\+1\}\},t\_\{i\+1\}\)\-\\bm\{v\}^\{c\}\_\{\\theta\}\(\\hat\{\\bm\{x\}\}\_\{t\_\{i\+1\}\},t\_\{i\+1\}\)=𝒗⁡\(𝒙ti\+1,ti\+1\)−𝒗θ​\(𝒙ti\+1,ti\+1\)⏟Approximation Error\\displaystyle=\\underbrace\{\\bm\{v\}\(\\bm\{x\}\_\{t\_\{i\+1\}\},t\_\{i\+1\}\)\-\\bm\{v\}\_\{\\theta\}\(\\bm\{x\}\_\{t\_\{i\+1\}\},t\_\{i\+1\}\)\}\_\{\\text\{Approximation Error\}\}\+𝒗θ​\(𝒙ti\+1,ti\+1\)−𝒗θ​\(𝒙^ti\+1,ti\+1\)⏟Propagated Error\\displaystyle\\quad\+\\underbrace\{\\bm\{v\}\_\{\\theta\}\(\\bm\{x\}\_\{t\_\{i\+1\}\},t\_\{i\+1\}\)\-\\bm\{v\}\_\{\\theta\}\(\\hat\{\\bm\{x\}\}\_\{t\_\{i\+1\}\},t\_\{i\+1\}\)\}\_\{\\text\{Propagated Error\}\}\+𝒗θ​\(𝒙^ti\+1,ti\+1\)−𝒗θc​\(𝒙^ti\+1,ti\+1\)⏟Cache Reuse Error\.\\displaystyle\\quad\+\\underbrace\{\\bm\{v\}\_\{\\theta\}\(\\hat\{\\bm\{x\}\}\_\{t\_\{i\+1\}\},t\_\{i\+1\}\)\-\\bm\{v\}^\{c\}\_\{\\theta\}\(\\hat\{\\bm\{x\}\}\_\{t\_\{i\+1\}\},t\_\{i\+1\}\)\}\_\{\\text\{Cache Reuse Error\}\}\.\(37\)Taking theℓ1\\ell\_\{1\}\-norm on both sides and applying the triangle inequality yields:

‖𝒙ti−𝒙^tic‖1\\displaystyle\\left\\\|\\bm\{x\}\_\{t\_\{i\}\}\-\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{i\}\}\\right\\\|\_\{1\}≤‖𝒙ti\+1−𝒙^ti\+1‖1\\displaystyle\\leq\\left\\\|\\bm\{x\}\_\{t\_\{i\+1\}\}\-\\hat\{\\bm\{x\}\}\_\{t\_\{i\+1\}\}\\right\\\|\_\{1\}\+hti\+1​‖𝒗⁡\(𝒙ti\+1,ti\+1\)−𝒗θ​\(𝒙ti\+1,ti\+1\)‖1\\displaystyle\\quad\+h\_\{t\_\{i\+1\}\}\\left\\\|\\bm\{v\}\(\\bm\{x\}\_\{t\_\{i\+1\}\},t\_\{i\+1\}\)\-\\bm\{v\}\_\{\\theta\}\(\\bm\{x\}\_\{t\_\{i\+1\}\},t\_\{i\+1\}\)\\right\\\|\_\{1\}\+hti\+1​‖𝒗θ​\(𝒙ti\+1,ti\+1\)−𝒗θ​\(𝒙^ti\+1,ti\+1\)‖1\\displaystyle\\quad\+h\_\{t\_\{i\+1\}\}\\left\\\|\\bm\{v\}\_\{\\theta\}\(\\bm\{x\}\_\{t\_\{i\+1\}\},t\_\{i\+1\}\)\-\\bm\{v\}\_\{\\theta\}\(\\hat\{\\bm\{x\}\}\_\{t\_\{i\+1\}\},t\_\{i\+1\}\)\\right\\\|\_\{1\}\+hti\+1​‖𝒗θ​\(𝒙^ti\+1,ti\+1\)−𝒗θc​\(𝒙^ti\+1,ti\+1\)‖1\\displaystyle\\quad\+h\_\{t\_\{i\+1\}\}\\left\\\|\\bm\{v\}\_\{\\theta\}\(\\hat\{\\bm\{x\}\}\_\{t\_\{i\+1\}\},t\_\{i\+1\}\)\-\\bm\{v\}^\{c\}\_\{\\theta\}\(\\hat\{\\bm\{x\}\}\_\{t\_\{i\+1\}\},t\_\{i\+1\}\)\\right\\\|\_\{1\}\+hti\+122​‖dd​t​𝒗​\(𝒙t,t\)\|ξi\+1‖1\.\\displaystyle\\quad\+\\frac\{h\_\{t\_\{i\+1\}\}^\{2\}\}\{2\}\\left\\\|\\left\.\\frac\{\\mathrm\{d\}\}\{\\mathrm\{d\}t\}\\bm\{v\}\(\\bm\{x\}\_\{t\},t\)\\right\|\_\{\\xi\_\{i\+1\}\}\\right\\\|\_\{1\}\.\(38\)Given the model architecture𝒗θ​\(𝒙t,t\)=fout​\(𝒉t\+𝜹t\)\\bm\{v\}\_\{\\theta\}\(\\bm\{x\}\_\{t\},t\)=f\_\{\\text\{out\}\}\(\\bm\{h\}\_\{t\}\+\\bm\{\\delta\}\_\{t\}\), where𝒉t\\bm\{h\}\_\{t\}is the feature and𝜹t\\bm\{\\delta\}\_\{t\}is the residual, the cache reuse error term is bounded by the Lipschitz constantLoutL\_\{\\text\{out\}\}:

‖fout​\(𝒉ti\+1\+𝜹ti\+1\)−fout​\(𝒉ti\+1\+𝜹ti\+1c\)‖1≤Lout​‖𝜹ti\+1−𝜹ti\+1c‖1=Lout​‖ϵti\+1c‖1\.\\left\\\|f\_\{\\text\{out\}\}\(\\bm\{h\}\_\{t\_\{i\+1\}\}\+\\bm\{\\delta\}\_\{t\_\{i\+1\}\}\)\-f\_\{\\text\{out\}\}\(\\bm\{h\}\_\{t\_\{i\+1\}\}\+\\bm\{\\delta\}^\{c\}\_\{t\_\{i\+1\}\}\)\\right\\\|\_\{1\}\\leq L\_\{\\text\{out\}\}\\left\\\|\\bm\{\\delta\}\_\{t\_\{i\+1\}\}\-\\bm\{\\delta\}^\{c\}\_\{t\_\{i\+1\}\}\\right\\\|\_\{1\}=L\_\{\\text\{out\}\}\\left\\\|\\bm\{\\epsilon\}^\{c\}\_\{t\_\{i\+1\}\}\\right\\\|\_\{1\}\.\(39\)Finally, substituting the Lipschitz constantLti\+1L\_\{t\_\{i\+1\}\}, the approximation boundη\\eta, and the total derivative boundMMfrom Assumption[3\.1](https://arxiv.org/html/2608.13043#S3.Thmtheorem1), we obtain:

‖𝒙ti−𝒙^ti‖1\\displaystyle\\left\\\|\\bm\{x\}\_\{t\_\{i\}\}\-\\hat\{\\bm\{x\}\}\_\{t\_\{i\}\}\\right\\\|\_\{1\}≤‖𝒙ti\+1−𝒙^ti\+1‖1\+hti\+1​Lti\+1​‖𝒙ti\+1−𝒙^ti\+1‖1\+hti\+1​η\\displaystyle\\leq\\left\\\|\\bm\{x\}\_\{t\_\{i\+1\}\}\-\\hat\{\\bm\{x\}\}\_\{t\_\{i\+1\}\}\\right\\\|\_\{1\}\+h\_\{t\_\{i\+1\}\}L\_\{t\_\{i\+1\}\}\\left\\\|\\bm\{x\}\_\{t\_\{i\+1\}\}\-\\hat\{\\bm\{x\}\}\_\{t\_\{i\+1\}\}\\right\\\|\_\{1\}\+h\_\{t\_\{i\+1\}\}\\eta\+hti\+1​Lout​‖ϵti\+1c‖1\+hti\+122​M\\displaystyle\\quad\\ \+h\_\{t\_\{i\+1\}\}L\_\{\\text\{out\}\}\\left\\\|\\bm\{\\epsilon\}^\{c\}\_\{t\_\{i\+1\}\}\\right\\\|\_\{1\}\+\\frac\{h\_\{t\_\{i\+1\}\}^\{2\}\}\{2\}M=\(1\+hti\+1​Lti\+1\)​‖𝒙ti\+1−𝒙^ti\+1‖1\+hti\+1​η\\displaystyle=\\left\(1\+h\_\{t\_\{i\+1\}\}L\_\{t\_\{i\+1\}\}\\right\)\\left\\\|\\bm\{x\}\_\{t\_\{i\+1\}\}\-\\hat\{\\bm\{x\}\}\_\{t\_\{i\+1\}\}\\right\\\|\_\{1\}\+h\_\{t\_\{i\+1\}\}\\eta\+hti\+1​Lout​‖ϵti\+1c‖1\+hti\+122​M\.\\displaystyle\\quad\\ \+h\_\{t\_\{i\+1\}\}L\_\{\\text\{out\}\}\\left\\\|\\bm\{\\epsilon\}^\{c\}\_\{t\_\{i\+1\}\}\\right\\\|\_\{1\}\+\\frac\{h\_\{t\_\{i\+1\}\}^\{2\}\}\{2\}M\.\(40\)This completes the proof\. ∎

###### Theorem[3\.2](https://arxiv.org/html/2608.13043#S3.Thmtheorem2)\(Global Error Bound under Cache Reuse\)\.

Under Assumption[3\.1](https://arxiv.org/html/2608.13043#S3.Thmtheorem1), let𝐱t\\bm\{x\}\_\{t\}be the ground\-truth ODE state at timett, and let𝐱^tc\\hat\{\\bm\{x\}\}^\{c\}\_\{t\}be the state generated by the Euler solver using the learned velocity𝐯θ\\bm\{v\}\_\{\\theta\}, incorporating a single cache reuse event\. Specifically, suppose that at stepti\+1→tit\_\{i\+1\}\\to t\_\{i\}, we reuse a cached residual𝛅ti\+1c\\bm\{\\delta\}\_\{t\_\{i\+1\}\}^\{c\}with errorϵti\+1c=𝛅ti\+1−𝛅ti\+1c\\bm\{\\epsilon\}\_\{t\_\{i\+1\}\}^\{c\}=\\bm\{\\delta\}\_\{t\_\{i\+1\}\}\-\\bm\{\\delta\}^\{c\}\_\{t\_\{i\+1\}\}\. Given a sequence of timestepstN,tN−1,…,t1t\_\{N\},t\_\{N\-1\},\\dots,t\_\{1\}with uniform step sizehh, the global error at the final timestept1t\_\{1\}is bounded by:

‖𝒙t1−𝒙^t1c‖1\\displaystyle\\left\\\|\\bm\{x\}\_\{t\_\{1\}\}\-\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{1\}\}\\right\\\|\_\{1\}≤h​Lout​‖ϵti\+1c‖1​e\(i−1\)​h​L⏟Cache Reuse Error\+\(ηL\+h​M2​L\)​\(e\(N−1\)​h​L−1\)⏟Approximation & Discretization Error\.\\displaystyle\\leq\\underbrace\{hL\_\{\\text\{out\}\}\\left\\\|\\bm\{\\epsilon\}^\{c\}\_\{t\_\{i\+1\}\}\\right\\\|\_\{1\}e^\{\(i\-1\)hL\}\}\_\{\\text\{Cache Reuse Error\}\}\+\\underbrace\{\\left\(\\frac\{\\eta\}\{L\}\+\\frac\{hM\}\{2L\}\\right\)\\left\(e^\{\(N\-1\)hL\}\-1\\right\)\}\_\{\\text\{Approximation \\& Discretization Error\}\}\.\(41\)

###### Proof\.

We analyze the error accumulation by recursively applying the single\-step error bounds\. From Lemma[B\.1](https://arxiv.org/html/2608.13043#A2.Thmtheorem1), the error at the final timestept1t\_\{1\}can be expressed in terms of the error at an intermediate steptit\_\{i\}:

‖𝒙t1−𝒙^t1c‖1≤‖𝒙ti−𝒙^tic‖1​\(1\+h​L\)i−1\+\(h​η\+h22​M\)​∑n=1i−1\(1\+h​L\)n−1\.\\left\\\|\\bm\{x\}\_\{t\_\{1\}\}\-\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{1\}\}\\right\\\|\_\{1\}\\leq\\left\\\|\\bm\{x\}\_\{t\_\{i\}\}\-\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{i\}\}\\right\\\|\_\{1\}\(1\+hL\)^\{i\-1\}\+\\left\(h\\,\\eta\+\\frac\{h^\{2\}\}\{2\}M\\right\)\\sum\_\{n=1\}^\{i\-1\}\(1\+hL\)^\{n\-1\}\.\(42\)At the specific transitionti\+1→tit\_\{i\+1\}\\to t\_\{i\}where cache reuse occurs, Lemma[B\.2](https://arxiv.org/html/2608.13043#A2.Thmtheorem2)provides the local bound:

‖𝒙ti−𝒙^tic‖1≤\(1\+h​L\)​‖𝒙ti\+1−𝒙^ti\+1‖1\+h​η\+h​Lout​‖ϵti\+1c‖1\+h22​M\.\\left\\\|\\bm\{x\}\_\{t\_\{i\}\}\-\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{i\}\}\\right\\\|\_\{1\}\\leq\(1\+hL\)\\left\\\|\\bm\{x\}\_\{t\_\{i\+1\}\}\-\\hat\{\\bm\{x\}\}\_\{t\_\{i\+1\}\}\\right\\\|\_\{1\}\+h\\,\\eta\+hL\_\{\\text\{out\}\}\\left\\\|\\bm\{\\epsilon\}^\{c\}\_\{t\_\{i\+1\}\}\\right\\\|\_\{1\}\+\\frac\{h^\{2\}\}\{2\}M\.\(43\)Continuing the recursion for the remaining steps fromti\+1t\_\{i\+1\}back to the initial statetNt\_\{N\}, we observe that for all other stepsn∈\{i\+1,…,N−1\}n\\in\\\{i\+1,\\dots,N\-1\\\}, the standard local error bound from Lemma[B\.1](https://arxiv.org/html/2608.13043#A2.Thmtheorem1)applies\. Combining these, the global error att1t\_\{1\}becomes:

‖𝒙t1−𝒙^t1c‖1≤‖𝒙tN−𝒙^tN‖1​\(1\+h​L\)N−1\+h​Lout​‖ϵti\+1c‖1​\(1\+h​L\)i−1\\displaystyle\\left\\\|\\bm\{x\}\_\{t\_\{1\}\}\-\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{1\}\}\\right\\\|\_\{1\}\\leq\\left\\\|\\bm\{x\}\_\{t\_\{N\}\}\-\\hat\{\\bm\{x\}\}\_\{t\_\{N\}\}\\right\\\|\_\{1\}\\left\(1\+hL\\right\)^\{N\-1\}\+h\\,L\_\{\\text\{out\}\}\\left\\\|\\bm\{\\epsilon\}^\{c\}\_\{t\_\{i\+1\}\}\\right\\\|\_\{1\}\\left\(1\+hL\\right\)^\{i\-1\}\+\(hη\+h22M\)∑n=1N−1\(1\+hL\)n−1\.\\displaystyle\+\\left\(h\\,\\eta\+\\frac\{h^\{2\}\}\{2\}M\\right\)\\sum\_\{n=1\}^\{N\-1\}\(1\+hL\)^\{n\-1\}\.\(44\)Assuming the solver starts from the ground\-truth initial noise, we have𝒙tN=𝒙^tN\\bm\{x\}\_\{t\_\{N\}\}=\\hat\{\\bm\{x\}\}\_\{t\_\{N\}\}and the first term vanishes\. The remaining terms simplify to:

‖𝒙t1−𝒙^t1c‖1≤h​Lout​‖ϵti\+1c‖1​\(1\+h​L\)i−1\+\(h​η\+h22​M\)​∑n=1N−1\(1\+h​L\)n−1\.\\displaystyle\\left\\\|\\bm\{x\}\_\{t\_\{1\}\}\-\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{1\}\}\\right\\\|\_\{1\}\\leq h\\,L\_\{\\text\{out\}\}\\left\\\|\\bm\{\\epsilon\}^\{c\}\_\{t\_\{i\+1\}\}\\right\\\|\_\{1\}\\left\(1\+hL\\right\)^\{i\-1\}\+\\left\(h\\,\\eta\+\\frac\{h^\{2\}\}\{2\}M\\right\)\\sum\_\{n=1\}^\{N\-1\}\(1\+hL\)^\{n\-1\}\.\(45\)Using the geometric series identity∑j=0k−1rj=rk−1r−1\\sum\_\{j=0\}^\{k\-1\}r^\{j\}=\\frac\{r^\{k\}\-1\}\{r\-1\}withr=1\+h​Lr=1\+hL, the remaining terms simplifies to:

‖𝒙t1−𝒙^t1c‖1\\displaystyle\\left\\\|\\bm\{x\}\_\{t\_\{1\}\}\-\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{1\}\}\\right\\\|\_\{1\}≤h​Lout​‖ϵti\+1c‖1​\(1\+h​L\)i−1\+\(h​η\+h22​M\)​1h​L​\(\(1\+h​L\)N−1−1\)\\displaystyle\\leq hL\_\{\\text\{out\}\}\\left\\\|\\bm\{\\epsilon\}^\{c\}\_\{t\_\{i\+1\}\}\\right\\\|\_\{1\}\(1\+hL\)^\{i\-1\}\+\\left\(h\\eta\+\\frac\{h^\{2\}\}\{2\}M\\right\)\\frac\{1\}\{hL\}\\left\(\(1\+hL\)^\{N\-1\}\-1\\right\)=h​Lout​‖ϵti\+1c‖1​\(1\+h​L\)i−1\+\(ηL\+h​M2​L\)​\(\(1\+h​L\)N−1−1\)\\displaystyle=hL\_\{\\text\{out\}\}\\left\\\|\\bm\{\\epsilon\}^\{c\}\_\{t\_\{i\+1\}\}\\right\\\|\_\{1\}\(1\+hL\)^\{i\-1\}\+\\left\(\\frac\{\\eta\}\{L\}\+\\frac\{hM\}\{2L\}\\right\)\\left\(\(1\+hL\)^\{N\-1\}\-1\\right\)\(46\)Finally, employing the inequality1\+a≤ea1\+a\\leq e^\{a\}, we arrive at the final bound:

‖𝒙t1−𝒙^t1c‖1\\displaystyle\\left\\\|\\bm\{x\}\_\{t\_\{1\}\}\-\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{1\}\}\\right\\\|\_\{1\}≤h​Lout​‖ϵti\+1c‖1​e\(i−1\)​h​L\+\(ηL\+h​M2​L\)​\(e\(N−1\)​h​L−1\)\.\\displaystyle\\leq hL\_\{\\text\{out\}\}\\left\\\|\\bm\{\\epsilon\}^\{c\}\_\{t\_\{i\+1\}\}\\right\\\|\_\{1\}e^\{\(i\-1\)hL\}\+\\left\(\\frac\{\\eta\}\{L\}\+\\frac\{hM\}\{2L\}\\right\)\\left\(e^\{\(N\-1\)hL\}\-1\\right\)\.\(47\)This completes the proof\. ∎

### B\.2Proof for[Theorem3\.3](https://arxiv.org/html/2608.13043#S3.Thmtheorem3)

###### Theorem[3\.3](https://arxiv.org/html/2608.13043#S3.Thmtheorem3)\(Error Propagation Bound under Single\-Step Cache Reuse\)\.

Under Assumption[3\.1](https://arxiv.org/html/2608.13043#S3.Thmtheorem1), let𝐱^t\\hat\{\\bm\{x\}\}\_\{t\}be the state generated by the Euler solver using the learned velocity𝐯θ\\bm\{v\}\_\{\\theta\}, and let𝐱^tc\\hat\{\\bm\{x\}\}\_\{t\}^\{c\}be the state incorporating a single cache reuse event at stepti\+1→tit\_\{i\+1\}\\to t\_\{i\}\. Suppose the reuse of a cached residual𝛅ti\+1c\\bm\{\\delta\}\_\{t\_\{i\+1\}\}^\{c\}introduces an errorϵti\+1c=𝛅ti\+1−𝛅ti\+1c\\bm\{\\epsilon\}\_\{t\_\{i\+1\}\}^\{c\}=\\bm\{\\delta\}\_\{t\_\{i\+1\}\}\-\\bm\{\\delta\}^\{c\}\_\{t\_\{i\+1\}\}\. Given a sequence of timestepstN,tN−1,…,t1t\_\{N\},t\_\{N\-1\},\\dots,t\_\{1\}with step sizeshtn\+1=tn\+1−tnh\_\{t\_\{n\+1\}\}=t\_\{n\+1\}\-t\_\{n\}, the cumulative error at the final timestept1t\_\{1\}is bounded by:

‖𝒙^t1−𝒙^t1c‖1≤‖ϵti\+1c‖1​ewti\+1,\\left\\\|\\hat\{\\bm\{x\}\}\_\{t\_\{1\}\}\-\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{1\}\}\\right\\\|\_\{1\}\\leq\\left\\\|\\bm\{\\epsilon\}^\{c\}\_\{t\_\{i\+1\}\}\\right\\\|\_\{1\}e^\{w\_\{t\_\{i\+1\}\}\},\(48\)where the propagation exponentwti\+1w\_\{t\_\{i\+1\}\}is defined as:

wti\+1=ln⁡\(hti\+1​Lout\)\+∑n=1i−1htn\+1​Ltn\+1\.w\_\{t\_\{i\+1\}\}=\\ln\\left\(h\_\{t\_\{i\+1\}\}L\_\{\\text\{out\}\}\\right\)\+\\sum\_\{n=1\}^\{i\-1\}h\_\{t\_\{n\+1\}\}L\_\{t\_\{n\+1\}\}\.\(49\)

###### Proof\.

We first bound the error propagation for the steps following the cache reuse \(tnt\_\{n\}forn<in<i\)\. The Euler updates for the standard and cached trajectories are:

𝒙^tn\\displaystyle\\hat\{\\bm\{x\}\}\_\{t\_\{n\}\}=𝒙^tn\+1−htn\+1​𝒗θ​\(𝒙^tn\+1,tn\+1\),\\displaystyle=\\hat\{\\bm\{x\}\}\_\{t\_\{n\+1\}\}\-h\_\{t\_\{n\+1\}\}\\bm\{v\}\_\{\\theta\}\(\\hat\{\\bm\{x\}\}\_\{t\_\{n\+1\}\},t\_\{n\+1\}\),\(50\)𝒙^tnc\\displaystyle\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{n\}\}=𝒙^tn\+1c−htn\+1​𝒗θ​\(𝒙^tn\+1c,tn\+1\)\.\\displaystyle=\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{n\+1\}\}\-h\_\{t\_\{n\+1\}\}\\bm\{v\}\_\{\\theta\}\(\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{n\+1\}\},t\_\{n\+1\}\)\.\(51\)Subtracting these updates and applying the triangle inequality:

‖𝒙^tn−𝒙^tnc‖1\\displaystyle\\left\\\|\\hat\{\\bm\{x\}\}\_\{t\_\{n\}\}\-\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{n\}\}\\right\\\|\_\{1\}=‖𝒙^tn\+1−𝒙^tn\+1c−htn\+1​\(𝒗θ​\(𝒙^tn\+1,tn\+1\)−𝒗θ​\(𝒙^tn\+1c,tn\+1\)\)‖1\\displaystyle=\\left\\\|\\hat\{\\bm\{x\}\}\_\{t\_\{n\+1\}\}\-\\hat\{\\bm\{x\}\}\_\{t\_\{n\+1\}\}^\{c\}\-h\_\{t\_\{n\+1\}\}\\left\(\\bm\{v\}\_\{\\theta\}\(\\hat\{\\bm\{x\}\}\_\{t\_\{n\+1\}\},t\_\{n\+1\}\)\-\\bm\{v\}\_\{\\theta\}\(\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{n\+1\}\},t\_\{n\+1\}\)\\right\)\\right\\\|\_\{1\}≤‖𝒙^tn\+1−𝒙^tn\+1c‖1\+htn\+1​‖𝒗θ​\(𝒙^tn\+1,tn\+1\)−𝒗θ​\(𝒙^tn\+1c,tn\+1\)‖1\\displaystyle\\leq\\left\\\|\\hat\{\\bm\{x\}\}\_\{t\_\{n\+1\}\}\-\\hat\{\\bm\{x\}\}\_\{t\_\{n\+1\}\}^\{c\}\\right\\\|\_\{1\}\+h\_\{t\_\{n\+1\}\}\\left\\\|\\bm\{v\}\_\{\\theta\}\(\\hat\{\\bm\{x\}\}\_\{t\_\{n\+1\}\},t\_\{n\+1\}\)\-\\bm\{v\}\_\{\\theta\}\(\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{n\+1\}\},t\_\{n\+1\}\)\\right\\\|\_\{1\}≤\(1\+htn\+1​Ltn\+1\)​‖𝒙^tn\+1−𝒙^tn\+1c‖1,\\displaystyle\\leq\(1\+h\_\{t\_\{n\+1\}\}L\_\{t\_\{n\+1\}\}\)\\left\\\|\\hat\{\\bm\{x\}\}\_\{t\_\{n\+1\}\}\-\\hat\{\\bm\{x\}\}\_\{t\_\{n\+1\}\}^\{c\}\\right\\\|\_\{1\},\(52\)whereLtn\+1L\_\{t\_\{n\+1\}\}is the Lipschitz constant of𝒗θ\\bm\{v\}\_\{\\theta\}\. Applying this relation recursively fromt1t\_\{1\}back totit\_\{i\}yields:

‖𝒙^t1−𝒙^t1c‖1≤‖𝒙^ti−𝒙^tic‖1​∏n=1i−1\(1\+htn\+1​Ltn\+1\)\.\\left\\\|\\hat\{\\bm\{x\}\}\_\{t\_\{1\}\}\-\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{1\}\}\\right\\\|\_\{1\}\\leq\\left\\\|\\hat\{\\bm\{x\}\}\_\{t\_\{i\}\}\-\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{i\}\}\\right\\\|\_\{1\}\\prod\_\{n=1\}^\{i\-1\}\(1\+h\_\{t\_\{n\+1\}\}L\_\{t\_\{n\+1\}\}\)\.\(53\)Next, we bound the local error injected at steptit\_\{i\}\. At this step, both trajectories originate from the same state𝒙^ti\+1\\hat\{\\bm\{x\}\}\_\{t\_\{i\+1\}\}, but the cached trajectory uses the approximate velocity𝒗θc\\bm\{v\}^\{c\}\_\{\\theta\}\. The updates are:

𝒙^ti\\displaystyle\\hat\{\\bm\{x\}\}\_\{t\_\{i\}\}=𝒙^ti\+1−hti\+1​𝒗θ​\(𝒙^ti\+1,ti\+1\),\\displaystyle=\\hat\{\\bm\{x\}\}\_\{t\_\{i\+1\}\}\-h\_\{t\_\{i\+1\}\}\\bm\{v\}\_\{\\theta\}\(\\hat\{\\bm\{x\}\}\_\{t\_\{i\+1\}\},t\_\{i\+1\}\),\(54\)𝒙^tic\\displaystyle\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{i\}\}=𝒙^ti\+1−hti\+1​𝒗θc​\(𝒙^ti\+1,ti\+1\)\.\\displaystyle=\\hat\{\\bm\{x\}\}\_\{t\_\{i\+1\}\}\-h\_\{t\_\{i\+1\}\}\\bm\{v\}^\{c\}\_\{\\theta\}\(\\hat\{\\bm\{x\}\}\_\{t\_\{i\+1\}\},t\_\{i\+1\}\)\.\(55\)The norm of the difference is thus:

‖𝒙^ti−𝒙^tic‖1=hti\+1​‖𝒗θ​\(𝒙^ti\+1,ti\+1\)−𝒗θc​\(𝒙^ti\+1,ti\+1\)‖1\.\\left\\\|\\hat\{\\bm\{x\}\}\_\{t\_\{i\}\}\-\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{i\}\}\\right\\\|\_\{1\}=h\_\{t\_\{i\+1\}\}\\left\\\|\\bm\{v\}\_\{\\theta\}\(\\hat\{\\bm\{x\}\}\_\{t\_\{i\+1\}\},t\_\{i\+1\}\)\-\\bm\{v\}^\{c\}\_\{\\theta\}\(\\hat\{\\bm\{x\}\}\_\{t\_\{i\+1\}\},t\_\{i\+1\}\)\\right\\\|\_\{1\}\.\(56\)Using the model architecture𝒗θ​\(𝒙,t\)=fout​\(𝒉\+𝜹\)\\bm\{v\}\_\{\\theta\}\(\\bm\{x\},t\)=f\_\{\\text\{out\}\}\(\\bm\{h\}\+\\bm\{\\delta\}\)and the Lipschitz continuity of the output layerfoutf\_\{\\text\{out\}\}, we have:

‖fout​\(𝒉ti\+1\+𝜹ti\+1\)−fout​\(𝒉ti\+1\+𝜹ti\+1c\)‖1≤Lout​‖ϵti\+1c‖1\.\\left\\\|f\_\{\\text\{out\}\}\(\\bm\{h\}\_\{t\_\{i\+1\}\}\+\\bm\{\\delta\}\_\{t\_\{i\+1\}\}\)\-f\_\{\\text\{out\}\}\(\\bm\{h\}\_\{t\_\{i\+1\}\}\+\\bm\{\\delta\}^\{c\}\_\{t\_\{i\+1\}\}\)\\right\\\|\_\{1\}\\leq L\_\{\\text\{out\}\}\\left\\\|\\bm\{\\epsilon\}^\{c\}\_\{t\_\{i\+1\}\}\\right\\\|\_\{1\}\.\(57\)Substituting this into the local error bound yields:

‖𝒙^ti−𝒙^tic‖1≤hti\+1​Lout​‖ϵti\+1c‖1\.\\left\\\|\\hat\{\\bm\{x\}\}\_\{t\_\{i\}\}\-\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{i\}\}\\right\\\|\_\{1\}\\leq h\_\{t\_\{i\+1\}\}L\_\{\\text\{out\}\}\\left\\\|\\bm\{\\epsilon\}^\{c\}\_\{t\_\{i\+1\}\}\\right\\\|\_\{1\}\.\(58\)Combining the propagation and local error bounds, and applying1\+a≤ea1\+a\\leq e^\{a\}:

‖𝒙^t1−𝒙^t1c‖1\\displaystyle\\left\\\|\\hat\{\\bm\{x\}\}\_\{t\_\{1\}\}\-\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{1\}\}\\right\\\|\_\{1\}≤hti\+1​Lout​‖ϵti\+1c‖1​∏n=1i−1exp⁡\(htn\+1​Ltn\+1\)\\displaystyle\\leq h\_\{t\_\{i\+1\}\}L\_\{\\text\{out\}\}\\left\\\|\\bm\{\\epsilon\}^\{c\}\_\{t\_\{i\+1\}\}\\right\\\|\_\{1\}\\prod\_\{n=1\}^\{i\-1\}\\exp\(h\_\{t\_\{n\+1\}\}L\_\{t\_\{n\+1\}\}\)=‖ϵti\+1c‖1​exp⁡\(ln⁡\(hti\+1​Lout\)\+∑n=1i−1htn\+1​Ltn\+1\)\.\\displaystyle=\\left\\\|\\bm\{\\epsilon\}^\{c\}\_\{t\_\{i\+1\}\}\\right\\\|\_\{1\}\\exp\\left\(\\ln\(h\_\{t\_\{i\+1\}\}L\_\{\\text\{out\}\}\)\+\\sum\_\{n=1\}^\{i\-1\}h\_\{t\_\{n\+1\}\}L\_\{t\_\{n\+1\}\}\\right\)\.\(59\)This completes the proof\. ∎

### B\.3Proof for[Theorem3\.4](https://arxiv.org/html/2608.13043#S3.Thmtheorem4)

###### Theorem[3\.4](https://arxiv.org/html/2608.13043#S3.Thmtheorem4)\(Error Propagation Bound under Multi\-Step Cache Reuse\)\.

Under Assumption[3\.1](https://arxiv.org/html/2608.13043#S3.Thmtheorem1), let𝐱^t\\hat\{\\bm\{x\}\}\_\{t\}be the state generated by the Euler solver using the learned velocity𝐯θ\\bm\{v\}\_\{\\theta\}, and let𝐱^tc\\hat\{\\bm\{x\}\}\_\{t\}^\{c\}be the state incorporating multiple cache reuse events at every steptn\+1→tnt\_\{n\+1\}\\to t\_\{n\}forn∈\{N−1,…,1\}n\\in\\\{N\-1,\\dots,1\\\}\. Suppose each reuse of a cached residual introduces a local errorϵtn\+1c=𝛅tn\+1−𝛅tn\+1c\\bm\{\\epsilon\}\_\{t\_\{n\+1\}\}^\{c\}=\\bm\{\\delta\}\_\{t\_\{n\+1\}\}\-\\bm\{\\delta\}^\{c\}\_\{t\_\{n\+1\}\}\. Given a sequence of timestepstN,tN−1,…,t1t\_\{N\},t\_\{N\-1\},\\dots,t\_\{1\}with step sizeshtn\+1=tn\+1−tnh\_\{t\_\{n\+1\}\}=t\_\{n\+1\}\-t\_\{n\}, the cumulative error at the final timestept1t\_\{1\}is bounded by:

‖𝒙^t1−𝒙^t1c‖1≤∑n=1N−1‖ϵtn\+1c‖1​ewtn\+1\.\\left\\\|\\hat\{\\bm\{x\}\}\_\{t\_\{1\}\}\-\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{1\}\}\\right\\\|\_\{1\}\\leq\\sum\_\{n=1\}^\{N\-1\}\\left\\\|\\bm\{\\epsilon\}^\{c\}\_\{t\_\{n\+1\}\}\\right\\\|\_\{1\}e^\{w\_\{t\_\{n\+1\}\}\}\.\(60\)where the propagation exponentwtn\+1w\_\{t\_\{n\+1\}\}is defined as:

wtn\+1=ln⁡\(htn\+1​Lout\)\+∑m=1n−1htm\+1​Ltm\+1\.w\_\{t\_\{n\+1\}\}=\\ln\\left\(h\_\{t\_\{n\+1\}\}L\_\{\\text\{out\}\}\\right\)\+\\sum\_\{m=1\}^\{n\-1\}h\_\{t\_\{m\+1\}\}L\_\{t\_\{m\+1\}\}\.\(61\)

###### Proof\.

We begin by analyzing the error transition for a single steptn\+1→tnt\_\{n\+1\}\\to t\_\{n\}\. The standard Euler update and the cached Euler update are given by:

𝒙^tn\\displaystyle\\hat\{\\bm\{x\}\}\_\{t\_\{n\}\}=𝒙^tn\+1−htn\+1​𝒗θ​\(𝒙^tn\+1,tn\+1\),\\displaystyle=\\hat\{\\bm\{x\}\}\_\{t\_\{n\+1\}\}\-h\_\{t\_\{n\+1\}\}\\bm\{v\}\_\{\\theta\}\(\\hat\{\\bm\{x\}\}\_\{t\_\{n\+1\}\},t\_\{n\+1\}\),\(62\)𝒙^tnc\\displaystyle\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{n\}\}=𝒙^tn\+1c−htn\+1​𝒗θc​\(𝒙^tn\+1c,tn\+1\)\.\\displaystyle=\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{n\+1\}\}\-h\_\{t\_\{n\+1\}\}\\bm\{v\}^\{c\}\_\{\\theta\}\(\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{n\+1\}\},t\_\{n\+1\}\)\.\(63\)Subtracting these updates, we have:

𝒙^tn−𝒙^tnc=𝒙^tn\+1−𝒙^tn\+1c−htn\+1​\(𝒗θ​\(𝒙^tn\+1,tn\+1\)−𝒗θc​\(𝒙^tn\+1c,tn\+1\)\)\.\\hat\{\\bm\{x\}\}\_\{t\_\{n\}\}\-\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{n\}\}=\\hat\{\\bm\{x\}\}\_\{t\_\{n\+1\}\}\-\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{n\+1\}\}\-h\_\{t\_\{n\+1\}\}\\left\(\\bm\{v\}\_\{\\theta\}\(\\hat\{\\bm\{x\}\}\_\{t\_\{n\+1\}\},t\_\{n\+1\}\)\-\\bm\{v\}^\{c\}\_\{\\theta\}\(\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{n\+1\}\},t\_\{n\+1\}\)\\right\)\.\(64\)We decompose the velocity difference into two components to isolate the cache reuse error:

𝒗θ​\(𝒙^tn\+1,tn\+1\)−𝒗θc​\(𝒙^tn\+1c,tn\+1\)\\displaystyle\\bm\{v\}\_\{\\theta\}\(\\hat\{\\bm\{x\}\}\_\{t\_\{n\+1\}\},t\_\{n\+1\}\)\-\\bm\{v\}^\{c\}\_\{\\theta\}\(\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{n\+1\}\},t\_\{n\+1\}\)=𝒗θ​\(𝒙^tn\+1,tn\+1\)−𝒗θ​\(𝒙^tn\+1c,tn\+1\)⏟Propagated Error\\displaystyle=\\underbrace\{\\bm\{v\}\_\{\\theta\}\(\\hat\{\\bm\{x\}\}\_\{t\_\{n\+1\}\},t\_\{n\+1\}\)\-\\bm\{v\}\_\{\\theta\}\(\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{n\+1\}\},t\_\{n\+1\}\)\}\_\{\\text\{Propagated Error\}\}\+𝒗θ​\(𝒙^tn\+1c,tn\+1\)−𝒗θc​\(𝒙^tn\+1c,tn\+1\)⏟Cache Reuse Error\.\\displaystyle\\quad\\ \+\\underbrace\{\\bm\{v\}\_\{\\theta\}\(\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{n\+1\}\},t\_\{n\+1\}\)\-\\bm\{v\}^\{c\}\_\{\\theta\}\(\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{n\+1\}\},t\_\{n\+1\}\)\}\_\{\\text\{Cache Reuse Error\}\}\.\(65\)Applying the Lipschitz constantLtn\+1L\_\{t\_\{n\+1\}\}for the velocity𝒗θ\\bm\{v\}\_\{\\theta\}andLoutL\_\{\\text\{out\}\}for the output layerfoutf\_\{\\text\{out\}\}with the triangle inequality, we obtain the recurrence relation:

‖𝒙^tn−𝒙^tnc‖1\\displaystyle\\left\\\|\\hat\{\\bm\{x\}\}\_\{t\_\{n\}\}\-\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{n\}\}\\right\\\|\_\{1\}≤‖𝒙^tn\+1−𝒙^tn\+1c‖1\\displaystyle\\leq\\left\\\|\\hat\{\\bm\{x\}\}\_\{t\_\{n\+1\}\}\-\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{n\+1\}\}\\right\\\|\_\{1\}\+htn\+1​‖𝒗θ​\(𝒙^tn\+1,tn\+1\)−𝒗θ​\(𝒙^tn\+1c,tn\+1\)‖1\\displaystyle\\quad\+h\_\{t\_\{n\+1\}\}\\left\\\|\\bm\{v\}\_\{\\theta\}\(\\hat\{\\bm\{x\}\}\_\{t\_\{n\+1\}\},t\_\{n\+1\}\)\-\\bm\{v\}\_\{\\theta\}\(\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{n\+1\}\},t\_\{n\+1\}\)\\right\\\|\_\{1\}\+htn\+1​‖𝒗θ​\(𝒙^tn\+1c,tn\+1\)−𝒗θc​\(𝒙^tn\+1c,tn\+1\)‖1\\displaystyle\\quad\+h\_\{t\_\{n\+1\}\}\\left\\\|\\bm\{v\}\_\{\\theta\}\(\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{n\+1\}\},t\_\{n\+1\}\)\-\\bm\{v\}^\{c\}\_\{\\theta\}\(\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{n\+1\}\},t\_\{n\+1\}\)\\right\\\|\_\{1\}\(66\)≤\(1\+htn\+1​Ltn\+1\)​‖𝒙^tn\+1−𝒙^tn\+1c‖1\+htn\+1​Lout​‖ϵtn\+1c‖1\.\\displaystyle\\leq\\left\(1\+h\_\{t\_\{n\+1\}\}L\_\{t\_\{n\+1\}\}\\right\)\\left\\\|\\hat\{\\bm\{x\}\}\_\{t\_\{n\+1\}\}\-\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{n\+1\}\}\\right\\\|\_\{1\}\+h\_\{t\_\{n\+1\}\}L\_\{\\text\{out\}\}\\left\\\|\\bm\{\\epsilon\}^\{c\}\_\{t\_\{n\+1\}\}\\right\\\|\_\{1\}\.\(67\)Applying this relation recursively fromt1t\_\{1\}back totNt\_\{N\}yields:

‖𝒙^t1−𝒙^t1c‖1\\displaystyle\\left\\\|\\hat\{\\bm\{x\}\}\_\{t\_\{1\}\}\-\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{1\}\}\\right\\\|\_\{1\}≤‖𝒙^tN−𝒙^tNc‖1​∏n=1N−1\(1\+htn\+1​Ltn\+1\)\\displaystyle\\leq\\left\\\|\\hat\{\\bm\{x\}\}\_\{t\_\{N\}\}\-\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{N\}\}\\right\\\|\_\{1\}\\prod\_\{n=1\}^\{N\-1\}\\left\(1\+h\_\{t\_\{n\+1\}\}L\_\{t\_\{n\+1\}\}\\right\)\+∑n=1N−1htn\+1Lout‖ϵtn\+1c‖1∏m=1n−1\(1\+htm\+1Ltm\+1\)\.\\displaystyle\\quad\\ \+\\sum\_\{n=1\}^\{N\-1\}h\_\{t\_\{n\+1\}\}L\_\{\\text\{out\}\}\\left\\\|\\bm\{\\epsilon\}^\{c\}\_\{t\_\{n\+1\}\}\\right\\\|\_\{1\}\\prod\_\{m=1\}^\{n\-1\}\\left\(1\+h\_\{t\_\{m\+1\}\}L\_\{t\_\{m\+1\}\}\\right\)\.\(68\)Since both trajectories start from the same initial noise, we have𝒙^tN=𝒙^tNc\\hat\{\\bm\{x\}\}\_\{t\_\{N\}\}=\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{N\}\}and the first term vanishes,

‖𝒙^t1−𝒙^t1c‖1≤∑n=1N−1htn\+1​Lout​‖ϵtn\+1c‖1​∏m=1n−1\(1\+htm\+1​Ltm\+1\)\.\\left\\\|\\hat\{\\bm\{x\}\}\_\{t\_\{1\}\}\-\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{1\}\}\\right\\\|\_\{1\}\\leq\\sum\_\{n=1\}^\{N\-1\}h\_\{t\_\{n\+1\}\}L\_\{\\text\{out\}\}\\left\\\|\\bm\{\\epsilon\}^\{c\}\_\{t\_\{n\+1\}\}\\right\\\|\_\{1\}\\prod\_\{m=1\}^\{n\-1\}\\left\(1\+h\_\{t\_\{m\+1\}\}L\_\{t\_\{m\+1\}\}\\right\)\.\(69\)Finally, using the inequality1\+a≤ea1\+a\\leq e^\{a\},

‖𝒙^t1−𝒙^t1c‖1≤∑n=1N−1‖ϵtn\+1c‖1​exp⁡\(ln⁡\(htn\+1​Lout\)\+∑m=1n−1htm\+1​Ltm\+1\)\.\\left\\\|\\hat\{\\bm\{x\}\}\_\{t\_\{1\}\}\-\\hat\{\\bm\{x\}\}^\{c\}\_\{t\_\{1\}\}\\right\\\|\_\{1\}\\leq\\sum\_\{n=1\}^\{N\-1\}\\left\\\|\\bm\{\\epsilon\}^\{c\}\_\{t\_\{n\+1\}\}\\right\\\|\_\{1\}\\exp\\left\(\\ln\\left\(h\_\{t\_\{n\+1\}\}L\_\{\\text\{out\}\}\\right\)\+\\sum\_\{m=1\}^\{n\-1\}h\_\{t\_\{m\+1\}\}L\_\{t\_\{m\+1\}\}\\right\)\.\(70\)This completes the proof\. ∎

## Appendix CRelated Work

### C\.1Diffusion Models

In recent years, diffusion models\[[9](https://arxiv.org/html/2608.13043#bib.bib17),[27](https://arxiv.org/html/2608.13043#bib.bib16),[6](https://arxiv.org/html/2608.13043#bib.bib19),[13](https://arxiv.org/html/2608.13043#bib.bib15)\]have emerged as a dominant paradigm in generative modeling, demonstrating remarkable performance across a wide range of visual generation tasks, including image\[[22](https://arxiv.org/html/2608.13043#bib.bib20),[24](https://arxiv.org/html/2608.13043#bib.bib24)\], video\[[1](https://arxiv.org/html/2608.13043#bib.bib21),[3](https://arxiv.org/html/2608.13043#bib.bib23)\], and multimodal synthesis\[[19](https://arxiv.org/html/2608.13043#bib.bib34)\]\. Early diffusion models were primarily built upon lightweight U\-Net architectures\[[23](https://arxiv.org/html/2608.13043#bib.bib22)\], which enabled stable training and strong generative fidelity through iterative denoising\. Subsequent advances have significantly expanded model capacity by introducing transformer\-based backbones, most notably Diffusion Transformers \(DiTs\)\[[20](https://arxiv.org/html/2608.13043#bib.bib25)\], which facilitate better scalability and have driven substantial progress in high\-resolution and long\-horizon generation, especially for video synthesis\. Despite their strong generative capabilities, diffusion models remain computationally expensive at inference time\. The sequential denoising process, combined with increasingly large backbones and longer generation horizons, results in slow sampling speed and high computational cost\[[5](https://arxiv.org/html/2608.13043#bib.bib4)\]\. These limitations pose significant challenges for practical deployment in real\-world scenarios, motivating extensive research on accelerating diffusion model inference\.

### C\.2Diffusion Model Acceleration

A large body of work has investigated accelerating diffusion model inference from different perspectives\. A representative line of research focuses on improving the sampling solvers, aiming to reduce the number of denoising steps without modifying the underlying model\. Classic approaches, such as DDIM\[[26](https://arxiv.org/html/2608.13043#bib.bib35)\], DPM\-Solver\[[16](https://arxiv.org/html/2608.13043#bib.bib30)\], UniPC\[[35](https://arxiv.org/html/2608.13043#bib.bib31)\], etc\., have demonstrated that carefully designed numerical solvers can significantly accelerate sampling\. As a result, modern high\-fidelity image and video generation models \(e\.g\., Wan\[[30](https://arxiv.org/html/2608.13043#bib.bib6)\], OpenSora\[[37](https://arxiv.org/html/2608.13043#bib.bib5)\], Flux\-dev 1\.0\[[11](https://arxiv.org/html/2608.13043#bib.bib7)\]\) already adopt these advanced general\-purpose solvers in practice\. Nevertheless, despite such solver\-level optimizations, tens of denoising steps are still required for high\-quality generation, leading to substantial inference cost\. Another direction explores distillation\-based acceleration, where a compact student model is trained to mimic a large teacher diffusion model using fewer steps\. While such methods can achieve impressive speedups, they typically require expensive retraining and large\-scale supervision\. This limitation becomes particularly pronounced for video diffusion models, where both training and distillation incur prohibitive computational overhead\[[31](https://arxiv.org/html/2608.13043#bib.bib28)\]\. Model\-level optimization constitutes another important category, including quantization and pruning\. Quantization methods such as PTQD\[[8](https://arxiv.org/html/2608.13043#bib.bib26)\]reduce numerical precision to lower computation and memory cost, while pruning\-based approaches like LD\-Pruner\[[2](https://arxiv.org/html/2608.13043#bib.bib27)\]remove redundant structures from diffusion models\. Although effective, these techniques often involve nontrivial engineering effort, additional calibration, or task\-specific retraining, and their performance can be sensitive to model architecture and deployment settings\. More recently,*cache\-based acceleration*has emerged as a promising and complementary direction\[[5](https://arxiv.org/html/2608.13043#bib.bib4),[14](https://arxiv.org/html/2608.13043#bib.bib3),[21](https://arxiv.org/html/2608.13043#bib.bib2)\]\. These methods exploit temporal redundancy in the reverse diffusion process by reusing intermediate representations or residuals across adjacent timesteps, without modifying the solver or retraining the backbone model\. As such, cache\-based techniques are largely orthogonal to solver design and can be seamlessly applied on top of existing solver\-based samplers \(e\.g\., DDIM/UniPC\), enabling further acceleration in a plug\-and\-play manner\. By reusing computation from previous denoising steps, cache\-based approaches can substantially reduce inference cost while preserving generation quality, which is particularly attractive for large\-scale and high\-fidelity image and video diffusion models\.

## Appendix DExperimental Details

### D\.1Evaluation Prompts

For video generation, we follow prior work\[[14](https://arxiv.org/html/2608.13043#bib.bib3),[21](https://arxiv.org/html/2608.13043#bib.bib2)\]and evaluate all methods using the official 946 prompts provided by VBench\[[10](https://arxiv.org/html/2608.13043#bib.bib11)\]\. These prompts cover a diverse set of content categories and motion patterns, and are designed to comprehensively assess video generation quality across multiple dimensions\.

For image generation, we adopt the official COCO validation set\[[12](https://arxiv.org/html/2608.13043#bib.bib33)\]and use the first 30K text prompts as commonly done in recent diffusion acceleration studies\[[14](https://arxiv.org/html/2608.13043#bib.bib3),[21](https://arxiv.org/html/2608.13043#bib.bib2)\]\. The prompt list is publicly available and released on Hugging Face to facilitate reproducibility\. All compared methods are evaluated on the same prompt sets to ensure a fair comparison\.

### D\.2Evaluation Metrics

We employ three evaluation metrics to assess generation quality and fidelity\.

- •VBench\[[10](https://arxiv.org/html/2608.13043#bib.bib11)\]serves as a holistic benchmarking framework for video generative models\. It utilizes a hierarchical Evaluation Dimension Suite to disentangle the multifaceted nature of “video quality” into distinct, well\-defined metrics, thereby enabling a granular and objective assessment of generative performance\.
- •LPIPS\[[34](https://arxiv.org/html/2608.13043#bib.bib12)\]quantifies perceptual similarity using deep feature representations, capturing subtle texture\-level and semantic deviations\.
- •PSNRandSSIMmeasure pixel\-level and structure\-level fidelity, respectively, between outputs produced by the accelerated sampler and those generated by the corresponding base model\.

### D\.3Training Details

In this section, we provide the technical details for the bilevel optimization process of GCache\. The optimization is designed to be efficient while ensuring the generalizability of the learned propagation exponent\.

Dataset and Sampling Strategy\. We utilize a training set consisting of 512 prompts randomly sampled from the corresponding dataset\. To ensure the robustness of the learned policy and avoid overfitting, we strictly ensure that the random seeds used during training are distinct from those used in the evaluation and testing phases\. During each iteration of the outer optimization, we evaluate the current caching policy using a batch size of 32 prompts to obtain a stable estimate of the perceptual loss \(LPIPS and SSIM\)\.

Bayesian Optimization Configuration\. We employ a Gaussian Process \(GP\) as the surrogate model for the outer objective\. The optimization parameters and strategies are configured as follows:

- •Search Space: The learnable coefficients𝒔\\bm\{s\}for the Bernstein polynomial are bounded within the range\[𝒔min,𝒔max\]=\[0,10\]\[\\bm\{s\}\_\{\\text\{min\}\},\\bm\{s\}\_\{\\text\{max\}\}\]=\[0,10\]\. For our experiments, we set the polynomial degreed=3d=3, resulting in a 4\-dimensional parameter space \(d\+1=4d\+1=4\)\.
- •Structured Initialization: Rather than random sampling, we initialize the GP surrogate using 16 deterministic points to ensure comprehensive coverage of the search space\. Specifically, we define two representative centers\{0\.25,0\.75\}\\\{0\.25,0\.75\\\}in the normalized parameter space for each dimension and generate the initial set via a Cartesian product across all 4 dimensions \(24=162^\{4\}=16\)\. These normalized coordinates are then linearly mapped to the actual range\[0,10\]\[0,10\]\. This symmetric grid initialization ensures that the GP begins with a well\-distributed understanding of the objective landscape across different quadrants\.
- •Optimization Steps: The total optimization budget is set to 500 steps\.
- •Exploration\-Exploitation Trade\-off: We utilize the Lower Confidence Bound \(LCB\) acquisition function:ALCB​\(𝐬\)=μ⁡\(𝐬\)−κ​σ​\(𝐬\)A\_\{\\text\{LCB\}\}\(\\mathbf\{s\}\)=\\mu\(\\mathbf\{s\}\)\-\\kappa\\sigma\(\\mathbf\{s\}\)\. The exploration parameterκ\\kappais scheduled to decay linearly from 2\.576 to 1\.0 over the course of training\. This encourages the optimizer to prioritize global exploration in early iterations and transition towards local exploitation of identified high\-quality regions in the later stages\.

Efficient Error Pre\-calculation\. To minimize the computational overhead during the bilevel optimization, we implement an efficient evaluation strategy for the inner objective\. Specifically, we pre\-calculate the local approximation errorsϵi\+1c\\bm\{\\epsilon\}^\{c\}\_\{i\+1\}across 128 representative samples before the start of the optimization\. Since the inner objective \(the Dynamic Programming solver\) only requires the magnitude of these local errors to calculate the total propagated error∑‖ϵ‖1​ew⁡\(t,𝒔\)\\sum\\\|\\epsilon\\\|\_\{1\}e^\{w\(t;\\bm\{s\}\)\}, pre\-storing these values allows the optimization process to bypass redundant model evaluations\. During each step of the bilevel search, we simply scale the stored error values by the updated propagation exponentew⁡\(t,𝒔\)e^\{w\(t;\\bm\{s\}\)\}\. This decoupling of error measurement from policy search significantly accelerates the optimization, reducing the search time from hours to minutes on a single GPU\. Furthermore, to verify the fidelity of these pre\-computed proxies, we evaluate the alignment between errors from the original and cache\-reused trajectories in Appendix[E\.4](https://arxiv.org/html/2608.13043#A5.SS4)\. The results justify the use of pre\-computed errors as a reliable and high\-fidelity proxy for policy optimization\.

### D\.4Optimization Efficiency

Table 5:We report the budgetKKand the wall\-clock time required\. All policies were optimized in less than 24 hours, demonstrating the high efficiency of GCache\.ModelGPU ConfigBudget \(KK\)Time Cost\(hours\)OpenSora 1\.24×\\timesH10018171112\.5CogVideoX\-2B4×\\timesH100317175Wan2\.1\-1\.3B8×\\timesH1002417\.51613\.5Flux\-dev 1\.04×\\timesH100146105[Table5](https://arxiv.org/html/2608.13043#A4.T5)reports the optimization time and associated budgets for GCache across different architectures\. Experiments were performed using 4×\\timesH100 GPUs for most models, with 8×\\timesH100 GPUs reserved for Wan2\.1\-1\.3B\. Crucially, GCache demonstrates remarkable efficiency: even for the most computationally demanding backbones, the optimization is finalized in less than a day\. This minimal overhead makes our approach highly scalable and suitable for the rapid deployment of new diffusion backbones\.

### D\.5Experimental Details for Main Paper Visualizations

In this section, we provide the specific experimental configurations used to generate the visualizations in the main manuscript:

- •[Figure1](https://arxiv.org/html/2608.13043#S1.F1):Results are evaluated using the Flux\-dev 1\.0\[[11](https://arxiv.org/html/2608.13043#bib.bib7)\]backbone\. Metrics are averaged over 32 randomly sampled prompts from the COCO\[[12](https://arxiv.org/html/2608.13043#bib.bib33)\]validation set\.
- •[Figure2](https://arxiv.org/html/2608.13043#S3.F2):The error propagation analyses are derived from CogVideoX\-2B\[[32](https://arxiv.org/html/2608.13043#bib.bib1)\], with results averaged across 32 representative prompts from the VBench\[[10](https://arxiv.org/html/2608.13043#bib.bib11)\]suite\.
- •[Figure3](https://arxiv.org/html/2608.13043#S3.F3):The policy comparison study is conducted on Flux\-dev 1\.0\[[11](https://arxiv.org/html/2608.13043#bib.bib7)\], utilizing 32 random prompts from the COCO\[[12](https://arxiv.org/html/2608.13043#bib.bib33)\]validation set for statistical consistency\.

## Appendix EAdditional Experiment Results

### E\.1Robustness to Prompt Distribution Shifts

To evaluate the generalization capability of GCache under distribution shifts, we investigate whether a policy optimized on a specific prompt characteristic \(e\.g\., static scenes\) can generalize to others \(e\.g\., highly dynamic videos\)\. Using VBench\[[10](https://arxiv.org/html/2608.13043#bib.bib11)\]as a base, we curate two distinct subsets:

- •Static Prompts:Scenes with minimal temporal evolution, identified by keywords such as “in a still frame”, “a tranquil tableau”, “frozen in time”, “static view\.”
- •Dynamic Prompts:Motion\-intensive sequences sampled from VBench’s motion\-related dimensions, includinghuman action,dynamic degree,motion smoothness, andsubject consistency\.

We optimize GCache on three training distributions: Static, Dynamic, and a Mixed \(Random\) set, and evaluate their cross\-distribution performance\. All of the experiments are conducted on CogVideoX\-2B withK=17K=17\.

Table 6:Cross\-distribution generalization analysis\. We evaluate GCache policies optimized on different prompt subsets \(Static vs\. Dynamic\)\. The negligible performance gap across training distributions demonstrates the robust generalization of our learned policy\.Test SetTrain SourceLPIPS↓\\downarrowSSIM↑\\uparrowPSNR↑\\uparrowStaticMixed0\.05940\.912230\.25Static0\.05950\.911830\.26Dynamic0\.06110\.910930\.26DynamicMixed0\.09050\.898228\.04Static0\.09050\.898128\.06Dynamic0\.09210\.897527\.90As shown in[Table6](https://arxiv.org/html/2608.13043#A5.T6), the performance variance across different training sources is remarkably marginal\. For instance, a policy trained on static prompts performs almost identically to one trained on dynamic prompts when tested on dynamic sequences \(0\.0905 vs\. 0\.0921 LPIPS\)\. This high degree of stability suggests that GCache captures fundamental structural redundancies within the diffusion process that are invariant to specific prompt semantics or motion levels, ensuring its robustness for diverse real\-world applications\.

### E\.2Generalization Across Resolutions

To assess the spatial scalability of GCache, we evaluate the transferability of a policy optimized at a fixed resolution to unseen spatial scales\. Specifically, we apply the GCache\-fast policy, originally optimized for1024×10241024\\times 1024resolution on Flux\-dev 1\.0\[[11](https://arxiv.org/html/2608.13043#bib.bib7)\], directly to512×512512\\times 512and256×256256\\times 256settings without any further re\-tuning or adaptation\.

Table 7:Zero\-shot generalization across resolutions\. We evaluate the GCache\-fast policy \(optimized at1024×10241024\\times 1024\) on lower resolutions \(512512and256256\) without re\-tuning\. GCache\-fast consistently outperforms ERTACache across all scales, demonstrating its robustness to spatial resolution shifts\.ResolutionMethodLPIPS↓\\downarrowSSIM↑\\uparrowPSNR↑\\uparrow1024ERTACache0\.26580\.786320\.60GCache\-fast0\.18250\.842323\.76512ERTACache0\.23590\.758019\.97GCache\-fast0\.15140\.834423\.47256ERTACache0\.20470\.720919\.70GCache\-fast0\.15580\.774621\.74As shown in[Table7](https://arxiv.org/html/2608.13043#A5.T7), GCache\-fast consistently outperforms the baseline ERTACache\[[21](https://arxiv.org/html/2608.13043#bib.bib2)\]by a significant margin across all tested resolutions\. Notably, the performance gain remains robust even when the resolution is quadrupled \(256→1024256\\to 1024\), underscoring that GCache captures resolution\-agnostic redundancy patterns within the diffusion backbone\. This zero\-shot transfer capability is highly desirable for practical deployment, as it eliminates the need for resolution\-specific optimization\.

### E\.3Effectiveness of the Learned Policy

A key question is whether GCache’s performance gains stem from a superior reuse policy or simply from different computational budgets\. Some existing methods, such as ERTACache\[[21](https://arxiv.org/html/2608.13043#bib.bib2)\], employ an auxiliary light\-weight model to rectify the errors introduced by cache reuse\. To ensure a fair comparison and isolate the impact of the policy itself, we evaluate GCache against two variants of ERTACache under identical budgetKK: \(1\) ERTACache, the full version with its Time Adjustment and Error Rectification modules; and \(2\) ERTACache\*, a stripped\-down version that excludes these additional modules, relying solely on its default reuse policy\.

Table 8:Policy comparison under identical budgetKK\. We compare GCache with ERTACache and its variant ERTACache\* \(without the error rectification module\)\. GCache consistently achieves superior performance without requiring any auxiliary corrector models\.ModelKMethodLPIPS↓\\downarrowSSIM↑\\uparrowPSNR↑\\uparrowOpenSora 1\.212ERTACache\*0\.21980\.764820\.24ERTACache0\.16590\.817022\.34GCache0\.11880\.856925\.73CogVideoX\-2B17ERTACache\*0\.10900\.868726\.54ERTACache0\.10120\.870226\.44GCache0\.07210\.904229\.14As summarized in[Table8](https://arxiv.org/html/2608.13043#A5.T8), GCache consistently outperforms both variants by a significant margin across multiple backbones\. Notably, GCache achieves substantially better LPIPS and PSNR than the full ERTACache, despite not using any extra corrector models\. For instance, on OpenSora 1\.2, GCache improves PSNR from 22\.34 to 25\.73\. These results demonstrate that GCache’s optimization\-based approach discovers a much more effective reuse trajectory, proving that a well\-optimized policy can be more powerful than a sub\-optimal policy supplemented by error correction\.

### E\.4Validation of the Pre\-computed Local Error Proxy

As discussed in[SectionD\.3](https://arxiv.org/html/2608.13043#A4.SS3), to circumvent the prohibitive computational overhead of generating online trajectories during optimization, GCache utilizes a pre\-computed error matrixEi,j=‖𝜹ti−𝜹tj‖1E\_\{i,j\}=\\\|\\bm\{\\delta\}\_\{t\_\{i\}\}\-\\bm\{\\delta\}\_\{t\_\{j\}\}\\\|\_\{1\}derived from the original \(full\-step\) diffusion trajectory\. However, a potential concern is trajectory drift: as cache reuse is introduced, the intermediate latent states may deviate from the original path, potentially rendering the pre\-computed errors inaccurate\.

To investigate the fidelity of this approximation, we conduct an empirical study on CogVideoX\-2B \(K=17K=17\)\. We compare the local residual error, defined as‖𝜹c−𝜹ti‖1\\\|\\bm\{\\delta\}^\{c\}\-\\bm\{\\delta\}\_\{t\_\{i\}\}\\\|\_\{1\}, where𝜹ti\\bm\{\\delta\}\_\{t\_\{i\}\}is the ground\-truth residual at timesteptit\_\{i\}\. We calculate this error under two settings: \(1\) the Original Trajectory, where𝜹c\\bm\{\\delta\}^\{c\}is sampled from the full\-step inference; and \(2\) the Cache\-reused Trajectory, where𝜹c\\bm\{\\delta\}^\{c\}is sampled from an actual inference process governed by our learned GCache policy\.

Figure 6:Validation of the pre\-computed error proxy\. We compare the L1 residual error‖𝜹c−𝜹ti‖1\\\|\\bm\{\\delta\}^\{c\}\-\\bm\{\\delta\}\_\{t\_\{i\}\}\\\|\_\{1\}during the denoising process on CogVideoX\-2B \(K=17K=17\)\. The Pre\-compute \(red\) curve denotes the error calculated from the original trajectory, while the Cache \(blue\) curve represents the actual error in a trajectory with GCache reuse\. The “sawtooth” peaks correspond to theKKcache refresh points\. The high degree of overlap between the two curves justifies the use of pre\-computed errorEEas a high\-fidelity and efficient proxy for optimization\.The results are visualized in[Figure6](https://arxiv.org/html/2608.13043#A5.F6)\. As shown, the error profiles of the two trajectories are remarkably aligned across the entire denoising process\. The “sawtooth” pattern reflects the periodic refreshing of the cache, where the error peaks just before a cache update and drops to zero immediately after\. Crucially, the mean and variance of the errors in the cache\-reused trajectory \(blue\) closely track those of the pre\-computed proxy \(red\), even in the late stages of denoising where drift is typically most pronounced\. This high degree of alignment justifies the use of pre\-computed errors as a reliable and efficient proxy for optimization, as it accurately reflects the error dynamics of the actual inference process\.

## Appendix FAdditional Qualitative Comparison

We provide additional qualitative results for both image and video generation\.

### F\.1Image Generation

For image generation,[Figure7](https://arxiv.org/html/2608.13043#A8.F7)presents additional qualitative comparisons on Flux\-dev 1\.0\. Under the same acceleration setting, ERTACache introduces various visual degradations, including background misalignment, incorrect spatial relationships between objects and subjects, missing or distorted materials, and semantic artifacts such as erroneous objects \(e\.g\., incorrect traffic signs\) and physically implausible details \(e\.g\., airplanes depicted mid\-air with landing gear deployed\)\. By contrast, GCache remains highly faithful to the original model outputs, preserving semantic correctness, spatial coherence, and fine\-grained visual details even under a2\.87×2\.87\\timesspeedup setting\.

### F\.2Vedio Generation

For video generation, we provide additional qualitative comparisons across three representative text\-to\-video diffusion models, including CogVideoX\-2B \([Figure8](https://arxiv.org/html/2608.13043#A8.F8)\), Open\-Sora 1\.2 \([Figure9](https://arxiv.org/html/2608.13043#A8.F9)\), and Wan 2\.1\-1\.3B \([Figure10](https://arxiv.org/html/2608.13043#A8.F10)\)\. For each example, we uniformly sample six frames from the generated video sequence to visualize temporal consistency and structural fidelity over time\. Within each group, we compare outputs from ERTACache, GCache, and the ground\-truth full\-step original generation\. Across all three models and diverse prompts, GCache consistently produces videos that remain highly faithful to the ground\-truth outputs, preserving semantic correctness, object structure, and temporal coherence throughout the sequence\. The generated contents exhibit stable object appearances and natural motion transitions, with minimal degradation under accelerated sampling\. In contrast, ERTACache frequently introduces noticeable visual artifacts and semantic inconsistencies\. Typical failure cases include distorted object geometry \(e\.g\., malformed cups, umbrellas, and sharks\), incorrect semantic structures \(e\.g\., unrealistic astronaut body configurations\), and unstable object appearances across frames\. These artifacts become more evident in dynamic scenes and complex compositions, indicating weaker preservation of global semantic information\. Overall, the qualitative results further demonstrate that GCache achieves substantially better fidelity and temporal consistency under the same acceleration budget\.

## Appendix GLimitations

Although GCache effectively optimizes cache policies, it currently operates under a fixed refresh budget and relies on pre\-computed error proxies, which may not fully account for dynamic input complexity or extreme trajectory shifts\. Future work could explore sample\-adaptive scheduling and more diverse perceptual objectives to further enhance temporal consistency in highly dynamic videos\.

## Appendix HBroader Impact

By substantially reducing the computational cost of large\-scale diffusion models, GCache promotes environmental sustainability and democratizes access to state\-of\-the\-art generative tools for users with limited hardware resources\. While accelerated generation could potentially be misused for creating synthetic misinformation, we advocate for its deployment alongside robust safety filters and digital watermarking technologies to mitigate such risks\.

![Refer to caption](https://arxiv.org/html/2608.13043v1/flux_app.png)Figure 7:Additional qualitative comparison results for image generation on Flux\-dev 1\.0\. Best viewed zoomed in\.ERTACache![Refer to caption](https://arxiv.org/html/2608.13043v1/ertacache.png)GCache![Refer to caption](https://arxiv.org/html/2608.13043v1/gcache.png)Ground Truth![Refer to caption](https://arxiv.org/html/2608.13043v1/gt.png)\(a\)A cup and a couch\.ERTACache![Refer to caption](https://arxiv.org/html/2608.13043v1/ertacache.png)GCache![Refer to caption](https://arxiv.org/html/2608.13043v1/gcache.png)Ground Truth![Refer to caption](https://arxiv.org/html/2608.13043v1/gt.png)\(b\)An astronaut flying in space, in super slow motion\.ERTACache![Refer to caption](https://arxiv.org/html/2608.13043v1/ertacache.png)GCache![Refer to caption](https://arxiv.org/html/2608.13043v1/gcache.png)Ground Truth![Refer to caption](https://arxiv.org/html/2608.13043v1/gt.png)\(c\)Fireworks\.ERTACache![Refer to caption](https://arxiv.org/html/2608.13043v1/ertacache.png)GCache![Refer to caption](https://arxiv.org/html/2608.13043v1/gcache.png)Ground Truth![Refer to caption](https://arxiv.org/html/2608.13043v1/gt.png)\(d\)A beautiful coastal beach in spring, waves lapping on sand, racking focus\.Figure 8:Temporal consistency comparison onCogVideoX\-2B\. Each group visualizes six evenly spaced frames from the generated sequence\.ERTACache![Refer to caption](https://arxiv.org/html/2608.13043v1/ertacache.png)GCache![Refer to caption](https://arxiv.org/html/2608.13043v1/gcache.png)Ground Truth![Refer to caption](https://arxiv.org/html/2608.13043v1/gt.png)\(a\)Gwen Stacy reading a book, in cyberpunk style\.ERTACache![Refer to caption](https://arxiv.org/html/2608.13043v1/ertacache.png)GCache![Refer to caption](https://arxiv.org/html/2608.13043v1/gcache.png)Ground Truth![Refer to caption](https://arxiv.org/html/2608.13043v1/gt.png)\(b\)a cell phone\.ERTACache![Refer to caption](https://arxiv.org/html/2608.13043v1/ertacache.png)GCache![Refer to caption](https://arxiv.org/html/2608.13043v1/gcache.png)Ground Truth![Refer to caption](https://arxiv.org/html/2608.13043v1/gt.png)\(c\)A couple in formal evening wear going home get caught in aheavy downpour with umbrellas, in super slow motion\.ERTACache![Refer to caption](https://arxiv.org/html/2608.13043v1/ertacache.png)GCache![Refer to caption](https://arxiv.org/html/2608.13043v1/gcache.png)Ground Truth![Refer to caption](https://arxiv.org/html/2608.13043v1/gt.png)\(d\)a shark is swimming in the ocean, oil paintingFigure 9:Temporal consistency comparison onOpen\-Sora 1\.2\. Each group visualizes six evenly spaced frames from the generated sequence\.ERTACache![Refer to caption](https://arxiv.org/html/2608.13043v1/ertacache.png)GCache![Refer to caption](https://arxiv.org/html/2608.13043v1/gcache.png)Ground Truth![Refer to caption](https://arxiv.org/html/2608.13043v1/gt.png)\(a\)A bear climbing a tree\.ERTACache![Refer to caption](https://arxiv.org/html/2608.13043v1/ertacache.png)GCache![Refer to caption](https://arxiv.org/html/2608.13043v1/gcache.png)Ground Truth![Refer to caption](https://arxiv.org/html/2608.13043v1/gt.png)\(b\)A panda drinking coffee in a cafe in Paris, pan left\.ERTACache![Refer to caption](https://arxiv.org/html/2608.13043v1/ertacache.png)GCache![Refer to caption](https://arxiv.org/html/2608.13043v1/gcache.png)Ground Truth![Refer to caption](https://arxiv.org/html/2608.13043v1/gt.png)\(c\)A tranquil tableau of bathroom\.ERTACache![Refer to caption](https://arxiv.org/html/2608.13043v1/ertacache.png)GCache![Refer to caption](https://arxiv.org/html/2608.13043v1/gcache.png)Ground Truth![Refer to caption](https://arxiv.org/html/2608.13043v1/gt.png)\(d\)Skis and a snowboard\.Figure 10:Temporal consistency comparison onWan 2\.1\-1\.3B\. Each group visualizes six evenly spaced frames from the generated sequence\.

Similar Articles

Enabling KV Caching of Shared Prefix for Diffusion Language Models

arXiv cs.LG

This paper proposes BiCache, a novel KV caching technique for shared prefixes in diffusion language models, which avoids accuracy collapse by dynamically reusing cached keys and values in shallow layers and achieves 36.3%–98.3% throughput improvement.