OSCAR: Orthogonal Stochastic Control for Alignment-Respecting Diversity in Flow Matching
Jingxuan Wu, Zhenglin Wan, Xingrui Yu, Yuzhe Yang, Bo An, Ivor Tsang
TL;DR
This work addresses the lack of semantic diversity in flow-based text-to-image generation by introducing OSCAR, a training-free, inference-time control that makes the sampling dynamics diversity-aware. It combines a deterministic, endpoint-aware feature-volume guidance with time-scheduled orthogonal stochastic perturbations, ensuring the diversity push remains orthogonal to the base flow to preserve fidelity. The method provides theoretical guarantees of monotone volume increase and approximate marginal preservation, and empirically delivers improved diversity metrics (e.g., Vendi Score, mode coverage, and DIM/CIM) without sacrificing image quality across multiple CFG scales and data settings. OSCAR operates without retraining, integrates with standard flow-matching solvers, and demonstrates robustness to sampling budgets and hyperparameters, offering a practical pathway to richer, more controllable generative outputs.
Abstract
Flow-based text-to-image models follow deterministic trajectories, forcing users to repeatedly sample to discover diverse modes, which is a costly and inefficient process. We present a training-free, inference-time control mechanism that makes the flow itself diversity-aware. Our method simultaneously encourages lateral spread among trajectories via a feature-space objective and reintroduces uncertainty through a time-scheduled stochastic perturbation. Crucially, this perturbation is projected to be orthogonal to the generation flow, a geometric constraint that allows it to boost variation without degrading image details or prompt fidelity. Our procedure requires no retraining or modification to the base sampler and is compatible with common flow-matching solvers. Theoretically, our method is shown to monotonically increase a volume surrogate while, due to its geometric constraints, approximately preserving the marginal distribution. This provides a principled explanation for why generation quality is robustly maintained. Empirically, across multiple text-to-image settings under fixed sampling budgets, our method consistently improves diversity metrics such as the Vendi Score and Brisque over strong baselines, while upholding image quality and alignment.
