Early Failure Detection and Intervention in Video Diffusion Models
Abstract
Text-to-video (T2V) diffusion models still occasionally fail, forcing users into costly trial-and-error regeneration. While early failure detection has been explored for image diffusion, it remains unaddressed in on-the-fly, single-trajectory video diffusion due to the prohibitive cost of decoding spatiotemporal latents at every step. The VAE decoder of CogVideoX-5B takes about 4 s per call on an A100, comparable to a denoising step, rendering per-step inspection impractical. We propose an early failure detection and intervention pipeline for video diffusion that makes real-time, step-wise RGB inspection of sampling tractable. Our approach rests on a key empirical observation: the final video quality is largely predictable within the first approximately 10 of 50 denoising steps, and is reliably detectable from intermediate latents once they are decoded into RGB and scored by standard vision-language evaluators. To exploit this on the fly, we introduce a Real-time Inspection (RI) module that scores intermediate previews in 39.2 ms, over 100 times faster than a CogVideoX-5B denoising step. The key enabler is a Latent-to-RGB (L2R) converter (0.059 M parameters, 19.7 ms) showing that learned spatial upsampling alone without channel expansion suffices to produce plausible video previews 200 times faster than the native VAE while preserving the semantic structure needed for scoring. When a failure is predicted, a diagnostic intervention framework hierarchically applies preview-driven corrections, escalating compute only when needed. Experiments on CogVideoX-5B and Wan2.1-1.3B show consistent improvements and a favorable cost-quality trade-off against full-video feedback regeneration, a strong post-hoc baseline that inspects complete videos, with approximately 2.5 times lower additional time overhead. Our method is also orthogonal to prompt refinement and training-free sampling guidance.