Symmetrical Flow Matching: Unified Image Generation, Segmentation, and Classification with Score-Based Generative Models

Authors

  • Francisco Caetano Eindhoven University of Technology
  • Christiaan Viviers Eindhoven University of Technology
  • Peter H.N. de With Eindhoven University of Technology
  • Fons van der Sommen Eindhoven University of Technology

DOI:

https://doi.org/10.1609/aaai.v40i4.37236

Abstract

Flow Matching has emerged as a powerful framework for learning continuous transformations between distributions, enabling high-fidelity generative modeling. This work introduces Symmetrical Flow Matching (SymmFlow), a new formulation that unifies semantic segmentation, classification, and image generation within a single model. Using a symmetric learning objective, SymmFlow models forward and reverse transformations jointly, ensuring bi-directional consistency, while preserving sufficient entropy for generative diversity. A new training objective is introduced to explicitly retain semantic information across flows, featuring efficient sampling while preserving semantic structure, allowing for one-step segmentation and classification without iterative refinement. Unlike previous approaches that impose strict one-to-one mapping between masks and images, SymmFlow generalizes to flexible conditioning, supporting both pixel-level and image-level class labels. Experimental results on various benchmarks demonstrate that SymmFlow achieves state-of-the-art performance on semantic image synthesis, obtaining FID scores of 11.9 on CelebAMask-HQ and 7.0 on COCO-Stuff with only 25 inference steps. Additionally, it delivers competitive results on semantic segmentation and shows promising capabilities in classification tasks.

Published

2026-03-14

How to Cite

Caetano, F., Viviers, C., With, P. H. de, & van der Sommen, F. (2026). Symmetrical Flow Matching: Unified Image Generation, Segmentation, and Classification with Score-Based Generative Models. Proceedings of the AAAI Conference on Artificial Intelligence, 40(4), 2498–2506. https://doi.org/10.1609/aaai.v40i4.37236

Issue

Section

AAAI Technical Track on Computer Vision I