FlowDet: Unifying Object Detection and Generative Transport Flows
Enis Baty, C. P. Bridges, Simon Hadfield
TL;DR
FlowDet reframes object detection as a generative transport problem using Conditional Flow Matching, replacing diffusion-based denoising with near-linear, straight transport paths that enable flexible, runtime-adjustable inference without retraining. By combining a Sparse R-CNN–style architecture with data-derived and data-dependent priors and a time-conditioned detection decoder, FlowDet achieves competitive or superior performance to DiffusionDet across COCO and LVIS, particularly in recall-constrained settings with fewer proposals. The work provides extensive ablations on priors, matching strategies, and ODE solvers, showing that simpler flow trajectories and Euler integration yield strong efficiency gains while maintaining high accuracy. Overall, FlowDet offers a practical, scalable path for diffusion-era detectors to leverage flow-based inference with controllable compute-accuracy trade-offs and broad compatibility with standard detection backbones.
Abstract
We present FlowDet, the first formulation of object detection using modern Conditional Flow Matching techniques. This work follows from DiffusionDet, which originally framed detection as a generative denoising problem in the bounding box space via diffusion. We revisit and generalise this formulation to a broader class of generative transport problems, while maintaining the ability to vary the number of boxes and inference steps without re-training. In contrast to the curved stochastic transport paths induced by diffusion, FlowDet learns simpler and straighter paths resulting in faster scaling of detection performance as the number of inference steps grows. We find that this reformulation enables us to outperform diffusion based detection systems (as well as non-generative baselines) across a wide range of experiments, including various precision/recall operating points using multiple feature backbones and datasets. In particular, when evaluating under recall-constrained settings, we can highlight the effects of the generative transport without over-compensating with large numbers of proposals. This provides gains of up to +3.6% AP and +4.2% AP$_{rare}$ over DiffusionDet on the COCO and LVIS datasets, respectively.
