Bellman Optimal Step-size Straightening of Flow-Matching Models

Bao Nguyen, Binh Nguyen, Viet Anh Nguyen
2/12/2026

No official code found. Best implementation: nguyenngocbaocmt02/BOSS (37 stars, last commit 2024-02-25).

Abstract

Flow matching is a powerful framework for generating high-quality samples in various applications, especially image synthesis. However, the intensive computational demands of these models, especially during the finetuning process and sampling processes, pose significant challenges for low-resource scenarios. This paper introduces Bellman Optimal Stepsize Straightening (BOSS) technique for distilling flow-matching generative models: it aims specifically for a few-step efficient image sampling while adhering to a computational budget constraint. First, this technique involves a dynamic programming algorithm that optimizes the stepsizes of the pretrained network. Then, it refines the velocity network to match the optimal step sizes, aiming to straighten the generation paths. Extensive experimental evaluations across image generation tasks demonstrate the efficacy of BOSS in terms of both resource utilization and image quality. Our results reveal that BOSS achieves substantial gains in efficiency while maintaining competitive sample quality, effectively bridging the gap between low-resource constraints and the demanding requirements of flow-matching generative models. Our paper also fortifies the responsible development of artificial intelligence, offering a more sustainable generative model that reduces computational costs and environmental footprints. Our code can be found at https://github.com/nguyenngocbaocmt02/BOSS.

View on arXivView PDF

Code Implementations(1)

[ICLR 2024] Official implementation of Bellman Optimal Stepsize Straightening of Flow-Matching Models

371C++, CudaJan 10, 20242 years ago
data-free-knolwedge-distillationflow-matchingode-solver

Similar Papers

Cite this paper

@article{nguyen2026bellman,
  title  = {Bellman Optimal Step-size Straightening of Flow-Matching Models},
  author = {Bao Nguyen and Binh Nguyen and Viet Anh Nguyen},
  year   = {2026},
  eprint = {2312.16414},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2312.16414},
  journal = {ICLR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.16414.svg)](https://codeofpaper.com/paper/2312.16414)

Discussion