An End-to-End Automated Pipeline for Controllable Crack Data Synthesis

arXiv:2609.12431 · cs.CV · Submitted 2026-09-11 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.

Tom: We're looking at the paper: "An End-to-End Automated Pipeline for Controllable Crack Data Synthesis".

Title and authors: Tom: So, looking at the title "An End-to-End Automated Pipeline for Controllable Crack Data Synthesis", it tells us they aren't just doing one small part of the problem, but building a whole workflow that handles everything from geometry to detector reliability.

Jane: Exactly. They are moving beyond just using existing annotated masks and instead are creating their own data synthesis process and then immediately testing how good the resulting detectors are when trained on this synthetic information.

Lu: The key idea here is that they aren't just generating random cracks; they start with procedurally sampled Bézier skeletons, which have guaranteed geometric properties, and then use a GAN to convert those into masks whose shape statistics match real cracks.

Meng: That controlled geometry part is important because it means the synthetic data isn't just visually plausible; it has real structural constraints that matter for engineering applications.

Lalam: And they connect that mask generation to the rendering stage using a dual ControlNet Stable Diffusion model, which lets them render those masks onto surfaces described by text or user-provided backgrounds.

The paper's summary: Tom: In essence, the pipeline takes input like annotated real images, optional background images, and even text descriptions of what the surface looks like. It then outputs synthetic crack images complete with pixel-level labels and a confidence map for each label.

Jane: And that confidence map is crucial; it’s not just a simple yes or no label. It quantifies how much trust you should place in that inherited label based on the model's internal agreement and disagreement with the inherited data.

Lu: The loss function they use to train the segmentation networks incorporates this pixel-wise label confidence as a weight, meaning every single synthetic sample contributes to the training gradient in proportion to how confident the network is in its own label for that specific pixel.

Meng: That’s smart because instead of just filtering out low-confidence pixels or samples, they are using that confidence map to guide the loss function itself, so all data is used but weighted by its quality.

Lalam: So if a pixel has low confidence because the model disagrees with the inherited label, it doesn't just get ignored; it gets down-weighted in the training loss calculation. That keeps all the synthetic samples in play but lets them contribute more where they are reliable.

The paper's improvements: Tom: The results they show are pretty telling, especially when you look at how this new data affects the performance of detectors trained on it. For instance, on CRACK500, the crack width that a U-Net detects with ninety percent probability at ninety-five percent confidence drops from eight point zero pixels down to four point three pixels.

Jane: And that’s a big drop for thin cracks. They also report that the expected calibration error, which measures how far off the detector's confidence is from its actual error rate, decreases from fourteen point two percent down to nine point six percent when using their data synthesis approach without any filtering at all.

Lu: Beyond those specific numbers, they show that this new data improves the mean Intersection over Union of U-Net on unseen masonry surfaces, increasing it from thirty point eight percent up to forty-eight point two percent when they use this synthesized dataset without any filtering.

Meng: I’m interested in the zero-shot transfer results too. They showed a significant gain in performance when transferring the U-Net models to entirely new masonry surfaces, where the mean Intersection over Union goes from thirty point eight percent up to forty-eight point two percent with confidence weighting applied and no filtering.

Lalam: So, it seems like this whole pipeline—from skeleton sampling to the final detection evaluation—is designed so that geometric constraints, label uncertainty, and detection reliability are all handled in one single workflow.

Conclusion: Tom: To wrap things up on "An End-to-End Automated Pipeline for Controllable Crack Data Synthesis", this paper shows a way to generate high-quality crack data without manual annotation while simultaneously assessing the reliability of the detectors trained on that data using image space probability of detection and expected calibration error.

Jane: It’s a comprehensive system that controls the geometry at three different levels, from the initial skeleton sampling to how those masks are rendered onto text-described surfaces or user backgrounds.

Lu: The ability to control crack geometry procedurally and then use confidence weighting in the training loss is what really lets them generate data that is both geometrically accurate and statistically sound for training.

Meng: From a deployment angle, the results suggest that this synthetic data directly improves performance across various network architectures, which is valuable when real-world annotation budgets are too small to cover all cases.

Lalam: And they also show a feature called inpainting mode where you can add crack segments that connect to existing ones while matching their interior texture and shading, which adds another layer of control over the final inspection image.

School of Information Technology, Monash University · Department of Electrical Engineering, Shanghai Jiao Tong University

cs.CV

Submitted: 2026-09-11

Updated: 2026-11-26

Comments: Accepted for publication in Reliability Engineering & System Safety

Journal ref: Reliability Engineering & System Safety 279 (2027) 113825

DOI: 10.1016/j.ress.2026.113825

License: http://creativecommons.org/licenses/by-nc-sa/4.0/

Importance score: 91/100

The gist: Vision-based crack inspection depends on segmentation networks whose reliability depends on the quantity, diversity and label quality of their training data.<ref:2609.12431#pg1…

Key concepts

Labelled Crack Data Synthesis
This involves creating high-quality, labeled crack images automatically instead of manually annotating them. A GAN converts simple geometric skeletons into realistic crack masks, which are then rendered into various visual scenarios using diffusion models. This allows for controlled geometric diversity without needing extensive human labeling.
Pixel-wise Label Confidence
This metric estimates how certain the segmentation network is about a specific pixel's label. It is calculated using an ensemble of networks that combine their agreement with the ground truth and their internal disagreement. This confidence score acts as a weight in the training process, ensuring that pixels where the model is uncertain contribute appropriately to learning.
Image-space Probability of Detection (POD)
POD measures how well a detector performs on an image by calculating its probability of correctly detecting a target crack at a specific confidence level. By using this metric, the authors assess how synthetic data improves detection performance, showing concrete improvements in metrics like crack width detection accuracy.
Controllable Crack Generation
This refers to using advanced generative models like dual ControlNet Stable Diffusion to render the generated masks into final crack images. This allows users to control where and on what background the cracks appear, enabling generation on text-described surfaces or user-provided backgrounds with high geometric fidelity.

Terminology

Summary

Vision-based crack inspection depends on segmentation networks whose reliability depends on the quantity, diversity and label quality of their training data. p. 0

Where the paper says it

edu, wylin@sjtu. cn Abstract Vision-based crack inspection depends on segmentation networks whose reliability depends on the quantity, diversity and label quality of their training data.

<ref:2609.12431#pg1, Pixel-level annotations are costly, and crack images of specific structures are scarce >. p. 0
Where the paper says it

cn Abstract Vision-based crack inspection depends on segmentation networks whose reliability depends on the quantity, diversity and label quality of their training data. Pixel-level annotations are costly, and crack images of specific structures are scarce.

This paper presents an end-to-end pipeline that produces labelled crack data without manual annotation and assesses the reliability of these data and of the detectors trained on them. p. 0
Where the paper says it

They reuse annotated masks, offer limited control over crack geometry, and adopt the conditioning mask as the label without checking it. This paper presents an end-to-end pipeline that produces labelled crack data without manual annotation and assesses the reliability of these data and of the detectors trained on them.

<ref:2609.12431#pg1>. Procedurally sampled Bézier skeletons with guaranteed geometric properties are converted into crack masks by a generative adversarial network (GAN). p. 0
Where the paper says it

This paper presents an end-to-end pipeline that produces labelled crack data without manual annotation and assesses the reliability of these data and of the detectors trained on them. Procedurally sampled Bézier skeletons with guaranteed geometric properties are converted into crack masks by a generative adversarial network (GAN).

<ref:2609.12431#pg3, A dual-ControlNet Stable Diffusion model renders the masks as crack images, either on text-described surfaces or on user-provided backgrounds >. p. 0
Where the paper says it

Procedurally sampled Bézier skeletons with guaranteed geometric properties are converted into crack masks by a generative adversarial network (GAN). A dual-ControlNet Stable Diffusion model renders the masks as crack images, either on text-described surfaces or on user-provided backgrounds.

An ensemble of segmentation networks trained on real images combines its agreement with the inherited label and its internal disagreement into a pixel-wise label confidence. p. 0
Where the paper says it

A dual-ControlNet Stable Diffusion model renders the masks as crack images, either on text-described surfaces or on user-provided backgrounds. An ensemble of segmentation networks trained on real images combines its agreement with the inherited label and its internal disagreement into a pixel-wise label confidence.

<ref:2609.12431#pg3>. The trained detectors are evaluated with image-space probability of detection (POD) and calibration analyses. p. 0
Where the paper says it

This confidence weights the training loss instead of removing samples with a threshold. The trained detectors are evaluated with image-space probability of detection (POD) and calibration analyses.

<ref:2609.12431#pg3, On CRACK500, the crack width that U-Net detects with 90% probability at 95% confidence decreases from 8. p. 0
Where the paper says it

On CRACK500 and CrackTree200, the pipeline improves five segmentation networks over conventional, diffusion-based and flow-matching-based augmentation, and on CRACK500 confidence weighting yields a higher accuracy than threshold filtering at every tested threshold. On CRACK500, the crack width that U-Net detects with 90% probability at 95% confidence decreases from 8.

0 to 4.3 pixels, and the expected calibration error decreases from 14. p. 0
Where the paper says it

On CRACK500, the crack width that U-Net detects with 90% probability at 95% confidence decreases from 8. 3 pixels, and the expected calibration error decreases from 14.

2% to 9.6% >.

Labelled crack data synthesis

The pipeline achieves labelled crack data with controlled geometry and without manual annotation.<ref:2609.12431#pg5>. A generative adversarial network (GAN) trained on curve–mask pairs recovered with CLIPasso converts the skeletons into masks whose morphological statistics are close to those of real masks. p. 2

Where the paper says it

Skeletons sampled in a baseline corridor have no self-intersections and a bounded lateral deviation. A generative adversarial network (GAN) trained on curve– mask pairs recovered with CLIPasso converts the skeletons into masks whose morphological statistics are close to those of real masks.

<ref:2609.12431#pg6, Two ControlNet branches, conditioned on the mask and on its contour, render cracks that agree with their masks (R3) >. p. 2
Where the paper says it

A generative adversarial network (GAN) trained on curve– mask pairs recovered with CLIPasso converts the skeletons into masks whose morphological statistics are close to those of real masks. Two ControlNet branches, conditioned on the mask and on its contour, render cracks that agree with their masks.

The data are generated on text-described surfaces or on user-provided background images (R4). p. 2
Where the paper says it

Two ControlNet branches, conditioned on the mask and on its contour, render cracks that agree with their masks. The data are generated on text-described surfaces or on user-provided background images.

<ref:2609.12431#pg5>.

How the training signal is built

The pixel-wise label confidence is computed with an oracle ensemble trained on real images which combines its agreement with the inherited label and its internal disagreement into a label confidence.<ref:2609.12431#pg10>. The loss combines a weighted binary cross-entropy (BCE) and a weighted soft Dice loss using the confidence map c(u) as pixel weights. p. 0

Where the paper says it

An ensemble of segmentation networks trained on real images combines its agreement with the inherited label and its internal disagreement into a pixel-wise label confidence. This confidence weights the training loss instead of removing samples with a threshold.

<ref:2609.12431#pg12, All synthetic samples are retained, and each pixel contributes to the gradient in proportion to the confidence in its label >. p. 2
Where the paper says it

An oracle ensemble trained on real images combines its agreement with the inherited label and its internal disagreement into a label confidence. The confidence is validated against human annotations and weights the training loss, so that all synthetic samples are retained.

p. 2
Where the paper says it

An oracle ensemble trained on real images combines its agreement with the inherited label and its internal disagreement into a label confidence. The confidence is validated against human annotations and weights the training loss, so that all synthetic samples are retained.

Where the gains come from

The reliability of detectors is assessed with image-space POD at a matched false-call rate, the ECE and zero-shot transfer to masonry surfaces (R6).<ref:2609.12431#pg3, The width a90/95 decreases from 8. p. 4

Where the paper says it

4 R6: Detector reliability in inspection terms F1 and mIoU average over all crack pixels and do not relate detection to crack width or false calls [56]. Image-space POD at a matched false-call rate, a90/95 and ECE (Sec.

0 to 4.3 pixels on CRACK500 with the proposed data without filtering, and the ECE decreases from 14. p. 2
Where the paper says it

With the proposed data and confidence weighting, the crack width that U-Net detects with 90% probability at 95% confidence on CRACK500 decreases from 8. 3 pixels, and the ECE decreases from 14.

2% to 9.6% >. The mIoU of U-Net increases from 30. p. 2
Where the paper says it

In addition to the F1 score and the mean intersection over union (mIoU) of five segmentation networks, the detectors are assessed with the image-space POD at a matched false-call rate, the ECE and zero-shot transfer to masonry surfaces. With the proposed data and confidence weighting, the crack width that U-Net detects with 90% probability at 95% confidence on CRACK500 decreases from 8.

8 to 48.2 on unseen masonry surfaces when using the proposed data without filtering. p. 2
Where the paper says it

In addition to the F1 score and the mean intersection over union (mIoU) of five segmentation networks, the detectors are assessed with the image-space POD at a matched false-call rate, the ECE and zero-shot transfer to masonry surfaces. With the proposed data and confidence weighting, the crack width that U-Net detects with 90% probability at 95% confidence on CRACK500 decreases from 8.

<ref:2609.12431#pg5>.

Pruning redundant reasoning tokens

The proposed method improves five segmentation networks over conventional, diffusion-based and flow-matching-based augmentation.<ref:2609.12431#pg1>. In the image-space POD analysis, a90/95 decreases from 8. p. 4

Where the paper says it

4 R6: Detector reliability in inspection terms F1 and mIoU average over all crack pixels and do not relate detection to crack width or false calls [56]. Image-space POD at a matched false-call rate, a90/95 and ECE (Sec.

0 to 4.3 pixels and ECE decreases from 14. p. 2
Where the paper says it

With the proposed data and confidence weighting, the crack width that U-Net detects with 90% probability at 95% confidence on CRACK500 decreases from 8. 3 pixels, and the ECE decreases from 14.

2% to 9.6% when using confidence weighting. p. 0
Where the paper says it

The trained detectors are evaluated with image-space probability of detection (POD) and calibration analyses. On CRACK500 and CrackTree200, the pipeline improves five segmentation networks over conventional, diffusion-based and flow-matching-based augmentation, and on CRACK500 confidence weighting yields a higher accuracy than threshold filtering at every tested threshold.

<ref:2609.12431#pg3>. The generated surfaces correspond to the prompts, for example the stippled finish of rough grey concrete. p. 9
Where the paper says it

4 Inpainting Mode Text prompts describe generic surfaces. The inpainting mode places a generated crack on a user-provided background image xbg and keeps the rest of the image unchanged.

<ref:2609.12431#pg15>. Future work will extend the procedural representation to crack networks with graph-structured skeletons and apply the inpainting mode to inspection images of specific structures. p. 0
Where the paper says it

cn Abstract Vision-based crack inspection depends on segmentation networks whose reliability depends on the quantity, diversity and label quality of their training data. Pixel-level annotations are costly, and crack images of specific structures are scarce.

<ref:2609.12431#pg23, This paper presented an end-to-end pipeline for controllable crack data synthesis and reliability assessment >. p. 0
Where the paper says it

An End-to-End Automated Pipeline for Controllable Crack Data Synthesis Conghui Li1 , Muxin Pu1 , Chern Hong Lim∗1 , Weiyao Lin2 , and Xin Wang∗3 1School of Information Technology, Monash University, Selangor, Malaysia 2Department of Electrical Engineering, Shanghai Jiao Tong University, Shanghai, China 3School of Engineering, Monash University, Selangor, Malaysia {Conghui. chernhong, wang.

The contributions are as follows. p. 2
Where the paper says it

The detectors are evaluated with segmentation accuracy, image-space probability of detection (POD) and expected calibration error (ECE). The contributions are as follows.

p. 2
Where the paper says it

The detectors are evaluated with segmentation accuracy, image-space probability of detection (POD) and expected calibration error (ECE). The contributions are as follows.

<ref:2609.12431#pg5>.

The geometric fidelity of the GAN masks is measured by the Fréchet crack-morphology distance (FCMD) which is computed in the standardised descriptor space.<ref:2609.12431#pg19>. The confidence weighting gives the highest mean scores on both datasets. p. 2

Where the paper says it

In addition to the F1 score and the mean intersection over union (mIoU) of five segmentation networks, the detectors are assessed with the image-space POD at a matched false-call rate, the ECE and zero-shot transfer to masonry surfaces. With the proposed data and confidence weighting, the crack width that U-Net detects with 90% probability at 95% confidence on CRACK500 decreases from 8.

<ref:2609.12431#pg19, Threshold filtering raises the CRACK500 mIoU from 63. p. 0
Where the paper says it

The trained detectors are evaluated with image-space probability of detection (POD) and calibration analyses. On CRACK500 and CrackTree200, the pipeline improves five segmentation networks over conventional, diffusion-based and flow-matching-based augmentation, and on CRACK500 confidence weighting yields a higher accuracy than threshold filtering at every tested threshold.

7 without filtering to 65. p. 0
Where the paper says it

The trained detectors are evaluated with image-space probability of detection (POD) and calibration analyses. On CRACK500 and CrackTree200, the pipeline improves five segmentation networks over conventional, diffusion-based and flow-matching-based augmentation, and on CRACK500 confidence weighting yields a higher accuracy than threshold filtering at every tested threshold.

4 at τ = 0.80, where 69.3% of the samples remain >. p. 1
Where the paper says it

ControlNet injects spatial conditions at multiple layers and scales of a frozen diffusion model [19] and improves structural alignment. Three problems remain.

The confidence weighting uses all samples and gives the highest mean scores on both datasets. p. 2
Where the paper says it

In addition to the F1 score and the mean intersection over union (mIoU) of five segmentation networks, the detectors are assessed with the image-space POD at a matched false-call rate, the ECE and zero-shot transfer to masonry surfaces. With the proposed data and confidence weighting, the crack width that U-Net detects with 90% probability at 95% confidence on CRACK500 decreases from 8.

<ref:2609.12431#pg19, Confidence weighting exceeds the best threshold filter by 1. p. 3
Where the paper says it

FreeMask ignores synthetic pixels whose loss under a model trained on real images exceeds a class-wise threshold [21]. In this work, pixels are weighted by a label confidence instead of being removed.

3 mIoU points on CRACK500 >. p. 2
Where the paper says it

In addition to the F1 score and the mean intersection over union (mIoU) of five segmentation networks, the detectors are assessed with the image-space POD at a matched false-call rate, the ECE and zero-shot transfer to masonry surfaces. With the proposed data and confidence weighting, the crack width that U-Net detects with 90% probability at 95% confidence on CRACK500 decreases from 8.

The boundary F1 score between two annotators is 0. p. 6
Where the paper says it

For a binary mask, the detector returns the boundary between crack and background as a thin line image. The two conditions are processed by two ControlNet branches [19].

79 at a 2-pixel tolerance when annotators independently labelled synthetic images without access to Mc. p. 0
Where the paper says it

They reuse annotated masks, offer limited control over crack geometry, and adopt the conditioning mask as the label without checking it. This paper presents an end-to-end pipeline that produces labelled crack data without manual annotation and assesses the reliability of these data and of the detectors trained on them.

<ref:2609.12431#pg19, Low confidence marks pixels with frequent label errors and the pixel-wise label error rate is 36. p. 2
Where the paper says it

A pixel-wise label confidence quantifies how far each inherited label can be trusted. It enters the training loss as a weight rather than serving as an accept-or-reject criterion for images or pixels.

2% for c less than 0.5 >. The POD analysis uses the CRACK500 test set where a90/95 is 8. p. 3
Where the paper says it

In non-destructive evaluation (NDE), the reliability of an inspection system is characterised by its POD as a function of flaw size [56]. POD analysis has been applied to deep-learning defect detection in weld radiography, including a comparison of training with and without synthetic flaws [57], and in pulsed thermography [58].

0 pixels with real data only and decreases to 4. p. 0
Where the paper says it

3 pixels, and the expected calibration error decreases from 14. Keywords: Crack segmentation · Data synthesis · Diffusion model · Label uncertainty · Probability of detection · Structural health monitoring 1 Introduction Image-based crack detection is a core task in the structural health monitoring (SHM) of civil infrastructure [1–4].

3 pixels with confidence weighting. p. 2
Where the paper says it

With the proposed data and confidence weighting, the crack width that U-Net detects with 90% probability at 95% confidence on CRACK500 decreases from 8. 3 pixels, and the ECE decreases from 14.

<ref:2609.12431#pg21>. The proposed data reduce it to 5. p. 2
Where the paper says it

In addition to the F1 score and the mean intersection over union (mIoU) of five segmentation networks, the detectors are assessed with the image-space POD at a matched false-call rate, the ECE and zero-shot transfer to masonry surfaces. With the proposed data and confidence weighting, the crack width that U-Net detects with 90% probability at 95% confidence on CRACK500 decreases from 8.

5 pixels without filtering and confidence weighting gives the lowest a90/95 of 4. p. 0
Where the paper says it

The trained detectors are evaluated with image-space probability of detection (POD) and calibration analyses. On CRACK500 and CrackTree200, the pipeline improves five segmentation networks over conventional, diffusion-based and flow-matching-based augmentation, and on CRACK500 confidence weighting yields a higher accuracy than threshold filtering at every tested threshold.

3 pixels.<ref:2609.12431#pg21>. The U-Net models of Table 6 are applied without fine-tuning to the test set of the masonry crack dataset where U-Net reaches an mIoU of 30. p. 2
Where the paper says it

In addition to the F1 score and the mean intersection over union (mIoU) of five segmentation networks, the detectors are assessed with the image-space POD at a matched false-call rate, the ECE and zero-shot transfer to masonry surfaces. With the proposed data and confidence weighting, the crack width that U-Net detects with 90% probability at 95% confidence on CRACK500 decreases from 8.

8.<ref:2609.12431#pg21>. The inpainting mode can add crack segments that connect to existing cracks and their interior texture, aggregate colour and shading match those of the existing crack. p. 3
Where the paper says it

A ControlNet conditioned on generated labels synthesises pavement distress images for unmanned aerial vehicle (UAV) inspection [18], and CrackSegFlow samples crack masks with a flow-matching model conditioned on the crack-pixel ratio, perturbs real masks morphologically, and injects cracks into crack-free backgrounds [15]. In these methods, the masks are taken from existing annotations, derived from them or sampled from a learned distribution.

<ref:2609.12431#pg23>. The inpainted samples are within 1. p. 2
Where the paper says it

Reliability measures then quantify the effect of the synthetic data on detection. Geometric constraints, label uncertainty and detection reliability are thus handled within one workflow, from skeleton sampling to detector evaluation.

3 dB in PSNR and 0.015 in LPIPS of this autoencoder reference. p. 6
Where the paper says it

The backbone is the latent diffusion model Stable Diffusion [66]. A variational autoencoder (VAE) with encoder E and decoder D maps images to latents.

<ref:2609.12431#pg23>. The full model mixes 1,000 background-free and 1,000 inpainting samples. p. 3
Where the paper says it

Other recent methods also generate image–mask pairs. A ControlNet conditioned on generated labels synthesises pavement distress images for unmanned aerial vehicle (UAV) inspection [18], and CrackSegFlow samples crack masks with a flow-matching model conditioned on the crack-pixel ratio, perturbs real masks morphologically, and injects cracks into crack-free backgrounds [15].

<ref:2609.12431#pg22>. The contributions are as follows.<ref:2609.12431#pg5>.

The ensemble of segmentation networks is used to compute the oracle ensemble mean and variance to estimate predictive uncertainty. p. 9

Where the paper says it

At pixel u, the ensemble mean and variance are p¯(u) = 1 J X J j=1 pj (u), s2 (u) = 1 J X J j=1 pj (u) − p¯(u) 2 . (7) The variance s 2 (u) measures the disagreement between the ensemble members and serves as an estimate of predictive uncertainty [50].

<ref:2609.12431#pg10, The variance s²(u) measures the disagreement between the ensemble members and serves as an estimate of predictive uncertainty >. p. 9
Where the paper says it

At pixel u, the ensemble mean and variance are p¯(u) = 1 J X J j=1 pj (u), s2 (u) = 1 J X J j=1 pj (u) − p¯(u) 2 . (7) The variance s 2 (u) measures the disagreement between the ensemble members and serves as an estimate of predictive uncertainty [50].

p. 9
Where the paper says it

At pixel u, the ensemble mean and variance are p¯(u) = 1 J X J j=1 pj (u), s2 (u) = 1 J X J j=1 pj (u) − p¯(u) 2 . (7) The variance s 2 (u) measures the disagreement between the ensemble members and serves as an estimate of predictive uncertainty [50].

The confidence in the label Mc(u) is c(u) = 1 − Mc(u) − p¯(u) · 1 − 4 s2(u), where (8). p. 0
Where the paper says it

A dual-ControlNet Stable Diffusion model renders the masks as crack images, either on text-described surfaces or on user-provided backgrounds. An ensemble of segmentation networks trained on real images combines its agreement with the inherited label and its internal disagreement into a pixel-wise label confidence.

<ref:2609.12431#pg12, A low confidence indicates a high uncertainty of the inherited label at pixel u >. p. 2
Where the paper says it

Pixel-wise label uncertainty for self-annotated synthetic data. An oracle ensemble trained on real images combines its agreement with the inherited label and its internal disagreement into a label confidence.

The loss combines a weighted binary cross-entropy (BCE) and a weighted soft Dice loss using c(u) as pixel weights. p. 0
Where the paper says it

An ensemble of segmentation networks trained on real images combines its agreement with the inherited label and its internal disagreement into a pixel-wise label confidence. This confidence weights the training loss instead of removing samples with a threshold.

<ref:2609.12431#pg12, All synthetic samples are retained, and each pixel contributes to the gradient in proportion to the confidence in its label >. The ensemble of segmentation networks is used to compute the oracle ensemble mean and variance to estimate predictive uncertainty.<ref:2609.12431#pg10, The variance s²(u) measures the disagreement between the ensemble members and serves as an estimate of predictive uncertainty >.

The pipeline addresses the following inspection scenario where a crack segmentation network is required but only a limited set of annotated crack images is available.<ref:2609.12431#pg4, The pipeline takes as inputs the annotated real images, optional background images and text descriptions of surfaces >. p. 4

Where the paper says it

annotated real images, optional background images and text descriptions of surfaces. It returns synthetic crack images with pixel-level labels, a confidence map for each label, a detector trained on real and synthetic data, and reliability measures of this detector expressed in inspection terms.

p. 4
Where the paper says it

annotated real images, optional background images and text descriptions of surfaces. It returns synthetic crack images with pixel-level labels, a confidence map for each label, a detector trained on real and synthetic data, and reliability measures of this detector expressed in inspection terms.

It returns synthetic crack images with pixel-level labels, a confidence map for each label, a detector trained on real and synthetic data, and reliability measures of this detector expressed in inspection terms. p. 4
Where the paper says it

annotated real images, optional background images and text descriptions of surfaces. It returns synthetic crack images with pixel-level labels, a confidence map for each label, a detector trained on real and synthetic data, and reliability measures of this detector expressed in inspection terms.

p. 4
Where the paper says it

annotated real images, optional background images and text descriptions of surfaces. It returns synthetic crack images with pixel-level labels, a confidence map for each label, a detector trained on real and synthetic data, and reliability measures of this detector expressed in inspection terms.

<ref:2609.12431#pg4>.

The pipeline addresses the following inspection scenario where a crack segmentation network is required but only a limited set of annotated crack images is available.<ref:2609.12431#pg4, The pipeline takes as inputs the annotated real images, optional background images and text descriptions of surfaces >. It returns synthetic crack images with pixel-level labels, a confidence map for each label, a detector trained on real and synthetic data, and reliability measures of this detector expressed in inspection terms.<ref:2609.12431#pg4>. The design elements depend on each other. p. 4

Where the paper says it

Each requirement is assigned to a design element of the pipeline and to the experiments that evaluate it. The design elements depend on each other.

<ref:2609.12431#pg4>.

Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.

Improvements for AI systems

  1. Data Synthesis without Manual Annotation: The pipeline produces labelled crack data without manual annotation by using a generative adversarial network (GAN) to convert procedurally sampled Bézier skeletons into crack masks. This allows for the creation of controlled geometric and diverse synthetic datasets from limited real annotations.

  2. Pixel-wise Label Confidence Weighting: A pixel-wise label confidence is computed with an oracle ensemble of segmentation networks, which combines its agreement with the inherited label and its internal disagreement into a pixel-wise label confidence. This confidence weights the training loss instead of removing samples with a threshold, ensuring all synthetic samples are retained.

  3. Controllable Crack Generation and Rendering: A dual ControlNet Stable Diffusion model renders masks as crack images on text-described surfaces or user-provided backgrounds, using two branches to ensure the rendered cracks follow the mask more closely than single-condition methods. This allows for precise control over crack geometry and realistic texture matching in both background-free and inpainting modes.

  4. Reliability Assessment of Detectors: The trained detectors are evaluated with image-space probability of detection (POD) and calibration analyses, such as the expected calibration error (ECE), to quantify the effect of synthetic data on detection reliability. This allows for a more rigorous assessment than simple overlap metrics alone, showing, for instance, that the crack width detected by U-Net with 90% probability at 95% confidence decreases from 8.0 to 4.3 pixels when using confidence weighting.

  5. Improved Downstream Segmentation Accuracy: The proposed data yield higher mean mIoU for all five segmentation networks on both datasets, achieving results like an mIoU of 78.4 with CrackFormer on CRACK500 compared to the best baseline of 66.7 without augmentation or filtering. This demonstrates that the synthesized data directly improves performance across various network architectures.

  6. Enhanced Robustness to Unseen Surfaces: The pipeline achieves a significant gain in zero-shot segmentation performance on unseen masonry surfaces, increasing U-Net mIoU from 30.8 (real data only) to 48.2 with confidence weighting, indicating that the synthesized data generalizes well beyond the training domain.

  7. Precise Crack Extension and Completion: The inpainting mode allows for the addition of crack segments that connect to existing cracks while matching their interior texture, aggregate color, and shading, supporting the augmentation of specific backgrounds with extended or completed cracks. This capability is measured by metrics like PSNR and SSIM outside the modified region.

Abstract

Vision-based crack inspection depends on segmentation networks whose reliability depends on the quantity, diversity and label quality of their training data. Pixel-level annotations are costly, and crack images of specific structures are scarce. Generative augmentation can supply additional data, but existing methods address isolated steps. They reuse annotated masks, offer limited control over crack geometry, and adopt the conditioning mask as the label without checking it. This paper presents an end-to-end pipeline that produces labelled crack data without manual annotation and assesses the reliability of these data and of the detectors trained on them. Procedurally sampled Bézier skeletons with guaranteed geometric properties are converted into crack masks by a generative adversarial network (GAN). A dual-ControlNet Stable Diffusion model renders the masks as crack images, either on text-described surfaces or on user-provided backgrounds. An ensemble of segmentation networks trained on real images combines its agreement with the inherited label and its internal disagreement into a pixel-wise label confidence. This confidence weights the training loss instead of removing samples with a threshold. The trained detectors are evaluated with image-space probability of detection (POD) and calibration analyses. On CRACK500 and CrackTree200, the pipeline improves five segmentation networks over conventional, diffusion-based and flow-matching-based augmentation, and on CRACK500 confidence weighting yields a higher accuracy than threshold filtering at every tested threshold. On CRACK500, the crack width that U-Net detects with 90% probability at 95% confidence decreases from 8.0 to 4.3 pixels, and the expected calibration error decreases from 14.2% to 9.6%.

Sources

Related papers