Geometry-Aware Image Flow Matching

Junho Lee, Kwanseok Kim, Joonseok Lee

Most modern generative models—including Diffusion Models and Flow Matching (FM)—operate under a "flat-earth" assumption, treating images as vectors in a flat, infinite Euclidean space. While this assumption has yielded impressive results, it fundamentally ignores the intrinsic geometric structure of natural image data. In specialized domains like molecular biology or meteorology, researchers routinely deploy geometry-aware models because the data resides on known manifolds. For natural images, however, the "true" manifold has remained elusive.

Recent research challenges this Euclidean default, asking a pivotal question: Is there a hidden geometric prior for natural images that we can exploit to make generative models more efficient and accurate? By demonstrating that the "semantic soul" of an image lives in its direction rather than its magnitude, researchers have introduced Spherical Flow Matching (SFM)—a novel approach that models images on a high-dimensional hypersphere to produce sharper, more semantically accurate generations.

The Geometric Prior of Natural Images

The foundation of this work lies in a simple but profound vector decomposition analysis. By separating image vectors into magnitude (norm) and direction (unit vector), the authors discovered that magnitude predominantly encodes low-level intensity, while direction encodes almost all semantic information.

This led to a critical insight regarding image norms: if an entire dataset is modified so that every image shares the exact same average "brightness" (norm), the images remain almost indistinguishable to the human eye. This suggests that magnitude is largely redundant for generative modeling. Furthermore, in high-dimensional spaces, Gaussian noise naturally clusters on a "spherical shell." By projecting data onto a hypersphere, we can perfectly align the geometry of the noise with the geometry of the data. Consequently, the neural network no longer wastes capacity learning to model arbitrary fluctuations in magnitude; instead, it dedicates its parameters entirely to the complex directional dynamics that define objects, shapes, and textures.

Spherical Flow Matching (SFM)

Building on these geometric insights, the authors propose two primary methodological innovations:

  1. Spherical Optimal Transport CFM (SOT-CFM): Standard Optimal Transport (OT) pairs noise samples with data samples by minimizing Euclidean distance. SOT-CFM replaces this with angular distance, ensuring that noise is paired with semantically similar data points regardless of their overall brightness.
  2. Spherical Flow Matching (SFM): Taking a fully Riemannian approach, SFM projects both the starting Gaussian noise and the target data onto a hypersphere of a fixed radius. Instead of moving in straight lines, the model learns to transport noise to data along geodesics (great-circle arcs) using spherical linear interpolation (slerp).

Experimental Validation and Key Results

The researchers validated their hypersphere hypothesis across standard benchmarks (CIFAR-10, ImageNet-256) and robustness datasets (COCO-2014, CelebA-HQ). Crucially, they also tested the theory across multiple autoencoder latent spaces—including SD2-VAE, SD3-VAE, VMAE, and DC-AE—proving that this spherical property is a fundamental characteristic of image representations, not just an artifact of raw pixels.

The geometry-aware approach yielded significant improvements over Euclidean baselines:

  • Superior Generation Quality: SFM achieved state-of-the-art results across the board. On unconditional CIFAR-10, it reached a gFID of 3.79 (improving upon the 4.29 baseline). On class-conditional ImageNet-256, it improved gFID from 5.22 to 4.62.
  • Unprecedented Semantic Fidelity: In a compelling experiment, the authors used a pre-trained ResNet-50 to classify generated images. Images generated by the standard Euclidean baseline (I-CFM) achieved only 61.83% Top-1 accuracy. In contrast, images from SFM hit an impressive 87.13%—surpassing even the accuracy of the original validation set (80.35%). This strongly suggests that spherical paths are vastly superior at preserving class-consistent features.
  • Visual Sharpness: Qualitative assessments confirm that SFM produces noticeably sharper textures and more coherent global structures, avoiding the blurred artifacts often seen in Euclidean models.

Limitations and Future Directions

While modeling natural images on a hypersphere offers clear advantages, the approach is not without limitations. Extreme outliers—such as nearly pitch-black or pure white images—suffer some degradation when projected onto the average norm. Although the authors experimented with a "Norm Refinement Network" to address this, the gains were marginal. Additionally, SFM requires the empirical selection of a projection radius $r$, which may vary across different latent spaces.

Ultimately, while the hypersphere serves as a highly effective approximation, natural images may reside on even more complex, non-spherical manifolds. This research successfully bridges the gap between Riemannian manifold-based modeling and natural image generation, opening the door for future explorations into sophisticated geometric priors in computer vision.

Summary updated

BibTeX
@inproceedings{lee2026geometry,
  author = {Junho Lee and Kwanseok Kim and Joonseok Lee},
  title = {{Geometry-Aware Image Flow Matching}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=m1bU4KRgtB},
}
Figure