Conformal Cache: Reliable Proxy-Discrepancy Caching for Fast Generative Inference

Wenxiao Wu, Yukang Feng, Yachen Gao, Chengming Xu, Moran Li, jingyu li, Ming Xie, Xiaobin Hu, Xinwei Sun, Jing-Hao Xue, Nong Sang, Yanwei FuNeurIPS 2026

TL;DR

Speeding up diffusion models often involves caching intermediate neural network outputs and using cheap "proxy" signals to guess when that cache goes stale. Because those guesses are noisy, they either ruin image quality by reusing stale data or kill your speedup by refreshing too often. Conformal Cache (CCache) wraps a statistical safety net around existing caching methods, guaranteeing reliable quality at high speeds without retraining a single weight.

What Problem Does This Paper Address?

Generating high-definition images or videos with diffusion and flow-based models requires running a massive neural network dozens of times sequentially. Fortunately, adjacent steps are often remarkably similar. Cache-based acceleration exploits this by reusing intermediate computations from previous steps until things change "too much."

How do you know when things have changed too much without running the full network to check? Existing methods (like TeaCache or DiCache) use a lightweight proxy discrepancy—such as changes in shallow-layer features or timestep embeddings—to estimate the true, inaccessible oracle discrepancy (the actual difference in full model outputs).

The catch is that a cheap proxy is just a heuristic point estimate. Across weird prompts or complex motion, it inevitably misaligns with reality, leading to two asymmetric failure modes:

  1. Proxy Underestimation (Unsafe): The proxy thinks everything is fine when the true error has blown past safe limits. Stale cache is reused, errors compound iteratively, and your generated video collapses into visual soup.
  2. Proxy Overestimation (Inefficient): The proxy panics early and triggers a full network refresh unnecessarily. Quality stays intact, but your inference speedup evaporates.
Asymmetric failure modes of proxy-discrepancy caching: underestimation ruins quality, while overestimation kills speedup.

Methods

Instead of inventing yet another proxy, the authors reframe cache refreshing as a one-sided risk-control problem. CCache is a training-free, plug-and-play calibration layer built on two main ideas:

  • Timestep-wise Conformal Correction: Using a tiny calibration set of prompts (e.g., $N=100$), the authors run full un-cached inference once to record the exact signed gap between the oracle discrepancy and a baseline's proxy discrepancy at every timestep. Using Split Conformal Prediction (a standard statistical tool for distribution-free uncertainty bounds), they calculate an upper quantile (say, 95%) for this gap. During live inference, this calibrated safety margin is added directly to the proxy score, statistically bounding the risk of dangerous underestimation.
  • Online Miscoverage Adaptation: A fixed 95% safety margin can be overly cautious on "easy" prompts, hurting speed. Notice, however, that whenever a cache refresh is triggered, you run the full model—meaning you suddenly get to see the true oracle output for free! CCache checks if the just-finished cache segment actually violated the error threshold. If it was well within safe limits, CCache slightly relaxes the safety margin for the next segment; if it violated the threshold, it immediately snaps back to conservative high-coverage bounds.

Datasets

Because CCache is training-free, no training datasets are used. Evaluation and calibration are conducted on:

  • VMBench: A perception-aligned video generation benchmark evaluating motion smoothness, object integrity, and temporal coherence across diverse dynamic scenes.
  • HPSv3 (via HPDv3): A human-preference benchmark for text-to-image alignment and perceptual quality, comprising 12,000 prompts across 12 categories.
  • VBench: Used specifically to sample 100 out-of-distribution (OOD) calibration prompts to test cross-dataset transferability.

Key Insights and Ideas

  • Don't aim for average accuracy; bound the worst-case tail: Standard proxies try to minimize two-sided error, which leaves a long, dangerous tail of underestimation. Treating the proxy-to-oracle gap as a signed nonconformity score lets you chop off the quality-destroying tail while letting online adaptation handle the efficiency side.
  • Calibration requires minuscule data and generalizes across domains: You only need 25 to 100 prompts to get stable conformal bounds. Surprisingly, calibrating on VBench prompts transfers seamlessly to VMBench evaluation (scoring 61.18 vs. 61.20 in-domain), likely because prompts pass through the same shared text encoder.
  • Bigger models benefit more: Constraining unsafe cache reuse yields larger quality jumps on 14B-parameter models than 1.3B models, suggesting statistical calibration helps unlock the fragile, high-end capabilities of massive backbones during accelerated sampling.

Key Results

Tested on FLUX.1-dev (image) and Wan2.1-1.3B / 14B (video) atop TeaCache and DiCache baselines (with cache thresholds adjusted to match speedups):

  • Matched Speed, Better Quality: On Wan2.1-14B at a ~2.05× speedup, adding CCache to TeaCache boosts the average VMBench score from 64.97 to 67.29.
  • Aggressive Caching Shines: On FLUX.1-dev at ~3× speedup, TeaCache+CCache achieves 3.14× speedup while lifting average HPSv3 scores from 8.38 to 9.54 over baseline TeaCache (2.99× speedup).
  • Adaptation Saves Speed: Fixing the conformal bound without online adaptation preserves quality (60.32 VMBench) but drops Wan2.1-1.3B speedup from 2.07× down to 1.72×.
  • Visual Fidelity: Qualitatively, CCache eliminates merged zebra stripes, distorted building windows, and duplicated bird heads seen in uncalibrated baselines.
Qualitative results showing CCache fixing structural artifacts like merged limbs and duplicated heads across video and image models.

Limitations and Future Work

The authors explicitly note a theoretical subtlety: their split conformal guarantee is timestep-wise and marginal, meaning it bounds single-step gaps rather than providing a formal, mathematically rigorous coverage guarantee across an entire multi-step trajectory. Because errors are accumulated over segments, CCache acts as a calibrated surrogate. Future work points toward developing broader statistically calibrated, reliability-aware inference mechanisms for generative models.

Summary updated

Abstract

While diffusion and flow-based generative models have achieved impressive performance in high-fidelity image and video synthesis, this capability comes at the cost of substantial inference overhead during iterative sampling. Cache-based acceleration alleviates this cost by reusing intermediate computations across adjacent denoising or transport steps, typically relying on lightweight proxy discrepancies to decide when cached outputs should be refreshed. However, such proxy-discrepancy rules are inherently unreliable: the proxy is only a point estimate of the inaccessible oracle discrepancy and can misalign across prompts, timesteps, and generation dynamics. This mismatch induces asymmetric failures: proxy underestimation may cause unsafe reuse of stale cached computations and degrade generation quality, while proxy overestimation leads to overly conservative refreshes and reduced acceleration. To address these issues, this paper introduces Conformal Cache, dubbed CCache, a training-free conformal calibration framework for reliable cache-based generation acceleration. Our key insight is to formulate cache reuse as a one-sided risk-control problem and adaptively calibrate a timestep-wise upper correction for the signed proxy-to-oracle gap based on split conformal prediction. CCache is plug-and-play and can be integrated with different proxy-discrepancy caching baselines without structural modifications or parameter updates to the generative model. Extensive experiments on image and video generation demonstrate that \methodname improves generation quality and cache reliability while preserving favorable speed-quality trade-offs.
BibTeX
@inproceedings{wu2026conformal,
  author = {Wenxiao Wu and Yukang Feng and Yachen Gao and Chengming Xu and Moran Li and jingyu li and Ming Xie and Xiaobin Hu and Xinwei Sun and Jing-Hao Xue and Nong Sang and Yanwei Fu},
  title = {{Conformal Cache: Reliable Proxy-Discrepancy Caching for Fast Generative Inference}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=j4jK1X7X8M},
}
Figure