Skip to Content
Applied SciencesApplied Sciences
  • Article
  • Open Access

23 September 2026

33 Pages

Early Porosity Detection in High-Pressure Die Casting Using Explainable Multimodal Data Fusion

,
,
,
,
,
,
,
,
…
1
AIT Austrian Institute of Technology GmbH, Giefinggasse 4, 1210 Vienna, Austria
2
RISC Software GmbH, Softwarepark 32a, 4232 Hagenberg im Mühlkreis, Austria
3
LKR Light Metals Technologies, Industrieparkstraße 6, 5282 Neukirchen an der Enknach, Austria
4
LTH Castings d.o.o., Vincarje 2, 4220 Škofja Loka, Slovenia

Abstract

Early and reliable detection of defects in the metal industry is crucial for improving quality, reducing costs and minimizing the environmental impact of manufacturing processes. In High-Pressure Die Casting (HPDC), porosity is one of the most severe defect types. This paper presents an explainable, multimodal approach to the early detection of porosity, which can be used as a preliminary step to reduce the number of parts requiring further, more time-consuming and expensive tests. Our work combines different data sources, such as machine sensor measurements, process time-series data and thermal images, to extract meaningful information and improve the final classification. The main classifier used is based on Fuzzy Cognitive Maps (FCMs), which provide a much higher interpretability of results and decisions, as well as of the model, compared to deep learning approaches. Building on our previous research, we have developed new feature extraction methods, classification approaches, and weight-selection strategies. Additionally, we investigated the DINOv2 foundation model for extracting features from thermal images and reducing the feature space using Principal Component Analysis (PCA). The experimental results show that the proposed approach improves defect detection performance compared to previous approaches and the HP-GAN algorithm without losing interpretability, allowing analysis of the relationship between input features and classification decisions. The proposed approach demonstrates how explainable artificial intelligence can support quality monitoring in real-life industrial use cases. Unfortunately, a performance advantage of the multimodal classifier over the strongest single-modality approach has not been demonstrated, and this will be further investigated as one of the future research directions.

1. Introduction

Modern industry is currently facing many problems, such as supply chain disruptions, rising energy costs, and a lack of resources. Therefore, it is crucial to optimize production processes in order to efficiently monitor and improve product quality and reduce the number of defective parts and scrap [1,2,3].
In High-Pressure Die Casting (HPDC), many factors influence the quality of the final part. Examples include temperature-related factors (e.g., surface or melt temperature), process parameters, or post-demolding treatment, which can affect the final properties of the part. Defects occurring in the production process can be categorized as either surface or internal defects [4]. Common surface defects include cold flows, ejection marks, and incomplete filling. The most common internal defects, which have the greatest impact on the final part quality, are different types of porosity, such as shrinkage or gas porosity. Shrinkage porosity forms during solidification when the liquid metal cannot compensate for the volume contraction associated with solidification [5]. It forms when the thermal conditions or process parameters are not appropriate, e.g., melt temperature or pressure [5]. Gas porosity is associated with gas and air entrapment during the filling and injection stages [6,7]. However, the mechanisms are not completely independent and can also influence the formation of shrinkage porosity [8]. Additionally, porosity may appear in different populations with distinct sizes, distributions, and characteristics [9,10].
Surface defects can be detected by visual inspection, either by a human or automatically. Internal defects are more challenging, as their presence is not visible externally. For such defects, destructive and non-destructive techniques are used. Common destructive techniques include metallographic cuts [11], tensile testing [12], or fractographic analysis [13]. When destructive tests are performed, the part cannot be used anymore; thus, non-destructive methods are preferred whenever applicable. Common non-destructive methods include leakage tests [14], X-ray radiography [15,16], and computed tomography (CT) [16,17]. However, despite their effectiveness, these methods are costly and often cannot be easily integrated into the production line. Therefore, there is a need for preliminary, in-line quality assessment to reduce the number of parts that must be investigated more thoroughly. In this area, studies have shown that analysis of thermal images [18] and process data [19,20] can be used for preliminary quality assessment and defect prediction.
Defect detection using computer-supported methods in the metal industry has been studied for many years. Many studies focus only on surface defects, such as inclusions, different types of stains, cracks, pits, or scratches [21]. Both classical machine learning [21] and deep learning [21,22] methods are used. However, when internal defects must be detected, fewer methods are available, with most approaches being based on the aforementioned non-destructive testing techniques. For example, the following approaches have been successfully applied to processes other than HPDC: processing images from XCT with postprocessing to extract porosity [23], analysis of acoustic spectroscopy signals using deep learning [24], and processing of EMD spectrometer signals using a modified SVM and genetic algorithm approach [25].
In the case of High-Pressure Die Casting, many of these methods can also be applied, with modifications tailored to process characteristics. Both classical machine learning (ML) and deep learning (DL) methods can be used for detecting different types of defects and process quality monitoring. Examples of ML methods used in recent studies include Random Forests [20,26], Support Vector Machines [20], and XGBoost and CatBoost classifiers [19]. Machine learning methods provide good results when the features extracted from the data are meaningful [27]. Among DL methods (especially for images), Convolutional Neural Networks (CNNs) [27], ResNet50 [28], or YOLOv5 [27] are often used to learn high-level features and detect defects [27]. For example, Faster R-CNN or YOLOv5 can be used to detect surface defects [29]. Another approach to process quality prediction is using simulations, which can be particularly effective for misruns or cold shuts [30]. For detecting internal defects, a data-fusion approach can be used [26], merging data from Internet of Things (IoT) sensors and simulations, and analyzing them using a Decision Tree, Random Forest, Artificial Neural Network, or Support Vector Machine. However, the work provides limited information about validation on real production data and does not include additional vision-based data. Additionally, prediction quality may depend on the parameter settings represented in the typical good and bad samples from which the model learned, potentially making it less effective in atypical situations. Another example of sensor-fusion-based approaches is [31], which uses thermal images and sensor readouts, similarly to our work. The authors used the HP-GAN (Hypothesis Pruning Generative Adversarial Network) architecture, which is based on CNN and GAN networks, and showed that such an approach can provide highly effective defect prediction. However, this solution has limitations that may restrict broader adoption, including missing information about the datasets used for training and testing, limited details on the evaluation methodology and performance measurements, and limited scalability.
Our paper focuses on the use of Fuzzy Cognitive Maps (FCMs) for multimodal data fusion and classification. Fuzzy Cognitive Maps have been used successfully in many areas, providing explainable insight into classification [32] or forecasting processes, with a graph-like structure [33]. For preprocessing and feature extraction, models such as VGG-16 [34] or Vision Transformers [35] can be used. For classification, the output may be binary [33] or multi-label [35].
The main contributions of our paper are as follows:
  • A novel approach for porosity detection in HPDC, based on our previous work [36], with many extensions; the main differences between the previous work and this work are shown in Table 1.
  • An analysis of the informativeness of thermal images, process data readouts, and time-series data for the final prediction.
  • An analysis of how a foundation model can improve feature extraction for thermal images.
  • An analysis of how feature-space reduction influences the results.
  • An analysis of how different training algorithms influence the results.
  • An analysis and comparison of a data-fusion approach with single-data-source approaches.
  • An analysis of model complexity for different approaches.
  • Improved explainability of the model and its decisions.
  • Performance comparisons with the HP-GAN algorithm [31].
Table 1. Comparison between the previous FCM-based porosity classifier [36] and the framework proposed in this work. Performance values come from different datasets and metric sets and are therefore not directly comparable.

2. Materials and Methods

2.1. Data Sources and Features

During the High-Pressure Die Casting process, various types of data can be captured, such as information logged by the machine, external measurements, or images. These data can contain information that is useful for quality assessment and defect prediction/detection. Therefore, we recorded the following data types in the project:
  • Numerical sensor readout data;
  • Time-series data;
  • Thermal images (before and after spraying).
During production, the process consists of multiple stages, and in HPDC it typically takes 15–40 s to produce a part. During that time, the different modalities are available as follows:
  • Thermal images are taken before and after spraying (which is performed at the beginning of the process) for each cast part;
  • Time-series data are collected throughout the process;
  • Header data are available after the process is completed.
The final decision about the part quality using the proposed solution can be made directly after the casting cycle is finished—for example, when the part is removed from the mold. Therefore, the approach can be used in-line in a real industrial use case.
Since each data type has a different source and characteristics, we processed them using different methods to extract informative features for the classifiers.

2.1.1. Numerical Sensor Features (Header Data)

Numerical sensor values are the simplest features for further processing by classifiers because they can be easily transformed into feature vectors and used directly as inputs by most classifiers. However, since each sensor may have a different value range, it is recommended to normalize the data to obtain values within the range [ 0 , 1 ] . The numerical sensor feature vector can be defined as follows:
x n = ( x 1 , x 2 , … , x n ) , x i n ∈ [ 0 , 1 ]
In High-Pressure Die Casting, this type of data is often referred to as header data.

2.1.2. Sensor Time-Series Feature Extraction (Profile Data)

Time-series data are more difficult to use with standard classifiers because they contain numerical sensor values sampled at multiple time points. Therefore, to convert them into a single feature vector, they require additional processing. In our research, we focused on two approaches: (i) extracting statistical and frequency-domain features, and (ii) Dynamic Time Warping. In High-Pressure Die Casting, this type of data is often referred to as profile data or profiles.
Statistical and Frequency Features:
One approach to feature extraction from time-series data is to compute statistical features across all time points for each sensor. In our research, we computed the following characteristics: root mean square, peak-to-peak (maximum–minimum), crest factor, kurtosis, entropy, energy, power, mean, standard deviation, absolute mean of discrete difference, zero-crossing rate, autocorrelation, and interquartile range.
Other important characteristics are based on the frequency domain. In our research, we used the following: dominant frequency, power spectral density, spectral centroid, spectral spread, and spectral rolloff.
In addition to statistical and frequency-domain features, we computed the following: trend slope and normalized time to maximum and minimum, which may provide additional information for the HPDC process.
The statistical and frequency features can be summarized as follows:
x ( t s ) = f stat , f dom , P PSD , C spec , S spec , R roll , β trend , t max , t min , x i ( t s ) ∈ [ 0 , 1 ] , i = 1 , … , 8
where
  • f stat —Statistical features component, which consists of root mean square, peak-to-peak (maximum − minimum), crest factor, kurtosis, entropy, energy, power, mean, standard deviation and absolute mean of discrete difference, zero-crossing rate, autocorrelation, and interquartile range;
  • f dom —Dominant frequency;
  • P PSD —Power spectral density;
  • C spec —Spectral centroid;
  • S spec —Spectral spread;
  • R roll —Spectral rolloff;
  • β trend —Trend slope;
  • t max , t min ∈ [ 0 , 1 ] —Normalized time indices of maximum and minimum values.
Dynamic Time Warping (DTW):
Another approach for analyzing time-series data is Dynamic Time Warping (DTW [37]). DTW aligns and compares two time series based on their shape. In our implementation, we compare each shot with a reference profile (computed using DTW Barycenter Averaging (DBA)) and then construct features from the alignment [38]. The general idea can be described in three steps: preprocessing (Figure 1), DTW alignment (Figure 2), and feature construction (Figure 3).
Figure 1. Overview of signal preprocessing for the Dynamic Time Warping feature extractor. Raw-shot time-series signals are used to extract velocity and pressure components, followed by computation of their derivatives.
Figure 2. Overview of the Dynamic Time Warping alignment. As an input, shot signals and reference profiles are used, and then ( v , p , d v , d p ) parameters are extracted from both of them. Finally, they are used to create three alignments: global DTW, segment-wise DTW for local temporal alignment, and multidimensional DTW for joint feature dynamics.
Figure 3. Final feature vector construction in the Dynamic Time Warping feature extractor. Global, segment, and multidimensional DTW features are merged using feature fusion and concatenation, creating one feature vector.
The DTW-based comparison of the analyzed signal to the reference signal can be defined as follows:
D DTW ( x , r ) = min π ∈ Π ∑ ( i , j ) ∈ π x i − r j
where
  • x = ( x 1 , … , x n ) —Analyzed signal;
  • r = ( r 1 , … , r m ) —Reference signal;
  • π —Warping path;
  • Π —The set of all possible paths.
The DTW distance and the warping path are used to construct a set of features that describe the similarity between the reference and analyzed signals. In general, the DTW-based feature set can be defined as follows:
x ( dtw ) = f 1 ( x , r ) , f 2 ( x , r ) , … , f k ( x , r ) , x ( dtw ) ∈ [ 0 , 1 ] k
In our research, for each segment s, the following quantities are calculated:
f s = f s , sub , f s , pos , f s , neg , f s , stretch
where
  • f s , sub —DTW-based deviation score within the segment;
  • f s , pos and f s , neg —Mean positive and negative deviations between the analyzed and reference signals along the DTW path;
  • f s , stretch —Relative temporal stretching of the analyzed signal with respect to the reference signal within the segment.

2.1.3. Image Feature Extraction

There are many approaches to extracting features from images. Recently, Generative Adversarial Networks (GANs) and foundation models (e.g., the DINO family) have become increasingly popular. In our research, we use two thermal images of the mold for each casted part (before and after spraying), since they can contain useful information about thermal behavior and changes [36]. For this reason, we investigated three approaches:
  • A neural network architecture based on U-Net, ResNet, and GAN, trained end to end on images from the dataset;
  • DINOv2 as a feature extractor for both images, without fine-tuning;
  • A DINOv2 Siamese-inspired architecture, using a pretrained DINOv2 model and a trained fully connected layer to improve performance.
U-Net + ResNet + GAN:
The proposed model architecture combines different block types to improve learning of the details and differences between the images before and after spraying. The blocks are as follows:
  • U-Net-based encoder blocks;
  • ResNet50 blocks;
  • GAN discriminator blocks.
As shown in Figure 4, both images are processed separately by the U-Net and ResNet blocks. The output of each block type is then processed by a separate GAN discriminator. Additionally, the input images are processed by an additional GAN discriminator block. Finally, all discriminator outputs are concatenated and processed by four dense (fully connected) layers. During inference, the final layers are removed to extract a 256-dimensional embedding vector.
Figure 4. Architecture of the thermal image feature extractor. Images before and after spraying are processed through three parallel branches involving U-Net blocks, ResNet blocks, and GAN discriminators. Next, extracted features are aggregated by the four dense layers, producing the final binary output.
The final feature vector can be defined as follows:
x i m g U R G = ( x 1 , x 2 , … , x 256 ) , x i i m g U R G ∈ [ 0 , 1 ]
DINOv2 Model:
Another approach that we considered was using the DINOv2 model [39] as a feature extractor for both input images, without fine-tuning. The process of creating the feature vector is illustrated in Figure 5. The model extracts embeddings for the images separately ( f 1 and f 2 ):
f 1 = ϕ ( I 1 ) , f 2 = ϕ ( I 2 )
where ϕ ( I i ) denotes DINOv2 embeddings for the i-th image. We then compute their difference:
Δ f = f 2 − f 1
Figure 5. Architecture of the DINOv2-based thermal image feature extractor. Thermal images before and after spraying are resized, cropped, and normalized and then processed by DINOv2 to generate embeddings ( f 1 and f 2 ). Additionally, their difference is computed and concatenated with f 1 and f 2 to form the final feature vector.
Finally, we concatenate them into one feature vector:
x ( D ) = f 1 , f 2 , Δ f
DINOv2 Siamese Model:
The final method of extracting features from images is based on a Siamese network that uses DINOv2 models as branches for the before- and after-spraying images. Training is similar to other Siamese networks: for each image, DINOv2 embeddings are computed, concatenated, and processed by an MLP classifier. Cross-entropy loss is then used to compare predictions with the ground-truth label (“OK” or “Porosity”). Backpropagation updates the classifier only, while the DINOv2 weights remain frozen. An overview of the training process is provided in Figure 6. During inference, the Siamese network with the last layer removed is used to compute the embedding f s . Additionally, it is concatenated with the same embeddings as in the previous DINOv2 approach to prepare the final feature vector:
x ( DS ) = f s , f 1 , f 2 , Δ f
Figure 6. An overview of the thermal images DINOv2 Siamese feature extractor training. The architecture incorporates frozen DINO encoders for feature extraction ( f 1 and f 2 ) from thermal images, followed by feature concatenation, an MLP classifier, and cross-entropy loss calculation where backpropagation updates the classifier only.
The overview of feature extraction is shown in Figure 7.
Figure 7. DINOv2 Siamese feature extractor overview, which illustrates how the thermal images are transformed into the final feature vector, using different blocks.

2.2. Classifiers

In our research, we evaluated various classifiers based on Fuzzy Cognitive Maps, using different weight-calculation algorithms and reference approaches, including maximization, XGBoost, and a perceptron.

2.2.1. Fuzzy Cognitive Map

Fuzzy Cognitive Maps (FCMs) were introduced by Kosko [40] in 1986 as a form of knowledge representation and decision-making. An FCM can be defined as a fuzzy directed graph that incorporates concepts from neural network architectures and their behavior. Nodes represent concepts in the analysis, and directed edges are assigned weights that represent relationships between concepts. In classification use cases, nodes are most often divided into two types: regular concepts, and concepts dedicated to the final classification. As with classical neural network architectures (e.g., the perceptron), there are two stages to creating the model: selecting the weights (training), and performing inference. Different strategies may be used for weight selection, including human expert input or computer algorithms based on centroids, gradient descent, or genetic algorithms. The inference phase initializes the concepts using an initial vector and updates their values with each iteration until the map converges or an iteration limit is reached. Kosko defined the classical concept update algorithm [40] during inference as follows:
X i ( t + 1 ) = f ∑ j = 1 , j ≠ i n w j , i X j ( t ) , i , j = 1 , … , n
where
  • X i ( t ) —The i-th concept value;
  • t—Iteration index;
  • w j , i —Weight of the relationship from concept j to concept i;
  • n—Total number of concepts;
  • f ( x ) —Activation function.
As shown in the inference rule, the activation function is used to normalize the updated concept value to the range [ 0 , 1 ] [41]. The most commonly used activation function is the sigmoidal function.
In our research, we considered multiple versions of FCMs, including centroid-based feature transformation into concept values (as described by Tziolas et al. [33]) and a classical approach that uses features directly as concept values.
The centroid-based feature transformation is based on clustering the features during training and calculating distances to the clusters’ centroids. Fuzzy sets are then created from these distances, and the final weights are calculated [33]. During inference, distances between the features and the centroids are computed, and the final state is obtained using the Kosko inference rule.
The classical approach uses the elements of the feature vector as consecutive concepts and updates these values using Equation (11).
Since our research focuses on multimodal data sources from a factory (process data, time-series data, and thermal images), we analyze how these can be processed using an FCM. We consider the following approaches:
  • Separate FCMs for each data type (referred to later as separate-data-type FCMs);
  • Outputs from separate FCMs used as inputs to another FCM that performs voting and produces the final classification (referred to later as a 2-stage FCM);
  • A single FCM with multiple data-type inputs (referred to later as a multimodal FCM).
When concepts come from different data sources (e.g., in 2-stage and multimodal FCMs), the relationships between them can be modeled in two ways:
  • Weights between concepts from different data sources are always set to 0 (Figure 8a);
  • Weights between concepts from different data sources can be set during training (Figure 8b).
Figure 8. An overview of the two versions of the multimodal Fuzzy Cognitive Map: (a) weights between concepts from different data sources are always set to zero; (b) weights between concepts from different data sources can be set during training.
These two versions model different behaviors of the FCM: In the first type, all data sources are processed separately and only affect the output class concepts. In the second type, all concepts can influence each other; for example, a concept based on header data can influence a concept based on image data. In some cases, this may improve the performance of certain concepts; however, we did not make any assumptions prior to conducting the tests.
To analyze which structure and training algorithm are most suitable for our use case, we examined the following training algorithms:
  • Centroids-Based FCM:
    –
    Centroids-Based Initial Approach: The general idea is based on [33]. In this algorithm, all features are clustered using the K-means algorithm, and fuzzy similarity measures are used to define causal relationships.
    –
    Gradient Descent: weight calculation is performed using gradient descent and backpropagation, based on [42].
    –
    Particle Swarm Optimization: Described by Papageorgiou et al. [43]; a swarm-intelligence algorithm is used to set the weights between concepts.
    –
    Active Hebbian Learning: Based on [44]; an active Hebbian principle is applied to set weights between concepts based on their final activation values.
    –
    Differential Hebbian Learning: Described in [45]; uses an improved method proposed by Kosko [46].
    –
    Simulated Annealing: Implemented using the classical approach from [47]; starts from randomly chosen weights and iteratively updates them, accepting better solutions while occasionally accepting worse ones based on the selected “temperature” parameter.
    –
    Pseudoinverse: Inspired by the Moore–Penrose pseudoinverse, which can be applied to linear systems [48].
  • Classical FCM:
    –
    Gradient Descent: Weight calculation is performed using gradient descent and backpropagation, based on [42].
    –
    Genetic Algorithm: The algorithm (specifically designed for FCMs) was analyzed in [49,50]. The general idea is shown in Figure 9.
Figure 9. Flowchart of the genetic algorithm for training the Fuzzy Cognitive Map. The training consists of operations on normalized data: chromosome encoding, feature selection, structure generation (causal connections), and weight assignment, followed by model construction, state initialization, inference, and fitness evaluation. If the stop criterion is not met, genetic operators (selection, crossover, and mutation) are applied until the best chromosome is found.

2.2.2. Multimodal Classification

As mentioned above, the project involved different types of data, each of which can provide useful information on its own. However, many studies have shown that fusing information from different data sources can yield a more accurate classifier. In our research, we selected the data types with the highest MCC values and used them as inputs to a multimodal classifier. Since selecting the appropriate classifier is essential, we tested the following:
  • Classical/Reference Approaches: Max-class, averaging, majority voting, XGBoost, and a simple perceptron;
  • FCM-Based Approaches:
    –
    Two-stage FCM;
    –
    Multimodal FCM.
Each classifier receives either (i) classification predictions from the data-type-specific FCMs (for the classical approaches and the 2-stage FCM) or (ii) features from each data source (for the multimodal FCM).
Classical/Reference Approaches:
Maximization of one class works as follows: if the chosen class is predicted by any of the data-type-specific FCM classifiers, it is selected as the final classification result, as shown in Figure 10.
Figure 10. MAX_CLASS_1/MAX_CLASS_0 classifier overview. The diagram shows the parallel processing of different feature sets by FCMs, collection of predictions, per-class aggregation, and the final scoring strategy.
The average classifier combines all results from the data-type-specific FCM classifiers by computing their mean. This approach aggregates the decisions of multiple FCM models across multiple data sources. An overview is shown in Figure 11.
Figure 11. Average classifier overview, which uses the mean of predictions from separate FCM models as the probability estimate.
In majority voting, we count how many times each class is predicted by the data-type-specific FCM classifiers and choose the final class based on the majority of votes. If there is a tie, the “Porosity” class is chosen (Figure 12).
Figure 12. Majority voting classifier overview. The classifier counts predictions made by separate FCM models and then applies majority voting to produce the final classification.
The XGBoost approach uses an XGBoost classifier to produce the final classification from the vector of predictions produced by the data-type-specific FCMs, as shown in Figure 13.
Figure 13. XGBoost-based classifier overview. The classifier stacks all predictions into one vector, which is then processed by the XGBoost classifier to produce the final classification.
The last reference classifier is a perceptron with a simple linear fully connected layer and a two-dimensional output. As input features, we use the outputs from the separate FCMs. The overview of the classifier is shown in Figure 14.
Figure 14. Perceptron classifier overview. The classifier stacks all predictions into one vector, which is then fed into a linear layer connected to the final softmax output, providing the final classification.
Overview of FCM-Based 2-Step and Multimodal FCM Classifiers:
The 2-step FCM classifier, similarly to the classical/reference approaches, uses the predictions from the separate FCMs as input features. The feature vector is constructed by concatenation and is then processed by a new map, providing the final classification (Figure 15).
Figure 15. Two-step FCM classifier overview. Similarly to XGBoost or the perceptron, it stacks all predictions made by the separate FCM models into one feature vector, which is then classified using an additional FCM.
The multimodal FCM classifier uses features extracted directly from the data sources without intermediate classifiers (e.g., without separate FCMs). For this approach, we considered two variants of inter-source concept interactions, described in the previous subsection and shown in Figure 8. This enables analysis of (i) whether and how different features influence the final classification and (ii) whether concepts can boost each other during inference.

3. Results

To test the proposed approaches, we implemented prototype applications in Python 3.10 that incorporated all components and evaluation ideas described in the previous section. The experiments were conducted on a dataset containing header, time-series, and thermal image data from a real production environment.
The dataset was collected between 2023 and 2025 and contains a total of 383 parts with all three modalities: 383 rows of header data, 383 time-series files, and 766 thermal images (383 before and 383 after spraying). The samples were collected from four different machines and at least four different molds.
Overall, 200 parts were classified as good (OK) and 183 as containing porosity. Training and test sets were created using a random split with the following sizes:
  • Training Set: 305 parts (OK: 160, Porosity: 145);
  • Test Set: 78 parts (OK: 40, Porosity: 38).
A random split was selected because information about batch membership and production runs was not available in the dataset. For ground truth, all produced parts were examined and labeled by the casting experts. The class labels used in this study correspond to the operational quality assessment provided by the industrial partner. Due to the confidentiality requirements, we are not allowed to disclose all of the details of the inspection and quality assessment. Additionally, the labels should be understood as the operational quality labels, rather than as a direct and exhaustive measurement of the internal porosity and its type, size, or other characteristics.
In industrial HPDC practice, assessment of the parts can be performed using different inspection methods, like visual inspection, X-ray or computed tomography (CT) for in-depth examination, and leak testing [51].
To reduce the risk of data leakage, we split samples from different machines, time periods, runs, and molds into the training and test sets. All splits were created before any model training or selection, and no information from the test set was used during these processes. The test set was used exclusively for final evaluation and was not used for model fine-tuning or parameter selection.
In addition to the main training and test split, we created five random splits for 5-fold cross-validation. For splits 1–3, 306 samples were used for training and 77 for validation; for splits 4 and 5, 307 samples were used for training and 76 for validation. The proportions of classes were kept consistent across folds and sets, with the same number of OK classes and only minor variations in the number of Porosity samples. The summary of the distribution is shown in Table 2. The dataset overview is shown in Table 3.
Table 2. Distribution of OK and Porosity classes across the five-fold cross validation dataset, for the training and validation sets.
Table 3. Characteristics of the dataset used in the experiments.
During evaluation, all steps required to prepare the data for model training were performed using only the training data. In particular, normalization parameters, PCA transformations, and the feature-selection procedure were computed exclusively on the training set and then applied unchanged to the test set during final evaluation. Similarly, DTW reference sequences were determined only from the training data and then used to compute DTW-based features for the test set. The test set was not used at any stage of fitting, selection, or determining any model components.
We evaluated algorithm performance using the Matthews Correlation Coefficient (MCC) [52], which is one of the most reliable metrics [53] and is defined as follows:
MCC = T P × T N − F P × F N ( T P + F P ) ( T P + F N ) ( T N + F P ) ( T N + F N )
where T P is true positives, T N true negatives, F P false positives, and F N false negatives.
The first experiments were designed to address the following research questions:
  • How does feature dimensionality reduction (PCA) influence the results?
  • How do different weight-selection algorithms influence the results?
  • How do different data sources influence the results?
The aggregated results are shown in Table 4 and Table 5. We group the tests into centroid-based algorithms (Table 4) and classical (non-centroid) algorithms (Table 5) to evaluate which approach provides better performance.
Table 4. A comparison of MCC metrics for different algorithms based on centroids, across various data types, preprocessing versions, and PCA settings.
Table 5. A comparison of MCC metrics for different algorithms that are not based on centroids, across data types, preprocessing versions, and PCA settings.
Overall, the highest performance was obtained using thermal images and header data, while the lowest was obtained using time-series data. Thermal images capture the thermal state after part removal and just before filling the mold with molten metal, which can be beneficial for defect detection in HPDC because many defect mechanisms are directly linked to temperature. Header data contain process parameters and sensor readouts as a single feature vector per shot, which is easier to analyze than full time series. Although time-series performance was lowest in our experiments, it may still contain meaningful information; in future work, we will investigate whether improved processing or time-series-specific model architectures can improve performance.
Another insight from the experiments is that, on average, the highest MCC values were obtained when applying PCA and retaining 90% of the components. The only exception was DTW features extracted from profiles, for which the unreduced version achieved the highest values. For each data type, the following algorithms achieved the highest MCC values:
  • Header (normalized): Classical gradient descent (0.5895), followed by the genetic algorithm (0.5663);
  • Images (our feature extractor): Genetic algorithm (0.6966), followed by centroids-based particle swarm optimization (0.6539);
  • Images (DINOv2 features): Centroids-based particle swarm optimization (0.6677), followed by classical gradient descent (0.6284);
  • Images (DINOv2 Siamese features): Classical gradient descent (0.9233), followed by centroids-based gradient descent (0.7504);
  • Profiles (statistical features): Classical gradient descent (0.5428), followed by centroids-based simulated annealing (0.4217);
  • Profiles (DTW features): Centroids-based algorithms achieved similar and higher values (max 0.3201) than classical ones (max 0.2282).
These results indicate that there is no universal algorithm for all data types and that the optimal configuration should be selected separately for each modality. Additionally, performance depends strongly on the selected feature-reduction variant.
The next set of experiments focused on classification using fused information from different data sources. The results are presented in Table 6. The following inputs were used for each model variant:
Table 6. Results for the multi-classifier test set, including the FCM ablation variants.
  • M1–M10, except M1.5, M2.5, and M3.5: Outputs of three FCMs: (i) particle swarm optimization, normalized header data with 0.9 PCA; (ii) centroids-based gradient descent, DINOv2 Siamese features with 0.9 PCA; (iii) centroids-based gradient descent, DTW profile features without PCA.
  • M1.5, M2.5, and M3.5: Normalized header data with 0.9 PCA, DINOv2 Siamese features with 0.9 PCA, and DTW profile features without PCA.
  • M13–M14: Outputs of three FCMs: (i) particle swarm optimization, normalized header data with 0.9 PCA; (ii) classical gradient descent, DINOv2 Siamese features without PCA; (iii) centroids-based gradient descent, DTW profile features without PCA.
  • M11–M12: Raw feature sets: normalized header data with 0.9 PCA, DINOv2 Siamese features without PCA, and DTW profile features without PCA.
  • M15–M16: Outputs of two FCMs: (i) particle swarm optimization, normalized header data with 0.9 PCA; (ii) classical gradient descent, DINOv2 Siamese features without PCA.
  • M17–M18: Raw feature sets: normalized header data with 0.9 PCA and DINOv2 Siamese features without PCA.
  • M19–M20: Outputs of two FCMs: (i) particle swarm optimization, normalized header data with 0.9 PCA; (ii) classical gradient descent, DINOv2 Siamese features with 0.9 PCA.
  • M21–M22: Raw feature sets: normalized header data with 0.9 PCA and DINOv2 Siamese features with 0.9 PCA.
For the non-FCM approaches (M1–M7), both LightGBM classifiers (M3 and M3.5) and M2.5 achieved the highest MCC value (0.8474 for M3 and 0.8974 for M3.5). For the two-stage FCMs (M8 and M9), the highest MCC value was slightly lower. Notably, both LightGBM and XGBoost models achieved an MCC of 1.0 on the training set, compared to 0.8826 for the two-stage FCMs; we investigate this further using cross-validation. In addition, we evaluated a multimodal FCM (M10) that uses a genetic algorithm for concept and weight selection. Its MCC was lower than that of many other approaches; however, map complexity was also substantially lower, which may be beneficial in some applications.
We also performed experiments using three input data types with different thermal-image training variants (M11–M14). In these settings, performance was lower than in the previous experiments for both two-stage and multimodal FCMs.
Finally, we performed experiments with reduced inputs using only header and thermal data (M15–M22). In this case, the multimodal FCM without centroids achieved the highest MCC value (0.8793 for M17). Because M17 has high complexity (all thermal image features were used), we also tested PCA-reduced inputs. In this setting, the MCC for the multimodal FCMs (M21 and M22) was only slightly lower (0.8741), while model complexity was significantly reduced.
Overall, the multimodal fusion results do not provide strong evidence that fusion improves classification performance. The best single-modality FCM model (DINOv2 Siamese trained with classical gradient descent without centroids) achieved an MCC of 0.9233, while the best multimodal FCM models (M17 and M21) achieved MCC values of 0.8793 and 0.8741, respectively. Although the difference is not large, it favors the data-source-specific model. Moreover, several two-stage and multimodal FCM variants achieved substantially lower performance, indicating that naively adding more modalities does not necessarily improve results. The baseline models LightGBM and HP-GAN reached MCC values of 0.8474 and 0.6280, respectively, showing that FCM-based approaches can achieve higher performance.
A possible explanation for the slightly higher performance of the DINOv2 Siamese model is that thermal images contain highly discriminative information related to physical effects leading to porosity. The additional header data may be partially redundant or may require further processing to extract complementary information. Moreover, time-series data did not improve the results and did not achieve usable performance even when used alone, suggesting either that the signal is not informative for this task or that different preprocessing and/or model architectures are required. Finally, our results indicate that the fusion strategy itself has a substantial impact on the final performance.
Finally, we evaluated the HP-GAN algorithm using the same input data (header and thermal images); the results are shown in Table 7. Our HP-GAN implementation and training/tuning procedure were based on publicly available information, without code provided by the authors. Therefore, the HP-GAN results should be treated as an adapted implementation, since the original code was not available.
Table 7. The test results for HP-GAN models on different types of data.
The comparison of HP-GAN with the FCM and LightGBM models was performed under identical conditions, using the same dataset and data splits. Consequently, the data preprocessing and evaluation protocol were also identical.
For each HP-GAN variant, the best data-type-specific FCM models outperformed HP-GAN. Additionally, for multimodal classification, most non-FCM approaches achieved higher MCC values than HP-GAN.
To further evaluate the proposed models and verify that the findings are consistent with the initial hold-out test set, we performed 5-fold cross-validation using all 383 available samples.
The results for the selected models are shown in Table 8 and Table 9. For most data-type-specific FCMs (Table 8), performance was similar to the initial test-set results, suggesting that the hold-out split is representative. For the multimodal models (Table 9), performance was generally slightly lower, with a notable decrease for M12. In contrast to the other models, HP-GAN achieved a slightly higher MCC than some multimodal variants; however, its performance remained substantially lower than that of the best FCM models.
Table 8. Five-fold cross-validation results for selected FCM models and feature types. Values are reported as the mean ± standard deviation. Algorithms: PSO—particle swarm optimization, GD—gradient descent, SA—simulated annealing, CD—centroids-based, GA—genetic algorithm. Note: These results were obtained using the original cross-validation protocol, with PCA fitted on the original training set prior to the five-fold partitioning.
Table 9. Five-fold cross-validation results for the selected models and the HP-GAN baseline. Values are reported as the mean ± standard deviation. Note: These results were obtained using the original cross-validation protocol, with PCA fitted on the original training set prior to the five-fold partitioning.
To analyze the train–test gap and further investigate potential overfitting in the LightGBM model, we also evaluated selected models on the training subsets within each cross-validation fold. The results are shown in Table 10. The M3 LightGBM model exhibits a substantially larger train–validation gap than the other models: the MCC increases from 0.7551 ± 0.0354 on the validation folds to 0.9896 ± 0.0087 on the corresponding training subsets. A larger gap can also be observed for the LightGBM model with inputs using initial features, not processed by any FCMs—the MCC increases from 0.8710 ± 0.0509 to 1.0000 ± 0.0000 . A similar situation can be seen for the M2.5 XGBoost model. Additionally, a value of 1.0000 for all folds and metrics for M2.5 and M3.5 indicates a very high possibility of overfitting. In contrast, for DINOv2 Siamese, M8, and M21, the gap is relatively small, suggesting that these models are less prone to overfitting.
Table 10. Five-fold cross-validation results for the selected models on the training data. Values are reported as the mean ± standard deviation. Note: These results were obtained using the original cross-validation protocol, with PCA fitted on the original training set prior to the five-fold partitioning.
In addition, we used cross-validation to verify whether the same trend holds when comparing DINOv2 Siamese and multimodal FCM models. The results, consistent with the initial hold-out test set, indicate that adding more modalities does not substantially improve performance.
Another important aspect is model complexity (Table 11), which affects performance, required resources, and interpretability/explainability. Figure 16 and Figure 17 compare the number of active weights and concepts across models. The complexity of multimodal FCM models is very high when PCA reduction is not applied; however, when a reduced feature set is used, the number of active weights and concepts decreases significantly.
Table 11. Model complexity comparison across selected data types and training methods.
Figure 16. Comparison of total and active weights across models (log scale).
Figure 17. Comparison of the number of concepts across models (log scale).
To visualize the results, we prepared confusion matrices for selected models on the hold-out test set (Figure 18) and for 5-fold cross-validation (Figure 19). Achieving 100% prediction accuracy for one class (0% false negatives or 0% false positives) remains an open challenge; however, some models achieve performance close to this level.
Figure 18. Confusion matrices for selected multi-classifiers. The values represent the number of predicted samples per class. For clarity, the class labels are represented by the values 0 and 1, where 0 denotes OK and 1 denotes Porosity.
Figure 19. Confusion matrices for selected models and 5-fold cross-validation. The values represent: (a) percentages of classified samples for each label; (b) the normalized number of classified samples per label, with standard deviation. For clarity, the class labels are represented by the values 0 and 1, where 0 denotes OK and 1 denotes Porosity.
The proposed methods and classifiers are intended for preliminary screening rather than as replacements for more time-consuming inspection procedures. The confusion matrices show that the false-negative rate is higher than 0%, indicating that some samples labeled as Porosity may not be detected by the proposed approach. For M21, the aggregated false-negative rate is approximately 10.95%. Therefore, a trade-off remains between detecting potentially defective parts and reducing the number of parts requiring further investigation. This issue will be further investigated in future work.
One advantage of using a Fuzzy Cognitive Map is improved explainability compared to deep learning approaches such as HP-GAN. Figure 20 shows an example visualization. The map highlights which features are most important and how they influence the output classification (Figure 20a). Since the input features for the FCM were transformed using PCA, they can also be mapped back to the original features using the corresponding loadings (Figure 20b). However, the weights and connections in the map represent relationships learned by the model and should not be interpreted as causal relationships or as direct evidence of physical mechanisms in the HPDC process. Similarly, the PCA-based features are derived from the original input features (e.g., process parameters).
Figure 20. Fuzzy Cognitive Map visualization for the model achieving the highest MCC: (a) FCM map showing the most influential concepts and their weights, together with the ten most influential features; (b) mapping of the six most influential original input features onto the PCA-based features used by the FCM for header data.
To further demonstrate explainability, we provide two additional visualizations: Figure 21 shows FCM maps with the most important concepts and their weights, while Figure 22 presents the ten most important original features. Both figures show results for the same multimodal model (M21) across all five cross-validation folds. The features represent the model input variables, which correspond to the PCA components obtained from the original feature space. Even though the exact feature ranking varies slightly between folds, many influential features appear consistently, suggesting that the observed feature importance is not limited to a single train–validation split.
Figure 21. Fuzzy Cognitive Map visualizations showing the most influential concepts and their weights for the M21 model across the five cross-validation folds.
Figure 22. The ten most influential features for the M21 model across the five cross-validation folds. The features represent the model input variables, which correspond to the PCA components.
All previously reported cross-validation results were obtained using PCA fitted on the original training set and were retained for consistency with the original experimental protocol. Additionally, Table 12 and Table 13 provide results obtained with PCA and the DINOv2-Siamese feature extractor fitted or trained independently within each training fold and subsequently applied to the corresponding validation fold. In particular, the DINOv2-Siamese model without PCA and the multimodal M21 model achieved comparable MCC values under both protocols, while the LightGBM baseline also showed very similar performance. A more pronounced difference was observed for the DINOv2-Siamese model with PCA, indicating that fold-specific PCA fitting can have a substantial effect for this particular configuration. For the results obtained on the training portions of the folds (Table 13), similar trends to those observed previously can be seen: the training–validation performance gap for the FCM models is relatively small, whereas it is substantially larger for LightGBM. The perfect training performance obtained by LightGBM, with a value of 1.0000 for all reported metrics, may further indicate potential overfitting.
Table 12. Five-fold cross-validation results for the selected models and the HP-GAN baseline using fold-specific training and preprocessing. For the DINOv2-Siamese models, the feature extractor and PCA were trained or fitted independently using only the training portion of each fold. Values are reported as the mean ± standard deviation.
Table 13. Five-fold cross-validation results for the selected models evaluated on the training portions of the respective folds. Values are reported as the mean ± standard deviation.

4. Conclusions

In this paper, we address the problem of early porosity detection in the High-Pressure Die Casting process in a real industrial use case. The proposed approach incorporates multiple data sources, including sensor readouts from the HPDC machine, time-series data, and thermal images. The main classifiers are Fuzzy Cognitive Maps (FCMs), which offer a higher level of interpretability than neural networks. Building on our previous work [36], we introduced new feature extractors, classification variants, and weight-selection strategies. For thermal images, we investigated a foundation model (DINOv2) to mitigate training-related issues and evaluated its effectiveness. In addition, we analyzed how PCA-based feature-space reduction influences classification performance. We also investigated the efficiency of different training algorithms and their relationship to model complexity. Furthermore, using an example, we demonstrated how the proposed model supports the explainability of results and decisions. Finally, we compared our approach with the HP-GAN algorithm [31] and showed that our approach achieves higher performance while maintaining high interpretability. However, the multimodal data fusion needs further investigation, as the results did not prove that it can substantially improve the performance. It must be noted that the results and conclusions about the multimodal fusion are restricted only to the evaluated configurations.
Future work will focus on method improvements, particularly on developing and evaluating a two-layer FCM approach with weight-calculation and concept-selection algorithms tailored to its structure. Moreover, we plan to conduct additional experiments on a larger dataset to assess robustness, scalability, and generalization. We will also further improve the analysis of time-series data, including the use of time-series-specific models.
Another important research direction is to investigate the HPDC process in more detail to evaluate how time-varying features provide additional information for more reliable defect detection. In addition, we will explore alternative fusion strategies across data sources to improve classification performance. Relating predictive results to the underlying physical mechanisms would also be valuable.
Finally, we will further reduce model complexity to enable faster inference without sacrificing performance, which is important for online monitoring. We also plan to improve explainability to better understand relationships among process parameters, extracted features, and the final classification. Furthermore, we will investigate applying the proposed method to other industrial use cases (e.g., welding).

Author Contributions

Writing: T.M. and K.P.; conceptualization and methodology: T.M., R.H., S.S., P.M.-H., G.S., E.R., M.H., U.R., N.K., P.Š., and K.P.; HPDC domain knowledge and ideas: G.S., E.R., M.H., U.R., N.K., and P.Š.; thermal image analysis and feature extraction: T.M.; Fuzzy Cognitive Maps expertise and genetic algorithm: K.P.; DTW: R.H. and S.S.; reviewing and editing: T.M., R.H., S.S., P.M.-H., G.S., E.R., M.H., U.R., N.K., P.Š., and K.P. All authors have read and agreed to the published version of the manuscript.

Funding

Funded by the European Union. Views and opinions expressed are those of the author(s) only and do not necessarily reflect those of the European Union. Neither the European Union nor the granting authority can be held responsible for them. The work described in this paper was supported by the metaFacturing project (Data and METAdata for advanced digitalization of manuFACTURING industrial lines; Grant Agreement No. 101091635), funded by the European Union under the Horizon Europe Framework Programme, within the Digital, Industry and Space cluster.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

All data which was intended to be publicly available is presented in the CORDIS—EU research results portal, under the following link: https://cordis.europa.eu/project/id/101091635 (accessed on 29 August 2026).

Conflicts of Interest

Authors Tomasz Michno, Pauline Meyer-Heye, Giulia Scampone, Elias Riegler and Matthias Hartmann were employed by the company AIT Austrian Institute of Technology GmbH. Authors Roxana Holom and Sebastian Schmalzer were employed by the company RISC Software GmbH. Authors Giulia Scampone, Elias Riegler and Matthias Hartmann were employed by the company LKR Light Metals Technologies. Authors Urban Repanšek, Nejc Košir and Peter Šifrer were employed by the company LTH Castings d.o.o. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

References

  1. Liu, W.; Peng, T.; Kishita, Y.; Umeda, Y.; Tang, R.; Tang, W.; Hu, L. Critical life cycle inventory for aluminum die casting: A lightweight-vehicle manufacturing enabling technology. Appl. Energy 2021, 304, 117814. [Google Scholar] [CrossRef] [Scilit]
  2. Gonçalves, M.; Jolly, M.R.; Salonitis, K.; Pagone, E. Resource Efficiency Analysis of High Pressure Die Casting Process. In Light Metals 2018; Martin, O., Ed.; Springer: Cham, Swizterland, 2018; pp. 1041–1047. [Google Scholar]
  3. Shyam, A.; Plotkowski, A.; Wang, Q.; Wang, A.; Bahl, S.; Rakhmonov, J.; Hartlieb, M.; Yang, Y.; Richter, N.; Knapp, G.; et al. Alloy design for sustainable aluminum high pressure die castings: A review. Int. Mater. Rev. 2026. [Google Scholar] [CrossRef] [Scilit]
  4. Gariboldi, E.; Bonollo, F.; Rosso, M. Proposal of a Classification of Defects of High-pressure Diecast Products. Metall. Ital. 2007. Available online: https://www.fracturae.com/index.php/aim/article/view/516 (accessed on 29 August 2026).
  5. Lee, S.; Han, D.; Kang, S.; Kim, N. Method of predicting shrinkage defects and deriving process conditions in HPDC (high-pressure die-casting) for electric vehicle motor housings. Int. J. Met. 2024, 18, 1262–1272. [Google Scholar] [CrossRef] [Scilit]
  6. Kang, H.-J.; Yoon, P.-H.; Lee, G.-H.; Park, J.-Y. Effects of porosity on mechanical properties of castings in high-pressure die-casting process. Int. J. Met. 2025, 19, 2918–2927. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  7. Lee, S.; Gokhale, A.; Patel, G.; Evans, M. Effect of process parameters on porosity distributions in high-pressure die-cast AM50 Mg-alloy. Mater. Sci. Eng. A 2006, 427, 99–111. [Google Scholar] [CrossRef] [Scilit]
  8. Lee, S.G.; Gokhale, A.M. Formation of gas induced shrinkage porosity in Mg-alloy high-pressure die-castings. Scr. Mater. 2006, 55, 387–390. [Google Scholar] [CrossRef] [Scilit]
  9. Klym, H.; Karbovnyk, I.; Piskunov, S.; Popov, A.I. Positron Annihilation Lifetime Spectroscopy Insight on Free Volume Conversion of Nanostructured MgAl2O4 Ceramics. Nanomaterials 2021, 11, 3373. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  10. Shpotyuk, O.; Ingram, A.; Boussard-Pledel, C.; Bureau, B.; Lukáčová Bujňáková, Z.; Baláž, P.; Mahlovanyi, B.; Shpotyuk, Y. The Art of Positronics in Contemporary Nanomaterials Science: A Case Study of Sub-Nanometer Scaled Glassy Arsenoselenides. Materials 2022, 15, 302. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  11. Brůna, M.; Medňanský, M.; Matejka, M.; Podprocká, R. Influence of HPDC Process Parameters on the Microstructure of EC Electromotor Housing. Metals 2023, 13, 295. [Google Scholar] [CrossRef] [Scilit]
  12. Zhang, Y.; Lordan, E.; Dou, K.; Wang, S.; Fan, Z. Influence of porosity characteristics on the variability in mechanical properties of high pressure die casting (HPDC) AlSi7MgMn alloys. J. Manuf. Process. 2020, 56, 500–509. [Google Scholar] [CrossRef] [Scilit]
  13. Lee, S.; Patel, G.; Gokhale, A.; Sreeranganathan, A.; Horstemeyer, M. Quantitative fractographic analysis of variability in the tensile ductility of high-pressure die-cast AE44 Mg-alloy. Mater. Sci. Eng. A 2006, 427, 255–262. [Google Scholar] [CrossRef] [Scilit]
  14. Yamada, Y.; Yoshii, H.; Mochizuki, S.; Bannai, Y.; Yaokawa, J.; Anzai, K.; Oikawa, K. Evaluation of J Factor and Leakage Quality for High Pressure Die Casting Applied to Closed-deck Type Cylinder Block. In Proceedings of the Small Engine Technology Conference & Exposition, Sapporo, Japan, 8 November 2011. [Google Scholar] [CrossRef] [Scilit]
  15. Wilczek, A.; Długosz, P.; Hebda, M. Porosity Characterization of Aluminium Castings by Using Particular Non-destructive Techniques. J. Nondestruct. Eval. 2015, 34, 26. [Google Scholar] [CrossRef] [Scilit]
  16. Nourian-Avval, A.; Fatemi, A. Characterization and Analysis of Porosities in High Pressure Die Cast Aluminum by Using Metallography, X-Ray Radiography, and Micro-Computed Tomography. Materials 2020, 13, 3068. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  17. Wan, Q.; Zhao, H.; Zou, C. Effect of Micro-porosities on Fatigue Behavior in Aluminum Die Castings by 3D X-ray Tomography Inspection. ISIJ Int. 2014, 54, 511–515. [Google Scholar] [CrossRef] [Scilit]
  18. Maierhofer, C.; Myrach, P.; Röllig, M.; Jonietz, F.; Illerhaus, B.; Meinel, D.; Richter, U.; Miksche, R. Characterization of pores in high pressure die cast aluminum using active thermography and computed tomography. AIP Conf. Proc. 2016, 1706, 110009. [Google Scholar] [CrossRef] [Scilit]
  19. Disselhoff, T.; Martin, R.J. Data-Driven Early Quality Prediction in High Pressure Die Casting. Int. J. Met. 2026, 20, 1897–1907. [Google Scholar] [CrossRef] [Scilit]
  20. Pachandrin, S.; Hoffmann, N.; Dilger, K.; Rokicki, M.; Niederée, C.; Stürenburg, L.; Noske, H.; Denkena, B.; Kallisch, J.; Wunck, C. Data-Driven Prediction of Casting Defects in Magnesium High-Pressure Die Casting Using Machine Learning. Int. J. Met. 2026, 20, 112–131. [Google Scholar] [CrossRef] [Scilit]
  21. Qiao, Q.; Hu, H.; Ahmad, A.; Wang, K. A Review of Metal Surface Defect Detection Technologies in Industrial Applications. IEEE Access 2025, 13, 48380–48400. [Google Scholar] [CrossRef] [Scilit]
  22. Lv, X.; Duan, F.; Jiang, J.-J.; Fu, X.; Gan, L. Deep Metallic Surface Defect Detection: The New Benchmark and Detection Network. Sensors 2020, 20, 1562. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  23. Ziółkowski, G.; Chlebus, E.; Szymczyk, P.; Kurzac, J. Application of X-ray CT method for discontinuity and porosity detection in 316L stainless steel parts produced with SLM technology. Arch. Civ. Mech. Eng. 2014, 14, 608–614. [Google Scholar] [CrossRef] [Scilit]
  24. Williams, J.; Dryburgh, P.; Clare, A.; Rao, P.; Samal, A. Defect Detection and Monitoring in Metal Additive Manufactured Parts through Deep Learning of Spatially Resolved Acoustic Spectroscopy Signals. Smart Sustain. Manuf. Syst. 2018, 2, 204–226. [Google Scholar] [CrossRef] [Scilit]
  25. Huang, Y.; Wu, D.; Zhang, Z.; Chen, H.; Chen, S. EMD-based pulsed TIG welding process porosity defect detection and defect diagnosis using GA-SVM. J. Mater. Process. Technol. 2017, 239, 92–102. [Google Scholar] [CrossRef] [Scilit]
  26. Lee, J.H.; Noh, S.D.; Kim, H.J.; Kang, Y.S. Implementation of Cyber-Physical Production Systems for Quality Prediction and Operation Control in Metal Casting. Sensors 2018, 18, 1428. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  27. Plentz, P.D.M.; Ribeiro, T.M.M.; Rahmig, H.F.C.; Bulcão-Neto, R.F.; Sene, I.G.; Morales, A.S. Digital Transformation: Challenges About Iot and Ai in High Pressure Die Casting (HPDC). In Proceedings of the 2025 IEEE 19th International Symposium on Applied Computational Intelligence and Informatics (SACI), Timisoara, Romania, 19–24 May 2025; pp. 1–6. [Google Scholar] [CrossRef] [Scilit]
  28. Gupta, R.; Anand, V.; Gupta, S.; Koundal, D. Deep learning model for defect analysis in industry using casting images. Expert Syst. Appl. 2023, 232, 120758. [Google Scholar] [CrossRef] [Scilit]
  29. Andriosopoulou, G.; Mastakouris, A.; Masouros, D.; Benardos, P.; Vosniakos, G.C.; Soudris, D. Defect Recognition in High-Pressure Die-Casting Parts Using Neural Networks and Transfer Learning. Metals 2023, 13, 1104. [Google Scholar] [CrossRef] [Scilit]
  30. Jakumeit, J.; Behnken, H.; Laqua, R.; Mbewou, S.; Fehlbier, M.; Gänz, J.; Becker, L. Coupled Modeling of Misrun, Cold Shut, Air Entrainment, and Porosity for High-Pressure Die Casting Applications. Miner. Met. Mater. Ser. 2021, 6, 865–870. [Google Scholar] [CrossRef] [Scilit]
  31. Kim, J.; Park, C.; Park, W.; Park, Y.; Cho, C.; Kim, D. A Study on High Pressure Die-Casting Defect Prediction Deep Learning Algorithm for Porosity Defect Detection based on Process Parameters and Thermal Image. Korean J. Comput. Des. Eng. 2023, 28, 222–231. [Google Scholar] [CrossRef] [Scilit]
  32. Sovatzidi, G.; Vasilakakis, M.D.; Iakovidis, D.K. Automatic Fuzzy Graph Construction for Interpretable Image Classification. In Proceedings of the International Conference on Image Processing (ICIP), Bordeaux, France, 16–19 October 2022; pp. 3743–3747. [Google Scholar] [CrossRef] [Scilit]
  33. Tziolas, T.; Papageorgiou, K.; Feleki, A.; Theodosiou, T.; Rapti, K.; Papageorgiou, E.; Pantoja, S.; Cuinas, A. Deep Fuzzy Cognitive Maps for Defect Inspection in Antenna Assembly. Procedia Comput. Sci. 2024, 232, 97–106. [Google Scholar] [CrossRef] [Scilit]
  34. Vasilakakis, M.; Sovatzidi, G.; Dimas, G.; Iakovidis, D.K. Towards the Interpretation of Convolutional Neural Networks for Image Classification Using Fuzzy Sets. In Proceedings of the IEEE International Conference on Systems, Man and Cybernetics, Prague, Czech Republic, 9–12 October 2022; pp. 2912–2917. [Google Scholar] [CrossRef] [Scilit]
  35. Sovatzidi, G.; Vasilakakis, M.D.; Iakovidis, D.K. Towards the Interpretation of Multi-Label Image Classification Using Transformers and Fuzzy Cognitive Maps. In Proceedings of the IEEE International Conference on Fuzzy Systems, Incheon, Republic of Korea, 13–17 August 2023. [Google Scholar] [CrossRef] [Scilit]
  36. Michno, T.; Holom, R.; Schmalzer, S.; Meyer-Heye, P.; Scampone, G.; Riegler, E.; Hartmann, M.; Repanšek, U.; Košir, N.; Šifrer, P.; et al. Porosity Classification in High Pressure Die Casting Using Thermal Images and Sensor Data Fusion via Fuzzy Cognitive Maps. In Proceedings of the 21st International Conference on Computer Vision Theory and Applications—Volume 1: VISAPP; INSTICC; SciTePress: Setúbal, Portugal, 2026; pp. 613–622. [Google Scholar] [CrossRef] [Scilit]
  37. Berndt, D.J.; Clifford, J. Using dynamic time warping to find patterns in time series. In Proceedings of the 3rd International Conference on Knowledge Discovery and Data Mining; AAAIWS’94; AAAI Press: Washington, DC, USA, 1994; pp. 359–370. [Google Scholar]
  38. Schmalzer, S.; Holom, R.M.; Falkner, D.; Michno, T.; Repanšek, U.; Košir, N.; Šifrer, P. Time Series Classification in High-Pressure Die Casting Manufacturing using Dynamic Time Warping. Procedia Comput. Sci. 2026, 277, 1631–1640. [Google Scholar] [CrossRef] [Scilit]
  39. Oquab, M.; Darcet, T.; Moutakanni, T.; Vo, H.; Szafraniec, M.; Khalidov, V.; Fernandez, P.; Haziza, D.; Massa, F.; El-Nouby, A.; et al. DINOv2: Learning Robust Visual Features without Supervision. arXiv 2024, arXiv:2304.07193. [Google Scholar] [CrossRef] [Scilit]
  40. Kosko, B. Fuzzy cognitive maps. Int. J. Man-Mach. Stud. 1986, 24, 65–75. [Google Scholar] [CrossRef] [Scilit]
  41. Bueno, S.; Salmeron, J.L. Benchmarking main activation functions in fuzzy cognitive maps. Expert Syst. Appl. 2009, 36, 5221–5229. [Google Scholar] [CrossRef] [Scilit]
  42. ichi Amari, S. Backpropagation and stochastic gradient descent method. Neurocomputing 1993, 5, 185–196. [Google Scholar] [CrossRef] [Scilit]
  43. Papageorgiou, E.I.; Parsopoulos, K.E.; Stylios, C.S.; Groumpos, P.P.; Vrahatis, M.N. Fuzzy Cognitive Maps Learning Using Particle Swarm Optimization. J. Intell. Inf. Syst. 2005, 25, 95–121. [Google Scholar] [CrossRef] [Scilit]
  44. Papageorgiou, E.; Stylios, C.; Groumpos, P. Active Hebbian learning algorithm to train fuzzy cognitive maps. Int. J. Approx. Reason. 2004, 37, 219–249. [Google Scholar] [CrossRef] [Scilit]
  45. Huerga, A.V. A balanced differential learning algorithm in fuzzy cognitive maps. In Proceedings of the 16th International Workshop on Qualitative Reasoning, Barcelona, Spain, 10–12 June 2002; Volume 2002. [Google Scholar]
  46. Kosko, B. Differential Hebbian learning. AIP Conf. Proc. 1986, 151, 277–282. [Google Scholar] [CrossRef] [Scilit]
  47. Kirkpatrick, S.; Gelatt, C.D.; Vecchi, M.P. Optimization by Simulated Annealing. Science 1983, 220, 671–680. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  48. Barata, J.C.A.; Hussein, M.S. The Moore–Penrose Pseudoinverse: A Tutorial Review of the Theory. Braz. J. Phys. 2012, 42, 146–165. [Google Scholar] [CrossRef] [Scilit]
  49. Stach, W.; Kurgan, L.; Pedrycz, W.; Reformat, M. Genetic learning of fuzzy cognitive maps. Fuzzy Sets Syst. 2005, 153, 371–401. [Google Scholar] [CrossRef] [Scilit]
  50. Poczeta, K.; Yastrebov, A.; Papageorgiou, E.I. Learning Fuzzy Cognitive Maps using Structure Optimization Genetic Algorithm. Proc. Fed. Conf. Comput. Sci. Inf. Syst. ACSIS 2015, 5, 547–554. [Google Scholar] [CrossRef] [Scilit]
  51. Measures to Guarantee Valuable Validation Results. MetaFacturing Project, Grant Agreement No. 101091635. Public Deliverable. Available online: https://cordis.europa.eu/project/id/101091635/results (accessed on 18 September 2026).
  52. Gorodkin, J. Comparing two K-category assignments by a K-category correlation coefficient. Comput. Biol. Chem. 2004, 28, 367–374. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  53. Chicco, D.; Jurman, G. The advantages of the Matthews correlation coefficient (MCC) over F1 score and accuracy in binary classification evaluation. BMC Genom. 2020, 21, 6. [Google Scholar] [CrossRef] [Scilit] [PubMed]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.