MedSymmFlow: Bridging Generative Modeling and Classification in Medical Imaging through Symmetrical Flow Matching
Preprint
Abstract
Reliable medical image classification requires accurate predictions and well-calibrated uncertainty estimates, especially in high-stakes clinical settings. This work presents MedSymmFlow, a generative-discriminative hybrid model built on Symmetrical Flow Matching, designed to unify classification, generation, and uncertainty quantification in medical imaging. MedSymmFlow leverages a latent-space formulation that scales to high-resolution inputs and introduces a semantic mask conditioning mechanism to enhance diagnostic relevance. Unlike standard discriminative models, it naturally estimates uncertainty through its generative sampling process. The model is evaluated on four MedMNIST datasets, covering a range of modalities and pathologies. The results show that MedSymmFlow matches or exceeds the performance of established baselines in classification accuracy and AUC, while also delivering reliable uncertainty estimates validated by performance improvements under selective prediction.Keywords
All Related Versions
This publication has 11 references indexed in Scilit:
- Symmetrical Flow Matching: Unified Image Generation, Segmentation, and Classification with Score-Based Generative ModelsProceedings of the AAAI Conference on Artificial Intelligence, 2026
- MAISI: Medical AI for Synthetic Imaging2025
- MedViT: A robust vision transformer for generalized medical image classificationComputers in Biology and Medicine, 2023
- MedMNIST v2 - A large-scale lightweight benchmark for 2D and 3D biomedical image classificationScientific Data, 2023
- A dataset of microscopic peripheral blood cell images for development of automatic recognition systemsData in Brief, 2020
- The HAM10000 dataset, a large collection of multi-source dermatoscopic images of common pigmented skin lesionsScientific Data, 2018
- Identifying Medical Diagnoses and Treatable Diseases by Image-Based Deep LearningCell, 2018
- On deep generative models with applications to recognition2011
- To recognize shapes, first learn to generate images2007
- A Fast Learning Algorithm for Deep Belief NetsNeural Computation, 2006