← Latest papers
🤖 machine learning

Riemannian MeanFlow

This paper introduces Riemannian MeanFlow (RMF), a framework that learns direct flow mappings on manifolds to enable high-quality generative modeling with up to 10×\times fewer function evaluations than traditional diffusion or flow models while simultaneously supporting efficient, reward-driven design.

Original authors: Dongyeop Woo, Marta Skreta, Seonghyun Park, Kirill Neklyudov, Sungsoo Ahn

Published 2026-05-04
📖 4 min read☕ Coffee break read

Original authors: Dongyeop Woo, Marta Skreta, Seonghyun Park, Kirill Neklyudov, Sungsoo Ahn

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to teach a robot to design new proteins or DNA sequences. These are not mere lists of letters or numbers; they are complex 3D structures with strict rules, like a puzzle where every piece must fit perfectly into a specific geometric shape.

In the world of AI, "Diffusion" and "Flow" models are like artists slowly transforming a lump of noise into a perfect masterpiece. Normally, they do this by taking hundreds of tiny, careful steps, checking their work at each individual step to ensure they do not stray from the path.

The Problem: The Slow Walk
The article points out a major bottleneck: taking hundreds of steps is incredibly slow and expensive. It is like trying to cross a room by taking 100 tiny, cautious steps, even though you could cover the distance in one or two large strides. For scientists who need to design thousands of molecules, this slowness is a dealbreaker.

The Solution: Riemannian MeanFlow (RMF)
The authors introduce a new method called Riemannian MeanFlow (RMF). Imagine teaching the robot to "see" the "entire path" all at once, rather than just the next step.

Here is how they did it, using some everyday analogies:

1. The "Average Speed" Shortcut

Imagine you are driving from City A to City B.

  • The Old Way (Diffusion/Flow): You drive slowly, check your GPS every second, and constantly correct your steering wheel. This is accurate but takes forever.
  • The New Way (RMF): Instead of checking every second, you calculate the average speed and direction needed to get from A to B in one go. You do not need to stop and check; you simply drive the whole way based on that single calculation.

The article mathematically proves that this "average speed" can be learned directly on the complex geometric shapes (manifolds) where these molecules exist, without needing to take hundreds of tiny steps.

2. Three Ways to Describe the Journey

The authors discovered three different ways to describe this "average speed," all mathematically equivalent. They are like describing a road trip from three different perspectives:

  • The Eulerian View: Looking at the road from a fixed point (like a camera on a pole) and seeing how traffic flows past you.
  • The Lagrangian View: Sitting in the car and feeling how the speed changes as you drive.
  • The Semigroup View: Breaking the journey into two parts (from A to B, then from B to C) and realizing that the direct path from A to C is simply the combination of these two parts.

The article shows that using these perspectives allows the AI to learn the "one-step jump" directly.

3. The "Stop-Gradient" Trick

Training these models is like trying to keep a stack of plates balanced while juggling. If you try to calculate how every tiny change affects the final result, the math becomes so heavy that the computer crashes (or memory is exhausted).
The authors use a clever trick called "Stop-Gradient". Imagine you are teaching a student. Instead of making them recalculate the entire history of how they arrived at an answer every time they make a mistake, you simply say: "Here is the correct answer; now just adjust your next attempt accordingly." This prevents the computer from being overwhelmed by complex math and makes training faster and more stable.

4. Predicting the Destination, Not the Speed

Most models try to predict the velocity at every moment. RMF tries to predict the destination (the endpoint on the map) directly.

  • Analogy: Instead of telling a driver, "Turn left at 5 miles per hour, then right at 10 miles per hour," you simply say: "Drive until you see the big red barn."
  • This approach works much better for high-dimensional data (like long DNA sequences or large proteins) and allows the model to use existing software designed for these shapes without needing to be rewritten.

What They Achieved

The article tested this on two real scientific tasks:

  1. Designing DNA Promoters: These are like "start buttons" for genes. The new method generated high-quality DNA sequences in one step, performing just as well as old methods that required 100 steps.
  2. Designing Protein Scaffolds: These are the skeletons of proteins. The new method could generate valid protein structures in 1 to 5 steps, whereas previous methods collapsed or failed completely when asked to do this so quickly.

The Conclusion
The article claims that by understanding the geometry of the data and using these "average speed" shortcuts, they can generate complex biological structures 10 times faster (using 10 times fewer computer calculations) without losing quality. This makes it possible to use AI for rapid, iterative scientific designs, where researchers can test thousands of ideas quickly instead of waiting hours for a single result.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →