GR-FM: Geometrically Regularized Flow Matching for SDF-Based Medical Image Segmentation
Medical image segmentation remains challenging in terms of accurate boundary localization and complex-structure preservation, as target regions often exhibit weak boundaries, fine-grained structures, and irregular shapes, while high-quality images and precise annotations are usually limited. Existing generative segmentation approaches based on Flow Matching mainly learn velocity fields in the state space but lack explicit constraints on the spatial regularity and distance-field properties of the recovered representation. This limitation may lead to spatial oscillations, boundary displacement, and discontinuities in fine structures. To address these issues, we propose an image-conditioned Geometrically Regularized Flow Matching framework, termed GR-FM, which formulates segmentation as a continuous probability transport process from an initial distribution to a target implicit representation distribution. Instead of directly modeling binary masks, GR-FM adopts the SDF to describe the target structure, where each pixel is represented by its signed distance to the object boundary, resulting in a continuous geometric field. Flow Matching and ordinary differential equations are then employed to achieve deterministic and efficient distribution transport. The training objective further incorporates a biharmonic regularization term and an Eikonal constraint to enhance the spatial smoothness, structural consistency, and distance-field characteristics of the recovered representation. Moreover, we analyze the continuous transport process under geometric constraints and investigate the evolution of the zero level set. Experiments conducted on the MoNuSeg, GlaS, and DRIVE datasets demonstrate that GR-FM achieves competitive performance in both region overlap and boundary accuracy, reduces performance variation, and maintains stable segmentation results with only a small number of integration steps.