LiteCa

Memory-Efficient Feature Caching for Diffusion Acceleration

National Yang Ming Chiao Tung University
* Equal contribution

Demo

Prompt
Resolution
Generate
Sound
Show full promptHide full prompt

Comparison

Performance Across Five DiTs

Model
Auto
Plug-and-play

One Framework, Flexible Caching

LiteCa compresses feature caches without modifying the original linear forecaster or cache schedule. The rank K can be configured based on the user's cache memory budget.

Forecaster

Linear
TaylorSeer
Hermite

Cache memory budget

rank 0rank 1rank 2rank 3
8 GiBbudget
K = 3

Cache schedule

every 2nd step
step 1step 24
computeskip (cache)
LiteCa
✓supports all three
Abstract

A Compact Representation for Feature Caching

We propose LiteCa, a training-free and plug-and-play memory-efficient feature caching framework. We observe that the Adaptive Layer Normalization (AdaLN) modulation parameters exhibit a low-rank structure, enabling LiteCa to build a more compact cache representation with an adjustable rank for different memory budgets. We further introduce Test-Time Correction to improve generation quality without changing the original forecasting method. Experiments on recent DiT models show that LiteCa reduces feature-cache memory by 90–99% compared with module-level caching, while improving both inference speed and generation quality and achieving state-of-the-art performance.

A Unified Memory-Efficient Feature Caching Framework

A training-free, plug-and-play framework that unifies residual and module-level caching in one compact cache, sized to the memory budget.

Low-Rank AdaLN with Test-Time Correction

We are the first to reveal that AdaLN modulation is low-rank over time, and add Test-Time Correction to improve quality without changing the forecaster.

General Applicability and Superior Performance

Across image and video DiTs, LiteCa cuts feature-cache memory by 90–99% while improving both quality and speed.

Observation · Figure 2

The Low-Rank Structure of AdaLN Modulation

AdaLN gates exhibit consistent temporal trajectories, while a few singular components capture nearly all the energy of gate, scale and shift parameters. The relative performance of residual and module-level caching varies across models, motivating a unified cache representation.

Figure 2: AdaLN gate trajectories, per-module spectrum, cumulative energy and caching granularity
(a) Gate trajectories relative to their own time average. (b) Per-module singular-value spectra decay rapidly. (c) Gate, scale and shift keep most energy within a few ranks. (d) The relative error between residual-level and module-level caching shows different trends across models.
Method · Figure 3

From Module-Level Caching to LiteCa

LiteCa replaces L module-level caches with one residual cache and K gate-weighted feature caches. Test-Time Correction automatically adjusts their contributions at anchor steps.

Figure 3: LiteCa and caching granularities
Figure 3. (a) Module-level caching keeps one cache per module but incurs large memory overhead. (b) Residual caching merges them into one cache but loses fine-grained module-level control. (c) LiteCa keeps the residual cache of (b) and K aggregated caches, with K set by the memory budget. Low-rank gates factorize into time-varying bases \(b_k(t)\) and time-invariant module weights \(\mathbf w_{\ell k}\) ①, and Test-Time Correction sets the contribution of the aggregated caches with coefficients \(\lambda\) at anchor steps ②. Each part is animated below.

Module-level caching, residual caching and LiteCa

1Low-Rank Cache Aggregation

AdaLN gates are low-rank over time: each factorizes into fixed module weights wℓk and a few time-varying bases bk(t). Since the weights stay fixed, module features merge into one aggregated cache per rank, replacing L module caches with K + 1.

K = 1
012346
Gate energy captured0%
$$\mathbf g_\ell(t)\approx\bar{\mathbf g}_\ell+\sum_{k=1}^{K} b_k(t)\,\mathbf w_{\ell k},\qquad C_{\text{res}}(a)=\sum_\ell \mathbf g_\ell(a)\odot\mathbf f_\ell(a),\qquad C_k(a)=\sum_\ell \mathbf w_{\ell k}\odot\mathbf f_\ell(a)$$
2Test-Time Correction (TTC) full step host forecast with TTC

A closer match to module-level caching is not always better quality. TTC fits a correction coefficient λ at the anchor steps the host already computes, without changing the cached features or the forecasting rule.

λ = 1.0
−10 · rank 01 · rank K3

$$\hat{\mathbf r}_{\text{LiteCa}}(t;\lambda)=\hat{\mathbf r}_R(t)+\sum_{k=1}^{K}\lambda_k\,\mathbf r_k(t),\qquad \hat\lambda_a=\arg\min_\lambda\big\|J_a\big(\hat{\mathbf h}(a;\lambda)-\mathbf h_F(a)\big)\big\|_2^2$$
Experiments · Tables 1–2

Image and Video Generation

Across the evaluated ranks, LiteCa reduces the persistent feature cache by 90.6–99.17% on image models and 91.1–99.2% on video models, while improving generation quality and remaining faster than both hosts on every video model.

Host

Experiments · Figures 6–7

Ablation Studies

Effect of Rank

With TTC disabled, a few low-rank components rapidly reduce the approximation error relative to module-level TaylorSeer.

Effect of Test-Time Correction

The optimal λ can differ from both caching endpoints. TTC estimates λ online to reduce prediction error without offline calibration.

Figure 6: ablation studies
Figure 6. (a) Final-latent relative L1 error to module-level TaylorSeer vs LiteCa rank (TTC off). (b) LPIPS on FLUX.1-dev under fixed λ, with TaylorSeer and online TTC as references. (c) Per-step relative L1 error on FLUX.1-dev. LiteCa is rank 1 in (b) and (c).

Latency Breakdown

LiteCa remains faster than the host across all tested ranks by forecasting only K + 1 aggregated caches per skipped step.

Per-Stream and Per-Modality Ranks

LiteCa supports independent ranks and correction coefficients for each stream or modality. On MiniMax-H3, higher video ranks improve video quality, while separate coefficients improve audio quality.

Figure 7: latency breakdown and per-modality ranks
Figure 7. (a) Per-image latency on FLUX.1-dev (FE=3, N=6, O=2), split into non-overlapping components. (b) Video PSNR vs audio SI-SDR on MiniMax-H3; points labelled video rank / audio rank.
BibTeX
@misc{liteca2026,
  title     = {LiteCa: Memory-Efficient Feature Caching
               for Diffusion Acceleration},
  author    = {Mian-Heng Shan and Cheng-De Fan and Cheng-Yu Yang
               and Cheng-Kuan Lin and Yu-Chee Tseng and Yu-Lun Liu},
  note      = {Under review},
  year      = {2026},
  url       = {https://arxiv.org/abs/2612.06318}
}