9h ago

Flow matching technique controls pretrained generative models by shifting endpoint means of deterministic interpolants using imperfect reference examples

Demos cover style transfers, attribute edits, and anatomy corrections.

0
Original post

Guide with examples, not rewards 🐘 Controlling what a pretrained generative model produces is still mostly a choice between three slow options: fine-tune it, attach a reward network, or search at inference. We found flow matching allows a fourth, and it costs almost nothing. In deterministic interpolants, the velocity of the flow is determined by where the trajectory is headed: the endpoint mean. Shift that mean, and the entire flow shifts with it. This turns control into a matter of reference. Change the examples that define the endpoint, and you change the direction the model follows. The examples need not be perfect. They only need to point the flow toward the attribute you want. Color, identity, style, and structure, all controllable through examples. 🧵👇

4:22 AM · May 21, 2026 View on X
Reposted by

Ohhhhhh, this is great. I'm excited about reference set guidance. It gives lots of benefits (reward hacking) over lots of standard reward forcing.

Most people do have several examples they want to match, either in images, video, or even motion.

PedroPedro@pmpcurvo

Guide with examples, not rewards 🐘 Controlling what a pretrained generative model produces is still mostly a choice between three slow options: fine-tune it, attach a reward network, or search at inference. We found flow matching allows a fourth, and it costs almost nothing. In deterministic interpolants, the velocity of the flow is determined by where the trajectory is headed: the endpoint mean. Shift that mean, and the entire flow shifts with it. This turns control into a matter of reference. Change the examples that define the endpoint, and you change the direction the model follows. The examples need not be perfect. They only need to point the flow toward the attribute you want. Color, identity, style, and structure, all controllable through examples. 🧵👇

11:22 AM · May 21, 2026 · 16.6K Views
3:35 PM · May 21, 2026 · 1.2K Views

Super excited about this new paper with Pedro Curvo. To guide a flow model at sampling time, just steer toward the empirical mean of a set of reference samples. It's almost embarrassingly simple, and it works much better than it has any right to. Worth a read!

PedroPedro@pmpcurvo

Guide with examples, not rewards 🐘 Controlling what a pretrained generative model produces is still mostly a choice between three slow options: fine-tune it, attach a reward network, or search at inference. We found flow matching allows a fourth, and it costs almost nothing. In deterministic interpolants, the velocity of the flow is determined by where the trajectory is headed: the endpoint mean. Shift that mean, and the entire flow shifts with it. This turns control into a matter of reference. Change the examples that define the endpoint, and you change the direction the model follows. The examples need not be perfect. They only need to point the flow toward the attribute you want. Color, identity, style, and structure, all controllable through examples. 🧵👇

11:22 AM · May 21, 2026 · 16.6K Views
2:09 PM · May 21, 2026 · 2K Views
Flow matching technique controls pretrained generative models by shifting endpoint means of deterministic interpolants using imperfect reference examples · Digg