NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Evaluating Diffusion Models for the Automation of Ultrasonic Nondestructive Evaluation Data Analysis

Nick Torenvliet, John S. ZelekAlgorithms 2024

TL;DR

This paper explores the use of diffusion models for automating the analysis of ultrasonic non-destructive evaluation (NDE) data, specifically from nuclear reactor pressure tubes. By framing the problem as a probabilistic task and leveraging Conditional Score-Based Diffusion (CSDI) models, they achieve performance comparable to human experts without requiring manual data annotation.

What Problem Does This Paper Address?

Ultrasonic non-destructive evaluation (NDE) is crucial for ensuring the safety and integrity of critical infrastructure like nuclear power plants. However, manually analyzing the vast amounts of data generated by NDE inspections is time-consuming and costly. Existing automated methods often struggle with out-of-distribution generalization and require extensive data labeling, which is a significant hurdle in safety-critical applications. This paper aims to address these limitations by developing a self-supervised, data-driven approach using diffusion models that can learn from individual datasets without external labels, offering a more robust and explainable solution.

Methods

The core of this work lies in applying diffusion models, specifically Denoising Diffusion Probabilistic Models (DDPM) and Conditional Score-Based Diffusion (CSDI), to the problem of ultrasonic NDE data analysis. The authors first reduce the dimensionality of the raw ultrasonic "ascans" (individual scan lines) to a single metric: the peak amplitude response time of flight (tpa). This tpa data is then treated as a time series.

They propose a probabilistic framework by defining a "Nominal Data Model" (NDM) and an "Observed Data Model" (ODM). The NDM aims to model the expected, anomaly-free data, while the ODM models the data as it is observed, including potential anomalies. The key innovation is using CSDI, which incorporates a conditional mechanism that allows it to learn from observed nominal data to predict unobserved nominal data. This self-supervised approach, inspired by masked language models, means the models learn by holding back parts of the observed data and trying to predict them, effectively learning the underlying data distribution without explicit labels.

Datasets

The primary dataset used in this study consists of 3600 ascans from a calibration fixture, which is a mock nuclear pressure tube used for testing and tuning UT probes. This dataset was acquired during an inspection at a nuclear power generation facility.

To evaluate their models, the authors created a series of datasets by partitioning the original data based on the output of a Variational Autoencoder (VAE). Specifically, they used the mean squared error (MSE) of ascan reconstruction from a trained VAE as a threshold to classify data points as either nominal or anomalous. This resulted in multiple datasets with varying proportions of nominal and anomalous data (e.g., X0.70, X0.95, Xgt, where the subscript indicates the percentile of MSE used for partitioning).

Key Insights and Ideas

  • Probabilistic Framework for Explainability: By framing NDE analysis within a probabilistic model (NDM and ODM), the authors provide a principled way to understand and justify the use of AI in safety-critical domains, aligning with regulatory requirements for risk assessment.
  • CSDI's Advantage in Nominal Data: The conditional nature of CSDI proves highly effective when the dataset is predominantly nominal. It leverages the smooth, underlying structure of nominal data to make accurate predictions, outperforming DDPM in many error metrics.
  • Self-Supervised Learning Reduces Reliance on Labels: The ability to train models without manual data annotation is a significant step forward, drastically reducing the effort and cost associated with preparing data for NDE analysis.
  • Dataset Partitioning as a Proxy for Ground Truth: Using VAE reconstruction error to partition datasets, while not perfect ground truth, provides a systematic way to create diverse training scenarios and evaluate model robustness across different data distributions.
  • Iterative Human-in-the-Loop for Practical Deployment: The authors suggest that for real-world applications, a human-in-the-loop approach, where an analyst verifies model outputs and potentially refines data partitions, will be crucial for achieving high confidence and fault diagnosis.

Key Results

  • Performance on Par with Experts: CSDI models trained on the generated datasets achieved accuracy comparable to manual analysis for estimating peak amplitude time of flight, with errors in the order of microns.
  • CSDI Outperforms DDPM: In most error categories (MAE, MAPE, MSE), CSDI models generally outperformed DDPM models, especially when trained on datasets with a higher proportion of nominal data.
  • Sensitivity to Anomalies: While CSDI excels with nominal data, its performance can degrade more sharply than DDPM's when dealing with highly anomalous data points, particularly those with unique characteristics.
  • Dataset Size Improves Performance: Increasing the size of the training dataset, especially with a higher proportion of nominal data, consistently led to improved Mean Absolute Error (MAE).

Limitations and Future Work

  • Lack of Ground Truth: The study acknowledges the absence of true ground truth for all generated datasets, relying instead on VAE-based partitioning. This limits the ability to provide absolute guarantees on model performance.
  • Iterative Refinement Needed: For practical deployment, an iterative process involving human analysts to verify and refine data partitions and retrain models is suggested to build confidence and achieve satisfactory performance.
  • Alternative Priors and Post-processing: The authors suggest exploring alternative priors with more degrees of freedom and implementing post-processing steps to mitigate issues like "wig wag" in the fitted curves, which can arise from the Gaussian prior and curve fitting methods.
  • Further Study on Low-Range Deviations: While CSDI estimates are promising, further studies are needed to quantify the delta between model-based estimates and manual analysis for deviations below 100 µm.

Summary updated

BibTeX
@article{torenvliet2024evaluating,
  author = {Nick Torenvliet and John S. Zelek},
  title = {{Evaluating Diffusion Models for the Automation of Ultrasonic Nondestructive Evaluation Data Analysis}},
  journal = {Algorithms},
  year = {2024},
  doi = {10.3390/a17040167},
}

Loading related content...

Figure