正在加载视频...

视频加载失败

I wrote an interactive article explaining the geometric intuition behind Rectified Flows. I visually explain why flow-models tend to learn curved trajectories, why this is bad for sampling latency, and a relatively simple technique for mitigating it. Check it out! Link 👇

159,395 次观看 • 8 个月前 •via X (Twitter)

20 条评论

Alec Helbling 的头像
Alec Helbling8 个月前

Most of the visualizations have interactive elements that work by running an actual flow model on the front end using Tensorflow.js. It should even work on most mobile devices. Link to blog:

Alec Helbling 的头像
Alec Helbling8 个月前

This project is a part of a broader effort to explain and visualize flow-based generative models with interactive visualization. Check out the code here:

Vaitkus Márton 的头像
Vaitkus Márton8 个月前

Very nice, but IIRC in very high dimensions the paths straighten out quite a lot even with vanilla flow matching, so these 2D examplrs can be a bit misleading for realistic generative models... I even remember some papers that gave some theoretical explanation for this.

Ananya Patelik 的头像
Ananya Patelik8 个月前

love this! curved flows always felt like data taking the scenic route. straightening them shaved 30% off my sampling time. visuals were super clear, thanks!

Sebastian Buzdugan 的头像
Sebastian Buzdugan8 个月前

those curved trajectories always wreck sampling latency

Thirdpen 的头像
Thirdpen8 个月前

sweet 😋

Carmelo schepis 的头像
Carmelo schepis8 个月前

crazy

R 的头像
R8 个月前

Super cool thanks for sharing!

Zorkimer 的头像
Zorkimer8 个月前

I am basically reading this the same way the chimps investigate the obelisk at the start of 2001: A Space Odyssey but it's a beautiful document.

Jason Q.L. Williams 的头像
Jason Q.L. Williams8 个月前

Beautiful, bro

Kelvin 🦖🤓 的头像
Kelvin 🦖🤓8 个月前

🔥❤️

Coyote 的头像
Coyote8 个月前

What clicked for me is that this isn’t just about faster sampling... it’s about constraint geometry!! Curvature is a symptom of mismatch between learned flow and data manifold. Rectification feels like enforcing the right geometry, not optimizing around the wrong one.

Fabián Souto 的头像
Fabián Souto8 个月前

Pretty awesome work, Alec! Loved how you explained a complex topic in such a simple way. Really good!

Tarandeep Singh 的头像
Tarandeep Singh8 个月前

Cool Stuff, lot of people are so busy trying to keep up with new models and techniques coming out everyday sometimes we forget to actually absorb the material, the true underlying principles underneath.

Saurabh Shukla 的头像
Saurabh Shukla8 个月前

Very cool post, the visualizations are great.

Alec Helbling 的头像
Alec Helbling8 个月前

Thank you!

WaterLyst 的头像
WaterLyst7 个月前

Nice! That sounds super insightful and useful for anyone diving into flow models.#waterlystfeb2

Himanshu Kumar 的头像
Himanshu Kumar8 个月前

@alec_helbling, your explanation of rectified flows will help many understand this complex topic better.

Rahul Raghav 的头像
Rahul Raghav8 个月前

curious how this compares to normalizing flows in other domains

👨‍💻 James Augeri, PhD 的头像
👨‍💻 James Augeri, PhD8 个月前

interesting / arXiv also?

相关视频