Adjoint Matching: Fine-tuning Flow and Diffusion Generative Models with Memoryless Stochastic Optimal Control
About
Dynamical generative models that produce samples through an iterative process, such as Flow Matching and denoising diffusion models, have seen widespread use, but there have not been many theoretically-sound methods for improving these models with reward fine-tuning. In this work, we cast reward fine-tuning as stochastic optimal control (SOC). Critically, we prove that a very specific memoryless noise schedule must be enforced during fine-tuning, in order to account for the dependency between the noise variable and the generated samples. We also propose a new algorithm named Adjoint Matching which outperforms existing SOC algorithms, by casting SOC problems as a regression problem. We find that our approach significantly improves over existing methods for reward fine-tuning, achieving better consistency, realism, and generalization to unseen human preference reward models, while retaining sample diversity.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Offline Reinforcement Learning | OGBench | Overall Score35 | 21 | |
| Text-to-Image Generation | Stable Diffusion Alignment Prompts 1.5 (test) | ImageReward0.7873 | 8 | |
| Text-to-Image Alignment | HPS v2 | Reward3.59 | 6 | |
| Text-to-Image Alignment | PickScore | Reward22.78 | 6 | |
| Text-to-Image Alignment | Aesthetic Score | Reward6.87 | 6 | |
| Reward Maximization | Illustrative Setting Novelty-seeking reward maximization | SQ_beta56.7 | 4 | |
| Novelty-seeking molecular design for Energy maximization | FlowMol | E[r(x)]29.1 | 3 | |
| Conservative Manifold Exploration | Conservative Manifold Exploration | Expected r(x)35.08 | 3 | |
| Expected rewards maximization under optimal transport distance regularization | Illustrative Synthetic Environment v1 (test) | Expected Reward E[r(x)]35 | 3 | |
| Molecular Design | QM9 | E[r(x)]29.1 | 3 |