PGNAA Spectral Classification of Aluminium and Copper Alloys with Machine Learning

Henrik Folz, Joshua Henjes, Annika Heuer, Joscha Lahl, Philipp Olfert, Bjarne Seen, Sebastian Stabenau, Kai Krycki, Markus Lange-Hegermann, Helmand ShayanarXiv 2024

TL;DR

This paper explores using Prompt Gamma Neutron Activation Analysis (PGNAA) and machine learning to rapidly classify aluminum and copper alloys for improved metal recycling. They found that a Maximum Likelihood Classifier (MLC) combined with a Conditional Variational Autoencoder (CVAE) for data generation achieved the best results, with detector choice (HPGe vs. CeBr$_{3}$) significantly impacting performance based on measurement time.

What Problem Does This Paper Address?

Efficiently recycling metals like aluminum and copper is crucial for sustainability, as it saves significant energy and reduces CO2 emissions compared to primary production. A key challenge in scrap metal recycling is accurately and quickly identifying the composition of different alloys. Current methods often rely on surface analysis or destructive chemical processes. This paper aims to address this by developing a non-destructive method using PGNAA to analyze the bulk composition of metal alloys and employing machine learning for rapid, real-time classification.

Methods

The researchers investigated various machine learning techniques for classifying metal alloys based on PGNAA spectral data. They explored several data generation methods, including:

  • Categorical Sampling: Creating a probability distribution from long-term PGNAA spectra and sampling from it to generate short-term spectra for training.
  • Conditional Variational Autoencoder (CVAE): A generative model that learns to create realistic short-term spectra conditioned on long-term spectra, aiming to improve data diversity and reduce the need for extensive real-world measurements.

They also experimented with preprocessing techniques such as:

  • Scaling: Standardizing data for certain models.
  • Subsetting: Reducing the number of energy levels analyzed.
  • Denoising Autoencoder (DAE): Using an autoencoder to reconstruct long-term measurements from short-term ones.
  • Escape and Double Escape Peaks (EPs and DEPs) Weighting: Leveraging characteristic spectral features.
  • Unique Peaks Weighting: Emphasizing peaks specific to certain alloys.

A wide range of classification algorithms were evaluated, including:

  • Maximum Likelihood Classifier (MLC)
  • XGBoost (XGB)
  • Logistic Regression (LR)
  • Linear Support Vector Machine (Linear SVM)
  • K-nearest Neighbors (KNN)
  • Radius Neighbors Classifier (RNC)
  • Neural Network (NN)
  • Random Forest Classifier (RFC)
  • Extra Trees Classifier (ETC)
  • Kuiper test (Kui)

Datasets

The study utilized PGNAA spectral data from aluminum and copper alloys. Measurements were taken using two types of detectors: High Purity Germanium (HPGe) and Cerium Bromide (CeBr$_{3}$). The data included both metal blocks and metal chips, with varying counts per second reflecting differences in density and sample form. The paper does not introduce a new benchmark dataset but rather uses collected PGNAA data for evaluation.

Key Insights and Ideas

  • MLC + CVAE Synergy: The combination of the Maximum Likelihood Classifier (MLC) with Conditional Variational Autoencoder (CVAE) for data generation proved to be the most effective approach for achieving high classification accuracy, especially for short measurement times.
  • Detector Choice Matters: The choice between HPGe and CeBr${3}$ detectors is critical and depends on the desired measurement speed. CeBr${3}$ excels in very short measurement times (under 1.3 seconds), while HPGe, with its higher resolution, performs better in longer durations, eventually reaching 100% accuracy much faster than CeBr$_{3}$.
  • Data Generation Impact: While Categorical Sampling is a viable method, CVAE can significantly improve MLC performance by generating cleaner, more representative spectra. However, for other classifiers, CVAE-generated data sometimes led to decreased accuracy, suggesting it's not universally beneficial.
  • Preprocessing Nuances: Reducing the number of energy levels (subsetting) did not linearly improve accuracy and keeping all features was generally optimal. EPs/DEPs and unique peaks weighting offered only minor improvements.
  • Chip vs. Block Data: Metal chips yielded worse results than metal blocks due to lower density, leading to fewer counts and thus less information.

Key Results

  • The MLC classifier, when combined with CVAE data generation, achieved the highest classification accuracies. For example, with HPGe and block data, MLC reached 99.87% accuracy for aluminum and 97.96% for copper at 2.0s measurement time.
  • For short measurement times (e.g., 0.5s), the CeBr$_{3}$ detector showed superior performance on aluminum chips, reaching 62.58% accuracy compared to HPGe's 50.40% using Categorical Sampling.
  • HPGe detectors reached 100% classification accuracy for aluminum alloys in approximately 10 seconds, whereas CeBr$_{3}$ required around 80 seconds to achieve the same level of accuracy.
  • Using CVAE for data generation improved MLC accuracy by up to 0.22% but decreased accuracy for XGBoost, LR, and Linear SVM.

Limitations and Future Work

  • Limited Real-World Short-Term Data: The study acknowledges a lack of extensive real-world short-term measurement data, which is crucial for fully validating the findings in practical recycling scenarios.
  • Future Work: The authors suggest performing and analyzing detailed short-term measurements in the future to verify the applicability of their findings in real-world metal recycling. They also imply that further optimization of data generation and preprocessing techniques could yield even better results.

Summary updated

BibTeX
@misc{folz2024pgnaa,
  author = {Henrik Folz and Joshua Henjes and Annika Heuer and Joscha Lahl and Philipp Olfert and Bjarne Seen and Sebastian Stabenau and Kai Krycki and Markus Lange-Hegermann and Helmand Shayan},
  title = {{PGNAA Spectral Classification of Aluminium and Copper Alloys with Machine Learning}},
  year = {2024},
  eprint = {2404.14107},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2404.14107},
}

Loading related content...

Figure