FMS$^2$: Unified Flow Matching for Segmentation and Synthesis of Thin Structures
Babak Asadi, Peiyang Wu, Mani Golparvar-Fard, Viraj Shah, Ramez Hajj

TL;DR
FMS$^2$ introduces a unified flow-matching framework for segmentation and synthesis of thin structures, improving accuracy, topology preservation, and domain generalization through trajectory-level supervision and synthetic data generation.
Contribution
The paper presents FMS$^2$, a novel flow-matching approach with two modules: SegFlow for improved thin-structure segmentation and SynFlow for synthetic data generation, enhancing performance and domain robustness.
Findings
SegFlow outperforms CNN, Transformer, Mamba, and generative baselines in IoU and topological metrics.
Augmenting with SynFlow reduces annotation needs and improves cross-domain performance.
Trajectory-level supervision enhances thin-structure continuity and sharpness.
Abstract
Segmenting thin structures like infrastructure cracks and anatomical vessels is a task hampered by topology-sensitive geometry, high annotation costs, and poor generalization across domains. Existing methods address these challenges in isolation. We propose FMS, a flow-matching framework with two modules. (1) SegFlow is a 2.96M-parameter segmentation model built on a standard encoder-decoder backbone that recasts prediction as continuous image mask transport. It learns a time-indexed velocity field with a flow-matching regression loss and outputs the mask via ODE integration, rather than supervising only end-state logits. This trajectory-level supervision improves thin-structure continuity and sharpness, compared with tuned topology-aware loss baselines, without auxiliary topology heads, post-processing, or multi-term loss engineering. (2) SynFlow is a mask-conditioned…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsInfrastructure Maintenance and Monitoring · Advanced Neural Network Applications · Anomaly Detection Techniques and Applications
