[edit]
FlowGuard: Guarding Flow Matching via Conformal Sampling
Proceedings of the Fourteenth Symposium on Conformal and Probabilistic Prediction with Applications, PMLR 266:775-777, 2025.
Abstract
Despite achieving state-of-the-art performance on average, iterative generative models such as diffusion and flow matching remain vulnerable to per-sample failures, sporadically hallucinating object parts, or disregarding conditioning inputs. These rare but critical errors often go undetected, necessitating repeated sampling. We introduce FlowGuard, a lightweight, model-agnostic conformal framework that enforces sample-level reliability during inference. By monitoring trajectory curvature via velocity jumps and rejecting trajectories exceeding a calibrated threshold, FlowGuard provides formal reliability guarantees with negligible computational cost. It operates entirely on cached model outputs and requires no architectural changes. Experiments on CIFAR-10 demonstrate that FlowGuard improves sample quality, reducing FID by up to 2.8%, while enabling early termination of low-quality generations.