Controllable flow matching synthesis for generalizable crack segmentation with a 50k image–mask benchmark
Crack segmentation is central to computer vision-based infrastructure inspection. However, deployment remains limited due to scarce pixel-level labels and domain shift across environments. This paper introduces CrackSegFlow, a controllable Flow Matching (FM) synthesis method that renders crack images from masks with pixel-level alignment. The renderer combines topology-preserving mask injection with boundary-gated modulation to maintain thin-structure continuity. Class-conditional FM samples diverse masks, and CrackSegFlow renders paired images. Compared with latent-diffusion-based conditioning, CrackSegFlow achieves higher mask–image adherence and thin-structure topology fidelity. It also samples 7 × faster than pixel-domain semantic diffusion while achieving lower FID. Cracks are further injected onto crack-free backgrounds to diversify confounders and reduce false positives. Across five datasets using the established hybrid CNN–Transformer backbone, average gains are +5.4 mIoU/+5.1 F1 in-domain and +13.0 mIoU/+14.7 F1 cross-domain under target-guided synthesis, corresponding to +45.9%/+34.8% relative improvement. The CSF-50K benchmark is also released, comprising 50,000 image–mask pairs.
Authors
- Ramez Hajj (ORCID: https://orcid.org/0000-0003-0579-5618)
- P. T. Wu
- Mani Golparvar-Fard
- Babak Asadi
Institutions
- University of Illinois Urbana-Champaign (US)
Publication Details
- Journal
- Automation in Construction
- Published
- 2026-04-06
- DOI
- https://doi.org/10.1016/j.autcon.2026.106938
- Citations
- 1
- Primary Topic
- Infrastructure Maintenance and Monitoring
- Type
- article
- Field-Weighted Citation Impact
- 12.16
Funders
- Graduate College, University of Illinois at Urbana-Champaign