Skip to Content
Applied SciencesApplied Sciences
  • Article
  • Open Access

8 January 2026

20 Pages

GSA-cGAN: A Geospatial-Aware Conditional Wasserstein Generative Adversarial Network for Mineral Resources Interpolation

and
1
Department of Energy and Mineral Resources Engineering, Kangwon National University, Samcheok-si 25913, Republic of Korea
2
R&D Team 2, Korea Mine Rehabilitation and Mineral Resources Corporation, Wonju-si 26464, Republic of Korea
3
Department of Green Energy Engineering, Kangwon National University, Samcheok-si 25913, Republic of Korea
*
Author to whom correspondence should be addressed.

Abstract

In the context of mineral resource exploration, spatial prediction must cope with heterogeneous, non-normal data distributions and limited sampling. While conventional geostatistics and standard machine learning provide baseline estimates, they often suffer from excessive smoothing or fail to capture continuous spatial dependencies. This study proposes a geospatially aware Wasserstein conditional Generative Adversarial Network (GSA-cGAN) to complement existing workflows for multivariate mineral interpolation. The framework augments a baseline cGAN with WGAN-GP for stable adversarial training, CoordConv to encode absolute spatial coordinates and Self-Attention to capture long-range spatial dependencies. Eight model configurations were trained on 272 samples from a mineralized zone in the Taebaek Mountains, Korea, and strictly benchmarked against Ordinary/Universal Kriging and multivariate machine learning baselines (Random Forest, XGBoost). Under the adopted experimental design, the full GSA-cGAN achieved the lowest test root mean squared error and highest coefficient of determination, demonstrating a significant performance improvement over the baselines. Furthermore, distribution analysis confirmed that the model effectively overcomes the smoothing limitations of regression-based methods, generating high-resolution 10 m × 10 m maps that preserve statistical variance, hotspot anomalies, and complex spatial patterns. The results indicate that deep generative models can serve as practical decision-support tools for identifying drilling targets and prioritizing follow-up exploration in geologically complex settings.

1. Introduction

The growing global demand for mineral resources has intensified competition for their supply, emphasizing the critical importance of reliable and high-precision technologies for estimating mineral distributions [1]. In mineral resource exploration, spatial prediction of grade or concentration is essential for prioritizing drilling targets, reducing exploration costs, and supporting investment decisions. Geological formations in mineralized zones are typically heterogeneous and structurally complex, exhibiting strong non-stationarity and non-normality in grade distributions. Under these conditions, practitioners are primarily interested in generating high-resolution maps that preserve local anomalies and hotspot patterns, rather than merely obtaining smoothed average trends. Classical spatial interpolation workflows in mineral exploration are dominated by two broad families of methods: deterministic interpolators and geostatistical estimators. Deterministic methods, such as inverse distance weighting (IDW), compute predictions as weighted averages of nearby samples based on heuristic distance-decay functions, without explicitly modeling spatial covariance. In contrast, geostatistical methods, such as ordinary kriging (OK) and universal kriging (UK), are grounded in random function theory. These methods utilize a variogram or covariance model to derive the best linear unbiased estimator of the target variable at unsampled locations [2,3,4]. By construction, kriging minimizes the estimation variance under a given covariance model and stationarity assumptions (second-order or intrinsic stationarity). Consequently, it does not aim to reproduce the full conditional distribution or detailed geological patterns, which is the specific role of conditional simulation. While marginal non-normality can be handled by applying appropriate transforms (e.g., log or normal-score transforms) prior to modeling, standard kriging-based workflows often struggle in highly heterogeneous and structurally complex mineralized zones. The combination of limited sampling density, strong local trends, and complex multivariate controls makes it difficult to reproduce sharp anomalies and spatial variability without extensive manual modeling. Although geostatistical extensions such as co-kriging or regression kriging have been proposed to leverage cross-correlation among attributes [5,6], they often face computational challenges and strict assumptions (e.g., linear coregionalization) when dealing with high-dimensional auxiliary variables. Parallel advancements include multi-point geostatistical simulation for reproducing non-stationary patterns [7] and recent Bayesian deep learning frameworks for uncertainty quantification [8].
Given the deficiencies of conventional interpolation in capturing complex nonlinear patterns, there have been recent breakthroughs in deep learning methods for spatial prediction. For instance, Zhou et al. [9] demonstrated the efficacy of representation learning in enhancing mineral resource prediction accuracy. In particular, generative models have gradually taken the lead as an appealing alternative to regression-based schemes. Unlike the deterministic interpolators that estimate a smoothed point-wise average, generative models aim to learn the underlying probability of the data and enable producing realistic high-resolution spatial patterns that preserve local heterogeneity. Among these, the generative adversarial network (GAN) [10] excels in synthesizing complex real-world textures. However, standard GANs are based on random noise, restricting their ability to reflect specific geospatial conditions. As such, Mirza and Osindero [11] brought the conditional GAN (cGAN), which uses auxiliary variables as conditioning inputs. cGANs can, in principle, capture multivariate interactions and nonlinear patterns while generating mineral distributions that honor both the observed samples and auxiliary information. However, basic cGAN architectures still have the following drawbacks in geoscientific applications: insufficiency of modeling global long-range spatial dependencies, lack of explicit spatial coordinate encoding to handle translation invariance, and instability in adversarial training. More broadly, recent remote-sensing research has shown that foundation-model-based representation learning (e.g., SAM/CLIP) can provide strong semantic priors for geospatial inference tasks such as semantic change detection [12], suggesting a complementary direction to generative modeling.
Consequently, cGAN-based architectures have been actively explored across various domains (Table 1). Applications include digital elevation modeling (DEM) refinement and void filling [13,14,15,16], as well as seismic data processing tasks such as shot-gather interpolation and 3D volume reconstruction [17,18,19,20,21]. Other geospatial applications include housing-data augmentation [22] and rainfall downscaling [23]. Notably, in geological modeling, the most recent works, such as GANSim [24], signaled the potentials of GANs in conditional facies simulation. Despite these advances, it is still fairly rare to see full implementations of WGAN-GP in mineral interpolation, with most models relying on PatchGAN discriminators that emphasize local realism over global continuity.
Table 1. Summary of cGAN-based interpolation and prediction case studies.
The goal here is not to replace geostatistical methods, but to develop and evaluate a geospatially aware conditional generative framework practical for mineral exploration settings. Specifically, we seek to (i) design a conditional GAN architecture robust under skewed and non-Gaussian data-scarce exploration environments, (ii) incorporate multiple geological and geophysical auxiliary variables with absolute spatial coordinates in order to learn nonlinear relationships that cannot be easily modeled by simple kriging techniques, and (iii) generate high-resolution maps of mineral concentration that would adequately preserve hotspot anomalies and complex variability. We propose a Geospatially Aware Wasserstein cGAN (GSA-cGAN), which incorporates the Wasserstein GAN with gradient penalty (WGAN-GP) for improved stability during training, coordinate convolution (CoordConv) for explicit positional encoding, and Self-Attention to model long-range dependencies.
The rest of the paper is organized as follows. Section 2 presents the methodology of the study, including the GSA-cGAN architecture and comparative baselines. Section 3 and Section 4 present the experimental findings and discussion, covering quantitative performance and distribution preservation. Finally, Section 5 concludes the paper.

2. Methodology

Figure 1 illustrates the methodological workflow of the proposed multivariate cGAN-based spatial interpolation framework. First, mineral resource distribution data and relevant auxiliary variables were collected for the study area. Exploratory data analysis (EDA) was then conducted to characterize the statistical distribution of the target variable and check for intervariable correlations. Based on these findings, the data were preprocessed into a format suitable for the cGAN model, after which they were partitioned for training, validation, and testing. To strictly evaluate the proposed framework, the modeling phase involved establishing baselines using traditional geostatistics and multivariate machine learning algorithms. Subsequently, multiple modified models were constructed by applying the WGAN-GP, CoordConv, and Self-Attention methods individually and in combination. The optimal performance of each configuration was then ensured through hyperparameter tuning on the validation dataset. Thereafter, quantitative predictions were performed on the test dataset. In this evaluation phase, we not only analyzed prediction errors but also conducted a nearest-neighbor distance analysis to assess spatial leakage risks and a probability distribution comparison to verify the preservation of geological textures. Finally, a full-domain estimation was performed over the entire study area to generate high-resolution distribution maps, and the visualized results were interpreted.
Figure 1. Methodological workflow of the GSA-cGAN framework for spatial interpolation.

2.1. Study Area and Data

The study area is situated in the south-eastern part of Gangwon State and the northern part of Gyeongsangbuk-do in the Republic of Korea (37°00′13.72″–37°20′01.83″ N, 128°44′59.31″–129°14′37.24″ E), as illustrated by the red box in Figure 2. This region encompasses the late Paleozoic Pyeongan and early Mesozoic Daedong Supergroups, resulting in a complex geological background. In addition, the areas rich in coal, metallic, and non-metallic mines suggest a high potential for mineral resource deposits [25].
Figure 2. Distribution of mineral resources sampling points in the study area.
The estimation target in this study was the concentration of Aluminum (Al), sampled from a total of 272 sites within the study area. Prior to model training, EDA was conducted to understand the concentration distribution and calculate the descriptive statistics for the target. Preprocessing was then applied, such as standardization using the standard scalar transform, to render the data suitable for model input. The cGAN model training used the universal transverse Mercator coordinates of the target along with six highly relevant mineral occurrence variables (Figure 3; grid resolution: 100 m × 100 m). These variables comprise 30 lithology indices distributed within the study area, magnetic anomaly (interpolated by IDW) [26], gravity anomaly (interpolated by IDW) [27], fault density, and distance from faults or deposits. To evaluate the model’s performance, the preprocessed 272 samples were randomly partitioned into training (70%), validation (20%), and test (10%) datasets. To address potential bias from random sampling during splitting and ensure experimental reproducibility, a random seed was fixed.
Figure 3. Auxiliary variables for data training and full-domain estimation: (a) lithology index, (b) magnetic field (interpolated by IDW), (c) gravity field (IDW), (d) fault density, (e) distance from fault, (f) distance from deposit.

2.2. Development and Application of GSA-cGANs for Spatial Interpolation

In this study, we adopted a deep learning-based cGAN model as the base model for spatial interpolation and prediction of mineral resource exploration data. The key idea is to generate samples that are consistent with specific spatial and geological conditions by incorporating condition variables (c) into both the generator (G) and discriminator (D) architectures. Unlike a standard GAN, which generates arbitrary samples from random noise (z), a cGAN can learn and synthesize spatial and multivariate patterns more realistically and effectively by conditioning on additional input variables that encode geoscientific information [21].
In the baseline cGAN framework, G receives as input the concatenation of a 32-dimensional random noise vector z and the spatial-geological variables c. A multilayer perceptron (MLP) applies nonlinear transformations to this joint to synthesize the spatial distribution of the target variable. Unlike fully convolutional networks that process inputs as fixed-resolution images, this G is designed as a coordinate-based MLP that performs point-wise estimation. This architecture allows for the model to learn a continuous function mapping from spatial coordinates to mineral concentration, enabling resolution-independent predictions. The output of G is a synthetic sample with the same dimensionality as the real data. The D takes as input either a real sample (ground truth) or a synthetic sample from G, together with corresponding condition vectors c, and process them through an MLP followed by a sigmoid activation function to output the probability that the sample is real. Training proceeds in an adversarial manner, where G and D are alternately optimized. The objective function combines the standard binary cross entropy loss with L1 term representing the mean absolute error between the generated and actual samples, which encourages G to match the target values more closely. The Adam optimizer [28] is used with tuned hyperparameters (learning rate, β1, and β2), and models are trained with mini-batches mini batches until the training and validation losses converges stably [29].
However, this baseline cGAN architecture alone often exhibits unstable training and is insufficient for learning absolute positional information and long-range spatial dependencies that are characteristics of geospatial data, which can limit its ability to reproduce complex spatial heterogeneity. To address these limitations and make the framework more suitable for mineral exploration, we present a GSA-cGAN that augments the baseline cGAN with three complementary modifications: WGAN-GP, CoordConv, and Self-Attention. Figure 4 illustrates the overall architecture: the orange box represents the baseline cGAN, the green box denotes the WGAN-GP modification, and the light yellow and blue layer indicate the insertion points of CoordConv and Self-Attention, respectively. The three components are chosen for specific, complementary reasons, as summarized below.
Figure 4. Schematics of the cGAN architecture and its modifications (WGAN-GP, CoordConv, and Self-Attention).
  • WGAN-GP [30]:
    • To mitigate training stability and mode collapse, the discriminator is replaced with a Critic (C), and the loss function is reformulated using the Wasserstein distance with a gradient penalty term (λ = 10). This modification enforces a soft Lipschitz constraint on C and leads to smoother, more stable gradients for G. Following [30], the critic is updated five times for each generator update (i.e., ncritic = 5) to improve the convergence and stability (Figure 4, green box).
  • CoordConv [31]:
    • Standard neural networks often exhibit translation invariance, which limits their ability to learn absolute spatial dependencies required for geospatial interpolation. To explicitly provide location information, we add a CoordConv layer that augments the input with coordinate feature (e.g., normalized x and y coordinates). While simple concatenation treats coordinates as ordinary features, CoordConv explicitly injects coordinate channels into the feature map, providing a strong inductive bias that solves the ‘coordinate transform problem’ [31]. This ensures that the spatial position of each sample is directly conveyed to the network, enabling the model to learn the spatial context and global positional characteristics such as regional trends or belt-shaped anomalies (Figure 4, light yellow box within G).
  • Self-Attention [32]:
    • Conventional architectures tend to focus on local patterns near each sample and may struggle to capture long-range spatial dependencies. To enable the model to represent interactions over larger distances, we incorporate a self-attention mechanism into both G and D/C. The attention layers allow for each spatial location to attend to other locations across the entire domain, improving the representation of global structures and long-range correlations and leading to more precise predictions of complex spatial distributions (Figure 4, light blue boxes within G and D/C).
To systematically investigate the contribution of each component, we implemented eight models corresponding to different combinations of the baseline cGAN and the three modifications. These models span from the plain cGAN to the full GSA-cGAN with WGAN-GP, CoordConv, and Self-Attention, as illustrated schematically in Figure 4. For each configuration, key hyperparameters, including learning rate, β1, β2, batch size, hidden dimension, and noise dimension, were tuned on the validation set using a combination of random search and grid search. In the first stage, random search was used to explore a broad space of configurations; in the second stage, a finer grid search was conducted around the best-performing candidates. Early stopping was applied based on the validation error: if no improvement was observed for more than five consecutive epochs, training was stopped and the model state with the lowest validation loss was retained. The optimized models were then used to synthesize and quantitatively evaluate predictions on the held-out test subset. For full-domain mapping, we adopted a query-based inference approach to handle the resolution difference. A prediction grid was defined at a 10 m resolution, and for each grid point, the corresponding auxiliary values were sampled from the 100 m layers and fed into the G along with the normalized spatial coordinates. This mechanism allows for the model to output high-resolution estimates that spatially refine the coarser auxiliary inputs.

2.3. Comparative Analysis and Validation Strategy

To benchmark the performance of the proposed cGAN frameworks and ensure a comprehensive evaluation, we designed a comparative study involving traditional geostatistical methods and modern machine learning algorithms. First, as representative geostatistical baselines, we employed OK and UK. OK assumes a constant stationary mean within the local neighborhood, whereas UK accounts for a local trend modeled as a function of coordinates. These methods serve as the standard reference for assessing whether the deep learning approach provides tangible benefits over established interpolation methods. Second, to ensure a fair comparison regarding the use of multivariate auxiliary data, we implemented random forest (RF) and XGBoost (XGB). Unlike kriging, which relies primarily on spatial autocorrelation, these machine learning models utilized the exact same set of input features (coordinates + six auxiliary variables) as the GSA-cGAN. The hyperparameter for both RF (e.g., number of trees, max depth) and XGB (e.g., learning rate, subsample ratio) were optimized using randomized search cross-validation on the validation set to ensure their optimal possible performance. This setup allows us to verify whether the GSA-cGAN’s performance gain stems merely from additional data availability or from its architectural superiority in modeling complex spatial structures.
To quantitatively assess prediction accuracy, we utilized two standard metrics: root mean squared error (RMSE) and coefficient of determination (R2). RMSE is the square root of the average of the squared differences (error) between the predicted and observed (actual) values and can be expressed according to Equation (1).
R M S E = 1 n ∑ i = 1 n ( y ^ i − y i ) 2
where y ^ i is the predicted value at location i, y i is the observed value at location i, and n denotes the total number of observation points. A smaller RMSE value indicates higher prediction performance; it can be described in terms of the original data units, making it easier to determine than the mean squared error (MSE) [33]. However, RMSE has limitations in that it is difficult to establish relative consistency between the predicted and observed values and does not account for error directionality (underestimation/overestimation) [34].
To supplement this, R2, which indicates how well the model predicts the variability of actual observations, was utilized. It is defined as the ratio of the model’s explained variation to the total variation, and it can be expressed according to Equation (2). R2 also measures the overall fit of the applied model to the observed values [35].
R 2 = 1 − ∑ i = 1 n ( y i − y ^ i ) 2 ∑ i = 1 n ( y i − y ¯ ) 2
where y ¯ denotes the mean of the observations. R2 ranges from 0 to 1, with higher values indicating a better explanatory power and fit. It simply reveals correlations, not causation, and is thus used with caution in nonlinear or outlier-rich data. Hastie et al. [36], Chai and Draxler [37] and Chicco et al. [38] suggested that the RMSE and R2 can be used together to complement and provide the absolute error magnitude and relative explanatory power.
Furthermore, to address the limitations of point-wise error metrics in geospatial analysis, we introduced two additional validation procedures. First, to verify that the random split did not lead to ‘spatial leakage’ (i.e., memorization of nearby points), we conducted a nearest neighbor distance analysis between the test and training samples. Second, to assess the preservation of geological heterogeneity, we compared the distribution density function of the predicted maps against the ground truth. This statistical comparison verifies whether the generative model successfully reproduces the high-grade extremities of the distribution, overcoming the smoothing effect typical of regression-based interpolators.

3. Results

3.1. EDA of Al Concentrations

Table 2 summarizes the descriptive statistics for the concentration of Al. The whole dataset consists of 272 samples, with a mean (100.76 mg/kg) significantly higher than the median (62.50 mg/kg), a heavily skewed distribution. The standard deviation of 112.13 mg/kg demonstrates that measurements are spread across a broad range. Skewness (2.51) and kurtosis (6.09) substantially exceed those of a normal distribution (skewness ≈ 0, kurtosis ≈ 3). Moreover, the leptokurtic shape, characterized by a sharp peak and thick tails, suggests the presence of significant extreme values.
Table 2. Descriptive statistics of the target variable: aluminum concentration sample (unit: mg/kg).
The EDA visualization in Figure 5 provides a clearer view of these distribution characteristics. The scatter plot (Figure 5a) shows that medium-to-high concentration samples (marked in yellow) form specific clusters, indicating significant local variability between the sampling points. The raincloud plot (Figure 5b) reveals a bimodal distribution, with a main group centered in the Q1–Q3 range (33–121.55 mg/kg) and a distinct high-concentration group distributed around 500 mg/kg. The kernel density estimates, shown in blue at the bottom, highlight the nonlinearity and multimodal nature of the dataset. Furthermore, the Q-Q plot (Figure 5c) shows that most data points, particularly in the high-concentration range, deviate significantly from the diagonal line (y = x). This heavy-tailed behavior indicates that the dataset is dominated by extreme values, which are prone to underestimation (smoothing) in conventional variance-minimization interpolation methods.
Figure 5. Exploratory data analysis of Al concentration: (a) scatter plot, (b) raincloud plot, (c) Q-Q plot.
Based on these results, although log-transformation was initially considered to address skewness, it showed limited improvement in prediction error and convergence speed. Therefore, we utilized standardization (Standard Scaler) to facilitate training while retaining the original distributional characteristics. The preprocessed dataset was then randomly partitioned into training (190 ea), validation (54 ea), and test (28 ea) sets using a fixed random seed to ensure reproducibility, and subsequently used for GSA-cGAN modeling.

3.2. Spatial Interpolation Using GSA-cGAN Model

Figure 6 presents a visual comparison between the observed Al concentrations (Figure 6a) and predictions generated by eight cGAN variants on the test dataset. For clarity, models incorporating subsets of the proposed components are referred to as ‘modified cGANs,’ while the final architecture is denoted as ‘GSA-cGAN.’ As observed in Figure 6a, the ground truth data exhibit significant spatial heterogeneity, with high-concentration hotspots (yellow) forming distinct clusters against a low-concentration background.
Figure 6. Comparison of actual and estimated values for test Al concentration data.
Both the basic cGAN (Figure 6b) and cGAN + WGAN-GP (Figure 6c) models successfully predicted low-concentrations distribution trends, although they frequently underestimated the high-concentration outliers. This is because the local variability of the actual distribution is not effectively reproduced, and estimation bias remains. In contrast, the models that applied either CoordConv or Self-Attention with cGAN (Figure 6d,e) identified hotspot areas more accurately than cGAN + WGAN-GP (Figure 6c), confirming that the estimations were much closer to the actual distribution. This could be because CoordConv, which explicitly processes position information, and Self-Attention, which learns global spatial patterns, contributed more directly to reproducing the spatial context than WGAN-GP, which focuses on training stability.
When two or more modifications were combined with cGAN, the estimation generated results that were more similar to the actual data distribution (Figure 6a) than when the basic cGAN model and modifications were applied separately. Notably, the model that incorporated all three modifications with the cGAN produced the most visually superior results (Figure 6i). This model precisely reproduced not only the values of high-concentration hotspots, but also the low-concentration distribution patterns. Based on these findings, it is evident that the addition of these modifications, compared to the standalone cGAN model, significantly improved the performance in terms of hotspot reconstruction, spatial continuity, and overall estimation stability. This suggests that the synergistic combination of processing spatial position information, increasing training stability, and capturing global spatial dependencies is particularly successful in predicting mineral distributions with non-stationarity and geographical heterogeneity.
Figure 7 depicts the results of the spatial interpolation for the full domain employing the finalized G, which was determined in the basic cGAN and seven modified cGAN frameworks. As shown in Figure 7a, the baseline cGAN approximately captured the high-concentration distribution area; however, the boundaries of the band-shaped distribution were excessively smoothed, resulting in a weak contrast with the surrounding low-concentration areas. In the cGAN with WGAN-GP (Figure 7b), the learning stability increased, making the high-concentration area more identifiable; however, the band-shape patterns were still indistinct. In contrast, the cGAN + CoordConv model (Figure 7c) utilizes spatial coordinate information explicitly, allowing for the location and shape of high-concentration clusters to be reproduced more clearly than in the basic cGAN (Figure 7a) and cGAN + WGAN-GP (Figure 7b), with a significant increase in consistency with actual geological boundaries. Because the Self-Attention mechanism applied to the cGAN (Figure 7d) captures long-range spatial dependencies, estimations with enhanced spatial continuity and connectedness of the concentration distribution within the band can be found. The capacity for precise visual analysis of the interpolation map can be attributed to the adoption of a sufficiently adequate spatial resolution (10 m × 10 m).
Figure 7. Spatial interpolation of Al concentration distributions for the full domain using the modified cGAN models.
The results of applying the three modifications to cGAN (Figure 7d–h) showed that the high-concentration areas (yellow) became brighter and clearer compared to those in the basic model. This means that the combined models overcome the propensity to underpredict these areas and generate concentration values closer to the actual data. In WGAN-GP and Self-Attention with cGAN (Figure 7e), both learning stability and global spatial consistency improved; however, the absence of positional information made the edges extending to the left ambiguous. For the model combining CoordConv and Self-Attention (Figure 7f), the boundaries of hotspot clusters became sharper, and the internal smoothing concentration changes were preserved, effectively showing the contrast between the inner and exterior of the band-shaped patterns. Meanwhile, cGAN + WGAN-GP + CoordConv (Figure 7g) produced clearer boundaries in stable learning and the utilization of positional information; however, the inside pattern was overly smoothed, resulting in a gap from the actual mineral distribution composition. The model incorporating all three modifications (Figure 7h) best reproduced both local and global spatial patterns simultaneously, displaying obvious hotspot cluster shapes, rich variations in internal concentrations, and consistent spatial continuity in low-concentration background areas. These findings indicate that synergistic approaches combining the three modifications can generate visually appealing and persuasive high-resolution estimation maps for complicated and heterogeneous mineral distributions.

3.3. Evaluation for Spatial Interpolation Using GSA-cGAN Models

Figure 8 compares the prediction performance of the eight cGAN frameworks based on the RMSE and R2. The basic cGAN has the poorest performance: its RMSE is 33.67 mg/kg, and the R2 is 0.922. For single modifications in models, variable improvement can be seen. When paired with WGAN-GP, the RMSE improved a little (33.14 mg/kg), as did the R2 (0.925), indicating that enhanced training stability contributes to prediction accuracy. The addition of CoordConv yielded similar improvements by explicitly enabling the model to make use of spatial coordinates to capture local variability. Most notably, the Self-Attention mechanism yielded the largest single-modification improvement—the RMSE came to 31.86 mg/kg, and the R2 reached 0.930—which revealed its ability to model long-range spatial dependencies across the domain.
Figure 8. Prediction error metrics for the eight modified cGAN models.
Combined models resulted in further improvements. While the model cGAN + WGAN-GP + CoordConv had an RMSE of 32.19 mg/kg and an R2 of 0.929, slightly better than a single modification, the model cGAN + WGAN-GP + Self-Attention had an RMSE of 31.61 mg/kg and an R2 of 0.936, with a marked reduction in error. CoordConv combined with Self-Attention achieved an RMSE of 29.97 mg/kg and R2 of 0.938, which suggests that learning positional context and global dependencies simultaneously is highly effective. Finally, the best performance with the lowest RMSE of 25.68 mg/kg and highest R2 of 0.955 was from the model combining all three modifications. This result underlines that a valid framework for heterogeneous mineral resource estimation needs to combine a mechanism for stability in training (WGAN-GP), explicit spatial awareness (CoordConv), and the ability to model global context in order to break through the smoothing limitations of traditional methods and accurately reproduce complex, non-stationary patterns.
Further verification of the proposed GSA-cGAN and confirmation that the results were not due to overfitting will be presented by an examination of the training dynamics (Figure 9). To make the figures easier to interpret, the loss functions for the WGAN were smoothed with an exponential moving average (with factor = 0.9). Also, the green curve represents the validation RMSE, while the red and blue curves represent G loss and C loss, respectively. From the validation RMSE, it is clear that the model displays a clear sign of ‘delayed convergence,’ characteristic of a stable WGAN-GP-trained model. During the first 75 epochs, denoting the ‘adversarial exploration’ stage, the validation RMSE stays high (oscillating at an average value of 105 mg/kg), highlighting the highly competitive environment, during which the G finds it very difficult to deceive the C with basic information. A dramatic turn happened at around 75 epochs, at which point the value fell sharply to 40 mg/kg for the RMSE. Most importantly, during the remaining 125 epochs, the error function showed stable oscillation at this low value, without showing signs of a ‘U-shaped recovery.’ Thus, it is clear that the model had effectively converged into its generalized form, capable of capturing complex spatial information, thus validating the choice of 200 epochs, without signs of overfitting during the initial stages.
Figure 9. Training stability and validation RMSE curve of the GSA-cGAN.
Additionally, the application code for the final GSA-cGAN model can be found on the website listed in Appendix A.

4. Discussion

4.1. Performance and Mechanistic of GSA-cGAN and Kriging for Spatial Interpolation

Although these cGAN modifications proposed in this work have demonstrated improvement in the prediction performance, several considerations regarding their individual roles, computational costs, and their relationship to more classical kriging-based workflows must be discussed. While Self-Attention exhibited a strong capacity for modelling long-range spatial dependencies, when incorporated into the cGAN model, it required greater memory and computing resources with increased hyperparameters such as batch size and hidden dimension. By explicitly informing absolute spatial positional information, CoordConv played a vital role in enhancing the clarity and localization of high-concentration clusters and geological boundaries. WGAN-GP ensured better stability in training with the mitigation of mode collapse and oscillatory loss behavior, hence providing the other two modifications a robust base to act on. Combining all three, the full GSA-cGAN model produced the best performance but presented the highest computational cost. Hence, trade-offs exist; for example, the cGAN + WGAN-GP + CoordConv model offers an attractive balance between efficiency and accuracy, which might be preferable when resources are limited. However, when maximizing quantitative accuracy is paramount, the full GSA-cGAN is the optimal choice.
However, to ensure an accurate assessment of its performance, we broadened the analysis framework presented above to also include baselines. These baselines include geostatistical approaches (OK, UK) and machine learning algorithms (RF, XGB). This is presented in Table 3 below. Interestingly, from these results, it is also seen that the efficacy of conventional machine learning is limited in geospatial domains where data is scant. This is evident from Table 3, where it is seen that RF (RMSE = 73.06 mg/kg) and XGB (RMSE = 79.19 mg/kg) had higher RMSE values compared to OK (RMSE = 53.65 mg/kg). One reason for the poor performance of the machine learning baselines can be considered to be related to the small training sample size (n = 190). This is because tree-based learning algorithms consider samples independently and have difficulties in learning from spatial dependencies directly related to point coordinates when their training sample size is not sufficiently dense.
Table 3. Comparison of prediction errors: modified cGANs and baselines.
Figure 10 illustrates a comparison of residual patterns (difference maps) between the new GSA-cGAN approach and existing methods, OK, and RF. The optimal residual patterns should be spatially random with smaller absolute values, while existing methods tend to have systematic patterns. As seen in the OK difference map (Figure 10b), positive residual patterns (red regions) are prominently noticeable in areas where hotspots for high concentration exist. This confirms a ‘smoothing effect,’ which has been discussed as a common property in variance-seeking methods such as kriging. It tends to smooth local peaks to become local averages, resulting in a systematic bias towards underestimation of high-grade mineralization. On the other hand, the positive residual pattern of the Random Forest difference map (Figure 10c) clearly shows spatially separate errors in high-dimensional spaces. Although this method incorporates multivariate auxiliary information, it represents spatial coordinates only as independent variables without accounting for their spatial geometry. Hence, it does not preserve spatial geometric links to continuous features of mineralization. This algorithm has difficulties with replicating values in the same distribution, resulting in positive residuals of a larger order than those for OK. By contrast, GSA-cGAN (Figure 10a) demonstrates a much smoother residual distribution. Not only are the residual errors much smaller, but it also seems that there are random scattering patterns without any systematic grouping, especially for particular regions of either high concentration or low concentration. This implies that the data-driven deep learning algorithm, which incorporates a combination of both CoordConv and Self-Attention mechanisms, can effectively learn a spatial transformation mapping and remove the above-mentioned inherent shortcomings of both smoothing effects and spatial geometry discontinuity in current ML algorithms for spatial prediction.
Figure 10. Residual distribution on the test dataset compared across models. (a) GSA-cGAN, (b) Ordinary Kriging, (c) Random Forest.
This difference in mechanism can also be seen from the comparison of the probability density function in Figure 11. Traditional variance minimization approaches such as kriging and RF have a smoothing effect, which results in a thin distribution that does not account for the long tail of the mineral information. As can be seen from Figure 11, the OK (green dashed) and RF (blue dashed) distribution has a peak around the mean value, whereas GSA-cGAN (red dash-dot) aligns well with the Ground truth (Gray region).
Figure 11. Comparison of probability density functions verifying the preservation of statistical variance.
Moreover, in relation to the validation reliability, we also explored the issue of spatial leakage in the case of random sampling. The distance check verified an average distance of 1019.17 m between the test and training samples. This distance indicates a “realistic in-fill” exploration setting within the variogram range, ensuring that the GSA-cGAN model behavior is focused on learning the ‘spatial continuum’ rather than simply learning nearby data points.

4.2. Limitations and Improvements

The limitations of this study should be acknowledged when interpreting the results. First, regarding the validation design, we employed a random split of 272 samples. While random splitting in geospatial analysis can raise concerns about spatial autocorrelation and information leakage, the quantitative assessments revealed that the average nearest-neighbor distance between test and training samples is approximately 1019 m. This distance is well within the variogram but sufficiently large to represents a realistic ‘in-fill’ exploration scenario, where the goal is to predict values between sparse drilling points. Therefore, the reported metrics should be interpreted as a valid assessment of the model’s interpolation capability within a continuous mineralized zone, rather than a test of extrapolation to unseen regions. Future work could employ spatial blocking or cluster-based cross-validation to provide even more conservative error estimates for extrapolation tasks.
Second, auxiliary inputs such as magnetic and gravity anomalies were interpolated to continuous grids using IDW based on the full set of observations. Such a design captures a typical exploration scenario where regional geophysical grids are provided as covariates to extensive drilling. However, it also means that each test location is indirectly informed by global samples through the interpolated auxiliary fields. While this mimics standard workflows, more stringent validation could be obtained by using auxiliary grids derived from independent geophysical surveys.
Thirdly, while we thoroughly compared the GSA-cGAN with powerful machine learning models (RF, XGB) for which we proved the superiority of the former, we did not incorporate more complex geostatistical models like co-kriging or multi-point geostatistical simulation. The reason for this is that the computational requirements of those models are higher, with linear coregionalization conditions that are difficult to meet in multidimensional problems. It would be very interesting to carry out a thorough benchmarking test with those more complex geostatistical models.
The existing implementation is deterministic in nature and lacks explicit uncertainty analysis, like prediction intervals or probabilistic maps, whereas, in this regard, kriging-based procedures can inherently provide a kriging variance that characterizes local uncertainty. A more useful implementation of GSA-cGAN with regard to uncertainty analysis could be formulated using ensemble generators or Bayesian deep learning or through appropriate incorporation of variogram parameters into loss functions. These advances will further help in decision-making related to mineral prospecting based on a numeric specification of uncertainty associated with various estimates.
Finally, the current approach attempts tasks of estimation at a single resolution (10 m × 10 m), whereas natural mineral systems exhibit complex textures at different resolutions. Implementation of multi-resolution architectures like pyramid or multi-scale attention GANs could potentially enable modeling of textures at two or more different resolutions, which could further improve the naturalness of the maps being generated. Additionally, working on designing architectures that promote the generated maps to follow spatial autocorrelation structures could potentially improve the physical consistency of the generated fields.

5. Conclusions

This study proposed a multivariate GSA-cGAN framework to overcome the limitations of traditional interpolation methods in estimating the spatial distribution of complex and non-normal mineral resources. To enhance the predictive capability of the baseline cGAN, we progressively integrated three modifications: WGAN-GP for stabilizing adversarial training, CoordConv for explicit positional encoding, and Self-Attention for modeling long-range spatial dependencies. Through a comparative analysis against both geostatistical baselines (OK and UK) and machine learning algorithms (RF and XGB), the proposed GSA-cGAN demonstrated superior performance. It achieved the lowest test RMSE (25.68 mg/kg) and highest R2 (0.955), significantly outperforming RF (RMSE: 73.06 mg/kg) and OK (RMSE: 53.65 mg/kg). Mechanistically, while regression-based models suffered from smoothing effects and failed to capture high-grade anomalies, the GSA-cGAN successfully reproduced the statistical distribution and complex spatial patterns of the mineral deposit. The generated high-resolution (10 m × 10 m) maps exhibited sharp geological boundaries and internal texture variations, proving the model’s ability to learn nonlinear mappings from coarse auxiliary data.
Overall, the findings indicate that deep generative models pose an effective remedy for exploration tasks with scarce data, provided that they are correctly biased with appropriate architectural parameters such as coordinates and attention maps. Indeed, our validation results confirm that the model did not learn the training set by heart, since the results from the nearest neighbor distance test (avg. ~1 km) and the validation loss curve confirmed that the model effectively captured continuous spatial representations beneficial for ‘in-fill’ exploration tasks based on high-precision maps, thereby providing useful tools for drilling exploration targets with minimal negative impacts on the environment.
The conclusions of this study should be interpreted in light of its limitations. First, the auxiliary inputs were interpolated using IDW, which means the test locations were indirectly informed by global data. Second, while the random split was validated as a realistic in-fill scenario, applying the model to completely unseen regions (extrapolation) remain challenging. Third, the study was conducted on a single deposit type. Future research should extend the GSA-cGAN framework to include explicit uncertainty quantification (e.g., Bayesian approximation) and benchmark it against advanced geostatistical simulations (e.g., MPS) to further delineate its applicability in diverse geological settings.

Author Contributions

H.H.: methodology, conceptualization, analysis, validation, visualization, and writing the original draft; J.S.: supervision, project administration, writing the review, and editing. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by (1) the Energy & Mineral Resources Development Association of Korea (EMRD) grant funded by the Korean government (MOTIE) (2021060001, Data science-based oil/gas exploration consortium) and (2) the Korea Institute of Energy Technology Evaluation and Planning(KETEP) and the Ministry of Trade, Industry & Energy (MOTIE) of the Republic of Korea (No. RS-2025-02310648).

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding author. The data are not publicly available due to privacy.

Conflicts of Interest

Author Hosang Han was employed by the company R&D Team 2, Korea Mine Rehabilitation and Mineral Resources Corporation. 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.

Abbreviations

The following abbreviations are used in this manuscript.
IDWinverse distance weighting
OKordinary kriging
UKuniversal kriging
GANgenerative adversarial network
cGANconditional generative adversarial network
DEMdigital elevation modeling
WGAN-GPWasserstein GAN with gradient penalty
RFrandom forest
XGBXGBoost
GSA-cGANgeospatially aware Wasserstein cGAN
EDAexploratory data analysis
MLPmultilayer perceptron
RMSEroot mean squared error
MSEmean squared error

Appendix A

The source codes are available for download at the following link: https://github.com/Euck411/GSA-cGAN (accessed on the 4 January 2026).

References

  1. Lee, C.W.; Bang, E.; Park, G.S. Building a Mineral Resources Data Platform for Critical Mineral Exploration. J. Korean Soc. Miner. Energy Resour. Eng. 2023, 60, 315–325. [Google Scholar] [CrossRef] [Scilit]
  2. Guzmán, J. An Application of Financial Economics and Geostatistics to Mineral Exploration Decision Making. Ph.D. Thesis, Colorado School of Mines, Golden, CO, USA, 1984. [Google Scholar]
  3. Rendu, J.M. Geostatistical Simulations for Risk Assessment and Decision Making: The Mining Industry Perspective. Int. J. Surf. Min. Reclam. Environ. 2002, 16, 122–133. [Google Scholar] [CrossRef] [Scilit]
  4. Gu, A. Geostatistical Approaches for Resource Estimation in Mining and Exploration. J. Environ. Risk Assess. Remediat. 2023, 7, 182. [Google Scholar]
  5. Adeli, A.; Dowd, P.; Emery, X.; Xu, C. Using Cokriging to Predict Metal Recovery Accounting for Non-Additivity and Preferential Sampling Designs. Miner. Eng. 2021, 170, 106923. [Google Scholar] [CrossRef] [Scilit]
  6. Dowd, P.A.; Pardo-Igúzquiza, E. The Many Forms of Co-Kriging: A Diversity of Multivariate Spatial Estimators. Math. Geosci. 2024, 56, 387–413. [Google Scholar] [CrossRef] [Scilit]
  7. Honarkhah, M.; Caers, J. Direct Pattern-Based Simulation of Non-Stationary Geostatistical Models. Math. Geosci. 2012, 44, 651–672. [Google Scholar] [CrossRef] [Scilit]
  8. Kirkwood, C.; Economou, T.; Pugeault, N.; Odbert, H. Bayesian Deep Learning for Spatial Interpolation in the Presence of Auxiliary Information. Math. Geosci. 2022, 54, 507–531. [Google Scholar] [CrossRef] [Scilit]
  9. Zhou, D.; Li, S.; Yao, H. Mineral Resource Prediction Based on Representation Learning. Expert Syst. Appl. 2025, 289, 128286. [Google Scholar] [CrossRef] [Scilit]
  10. Goodfellow, I.J.; Pouget-Abadie, J.; Mirza, M.; Xu, B.; Warde-Farley, D.; Ozair, S.; Courville, A.; Bengio, Y. Generative Adversarial Nets. In Advances in Neural Information Processing Systems 27; Ghahramani, Z., Welling, M., Cortes, C., Lawrence, N.D., Weinberger, K.Q., Eds.; Curran Associates, Inc.: Red Hook, NY, USA, 2014; pp. 2672–2680. [Google Scholar]
  11. Mirza, M.; Osindero, S. Conditional Generative Adversarial Nets. arXiv 2014, arXiv:1411.1784. [Google Scholar] [CrossRef] [Scilit]
  12. Jiang, W.; Sun, Y.; Kuang, G.; Ji, K. AdaptVFMs-RSCD: Advancing Remote Sensing Change Detection from Binary to Semantic with SAM and CLIP. ISPRS J. Photogramm. Remote Sens. 2025, 230, 304–317. [Google Scholar] [CrossRef] [Scilit]
  13. Bittner, K.; Reinartz, P.; Körner, M. Late or Earlier Information Fusion from Depth and Spectral Data? Large-Scale Digital Surface Model Refinement by Hybrid-cGAN. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), Long Beach, CA, USA, 16–17 June 2019. [Google Scholar]
  14. Qiu, Z.; Yue, L.; Liu, X. Void Filling of Digital Elevation Models with a Terrain Texture Learning Model Based on Generative Adversarial Networks. Remote Sens. 2019, 11, 2829. [Google Scholar] [CrossRef] [Scilit]
  15. Yan, L.; Tang, X.; Zhang, Y. High Accuracy Interpolation of DEM Using Generative Adversarial Network. Remote Sens. 2021, 13, 676. [Google Scholar] [CrossRef] [Scilit]
  16. Zhang, Y.; Yu, W. Comparison of DEM Super-Resolution Methods Based on Interpolation and Neural Networks. Sensors 2022, 22, 745. [Google Scholar] [CrossRef] [Scilit]
  17. Collazos, J.A.; Rincon, K.D.J.; Pinherio, D.N.; Gebre, M.G.; da Costa, C.A.N.; Corso, G.; Barros, T.; de Araújo, J.M.; Wang, Y. Seismic Trace Interpolation Based on the Principle of Reciprocity Using a Conditional Generative Adversarial Network (cGAN). J. Geophys. Eng. 2024, 21, 1775–1790. [Google Scholar] [CrossRef] [Scilit]
  18. Collazos Gonzalez, J.A.; Rincon Perez, K.D.J.; Barros, T.; Corso, G.F.; Araújo, J.M.D. A Comparison of U-Net with Conditional Generative Adversarial Networks and Cycle-Consistent Adversarial Networks for Real Seismic Data Interpolation: Tupi Field. Res. Soc. Dev. 2024, 13, e1613746226. [Google Scholar] [CrossRef] [Scilit]
  19. Yu, J.; Yoon, D. Crossline Reconstruction of 3D Seismic Data Using 3D cWGAN: A Comparative Study on Sleipner Seismic Survey Data. Appl. Sci. 2023, 13, 5999. [Google Scholar] [CrossRef] [Scilit]
  20. Huang, Z.; Gao, J.; Li, F.; Li, C.L. Seismic Data Interpolation via Improved cGAN Network. J. Phys. Conf. Ser. 2023, 2651, 012053. [Google Scholar] [CrossRef] [Scilit]
  21. Dou, Y.; Li, K.; Duan, H.; Li, T.; Dong, L.; Huang, Z. MDA GAN: Adversarial-Learning-Based 3-D Seismic Data Interpolation and Reconstruction for Complex Missing. IEEE Trans. Geosci. Remote Sens. 2023, 61, 5905014. [Google Scholar] [CrossRef] [Scilit]
  22. Klemmer, K.; Koshiyama, A.; Flennerhag, S. Augmenting Correlation Structures in Spatial Data Using Deep Generative Models. arXiv 2019, arXiv:1905.09796. [Google Scholar] [CrossRef] [Scilit]
  23. Glawion, L.; Polz, J.; Kunstmann, H.; Fersch, B.; Chwala, C. spateGAN: Spatio-Temporal Downscaling of Rainfall Fields Using a cGAN Approach. Earth Space Sci. 2023, 10, e2023EA002906. [Google Scholar] [CrossRef] [Scilit]
  24. Song, S.; Mukerji, T.; Hou, J. GANSim: Conditional Facies Simulation Using an Improved Progressive Growing of Generative Adversarial Networks (GANs). Math. Geosci. 2021, 53, 1413–1444. [Google Scholar] [CrossRef] [Scilit]
  25. Herath, S.; Haputhanthri, U. Topologically Optimal Design and Failure Prediction Using Conditional Generative Adversarial Networks. Int. J. Numer. Meth. Eng. 2021, 122, 6867–6887. [Google Scholar] [CrossRef] [Scilit]
  26. Han, H.; Suh, J. Spatial Prediction of Soil Contaminants Using a Hybrid Random Forest–Ordinary Kriging Model. Appl. Sci. 2024, 14, 1666. [Google Scholar] [CrossRef] [Scilit]
  27. Park, Y.S.; Rim, H.; Lim, M.; Shin, Y.H. The Magnetic Anomaly Map of Korea. Geophys. Geophys. Explor. 2019, 22, 29–36. [Google Scholar] [CrossRef]
  28. Shin, Y.H.; Ko, I.S. Gravity Anomaly in the Taebaeksan Mineralized Zone. J. Geol. Soc. Korea 2019, 55, 403–413. [Google Scholar] [CrossRef] [Scilit]
  29. Kingma, D.P.; Ba, J. Adam: A Method for Stochastic Optimization. arXiv 2014, arXiv:1412.6980. [Google Scholar]
  30. Isola, P.; Zhu, J.Y.; Zhou, T.; Efros, A.A. Image-to-Image Translation with Conditional Adversarial Networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA, 21–26 July 2017; pp. 1125–1134. [Google Scholar]
  31. Gulrajani, I.; Ahmed, F.; Arjovsky, M.; Dumoulin, V.; Courville, A.C. Improved Training of Wasserstein GANs. In Advances in Neural Information Processing Systems 30; Guyon, I., Luxburg, U.V., Bengio, S., Wallach, H., Fergus, R., Vishwanathan, S., Garnett, R., Eds.; Curran Associates, Inc.: Long Beach, CA, USA, 2017; pp. 5767–5777. [Google Scholar]
  32. Liu, R.; Lehman, J.; Molino, P.; Petroski Such, F.; Frank, E.; Sergeev, A.; Yosinski, J. An Intriguing Failing of Convolutional Neural Networks and the CoordConv Solution. In Advances in Neural Information Processing Systems 31; Bengio, S., Wallach, H., Larochelle, H., Grauman, K., Cesa-Bianchi, N., Garnett, R., Eds.; Curran Associates, Inc.: Montréal, QC, Canada, 2018. [Google Scholar]
  33. Zhang, H.; Goodfellow, I.; Metaxas, D.; Odena, A. Self-Attention Generative Adversarial Networks. arXiv 2018, arXiv:1805.08318. [Google Scholar]
  34. Hyndman, R.J.; Koehler, A.B. Another Look at Measure of Forecast Accuracy. Int. J. Forecast. 2006, 22, 679–688. [Google Scholar] [CrossRef] [Scilit]
  35. Willmott, C.J.; Matsuura, K. Advantages of the Mean Absolute Error (MAE) over the Root Mean Square Error (RMSE) in Assessing Average Model Performance. Clim. Res. 2005, 30, 79–82. [Google Scholar] [CrossRef] [Scilit]
  36. Hastie, T.; Tibshirani, R.; Friedman, J. An Introduction to Statistical Learning: With Applications in R; Springer: New York, NY, USA, 2009. [Google Scholar]
  37. Chai, T.; Draxler, R.R. Root Mean Square Error (RMSE) or Mean Absolute Error (MAE)?—Arguments Against Avoiding RMSE in the Literature. Geosci. Model Dev. 2014, 7, 1247–1250. [Google Scholar] [CrossRef] [Scilit]
  38. Chicco, D.; Warrens, M.J.; Jurman, G. The Coefficient of Determination R-Squared is More Informative than SMAPE, MAE, MAPE, MSE and RMSE in Regression Analysis Evaluation. PeerJ Comput. Sci. 2021, 7, e623. [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.