Generative modeling on Riemannian manifolds—such as $SE(3)$ for protein backbones or probability simplices for DNA sequences—has seen tremendous success with the advent of diffusion and flow matching models. However, these methods suffer from a severe inference bottleneck. Generating a single sample typically requires tens to hundreds of neural network evaluations (NFEs) to numerically integrate paths along the curved manifold. While "few-step" generation has been achieved for flat images, scaling this efficiency to high-dimensional, curved scientific manifolds has remained an open challenge.
To address this, researchers introduce Riemannian MeanFlow (RMF), a framework that brings few-step and even one-step generative modeling to complex geometries. By learning average velocity maps directly on manifolds, RMF achieves high-quality results comparable to traditional diffusion models but with up to 10$\times$ fewer computations, significantly accelerating scientific discovery workflows.
Methodology: Learning the "Jump" Instead of the "Step"
Standard flow models learn the instantaneous velocity of a particle, requiring many tiny integration steps to follow the vector field. RMF instead learns the average velocity required to move from one point in time to another in a single "jump" along a geodesic (the shortest path on a manifold).
The authors ground this approach in rigorous Riemannian geometry, deriving three equivalent characterizations of average velocity on manifolds: Eulerian, Lagrangian, and Semigroup identities. These identities provide robust mathematical targets for neural network training.
Crucially, RMF introduces a novel "stop-gradient" placement that completely eliminates the need for higher-order derivatives during training. Unlike concurrent methods such as Generalized Flow Maps (GFM), this Jacobian-Vector Product (JVP)-free formulation reduces memory usage by half and drastically stabilizes training in high dimensions. Furthermore, for high-dimensional tasks, the authors demonstrate that predicting the final endpoint ($x_1$) on the manifold is significantly more stable than predicting a velocity vector.
Experimental Setup and Key Results
RMF was evaluated across diverse benchmarks, including synthetic high-dimensional spherical helices, geospatial Earth data ($S^2$), human promoter DNA sequences (FANTOM5), and single-chain protein backbones (SCOPe). The results demonstrate that models can be fast without sacrificing geometric validity.
- DNA Design: RMF achieved 1-step performance matching the quality of 100-step baselines (Fisher Flow Matching), effectively yielding a 100$\times$ speedup for comparable accuracy.
- Protein Generation: In the few-step regime (5 steps), RMF reached 82% designability (a metric for structural foldability). By contrast, prior state-of-the-art models like FrameDiff and FrameFlow collapsed to less than 10% designability at the same step count.
- Computational Efficiency: Thanks to its JVP-free formulation, RMF trained 2.6$\times$ faster and with significantly less memory than the closely related GFM baseline.
- Reward Look-Ahead Guidance: Because RMF can predict the final state from any intermediate step, it enables efficient "reward-guided" design. Researchers can "peek" at the final protein or DNA sequence mid-generation and steer the process toward desired properties, such as specific secondary structures (e.g., $\beta$-sheets), at minimal additional cost.
Limitations and Future Directions
While RMF excels in the 1–10 step regime, its advantage over standard flow matching diminishes when given a large computational budget (100+ steps); it is distinctly a specialist for fast generation. The authors also note a slight decrease in the "novelty" of generated proteins as designability increases, suggesting the model may favor safer, known structural motifs when optimized for few-step foldability.
Future work will explore integrating inference-time techniques, such as rotation scaling, directly into the training objective to further bridge the gap between few-step and many-step models. Ultimately, Riemannian MeanFlow represents a major step forward in resolving the geometry-efficiency trade-off, paving the way for large-scale, iterative design-and-test loops in computational biology and beyond.
Summary updated