Ngoc Huynh Trinh, Hai Toan Nguyen, Quoc Long Tran

Main Article Content

Abstract

Generative models have recently advanced significantly with the emergence of Flow
Matching (FM), a simulation-free flow-based framework that directly optimizes a regression objective on the velocity field without relying on variational approximations. Motivated by these advances, we propose a latent flow-based framework for medical image segmentation. To model the
segmentation mask distribution, two Variational Autoencoders (VAEs) encode medical images and
their corresponding masks into separate low-dimensional latent spaces of identical dimensionality,
enabling conditional flow modeling specifically for segmentation. Specifically, a conditional velocity
field is learned in the mask latent space, conditioned on the image’s latent representation. Sampling
multiple noise instances generates diverse segmentation outputs, whose pixel-wise variance reflects
inherent ambiguity in medical data. Additionally, confidence maps quantify model certainty, providing clinicians with richer information for deeper analysis. We evaluate our approach on three
datasets (ISIC-2018, CVC-ClinicDB, and MMIS) against deterministic and generative segmentation
baselines. Comprehensive qualitative and quantitative evaluations demonstrate superior segmentation accuracy while maintaining computational efficiency through latent-space modeling.
Keywords: Flow Matching, Variational Autoencoder, Medical Image Segmentation, Latent
Representation.


04:58:36 query returned open=false