Sharpen Your Flow: Sharpness-Aware Sampling for Flow Matching
Aditi Gupta, Soon Hoe Lim, Annan Yu, N. Benjamin Erichson

TL;DR
SharpEuler is a training-free, profile-based sampler that optimizes timestep allocation in flow matching models, improving sample quality without additional neural network evaluations.
Contribution
It introduces SharpEuler, a novel offline profiling method that estimates where velocity fields change rapidly, guiding efficient sampling in flow models.
Findings
SharpEuler reduces inter-mode leakage in generated samples.
It increases mode coverage at fixed evaluation budgets.
Sample quality improves without additional neural network evaluations.
Abstract
Flow matching models generate samples by numerically integrating a learned velocity field, with each integration step requiring a neural network evaluation. Fast generation therefore requires using a small fixed evaluation budget effectively: the key question is not only how to integrate the flow, but where the sampler should spend its steps. We propose SharpEuler, a training-free sampler that profiles a pretrained model offline by estimating where the learned velocity field changes most rapidly along calibration trajectories. This finite-difference estimate defines a solver-aware sharpness profile, which is smoothed and converted by a quantile transform into a timestep grid for any desired inference budget. At test time, sampling remains ordinary Euler integration with the same number of model evaluations as a uniform schedule. We justify SharpEuler using three principles: a numerical…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
