Next Article in Journal
Marker-Based Pose Estimation of End Effectors in Industrial Robot Visual Servoing: Error Modeling and Placement Guidelines
Previous Article in Journal
RPT-Mamba: A Range-Aware Physical Token Mamba Network for Far-Field mmWave Radar Gesture Recognition
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Intelligent Virtual Sensor Generation Using KL-Divergence- Based Fusion and Deep Generative Learning for Smart Environmental Monitoring

1
Department of Computer Engineering, Jeju National University, Jeju 63243, Republic of Korea
2
Autonomous IoT Research Center, Korea Electronics Technology Institute, Seongnam 13509, Republic of Korea
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Sensors 2026, 26(13), 4123; https://doi.org/10.3390/s26134123
Submission received: 18 May 2026 / Revised: 24 June 2026 / Accepted: 27 June 2026 / Published: 30 June 2026
(This article belongs to the Section Environmental Sensing)

Abstract

Sensor-based environmental monitoring systems are often affected by missing, noisy, and unreliable measurements caused by sensor faults, sparse deployment, calibration drift, and communication interruptions. To address these challenges, this study proposes an intelligent virtual sensor generation framework that integrates physical-constraint-based preprocessing, statistical virtual sensor modeling, KL-divergence-based fusion, deep generative augmentation, and temporal prediction. The raw weather-station data are first refined using threshold-based filtering, physical validity constraints, and Isolation Forest-based outlier detection. To handle the circular nature of wind direction, the angle is encoded using sine and cosine components during modeling and reconstructed using the atan2 function for evaluation. Multiple statistical methods, including Inverse Distance Weighting, Kernel Density Estimation, Ridge Regression, and Copula-based modeling, are employed to generate complementary virtual sensor data. These outputs are adaptively fused using KL divergence according to their distributional similarity with real sensor data. The fused datasets are further augmented using Variational Autoencoders and Conditional Tabular Generative Adversarial Networks, and then evaluated using BiLSTM and BiGRU models with MAE, MSE, and RMSE metrics. The experimental results demonstrate that the proposed framework generates physically valid and distributionally consistent virtual sensor data. Fusion-based methods outperform standalone approaches, while VAE-based augmentation generally provides better statistical fidelity and lower prediction errors than CTGAN. Additional validation using a public NOAA weather-station dataset further supports the transferability of the proposed fusion-based virtual sensing workflow. Comparisons with TimeGAN and diffusion-based temporal generative baselines, supported by Wilcoxon signed-rank testing, confirm the statistical significance and competitive performance of the proposed framework. A quantitative computational analysis also demonstrates the practical feasibility of the framework in terms of training time, inference time, memory consumption, and scalability. Overall, the proposed framework offers a reliable and scalable solution for virtual sensing in sensor-sparse and fault-prone environmental monitoring systems.

1. Introduction

The rapid advancement of sensor-based monitoring systems across environmental, industrial, and energy domains has generated large-scale, high-frequency data streams. Despite these developments, real-world deployments remain susceptible to several practical challenges, including sensor failures, calibration inconsistencies, cost constraints, and data loss due to network or device malfunctions. Such limitations not only compromise data quality but also adversely affect the reliability of downstream data-driven decision-making systems. In this context, virtual sensor machine learning models designed to emulate the behavior of physical sensors have emerged as a promising solution, enabling the estimation of missing or unreliable measurements with high accuracy [1,2]. However, developing high-fidelity virtual sensors requires a systematic pipeline that encompasses rigorous preprocessing, robust data-generation mechanisms, and comprehensive validation strategies to ensure alignment with real-world system dynamics.
A fundamental prerequisite for reliable virtual sensor modeling is effective data preprocessing, as raw sensor data are often contaminated with noise, outliers, and missing values. Traditional approaches such as threshold-based filtering, alongside advanced techniques like Isolation Forest, play a critical role in detecting anomalies, particularly in high-dimensional and multivariate time-series datasets [3]. Additionally, missing value imputation must be handled with caution to prevent the introduction of bias that could propagate through subsequent modeling stages. Without adequate preprocessing, even sophisticated machine learning models may produce inaccurate or misleading predictions, especially in mission-critical applications such as environmental monitoring and smart grid management [4].
To address data incompleteness, synthetic or virtual sensor data can be generated using a variety of statistical and spatial modeling techniques. Methods such as copula-based simulations [5], regression-based modeling [6], and spatial interpolation techniques like Inverse Distance Weighting (IDW) enable the realistic emulation of sensor behavior under diverse operating conditions [7]. In particular, copula models are highly effective in capturing complex dependencies among multiple variables, making them well-suited for multivariate sensor data generation [8]. Nonetheless, ensuring the statistical fidelity of generated data remains a critical challenge. Techniques such as Kernel Density Estimation (KDE) and constraint-based validation, grounded in sensor specifications, are commonly employed to assess the consistency of synthetic data with real-world distributions and physical laws [9].
An essential component of improving virtual sensor data quality is data fusion [10], wherein outputs from multiple generation methods are integrated to leverage their complementary strengths. By utilizing Kullback–Leibler (KL) divergence as a measure of distributional similarity [11], synthetic datasets generated from different approaches can be adaptively weighted and combined based on their closeness to real sensor data. This fusion strategy enhances data realism, mitigates individual model biases, and improves the generalization capability of downstream learning models [12]. Consequently, the fusion process enables the construction of more robust and representative virtual sensor datasets.
To further enrich the dataset and enhance model robustness, data augmentation techniques based on deep generative models are employed. Variational Autoencoders (VAE) [13] and Conditional Tabular Generative Adversarial Networks (CTGAN) [14] are particularly effective for tabular sensor data, as they can learn complex data distributions and generate high-quality synthetic samples. These models have demonstrated significant improvements in generalization performance, especially in data-scarce scenarios [15,16]. The augmented datasets are subsequently utilized to train advanced sequence learning models such as Bidirectional Long Short-Term Memory (BiLSTM) and Bidirectional Gated Recurrent Units (BiGRU), which are capable of capturing intricate temporal dependencies in sensor data [17]. The performance of the proposed framework is evaluated using standard regression metrics, including Mean Squared Error (MSE), Root Mean Squared Error (RMSE), and Mean Absolute Error (MAE), providing quantitative validation of its effectiveness [18,19].
Overall, the proposed framework presents a comprehensive pipeline that integrates preprocessing, statistical data generation, distribution-aware fusion, deep generative augmentation, and temporal modeling to develop reliable and scalable virtual sensors for real-world applications. Unlike existing approaches that mainly focus on isolated prediction, interpolation, or synthetic data generation tasks, this study further validates the proposed virtual sensing framework against temporal generative baselines and statistically verifies the observed performance differences using paired significance testing.
Key Contributions:
  • Unified Framework: An end-to-end architecture integrating statistical modeling and deep learning for robust virtual sensor development.
  • KL-based Data Fusion: A distribution-aware fusion mechanism leveraging KL divergence to combine multiple synthetic data sources.
  • Validation Strategy: A hybrid validation approach using KDE analysis and sensor-based physical constraints to ensure data realism.
  • Advanced Data Augmentation: Integration of VAE and CTGAN to enhance data diversity and improve model generalization.
  • Comprehensive Evaluation: Performance validation using BiLSTM and BiGRU models with standard regression metrics, demonstrating high predictive accuracy.
  • Baseline and Statistical Validation: Comparative evaluation against TimeGAN and diffusion-based temporal generative baselines, supported by Wilcoxon signed-rank testing to verify the statistical significance of performance differences.

2. Related Work

The widespread adoption of sensor technologies in smart environments, spanning environmental monitoring, industrial automation, and energy systems, has significantly increased interest in virtual sensors as a cost-effective and fault-tolerant alternative to physical instrumentation. Virtual sensors are data-driven software models that estimate or replicate the behavior of physical sensors when measurements are missing, unreliable, or unavailable [20]. These models are particularly beneficial in scenarios where sensor deployment is constrained by economic, safety, or environmental limitations. Early approaches primarily relied on linear regression and principal component analysis (PCA) for sensor approximation; however, these methods often fail to capture the nonlinear and complex dependencies inherent in real-world sensor data [21].
Robust data preprocessing is a critical prerequisite for accurate virtual sensor modeling. Sensor datasets frequently suffer from missing values, noise, and outliers, which can significantly degrade model performance if not properly addressed. Common imputation techniques, such as k-nearest neighbors (KNN) and model-based approaches, have been widely adopted, though their effectiveness depends on the nature and distribution of missing data [22,23]. For anomaly detection, Isolation Forest has emerged as a powerful unsupervised technique capable of identifying outliers in high-dimensional datasets, outperforming traditional statistical methods such as Z-score and interquartile range (IQR) in capturing multivariate relationships [24]. Nevertheless, existing preprocessing pipelines often lack domain-specific customization, limiting their robustness in complex and heterogeneous sensor networks.
To address data scarcity, synthetic data generation techniques have been extensively explored. Traditional approaches include Monte Carlo simulations [25], Gaussian mixture models [26], and copula-based modeling [27], which are particularly effective in capturing complex dependencies among multiple variables. Copula models enable the separation of marginal distributions from joint dependencies, making them well-suited for multivariate time-series sensor data. In addition, spatial interpolation techniques such as Inverse Distance Weighting (IDW) have been employed to estimate sensor values in geographically distributed environments [28]. Despite their effectiveness, purely statistical methods often fail to preserve underlying physical constraints and complex spatiotemporal dynamics, limiting their applicability in realistic sensor environments.
The validation of synthetic or virtual sensor data is typically performed using statistical similarity measures. Kernel Density Estimation (KDE) is widely used to assess distributional alignment [29], while divergence-based metrics such as Kullback–Leibler (KL) divergence provide a quantitative measure of similarity between real and generated data distributions [30,31]. These techniques are particularly useful in data fusion scenarios, where outputs from multiple generation methods can be combined to improve realism and generalization. However, conventional validation approaches primarily focus on marginal distributions and may not fully capture temporal dependencies or multivariate interactions without additional adaptations [32].
Recent advancements in deep generative models have introduced powerful data augmentation techniques for virtual sensor applications. Variational Autoencoders (VAE) enable the learning of latent representations while maintaining distributional regularization, making them suitable for generating statistically consistent synthetic data [33]. Similarly, Conditional Tabular Generative Adversarial Networks (CTGAN) are designed to handle mixed-type tabular data, effectively modeling both categorical and continuous features [34,35]. These generative approaches are often combined with deep sequence models such as Bidirectional Long Short-Term Memory (BiLSTM) and Bidirectional Gated Recurrent Units (BiGRU), which excel at capturing temporal dependencies in sensor data. However, most existing studies treat data generation, augmentation, and modeling as separate components, lacking a unified framework that integrates these processes into a cohesive pipeline [36].
Recent studies have also explored machine learning-assisted physical sensor systems for intelligent recognition tasks. For example, Dong et al. [37] developed a flexible dual-modal sensor for robotic electronic skin that simultaneously measures proximity distance and contact pressure during robotic grasping. Their system used an AlexNet neural network for target material and hardness recognition, achieving recognition rates of 93.49% for material classification and 92.22% for hardness classification. Although this work demonstrates the effectiveness of machine learning in physical multi-modal sensor-based recognition, its primary focus is on robotic tactile sensing and classification. In contrast, the present study focuses on virtual sensor generation for environmental monitoring, where the objective is to reconstruct and generate reliable sensor data under sparse, missing, or unreliable sensing conditions using statistical modeling, KL-divergence-based fusion, deep generative augmentation, and temporal prediction models.
To provide a more targeted comparison with recent sensor, virtual sensor, temporal prediction, and temporal generative studies, Table 1 summarizes the main focus, strengths, and limitations of representative works. Existing studies have made important contributions to virtual sensor modeling, spatial interpolation, dependency modeling, synthetic data generation, machine-learning-assisted physical sensing, temporal forecasting, and spatio-temporal learning. Recent Transformer-based time-series models and Temporal Fusion Transformers (TFTs) have shown strong capability in capturing long-range temporal dependencies and providing interpretable multi-horizon forecasting [38]. Similarly, Graph Neural Networks (GNNs) and spatio-temporal GNNs are effective for modeling spatial and temporal dependencies among connected sensor nodes or graph-structured time-series data [39,40]. In parallel, TimeGAN and diffusion-based time-series models have been widely explored for temporal synthetic data generation by learning sequential dependencies and complex data distributions [41,42].
However, most of these approaches focus on isolated components, such as temporal prediction, graph-based spatial dependency learning, synthetic sequence generation, interpolation, classification, or forecasting. Transformer-based models, TFTs, and GNNs primarily serve as prediction or spatio-temporal modeling approaches, whereas TimeGAN and diffusion-based models are mainly designed for temporal synthetic data generation. In contrast, the proposed framework integrates physical-constraint-based preprocessing, statistical virtual sensor generation, KL-divergence-based fusion, VAE/CTGAN-based augmentation, circular wind-direction encoding, and BiLSTM/BiGRU-based temporal prediction in a unified virtual sensing pipeline. This integration improves the reliability, distributional consistency, and predictive usefulness of generated virtual sensor data, although the framework still requires careful parameter selection and further validation when transferred to other sensor domains.

3. Proposed Methodology

The proposed methodology, illustrated in Figure 1, presents a structured and unified pipeline for virtual sensor development, leveraging both statistical modeling and deep learning techniques. The framework begins with data acquisition from physical sensors measuring key environmental parameters, including temperature, humidity, wind speed, and wind direction. In the initial stage, the raw sensor data undergo rigorous preprocessing to ensure data quality and reliability. This includes missing value detection and handling, as well as outlier removal using both threshold-based filtering and Isolation Forest, thereby eliminating noise and anomalous observations that could negatively impact downstream modeling.
Following preprocessing, virtual sensor data are generated using complementary simulation-based approaches. Specifically, KDE-based generation, Copula-based modeling, IDW-based spatial estimation, and Ridge Regression-based estimation are employed to generate complementary virtual sensor data by capturing distributional, dependency-based, spatial, and regression-based relationships among sensor variables. The generated synthetic datasets are subsequently subjected to statistical validation using Kernel Density Estimation (KDE) to assess distributional alignment with real data. In addition, constraint-based filtering is applied to enforce physically meaningful ranges based on sensor specifications, ensuring the realism of the generated data.
To further enhance data quality, the framework incorporates a KL-divergence-based fusion mechanism that adaptively combines outputs from different generation methods by prioritizing those with higher distributional similarity to the original data. This fusion process reduces individual model biases and produces a more robust and representative virtual dataset. The fused data is then augmented using deep generative models, including Variational Autoencoders (VAE) and Conditional Tabular Generative Adversarial Networks (CTGAN), to improve data diversity and generalization capability.
The enriched dataset is subsequently used to train advanced time-series learning models, namely Bidirectional Long Short-Term Memory (BiLSTM) and Bidirectional Gated Recurrent Unit (BiGRU), which are designed to capture complex temporal dependencies in sensor data. Finally, the performance of the proposed framework is evaluated using standard regression metrics, including Mean Squared Error (MSE), Root Mean Squared Error (RMSE), and Mean Absolute Error (MAE), demonstrating its effectiveness in accurately reconstructing and predicting sensor behavior.

3.1. Original Physical Sensor Data

The dataset utilized in this study is collected from multiple weather stations deployed across South Korea, comprising measurements from nine spatially distributed sensor nodes. Let the multivariate sensor dataset be represented as
X = { x t R d t = 1 , 2 , , T }
where x t denotes the sensor observation at time t, d represents the number of measured environmental variables, and T is the total number of temporal observations. Each observation consists of meteorological attributes, including temperature, humidity, wind speed and wind direction angle, along with temporal information (timestamp) and spatial coordinates (longitude and latitude).
The data are recorded at regular 10-min intervals, providing high-resolution temporal coverage and enabling the modeling of fine-grained atmospheric dynamics. The inclusion of both spatial and temporal attributes allows the dataset to capture complex spatiotemporal dependencies inherent in environmental systems.
This dataset serves as the foundational input for the proposed virtual sensor generation framework. The availability of multi-location sensor measurements facilitates the modeling of microclimatic variations and supports the development of robust data-driven representations. Such characteristics are essential for applications including weather forecasting, environmental monitoring, and urban resilience planning, particularly in scenarios involving data sparsity or sensor failure.
A detailed description of the physical sensor variables, their data types, and corresponding environmental interpretations is provided in Table 2, highlighting the structure and granularity of the collected data.

3.2. Data Preprocessing and Analysis

3.2.1. Physical Constraints and Outlier Handling

To ensure the realism and physical validity of both original and augmented sensor data, constraint-based filtering is applied. Let x t R d denote a sensor observation at time t. Each feature is constrained within physically meaningful bounds:
x t ( i ) [ α i , β i ] , i = 1 , , d
where α i and β i represent the lower and upper limits defined by sensor specifications and physical validity requirements. The physical constraints used for validating the sensor variables are summarized in Table 3. This step prevents implausible values from propagating into downstream modeling.
In addition, outlier detection is performed using Isolation Forest. The anomaly score for a sample x is defined as
s ( x ) = 2 E ( h ( x ) ) c ( n )
where E ( h ( x ) ) is the expected path length and c ( n ) is a normalization factor. Samples with lower path lengths, corresponding to higher anomaly scores, are identified as outliers and removed. This approach efficiently isolates anomalous points in high-dimensional sensor data.

3.2.2. Circular Encoding of Wind Direction

Wind direction is a circular angular variable, and directly using its degree value as a linear numerical feature may introduce an artificial discontinuity at the 0 / 360 boundary. For example, the wind directions of 1 and 359 are numerically far apart, although they are physically separated by only 2 . To preserve the periodic nature of wind direction, the original wind direction angle was transformed into two unit-circle components before model training and virtual sensor generation.
First, the wind direction angle θ in degrees was converted into radians:
θ rad = π 180 θ
Then, two circular components were computed as
WindDirX = cos ( θ rad )
WindDirY = sin ( θ rad )
where WindDirX and WindDirY represent the horizontal and vertical unit-circle components of wind direction, respectively. These two components were used as model inputs and outputs instead of directly modeling the wind direction angle in degrees. After prediction, the wind direction angle was reconstructed using the inverse tangent function:
θ ^ = 180 π a tan 2 ( WindDirY , WindDirX ) mod 360
This encoding removes the artificial discontinuity at the 0 / 360 boundary and enables the model to learn the physical closeness of circular wind directions. The reconstructed wind direction angle in degrees was used for visualization, interpretation, and performance evaluation.

3.3. Statistical Methods for Virtual Sensor Simulation

3.3.1. Ridge Regression for Virtual Sensor Simulation

Ridge Regression (Figure 2) is employed as a regularized regression-based method for virtual sensor simulation. Unlike ordinary least squares regression, Ridge Regression introduces an L 2 penalty term to reduce overfitting and improve numerical stability when sensor variables are noisy or highly correlated. Given the design matrix X R n × d and target vector y R n , the Ridge Regression objective is defined as
min β y X β 2 2 + λ β 2 2
where β denotes the regression coefficient vector and λ is the regularization parameter that controls the strength of the L 2 penalty. A larger value of λ increases regularization and produces smoother coefficient estimates, while a smaller value allows the model to fit the training data more closely.
The closed-form solution of Ridge Regression is given by:
β ^ = X T X + λ I 1 X T y
where I is the identity matrix. For a new sensor observation x * , the corresponding virtual sensor estimate is computed as
y ^ * = x * T β ^
In this study, Ridge Regression is used as one of the statistical virtual sensor generation components and is combined with IDW in the KL-Ridge-IDW fusion configuration. The regularization term helps produce stable virtual sensor estimates under noisy and correlated environmental sensor conditions, while the subsequent KL-divergence-based fusion step selects and combines generated outputs according to their distributional similarity with the original physical sensor data.

3.3.2. Inverse Distance Weighting (IDW)

Inverse Distance Weighting (IDW), shown in Figure 3, is employed for spatial interpolation. The estimated value at an unknown location s 0 is computed as
x ^ ( s 0 ) = i = 1 N w i x ( s i ) i = 1 N w i
where weights are defined as
w i = 1 s 0 s i p
Here, p controls the influence of distance. This formulation ensures that closer observations have a higher impact, preserving spatial consistency.
The density plots in Figure 4 demonstrate that IDW effectively captures local spatial patterns, particularly for temperature and humidity. However, it exhibits limitations in modeling directional or highly skewed variables such as wind direction and wind speed.

3.3.3. Kernel Density Estimation (KDE)

Kernel Density Estimation (KDE) is used to estimate the probability density function of sensor variables without assuming a parametric distribution. Given observations { x i } i = 1 n , KDE is defined as
f ^ ( x ) = 1 n h i = 1 n K x x i h
where K ( · ) is a kernel function (e.g., Gaussian) and h is the bandwidth controlling smoothness.
As illustrated in Figure 5, KDE effectively preserves the overall distributional structure of the original data. It produces smooth approximations of temperature and humidity distributions while slightly smoothing peaks in wind-related features.

3.3.4. Copula-Based Virtual Sensor Data Generation

Copula-based modeling enables joint distribution learning by separating marginal distributions and dependency structure:
F ( x 1 , , x d ) = C ( F 1 ( x 1 ) , , F d ( x d ) )
Synthetic samples are generated via:
u C ( u 1 , , u d ) , x i = F i 1 ( u i )
This approach preserves both marginal behavior and inter-variable dependencies.
As shown in Figure 6, copula-based generation closely aligns with real data distributions, particularly for temperature and humidity, while maintaining realistic correlations among variables.

3.3.5. KL-Divergence-Based Data Fusion

To combine multiple synthetic datasets, Kullback–Leibler divergence is used:
D K L ( P Q k ) = x P ( x ) log P ( x ) Q k ( x )
Fusion weights are computed as
w k = 1 / D K L ( P Q k ) j 1 / D K L ( P Q j )
The fused dataset is obtained by:
X f u s i o n = k w k X k
Figure 7 illustrates the fusion architecture combining different statistical models.

3.3.6. Hybrid Fusion Configurations

Three fusion strategies are explored:
  • IDW + Ridge Regression
  • IDW + KDE
  • Copula + KDE
The objective is:
min w k k w k D K L ( P Q k )
Figure 8, Figure 9 and Figure 10 show that fusion improves distributional alignment, with Copula + KDE providing the best overall performance by combining dependency modeling and smooth density estimation.

3.4. Enhanced Virtual Sensor Data Augmentation Using VAE and CTGAN

To enhance the diversity and robustness of the initially generated virtual sensor data, this study incorporates advanced data augmentation using deep generative models. Let the statistically generated virtual sensor dataset from the previous stage be denoted as
X s = { x i R d i = 1 , 2 , , N }
where X s represents synthetic data obtained from statistical methods such as IDW, KDE, Ridge Regression, and Copula-based modeling. The objective of augmentation is to learn the underlying data distribution p d a t a ( x ) and generate additional samples:
x ˜ p θ ( x ) p d a t a ( x )
such that the augmented dataset preserves both statistical and structural properties of the original data.
To achieve this, two complementary deep generative frameworks are employed: Variational Autoencoder (VAE) and Conditional Tabular Generative Adversarial Network (CTGAN). These models aim to approximate the true data distribution by learning a mapping from a latent space z p ( z ) to the data space:
x = G θ ( z )
where G θ ( · ) denotes the generative function parameterized by neural networks.
The augmented dataset is constructed by combining original synthetic samples with generated samples:
X a u g = X s X ˜
where X ˜ represents newly generated samples from deep generative models.
As illustrated in Figure 11, the statistical outputs are first transformed into initial synthetic features, which are then passed through VAE and CTGAN models for distribution learning and sample generation. VAE focuses on learning a compact latent representation and reconstructing statistically consistent samples, while CTGAN emphasizes capturing complex tabular dependencies and generating diverse samples conditioned on feature distributions.
This augmentation process enhances data diversity and improves the generalization capability of downstream models by reducing overfitting:
R g e n 1 | X a u g |
where R g e n denotes generalization error, which decreases as the dataset size and diversity increase.
Consequently, the augmented dataset provides a more comprehensive representation of the underlying sensor dynamics, enabling improved learning of temporal and statistical patterns in subsequent deep learning stages.

3.4.1. Variational Autoencoder (VAE)

The Variational Autoencoder (VAE) is a probabilistic generative model that learns a latent representation of data and generates new samples consistent with the learned distribution. As shown in Figure 12, the model consists of an encoder, a latent sampling mechanism, and a decoder.
The encoder maps input data x R n to a latent Gaussian distribution:
q ϕ ( z | x ) = N ( z ; μ ( x ) , σ 2 ( x ) )
where
μ = f μ ( x ) , log σ 2 = f σ ( x )
To enable gradient-based optimization, the reparameterization trick is applied:
z = μ + σ ϵ , ϵ N ( 0 , I )
The decoder reconstructs the input:
x ^ p θ ( x | z )
The model is trained by maximizing the Evidence Lower Bound (ELBO):
L ( θ , ϕ ; x ) = E q ϕ ( z | x ) [ log p θ ( x | z ) ] D KL ( q ϕ ( z | x ) p ( z ) )
where p ( z ) = N ( 0 , I ) is the prior. The first term ensures reconstruction fidelity, while the KL divergence regularizes the latent space.
By sampling z p ( z ) and decoding, new synthetic samples are generated:
x ˜ = G θ ( z )
This enables the generation of statistically consistent virtual sensor data, improving dataset diversity and enhancing generalization in downstream learning tasks.

3.4.2. Conditional Tabular Generative Adversarial Network (CTGAN)

The Conditional Tabular Generative Adversarial Network (CTGAN) is designed for generating synthetic tabular data with mixed continuous and categorical features. As illustrated in Figure 13, CTGAN consists of a generator G, discriminator D, and a conditioning mechanism for controlled data synthesis.
Let the real dataset be X = { x i } i = 1 N , consisting of continuous and categorical features. Continuous variables are transformed using Gaussian Mixture Models (GMM):
p ( x ) = k = 1 K π k N ( x μ k , Σ k )
while categorical variables are encoded using one-hot representations.
To enable conditional generation, a condition vector c is sampled from the categorical feature space and concatenated with noise:
z N ( 0 , I ) , x ˜ = G ( z , c )
The discriminator receives both data and condition:
D ( x , c ) [ 0 , 1 ]
The adversarial objective is defined as
min G max D E x p data [ log D ( x , c ) ] + E z p ( z ) [ log ( 1 D ( G ( z , c ) , c ) ) ]
This formulation ensures that G learns the conditional distribution p ( x | c ) , while D enforces realism.
The conditioning mechanism improves learning in imbalanced datasets and preserves feature dependencies. As a result, CTGAN generates diverse synthetic samples:
X ˜ = { G ( z i , c i ) } i = 1 M
which expand the dataset and enhance representation capacity.
Compared to VAE, CTGAN emphasizes diversity and mode coverage, making it effective for capturing complex tabular distributions, although it may introduce slight distributional variance.

3.4.3. Comparison of VAE and CTGAN

To quantitatively and qualitatively evaluate the effectiveness of deep generative augmentation methods, this section compares Variational Autoencoder (VAE) and Conditional Tabular GAN (CTGAN) across three fused data configurations: (i) Copula + KDE, (ii) IDW + KDE, and (iii) Ridge + IDW. Let X f u s i o n denote the fused dataset and X a u g V A E , X a u g C T G A N represent augmented datasets:
X a u g V A E = X f u s i o n X ˜ V A E , X a u g C T G A N = X f u s i o n X ˜ C T G A N
The comparison evaluates distributional similarity and structural preservation using PCA projections and KDE-based density estimation. PCA transforms data into a lower-dimensional space:
Z = X W
where W contains principal components maximizing variance.
a. 
Fused Copula & KDE Weighted Virtual Sensor Data Augmentation Analysis
For the Copula-KDE fused dataset, both VAE and CTGAN effectively preserve the global data structure, as observed in the PCA visualization (Figure 14). VAE-generated samples exhibit compact clustering around the principal data manifold, indicating strong adherence to the original distribution. In contrast, CTGAN produces a broader spread:
Var ( X a u g C T G A N ) > Var ( X a u g V A E )
suggesting increased variability.
The KDE-based distributions (Figure 15) further confirm that VAE maintains closer alignment with the empirical distribution:
D K L ( P Q V A E ) < D K L ( P Q C T G A N )
particularly for temperature and humidity. CTGAN, however, captures heavier tails in wind-related features, indicating improved representation of rare events but with slight deviation in mean alignment.
b. 
Fused KL-Based IDW & KDE Virtual Sensor Data Augmentation Analysis
In the KL-IDW-KDE configuration, PCA results (Figure 16) show that VAE-generated samples remain tightly concentrated around the original data distribution:
X a u g V A E X r e a l 2 X a u g C T G A N X r e a l 2
indicating higher statistical fidelity. CTGAN again introduces greater dispersion, reflecting enhanced diversity.
Density plots (Figure 17) highlight that VAE preserves central tendencies and distribution peaks more accurately, while CTGAN produces broader distributions:
f ^ C T G A N ( x ) = f ^ r e a l ( x ) + δ ( x ) , | δ ( x ) | > 0
particularly in humidity and wind speed. This demonstrates a trade-off between fidelity and diversity.
c. 
Fused KL-Based Ridge & IDW Virtual Sensor Data Augmentation Analysis
For the Ridge-IDW fused dataset, PCA results (Figure 18) show that VAE maintains a dense and structured representation within the original data manifold:
Cov ( X a u g V A E ) Cov ( X r e a l )
while CTGAN exhibits larger dispersion, indicating exploratory sampling behavior.
The density distributions (Figure 19) further validate that VAE closely preserves feature-wise distributions:
f ^ V A E ( x ) f ^ r e a l ( x )
whereas CTGAN introduces shifts toward extreme values, particularly in humidity and temperature, indicating higher variance but potential distributional drift.
Overall Comparison
Across all fusion configurations, VAE consistently demonstrates superior performance in preserving statistical fidelity and structural integrity, as evidenced by:
D K L ( P Q V A E ) < D K L ( P Q C T G A N )
and tighter clustering in PCA space. In contrast, CTGAN provides higher diversity:
Var ( X a u g C T G A N ) > Var ( X a u g V A E )
which is beneficial for capturing rare patterns but may introduce distributional deviations.
Therefore, VAE is more suitable for applications requiring high accuracy and distributional consistency, while CTGAN is advantageous in scenarios where diversity and exploratory data generation are prioritized.

3.5. Deep Learning Evaluation

3.5.1. BiLSTM

Bidirectional Long Short-Term Memory (BiLSTM) models temporal dependencies by processing the input sequence in both forward and backward directions. Given an input sequence { x t } t = 1 T :
h t = LSTM ( x t , h t 1 )
h t = LSTM ( x t , h t + 1 )
The final hidden representation is obtained by concatenation:
h t = h t ; h t
The output prediction is computed via:
y ^ t = σ ( W o h t + b o )
Dropout regularization is applied during training:
h t d r o p = Dropout ( h t , p )
where p is the dropout probability.

3.5.2. BiGRU

Bidirectional Gated Recurrent Unit (BiGRU) is a computationally efficient alternative to BiLSTM, utilizing gating mechanisms to control information flow. For each time step:
Update gate:
z t = σ ( W z x t + U z h t 1 + b z )
Reset gate:
r t = σ ( W r x t + U r h t 1 + b r )
Candidate state:
h ˜ t = tan h ( W h x t + U h ( r t h t 1 ) + b h )
Hidden state update:
h t = ( 1 z t ) h t 1 + z t h ˜ t
BiGRU extends this formulation bidirectionally:
h t = GRU ( x t , h t 1 ) , h t = GRU ( x t , h t + 1 )
h t = h t ; h t
The final prediction is:
y ^ t = σ ( W o h t + b o )
Notation:  x t denotes input at time t, h t hidden state, σ sigmoid function, tanh hyperbolic tangent, and ⊙ element-wise multiplication.

3.6. Experimental Setup and Model Configuration

To enhance the reproducibility and transparency of the proposed virtual sensor framework, this section summarizes the experimental computing environment, deep generative model settings, and temporal prediction model configurations. All experiments were conducted using the same preprocessing workflow, physical validity constraints, and data-splitting strategy to ensure a fair comparison across the generated, fused, and augmented virtual sensor datasets. In addition, wind direction was represented using WindDirX and WindDirY components during modeling to preserve its circular nature, and the final wind direction angle was reconstructed for evaluation and interpretation.
The computational environment used for training, augmentation, prediction, and evaluation is summarized in Table 4. The experiments were implemented in Python using standard data processing, machine learning, deep learning, and visualization libraries.
The key hyperparameters of the VAE and CTGAN models used for deep generative augmentation are presented in Table 5. These models were trained on the preprocessed and fused virtual sensor datasets to generate additional valid samples while preserving the statistical properties of the original sensor data.
The temporal prediction models used to evaluate the quality of the generated and augmented virtual sensor data are summarized in Table 6. Both BiLSTM and BiGRU were configured with the same input sequence length, optimizer, learning rate, loss function, batch size, and train-test split to ensure a consistent comparison between the two sequence-learning models.
To further support reproducibility, all experiments followed the same preprocessing and evaluation workflow. Missing or invalid values were removed, physical validity constraints were applied, numerical variables were scaled before model training, and generated samples were inverse-transformed and filtered using the same physical constraints before evaluation. The same 80% training and 20% testing split, sequence length, model settings, and evaluation metrics were used across all compared datasets and models.

3.7. Computational Complexity and Scalability Analysis

The proposed framework includes preprocessing, virtual sensor generation, KL-divergence-based fusion, VAE/CTGAN-based augmentation, and BiLSTM/BiGRU-based temporal prediction. The preprocessing operations, including missing-value handling, physical validity checking, normalization, and wind-direction transformation, scale linearly with the number of sensor records. In contrast, statistical fusion, deep generative augmentation, and temporal prediction are more computationally demanding because they involve density estimation, distributional comparison, and iterative neural network training.
Table 7 summarizes the computational characteristics of each major stage. Overall, the most time-consuming components are VAE/CTGAN augmentation and BiLSTM/BiGRU training, while memory usage mainly depends on the number of records, feature dimensions, generated samples, and batch size. In this study, all experiments were completed on a workstation with 96 GB RAM and an Intel Core i9-12900K processor, indicating that the proposed framework is feasible for medium-scale environmental sensor datasets.
To further quantify computational efficiency, training time, total inference time, single-sample inference time, and memory consumption were measured for the main augmentation and temporal prediction components. The measurements were obtained on the same workstation described in Table 4. For the prediction models, the reported training and prediction times represent the total time required to model all evaluated sensor variables, including temperature, humidity, wind speed, and the two-component wind-direction representation. The single-inference time denotes the average time required to predict one test sample after model training. These measurements provide a practical estimate of the runtime and memory requirements of the proposed framework.
In Table 8, E denotes the number of training epochs, n is the number of training samples, n test is the number of test samples, T is the input sequence length, h is the number of hidden units, and d is the feature dimension. For recurrent prediction models, the training complexity is expressed as O ( E n T h 2 ) , while the prediction or inference complexity is expressed as O ( n test T h 2 ) . Sequence construction has linear complexity O ( n T ) and is therefore less computationally demanding than recurrent model training.
For larger sensor networks, scalability can be improved through parallel processing across sensor variables, monitoring locations, or time windows. The framework can also be extended using mini-batch training, incremental preprocessing, distributed storage, and location-wise model training. However, real-time deployment over very large multi-location sensor networks may require further optimization, such as model compression, efficient fusion updates, and streaming-based implementation.

4. Experimental Results and Analysis

Table 9 presents the baseline prediction performance of the BiLSTM and BiGRU models using the original physical sensor data. For temperature prediction, BiLSTM achieves lower errors than BiGRU, with MAE, MSE, and RMSE values of 1.4488, 4.1438, and 2.0356, respectively, compared with 1.6306, 4.9041, and 2.2145 for BiGRU. This indicates that BiLSTM provides better temperature modeling on the original sensor data. For humidity, both models achieve substantially lower errors, with BiLSTM producing slightly better performance than BiGRU. Specifically, BiLSTM obtains MAE, MSE, and RMSE values of 5.2799, 70.6272, and 8.4040, respectively, while BiGRU obtains corresponding values of 5.3701, 73.6730, and 8.5833. For wind direction, both models show very close performance, although BiGRU slightly improves the MAE from 0.5430 to 0.5353. For wind speed, BiLSTM provides a marginally lower MAE of 0.7449 compared with 0.7707 for BiGRU. These results show that BiLSTM is more effective for temperature, humidity, and wind speed, whereas BiGRU remains slightly more suitable for wind direction modeling.
Table 10 reports the performance of the fused Copula–KDE virtual sensor data and its CTGAN- and VAE-augmented variants. For the fused Copula–KDE baseline, BiLSTM and BiGRU achieve similar humidity performance, with MAE values of 13.1610 and 13.1704, respectively. For the Fused-CTGAN data, the humidity MAE values are slightly higher, reaching 13.7330 and 13.7730 for BiLSTM and BiGRU, respectively. The best humidity performance in this group is obtained using the Fused-VAE data, where BiLSTM and BiGRU reduce the MAE to 10.9138 and 10.6668, respectively. For temperature, both models show similar performance, with MAE values of 2.7053 and 2.7108 for BiLSTM and BiGRU, respectively. When CTGAN augmentation is applied, temperature errors increase to MAE values of 3.0941 and 3.0787, indicating that CTGAN introduces additional variability that does not benefit temperature prediction. In contrast, VAE augmentation produces the lowest temperature errors, reducing MAE to 2.2690 for both BiLSTM and BiGRU and decreasing RMSE to approximately 2.82. VAE also provides the best wind direction performance, achieving MAE values of 0.1628 and 0.1594 for BiLSTM and BiGRU, respectively, compared with 0.2795 and 0.2794 for the fused baseline. For wind speed, VAE reduces the MAE from approximately 1.09 in the fused baseline to about 0.88. These results demonstrate that VAE augmentation improves the predictive quality of fused Copula–KDE virtual sensor data, particularly for humidity, temperature, wind direction, and wind speed.
Table 11 presents the results for the KL-IDW–KDE fused virtual sensor dataset. In the fused baseline, BiLSTM and BiGRU show comparable temperature performance, with MAE values of 3.0261 and 3.0364, respectively. For humidity prediction, both models also show similar performance, with MAE values of 18.3344 and 18.3100 for BiLSTM and BiGRU, respectively. CTGAN augmentation does not consistently improve performance; for example, temperature MAE increases to 3.2386 and 3.2479 for BiLSTM and BiGRU, respectively, while wind speed MAE increases from approximately 1.02 to about 1.20. However, CTGAN provides some improvement for humidity, reducing the MAE to 16.5029 and 16.3493 for BiLSTM and BiGRU, respectively. In contrast, VAE augmentation provides clearer improvements across most variables. Temperature MAE decreases to 2.4581 and 2.4637, humidity MAE decreases to 14.9861 and 14.9666, and wind speed MAE decreases to 0.7732 and 0.7688 for BiLSTM and BiGRU, respectively. Wind direction prediction also improves, with MAE reduced from 0.4760 and 0.4460 in the fused baseline to 0.3217 and 0.3293 after VAE augmentation. These findings confirm that VAE is more effective than CTGAN for preserving the distributional structure of the KL-IDW–KDE fused data and improving downstream prediction accuracy.
Table 12 summarizes the performance of the KL-Ridge–IDW fused virtual sensor data. For the fused Ridge–IDW baseline, BiLSTM and BiGRU achieve similar humidity performance, with MAE values of 11.8917 and 11.8641, respectively. For the CTGAN-augmented variant, the humidity MAE values are 14.5449 and 14.5747 for BiLSTM and BiGRU, respectively. VAE augmentation provides the strongest humidity performance in this group, with BiLSTM achieving the lowest MAE of 10.2490 and BiGRU obtaining a comparable MAE of 10.6282. In addition, VAE augmentation provides the most consistent improvement across the wind-related variables. In particular, wind speed MAE decreases to 0.5896 and 0.5911 for BiLSTM and BiGRU, respectively, which are the lowest wind speed errors among the KL-Ridge–IDW variants. VAE also achieves the lowest wind direction MAE for BiLSTM, reducing the value to 0.1665, while BiGRU obtains a comparable value of 0.1739. These results indicate that the KL-Ridge–IDW configuration benefits strongly from VAE augmentation, especially for humidity and wind-related variables.
Table 13 presents the results for the standalone KDE-based virtual sensor dataset and its augmented variants. The KDE baseline produces higher prediction errors than the fusion-based methods. For example, temperature MAE reaches 3.8630 and 3.8839 for BiLSTM and BiGRU, respectively. For humidity prediction, the KDE baseline produces MAE values of 18.8129 and 18.8980 for BiLSTM and BiGRU, respectively. CTGAN does not improve humidity prediction for the standalone KDE data, increasing the humidity MAE to 22.2177 and 22.3357 for BiLSTM and BiGRU, respectively. In contrast, VAE provides the best humidity performance among the KDE variants, reducing MAE to 13.6639 and 13.7080 for BiLSTM and BiGRU, respectively. VAE also improves temperature, wind direction, and wind speed prediction compared with the KDE baseline, reducing temperature MAE to 3.6626 and 3.6764, wind direction MAE to 0.3844 and 0.3875, and wind speed MAE to 0.8657 and 0.8502 for BiLSTM and BiGRU, respectively. Although VAE improves the standalone KDE results, the errors remain higher than those obtained using fused virtual sensor data. This confirms that KL-divergence-based fusion is more effective than standalone KDE generation for producing reliable virtual sensor data.

4.1. Comparison

This section compares the MAE values of BiLSTM and BiGRU across the physical sensor data and all virtual sensor generation strategies. Since MAE directly represents the average prediction error, lower MAE values indicate higher predictive accuracy and better virtual sensor reliability.
Figure 20 compares temperature prediction performance. The physical sensor data achieves the lowest MAE, with values of 1.45 for BiLSTM and 1.63 for BiGRU, confirming that direct physical measurements remain the most accurate source for temperature modeling. Among the virtual sensor methods, the fused Copula–KDE with VAE achieves the best temperature performance, with MAE values of 2.27 for both BiLSTM and BiGRU. The KL-IDW–KDE with VAE variant also performs well, achieving MAE values of 2.46 for both models. In contrast, the standalone KDE-based methods produce the highest temperature errors, with MAE values above 3.66. These results indicate that fusion combined with VAE augmentation provides a more reliable temperature representation than standalone KDE or CTGAN-based augmentation.
Figure 21 presents the humidity prediction comparison across the physical and virtual sensor data variants. The physical sensor baseline achieves MAE values of 5.28 for BiLSTM and 5.37 for BiGRU, giving the lowest humidity prediction errors among all compared cases. Among the virtual sensor datasets, the KL-Ridge–IDW with VAE variant provides the best BiLSTM result, with an MAE of 10.25, while the fused Copula–KDE with VAE variant achieves the best BiGRU result, with an MAE of 10.67. Overall, VAE-augmented variants show lower humidity errors than their corresponding fused or CTGAN-based versions, indicating that VAE better preserves humidity-related distributional characteristics. Although the virtual sensor variants do not outperform the physical baseline for humidity, the fusion- and VAE-based datasets still provide improved humidity prediction compared with standalone KDE and several CTGAN-based variants.
Figure 22 illustrates the MAE comparison for wind direction prediction. The physical sensor baseline produces MAE values of 0.54 for both BiLSTM and BiGRU. The fused virtual sensor methods substantially reduce this error. The fused Copula–KDE with VAE achieves the lowest wind direction MAE, with values of 0.16 for both models. The KL-Ridge–IDW with VAE variant also performs strongly, with MAE values of 0.17 for both BiLSTM and BiGRU. These improvements are mainly attributed to the sine–cosine circular encoding of wind direction, which reduces the artificial discontinuity at the 0 / 360 boundary. Overall, the results demonstrate that the proposed fusion and augmentation strategy significantly improves the modeling of angular sensor variables.
Figure 23 compares wind speed prediction performance. The physical sensor baseline achieves MAE values of 0.74 and 0.77 for BiLSTM and BiGRU, respectively. Among all virtual sensor methods, the KL-Ridge–IDW with VAE variant achieves the best performance, with MAE values of 0.59 for both models. This is lower than the physical sensor baseline and all other virtual sensor configurations. The KL-Ridge–IDW fused baseline and CTGAN variant also perform competitively, with MAE values around 0.64–0.65. In contrast, standalone KDE and CTGAN-based KDE variants show higher wind speed errors, reaching up to 1.21–1.22. These results confirm that KL-Ridge–IDW fusion, particularly when combined with VAE augmentation, provides the most accurate wind speed representation.
Overall, the numerical results demonstrate that the proposed virtual sensor generation framework improves predictive performance across several environmental variables. Fusion-based methods consistently outperform the standalone KDE approach, confirming the effectiveness of KL-divergence-based fusion. VAE augmentation generally provides more stable and lower prediction errors than CTGAN, especially for humidity, temperature, wind direction, and wind speed. CTGAN can increase sample diversity, but it may also introduce additional distributional variation, which can increase prediction error in some cases. Between the learning models, BiLSTM and BiGRU show comparable performance across most datasets, with BiGRU remaining competitive for wind-related variables and BiLSTM performing strongly for several scalar-variable cases. These findings confirm that the combination of KL-divergence-based fusion, VAE augmentation, and sequence learning provides a reliable framework for high-fidelity virtual sensor generation.

4.2. Comparison with Temporal Generative Baselines

To further evaluate the proposed framework against recent temporal generative approaches, additional baseline experiments were conducted using TimeGAN and a diffusion-based time-series generator. In both baselines, synthetic temporal sensor sequences were first generated and then used to train the same downstream BiGRU prediction model. This experimental design provides a fair comparison because all methods follow the same evaluation pipeline: synthetic or virtual sensor data generation followed by BiGRU-based prediction and evaluation using MAE, MSE, and RMSE.
Table 14 compares the proposed framework with temporal generative baselines using BiGRU as the downstream prediction model. Compared with TimeGAN + BiGRU, the proposed KL-Fusion + VAE + BiGRU framework achieves lower MAE values across all evaluated variables. Specifically, the proposed framework reduces the temperature MAE from 4.7075 to 2.2697, humidity MAE from 16.9984 to 10.6668, wind-direction MAE from 1.0545 to 0.1594, and wind-speed MAE from 2.2265 to 0.8839. These improvements indicate that the proposed KL-divergence-based fusion and VAE-based augmentation generate more reliable virtual sensor representations than the TimeGAN-based temporal synthetic data baseline.
Compared with the diffusion-based generative baseline, the proposed framework achieves lower MAE for temperature, wind direction, and wind speed, while the diffusion-based baseline achieves the lowest humidity MAE. However, the proposed framework still substantially reduces humidity error compared with TimeGAN and provides more balanced performance across the evaluated variables. The stronger performance for wind-related variables is particularly important because wind direction and wind speed are more sensitive to circular representation, temporal variability, and distributional shift. Overall, the results show that the proposed KL-Fusion + VAE + BiGRU framework consistently outperforms TimeGAN and achieves competitive performance compared with the diffusion-based baseline, especially for temperature, wind direction, and wind speed. It should also be noted that TimeGAN and diffusion-based temporal generation methods are computationally more expensive than the proposed fusion-based workflow because they require iterative adversarial and denoising-based training before downstream prediction.

4.3. Statistical Significance Analysis

To further verify whether the observed performance differences are statistically meaningful, a paired statistical significance analysis was conducted using the Wilcoxon signed-rank test. The test was applied to the absolute prediction errors obtained from the same test samples. This paired testing strategy is suitable because the proposed framework and the baseline models were evaluated on identical test instances. A significance level of p < 0.05 was used to determine whether the difference between the paired error distributions was statistically significant.
Table 15 shows the statistical significance results between the proposed framework and the temporal generative baselines. The obtained p-values are lower than 0.05 for all evaluated variables, indicating that the differences in prediction error distributions are statistically significant. These results confirm that the performance differences observed in MAE, MSE, and RMSE are not only numerical differences but are also statistically meaningful.

4.4. External Validation on a Public NOAA Weather Dataset

To further examine the transferability of the proposed framework, an additional validation experiment was conducted using a public NOAA Local Climatological Data (LCD) weather-station dataset [45]. The dataset was collected from station USW00014826 and contains hourly meteorological observations, including temperature, relative humidity, wind direction, and wind speed. The same preprocessing strategy was applied, including missing-value removal, physical-constraint filtering, unit conversion, wind-direction sine–cosine encoding, KL-Ridge–IDW fusion, and BiGRU-based temporal prediction. This experiment was designed to evaluate whether the proposed virtual sensing workflow remains applicable to an external public dataset beyond the original private sensor data.
Table 16 presents the external validation results on the public NOAA dataset. The KL-Ridge–IDW fused data achieves the lowest temperature MAE of 0.7746, improving over the original public-data baseline MAE of 0.8730. For humidity, wind direction, and wind speed, the fused-data results remain close to the original-data baseline, with MAE values of 3.3330, 11.8946, and 0.3627, respectively. These results indicate that the KL-divergence-based fusion strategy can generate externally valid virtual sensor representations with competitive prediction accuracy on public weather-station data.
The KL-Ridge–IDW + VAE variant shows higher errors on the NOAA dataset, particularly for temperature, humidity, and wind direction. This suggests that VAE augmentation may require dataset-specific tuning when transferred to external datasets with different climatic ranges, sampling characteristics, and station-specific distributions. Overall, the external validation confirms that the proposed fusion-based virtual sensing workflow is transferable to a public dataset, while also highlighting that deep generative augmentation should be carefully calibrated for new sensor domains.

5. Conclusions and Future Work

This study proposed an intelligent virtual sensor generation framework for smart environmental monitoring by integrating statistical virtual sensor modeling, physical-constraint validation, KL-divergence-based fusion, deep generative augmentation, and temporal prediction. The framework addresses missing, noisy, and unreliable measurements caused by sparse sensor deployment, sensor faults, calibration drift, and communication interruptions. Physical constraints were applied to ensure that generated values remained within meaningful ranges, including humidity within [ 0 , 100 ] , wind speed greater than or equal to 0 m/s, and wind direction within [ 0 , 360 ) . In addition, wind direction was encoded using sine and cosine components and reconstructed using atan2, reducing the discontinuity problem at the 0 / 360 boundary.
The experimental results demonstrate that KL-divergence-based fusion improves the distributional consistency and predictive usefulness of virtual sensor data compared with standalone generation methods. Among the augmentation methods, VAE generally preserves the original data structure more effectively and provides lower prediction errors, whereas CTGAN offers broader sample diversity but may introduce additional distributional deviations. The BiLSTM and BiGRU evaluations further confirm that the generated virtual sensor data can support reliable temporal prediction, with model performance varying across variables and data-generation configurations. BiGRU remains competitive for wind-related variables, while both BiLSTM and BiGRU provide stable humidity prediction performance depending on the data-generation setting. Additional comparisons with TimeGAN and diffusion-based temporal generative baselines demonstrate that the proposed KL-fusion and VAE-based framework achieves competitive performance, particularly for temperature, wind direction, and wind speed. The Wilcoxon signed-rank test further confirms that the observed performance differences are statistically significant.
To further examine transferability, an external validation experiment was conducted using a public NOAA Local Climatological Data (LCD) weather-station dataset containing temperature, relative humidity, wind direction, and wind speed observations. The results show that the proposed KL-Ridge–IDW fusion workflow remains applicable to public weather-station data and provides competitive prediction accuracy compared with the original public-data baseline. In addition, the computational complexity analysis demonstrates that the proposed framework is practically feasible for medium-scale environmental sensor datasets, with runtime and memory requirements mainly governed by deep generative augmentation and recurrent prediction stages.
Future work will focus on real-time deployment, uncertainty-aware fusion, adaptive reliability estimation, and validation on larger multi-location sensor networks and additional public environmental monitoring datasets. Further studies will also investigate dataset-specific generative model tuning, physics-informed learning, and attention-based temporal models to improve robustness, transferability, interpretability, and practical deployment in smart sensing applications.

Author Contributions

Conceptualization, M.A.K., J.-E.K., I.-y.A. and D.-H.K.; methodology, M.A.K. and Q.W.K.; software, M.A.K.; validation, M.A.K., Q.W.K., M.F. and J.-E.K.; formal analysis, M.A.K., Q.W.K., M.F. and J.-E.K.; investigation, M.A.K.; resources, I.-y.A. and D.-H.K.; data curation, M.A.K. and Q.W.K.; writing original draft preparation, M.A.K.; writing review and editing, Q.W.K. and M.F.; visualization, M.A.K. and M.F.; supervision, D.-H.K.; project administration, I.-y.A. and D.-H.K.; funding acquisition, D.-H.K. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the National Research Foundation of Korea (NRF) grant funded by the Korea government (MSIT) (No. NRF-RS-2023-00259995). Any correspondence related to this paper should be addressed to DoHyeun Kim.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Due to project-level data-use and sharing restrictions, the raw private dataset, full source code, and trained models cannot be publicly released at this stage. However, detailed implementation settings, preprocessing steps, model configurations, hyperparameters, and evaluation procedures are provided to support reproducibility. Processed data, scripts, and trained models will be available from the corresponding author upon reasonable request, subject to project approval. The public NOAA Local Climatological Data (LCD), Version 2 dataset used for external validation is available from the NOAA National Centers for Environmental Information at https://www.ncei.noaa.gov/products/land-based-station/local-climatological-data (accessed on 24 June 2026).

Acknowledgments

During the preparation of this manuscript, the authors used ChatGPT (OpenAI, GPT-5.5 Thinking) for language editing, grammar refinement, sentence restructuring, and improving the clarity and readability of the manuscript. The authors have reviewed and edited the output and take full responsibility for the content of this publication.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Sahoo, S. Sensor Fusion and Virtual Sensor Design for Enhanced Multi-Sensor Data Accuracy in Autonomous Systems. Int. J. Smart Sustain. Intell. Comput. 2024, 1, 21–39. [Google Scholar] [CrossRef]
  2. Jain, K.S. Technical Review: The Rise of Machine Learning for Sensor Design. J. Comput. Sci. Technol. Stud. 2025, 7, 1036–1044. [Google Scholar] [CrossRef]
  3. Russo, S.A. Robust Anomaly Detection for Time Series Data in Sensor-Based Critical Systems. Ph.D. Thesis, Università degli Studi di Trieste, Trieste, Italy, 2025. Available online: https://hdl.handle.net/11368/3107341 (accessed on 26 June 2026).
  4. Bala, B.; Behal, S. A brief survey of data preprocessing in machine learning and deep learning techniques. In Proceedings of the 2024 8th International Conference on I-SMAC (IoT in Social, Mobile, Analytics and Cloud) (I-SMAC); IEEE: Piscataway, NJ, USA, 2024; pp. 1755–1762. [Google Scholar]
  5. Sohrabian, B.; Tercan, A.E. Copula-based data-driven multiple-point simulation method. Spat. Stat. 2024, 59, 100802. [Google Scholar]
  6. Praks, P.; Rasmussen, A.; Lye, K.O.; Martinovič, J.; Praksová, R.; Watson, F.; Brkić, D. Sensitivity analysis of parameters for carbon sequestration: Symbolic regression models based on open porous media reservoir simulators predictions. Heliyon 2024, 10, e40044. [Google Scholar] [CrossRef] [PubMed]
  7. Sadeghi, B.; Eleish, A.M.; Morrison, S.M.; Klump, J. Inverse radius weighting and its python package “IRWPy”: A new topography-informed interpolation to enhance geological interpretations. Ore Geol. Rev. 2024, 172, 106206. [Google Scholar] [CrossRef]
  8. Nazeri Tahroudi, M.; Mirabbasi, R. Evaluating the efficiency and accuracy of the copula-based rainfall-runoff model. Earth Sci. Inform. 2025, 18, 122. [Google Scholar]
  9. Mechqrane, Y.; Elabbassi, I. From Prediction to Action: A Constraint-Based Approach to Predictive Policing. In Proceedings of the 31st International Conference on Principles and Practice of Constraint Programming (CP 2025); Schloss Dagstuhl–Leibniz-Zentrum für Informatik: Wadern, Germany, 2025; pp. 29–31. [Google Scholar]
  10. Hassani, S.; Dackermann, U.; Mousavi, M.; Li, J. A systematic review of data fusion techniques for optimized structural health monitoring. Inf. Fusion 2024, 103, 102136. [Google Scholar]
  11. Korba, A.; Bach, F.; Chazal, C. Statistical and Geometrical properties of the Kernel Kullback-Leibler divergence. Adv. Neural Inf. Process. Syst. 2024, 37, 32536–32569. [Google Scholar] [CrossRef]
  12. Lv, J.; Yang, H.; Li, P. Wasserstein distance rivals kullback-leibler divergence for knowledge distillation. Adv. Neural Inf. Process. Syst. 2024, 37, 65445–65475. [Google Scholar] [CrossRef]
  13. Vishnu Shankar, S.; Naffees Gowsar, S.; Manjubala, M. Variational autoencoders (vaes). In Revolution with Generative AI: Trends and Techniques; Springer: Berlin/Heidelberg, Germany, 2025; pp. 43–64. [Google Scholar]
  14. Randhawa, P.; Jasthi, V.N.; Piyush, K.; Kaushik, G.K.; Batamulay, M.; Prasad, S.; Rawat, M.; Veernapu, K.; Naik, N. Conditional Tabular Generative Adversarial Network Based Clinical Data Augmentation for Enhanced Predictive Modeling in Chronic Kidney Disease Diagnosis. BioMedInformatics 2026, 6, 6. [Google Scholar] [CrossRef]
  15. Bhat, K.A.; Sofi, S.A. A synergistic fusion of shallow and deep generative model to enhance machine learning efficacy and classification performance in data-scarce environments. Int. J. Inf. Technol. 2024, 1–21. [Google Scholar] [CrossRef]
  16. Kebaili, A.; Lapuyade-Lahorgue, J.; Vera, P.; Ruan, S. Discriminative Hamiltonian variational autoencoder for accurate tumor segmentation in data-scarce regimes. Neurocomputing 2024, 606, 128360. [Google Scholar] [CrossRef]
  17. Çetin, O.; Saraoğlu, H.M. Deep Recurrent Architectures for EEG-Based Classification of Major Psychiatric Disorders: A Comparative Study of LSTM, BiLSTM, GRU, BiGRU, and Their Hybrids. IEEE Access 2026, 14, 12354–12375. [Google Scholar]
  18. Dumre, P.; Bhattarai, S.; Shashikala, H. Optimizing linear regression models: A comparative study of error metrics. In Proceedings of the 2024 4th International Conference on Technological Advancements in Computational Sciences (ICTACS); IEEE: Piscataway, NJ, USA, 2024; pp. 1856–1861. [Google Scholar]
  19. Jaradat, Y.M.; Alia, M.A.; Masoud, M.Z.; Manasrah, A.A.; Jannoud, I.A.; Alheyasat, O. Beyond One-Size-Fits-All: Comparing and Selecting Regression Metrics for Robust Model Assessment. In Proceedings of the 2025 12th International Conference on Information Technology (ICIT); IEEE: Piscataway, NJ, USA, 2025; pp. 416–422. [Google Scholar]
  20. Miranda, C.; Da Silva, A.S.; Da Costa, J.P.J.; Santos, G.A.; De Freitas, E.P.; Vinel, A.; Da Silva, D.A. A virtual infrastructure model based on data reuse to support intelligent transportation system applications. IEEE Access 2025, 13, 40607–40620. [Google Scholar] [CrossRef]
  21. Winter, T.S.; Paul, O. Model complexity reduction in bayesian sensor calibration and its relation to principal component analysis. IEEE Sens. J. 2025, 25, 15167–15183. [Google Scholar] [CrossRef]
  22. Alwateer, M.; Atlam, E.S.; Abd El-Raouf, M.M.; Ghoneim, O.A.; Gad, I. Missing data imputation: A comprehensive review. J. Comput. Commun. 2024, 12, 53–75. [Google Scholar]
  23. Khan, M.A.; Naqvi, S.S.A.; Faseeh, M.; Kim, D.H. Transformer-Driven Inverse Learning for AI-Powered Ceramic Material Innovation With Advanced Data Preprocessing. IEEE Access 2024, 13, 7574–7589. [Google Scholar]
  24. Khan, M.A.; Jang, J.H.; Iqbal, N.; Jamil, H.; Naqvi, S.S.A.; Khan, S.; Kim, J.C.; Kim, D.H. Enhancing patient rehabilitation predictions with a hybrid anomaly detection model: Density-based clustering and interquartile range methods. Caai Trans. Intell. Technol. 2025, 10, 983–1006. [Google Scholar]
  25. Kalateh, F.; Kheiry, M. A review of stochastic analysis of the seepage through earth dams with a focus on the application of monte carlo simulation. Arch. Comput. Methods Eng. 2024, 31, 47–72. [Google Scholar]
  26. Falxa, M.; Sesana, A. Modeling non-Gaussianities in pulsar timing array data analysis using Gaussian mixture models. Phys. Rev. D 2026, 113, 043047. [Google Scholar] [CrossRef]
  27. Jutras-Dubé, P.; Al-Khasawneh, M.B.; Yang, Z.; Bas, J.; Bastin, F.; Cirillo, C. Copula-based transferable models for synthetic population generation. Transp. Res. Part C Emerg. Technol. 2024, 169, 104830. [Google Scholar] [CrossRef]
  28. Liu, S.; Shang, S. A combined spatial interpolation method of co-Kriging with inverse distance weighting and random forest for soil water and salt in arid oasis. J. Hydrol. 2025, 664, 134569. [Google Scholar] [CrossRef]
  29. Serov, E.; Koldasbayeva, D.; Zaytsev, A. Kernel mean matching enhances risk estimation under spatial distribution shifts. Sci. Rep. 2026, 16, 6921. [Google Scholar] [CrossRef] [PubMed]
  30. Kurian, J.F.; Allali, M. Detecting drifts in data streams using Kullback-Leibler (KL) divergence measure for data engineering applications. J. Data Inf. Manag. 2024, 6, 207–216. [Google Scholar] [CrossRef]
  31. Govorov, M.; Beconytė, G.; Gienko, G. Exploration-Based Statistical Learning for Selecting Kernel Density Estimates of Spatial Point Patterns. Trans. Gis 2025, 29, e70051. [Google Scholar]
  32. Forouzan, A.; Yazdi, H.S. Elastic matching through the lens of probability and divergence in time series prediction. Pattern Anal. Appl. 2025, 28, 126. [Google Scholar] [CrossRef]
  33. Islam, M.M.; Belal, T.; Anik, M.A.H.C.; Sharif, A. Predicting Materials Using Variational Autoencoders: A Systematic Literature Review. Arch. Comput. Methods Eng. 2026, 1–52. [Google Scholar] [CrossRef]
  34. Lee, K. ProctGAN: Progressive Conditional Tabular GAN for Imbalanced Data. Ph.D. Thesis, Graduate School, Seoul National University, Seoul, Republic of Korea, 2024. [Google Scholar]
  35. Khan, M.A.; Waqas Khan, Q.; Kim, J.E.; Jeong, S.; Ahn, I.y.; Kim, D.H. From Physical to Virtual Sensors: VSG-SGL for Reliable and Cost-Efficient Environmental Monitoring. Automation 2026, 7, 27. [Google Scholar]
  36. Hussain, M.; O’Nils, M.; Lundgren, J.; Mousavirad, S.J. A comprehensive review on deep learning-based data fusion. IEEE Access 2024, 12, 180093–180124. [Google Scholar] [CrossRef]
  37. Dong, W.; Sheng, K.; Chen, C.; Qiu, X. Machine learning-assisted flexible dual modal sensor for multi-sensing detection and target object recognition in the grasping process. Lab. A Chip. 2025, 25, 2247–2255. [Google Scholar] [CrossRef] [PubMed]
  38. Lim, B.; Arik, S.O.; Loeff, N.; Pfister, T. Temporal Fusion Transformers for Interpretable Multi-horizon Time Series Forecasting. Int. J. Forecast. 2021, 37, 1748–1764. [Google Scholar] [CrossRef]
  39. Jin, G.; Liang, Y.; Fang, Y.; Huang, Z.; Zhang, J.; Zheng, Y. Spatio-Temporal Graph Neural Networks for Predictive Learning in Urban Computing: A Survey. IEEE Trans. Knowl. Data Eng. 2024, 36, 5388–5408. [Google Scholar]
  40. Sahili, Z.A.; Awad, M. Spatio-Temporal Graph Neural Networks: A Survey. arXiv 2023, arXiv:2301.10569. [Google Scholar]
  41. Yoon, J.; Jarrett, D.; van der Schaar, M. Time-series Generative Adversarial Networks. Adv. Neural Inf. Process. Syst. 2019, 32. [Google Scholar]
  42. Lin, L.; Li, Z.; Li, R.; Li, X.; Gao, J. Diffusion Models for Time-Series Applications: A Survey. Front. Inf. Technol. Electron. Eng. 2024, 25, 19–41. [Google Scholar]
  43. Ahmed, H.A.; Nepomuceno, J.A.; Vega-Márquez, B.; Nepomuceno-Chamorro, I.A. Synthetic data generation for healthcare: Exploring generative adversarial networks variants for medical tabular data. Int. J. Data Sci. Anal. 2025, 20, 5739–5754. [Google Scholar] [CrossRef]
  44. Zhou, H.; Zhang, S.; Peng, J.; Zhang, S.; Li, J.; Xiong, H.; Zhang, W. Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting. In Proceedings of the Proceedings of the AAAI Conference on Artificial Intelligence, Atlanta, GA, USA, 11–15 July 2021; Volume 35, pp. 11106–11115. [Google Scholar]
  45. Kantor, D.; Casey, N.W.; Menne, M.J.; Buddenberg, A. Local Climatological Data (LCD), Version 2, 2023. Available online: https://www.ncei.noaa.gov/metadata/geoportal/rest/metadata/item/gov.noaa.ncdc:C01688/html (accessed on 24 June 2026).
Figure 1. Proposed framework for virtual sensor development integrating preprocessing, statistical virtual sensor generation (KDE, Copula, IDW, and Ridge Regression), KDE-based validation, physical constraint filtering, KL-divergence-based data fusion, deep generative augmentation (VAE and CTGAN), and time-series modeling using BiLSTM/BiGRU for accurate prediction and reconstruction of sensor data.
Figure 1. Proposed framework for virtual sensor development integrating preprocessing, statistical virtual sensor generation (KDE, Copula, IDW, and Ridge Regression), KDE-based validation, physical constraint filtering, KL-divergence-based data fusion, deep generative augmentation (VAE and CTGAN), and time-series modeling using BiLSTM/BiGRU for accurate prediction and reconstruction of sensor data.
Sensors 26 04123 g001
Figure 2. Ridge Regression flow for virtual sensor simulation.
Figure 2. Ridge Regression flow for virtual sensor simulation.
Sensors 26 04123 g002
Figure 3. Inverse Distance Weighting workflow for virtual sensor estimation.
Figure 3. Inverse Distance Weighting workflow for virtual sensor estimation.
Sensors 26 04123 g003
Figure 4. Density comparison between real sensor data and IDW-generated virtual sensor data for temperature, humidity, wind direction, and wind speed.
Figure 4. Density comparison between real sensor data and IDW-generated virtual sensor data for temperature, humidity, wind direction, and wind speed.
Sensors 26 04123 g004
Figure 5. Density comparison between real sensor data and KDE-generated virtual sensor data for temperature, humidity, wind direction, and wind speed.
Figure 5. Density comparison between real sensor data and KDE-generated virtual sensor data for temperature, humidity, wind direction, and wind speed.
Sensors 26 04123 g005
Figure 6. Density comparison between real sensor data and Copula-generated virtual sensor data.
Figure 6. Density comparison between real sensor data and Copula-generated virtual sensor data.
Sensors 26 04123 g006
Figure 7. KL-divergence-based fusion of virtual sensor data generated from different statistical methods. The fused data are validated within the defined physical ranges before augmentation and downstream model training.
Figure 7. KL-divergence-based fusion of virtual sensor data generated from different statistical methods. The fused data are validated within the defined physical ranges before augmentation and downstream model training.
Sensors 26 04123 g007
Figure 8. Density comparison of the fused IDW–Ridge virtual sensor data.
Figure 8. Density comparison of the fused IDW–Ridge virtual sensor data.
Sensors 26 04123 g008
Figure 9. Density comparison of the fused IDW–KDE virtual sensor data.
Figure 9. Density comparison of the fused IDW–KDE virtual sensor data.
Sensors 26 04123 g009aSensors 26 04123 g009b
Figure 10. Density comparison of the fused Copula–KDE virtual sensor data.
Figure 10. Density comparison of the fused Copula–KDE virtual sensor data.
Sensors 26 04123 g010
Figure 11. Augmentation of the initial data generated using statistical models, followed by deep generative modeling (VAE and CTGAN) to produce high-fidelity synthetic sensor data for downstream learning.
Figure 11. Augmentation of the initial data generated using statistical models, followed by deep generative modeling (VAE and CTGAN) to produce high-fidelity synthetic sensor data for downstream learning.
Sensors 26 04123 g011
Figure 12. Architecture of the Variational Autoencoder (VAE) model, illustrating the encoder, latent space sampling, and decoder used for generating augmented sensor data.
Figure 12. Architecture of the Variational Autoencoder (VAE) model, illustrating the encoder, latent space sampling, and decoder used for generating augmented sensor data.
Sensors 26 04123 g012
Figure 13. Architecture of the CTGAN model used for generating augmented sensor data.
Figure 13. Architecture of the CTGAN model used for generating augmented sensor data.
Sensors 26 04123 g013
Figure 14. Fused Copula & KDE weighted virtual sensor data augmentation analysis using PCA visualization: (a) VAE-augmented data and (b) CTGAN-augmented data.
Figure 14. Fused Copula & KDE weighted virtual sensor data augmentation analysis using PCA visualization: (a) VAE-augmented data and (b) CTGAN-augmented data.
Sensors 26 04123 g014
Figure 15. KDE-based distribution plots of feature-wise similarity for fused Copula & KDE weighted virtual sensor data: (a) VAE-augmented data and (b) CTGAN-augmented data.
Figure 15. KDE-based distribution plots of feature-wise similarity for fused Copula & KDE weighted virtual sensor data: (a) VAE-augmented data and (b) CTGAN-augmented data.
Sensors 26 04123 g015
Figure 16. Fused KL-based IDW & KDE virtual sensor data augmentation analysis using PCA visualization: (a) VAE-augmented data and (b) CTGAN-augmented data.
Figure 16. Fused KL-based IDW & KDE virtual sensor data augmentation analysis using PCA visualization: (a) VAE-augmented data and (b) CTGAN-augmented data.
Sensors 26 04123 g016
Figure 17. Density distribution analysis of fused KL-based IDW & KDE virtual sensor data augmentation: (a) VAE-augmented data and (b) CTGAN-augmented data.
Figure 17. Density distribution analysis of fused KL-based IDW & KDE virtual sensor data augmentation: (a) VAE-augmented data and (b) CTGAN-augmented data.
Sensors 26 04123 g017
Figure 18. Fused KL-based Ridge & IDW virtual sensor data augmentation analysis using PCA visualization: (a) VAE-augmented data and (b) CTGAN-augmented data.
Figure 18. Fused KL-based Ridge & IDW virtual sensor data augmentation analysis using PCA visualization: (a) VAE-augmented data and (b) CTGAN-augmented data.
Sensors 26 04123 g018
Figure 19. Density distribution analysis of fused KL-based Ridge & IDW virtual sensor data augmentation: (a) VAE-augmented data and (b) CTGAN-augmented data.
Figure 19. Density distribution analysis of fused KL-based Ridge & IDW virtual sensor data augmentation: (a) VAE-augmented data and (b) CTGAN-augmented data.
Sensors 26 04123 g019
Figure 20. MAE comparison of BiLSTM and BiGRU models for temperature prediction across physical and virtual sensor data variants.
Figure 20. MAE comparison of BiLSTM and BiGRU models for temperature prediction across physical and virtual sensor data variants.
Sensors 26 04123 g020
Figure 21. MAE comparison of BiLSTM and BiGRU models for humidity prediction across physical and virtual sensor data variants.
Figure 21. MAE comparison of BiLSTM and BiGRU models for humidity prediction across physical and virtual sensor data variants.
Sensors 26 04123 g021
Figure 22. MAE comparison of BiLSTM and BiGRU models for wind direction prediction across physical and virtual sensor data variants.
Figure 22. MAE comparison of BiLSTM and BiGRU models for wind direction prediction across physical and virtual sensor data variants.
Sensors 26 04123 g022
Figure 23. MAE comparison of BiLSTM and BiGRU models for wind speed prediction across physical and virtual sensor data variants.
Figure 23. MAE comparison of BiLSTM and BiGRU models for wind speed prediction across physical and virtual sensor data variants.
Sensors 26 04123 g023
Table 1. Comparison of recent sensor, temporal prediction, and temporal generative studies with the proposed framework.
Table 1. Comparison of recent sensor, temporal prediction, and temporal generative studies with the proposed framework.
StudyMain FocusKey StrengthLimitation Compared with This Work
Miranda et al. [20]Virtual sensor modelingEstimates missing or unreliable measurementsLimited fusion, augmentation, and temporal prediction
Jutras et al. [27]Copula dependency modelingCaptures multivariate dependenciesNo complete augmentation–prediction pipeline
Liu et al. [28]IDW-based spatial estimationEffective for spatial sensor estimationLimited modeling of nonlinear temporal dynamics
Dong et al. [37]ML-assisted physical sensingHigh recognition accuracyFocuses on physical sensor classification
Ahmed et al. [43]Synthetic tabular dataImproves data availabilityLimited physical constraints and KL-based fusion
Zhou et al. [44]Transformer forecastingCaptures long-range temporal dependencyPrediction-oriented; no virtual sensor generation
Lim et al. [38]TFT forecastingInterpretable multi-horizon predictionForecasting-focused, not virtual sensing
Jin et al. [39]Spatio-temporal GNNsModels graph-based sensor dependenciesRequires explicit sensor graph topology
Yoon et al. [41]Temporal data generationPreserves temporal dynamicsAdversarial training; no physical/KL fusion
Lin et al. [42]Diffusion-based time-series generationStrong iterative generative modelingComputationally expensive denoising process
Proposed frameworkVirtual sensor generation and predictionUnified physical, statistical, generative, and temporal pipelineNeeds tuning and validation for other domains
Table 2. Description of physical sensor variables used in the study, including data types and corresponding environmental measurements collected from the weather station.
Table 2. Description of physical sensor variables used in the study, including data types and corresponding environmental measurements collected from the weather station.
#Physical SensorsData TypeDescription
1TimestampTemporal (datetime)The date and time when the data was recorded.
2TemperatureContinuous (float)Temperature in Celsius (°C) measured at the weather station.
3HumidityContinuous (float)Relative humidity in percentage (%), indicating the amount of moisture in the air.
4Wind Direction AngleContinuous (float)Average wind direction angle in degrees (0–360°). Since this is a circular variable, it is encoded using sine and cosine components for model training.
5Wind SpeedContinuous (float)Wind speed in meters per second (m/s), indicating the magnitude of air movement.
6LongitudeContinuous (float)Longitude coordinate of the sensor location (in degrees).
7LatitudeContinuous (float)Latitude coordinate of the sensor location (in degrees).
Table 3. Physical constraints used for validating sensor variables.
Table 3. Physical constraints used for validating sensor variables.
VariablePhysical Constraint Used in ValidationExplanation
Temperature 10 T e m p 30 According to the region temperature.
Humidity 0 R H 100 Relative humidity percentage.
Wind speed v 0 Wind speed cannot be negative.
Wind direction 0 θ < 360 Circular angular variable.
LongitudeValid GPS longitude range/station metadataSensor location coordinate.
LatitudeValid GPS latitude range/station metadataSensor location coordinate.
Table 4. Experimental system configuration used for model training and evaluation.
Table 4. Experimental system configuration used for model training and evaluation.
ComponentSpecification
Operating systemWindows 10 for PC Server
Main memory96 GB RAM
Processor12th Gen Intel(R) Core(TM) i9-12900K, 3.20 GHz
Programming languagePython 3
IDEPyCharm Professional 2024.3.5
Data storage/formatCSV and MS Excel files
Core librariesPandas 2.3.3, Scikit-learn 1.9.0, Keras 3.14.1, TensorFlow 2.21.0, Seaborn 0.13.2, Matplotlib 3.10.9, CTGAN 0.12.1, and PyTorch 2.12.0
Table 5. Key hyperparameters of the VAE and CTGAN models used for data augmentation.
Table 5. Key hyperparameters of the VAE and CTGAN models used for data augmentation.
ParameterVAECTGAN
Data split80% training, 20% validation80% training, 20% validation
Latent/noise dimension40Default CTGAN noise dimension
Network structureEncoder: Dense(128)–Dense(64); Decoder: Dense(64)–Dense(128)–Dense(input dim.)Generator dimensions: (128, 128); default discriminator
Activation functionReLU in hidden layersDefault CTGAN activations
Loss functionReconstruction MSE + KL-divergenceAdversarial training loss
KL weightingLinear warm-up: min ( 1.0 , epoch / 50 ) Not applicable
OptimizerAdamAdam-based CTGAN optimizer
Learning rate0.001Default CTGAN learning rate
Batch size1632
Epochs5050
Output validationInverse scaling and physical validity filteringInverse scaling and physical validity filtering
Table 6. Key network structure and training parameters of the BiLSTM and BiGRU models.
Table 6. Key network structure and training parameters of the BiLSTM and BiGRU models.
ParameterBiLSTMBiGRU
Input sequence length3 time steps3 time steps
Input shape ( 3 , 1 ) for scalar features; ( 3 , 2 ) for WindDirX/WindDirY ( 3 , 1 ) for scalar features; ( 3 , 2 ) for WindDirX/WindDirY
Recurrent layersBiLSTM(64, ReLU, return sequences) → BiLSTM(32, ReLU)BiGRU(64, ReLU, return sequences) → BiGRU(32, ReLU)
Dropout0.3 after first recurrent layer; 0.2 after second recurrent layer0.3 after first recurrent layer; 0.2 after second recurrent layer
Dense layerDense(32, ReLU)Dense(32, ReLU)
Output layerDense(1) for scalar features; Dense(2) for WindDirX/WindDirYDense(1) for scalar features; Dense(2) for WindDirX/WindDirY
OptimizerAdamAdam
Learning rate0.0010.001
Loss functionMSEMSE
Epochs5050
Batch size3232
Train-test split80% training, 20% testing80% training, 20% testing
Wind direction reconstructionatan2(WindDirY, WindDirX), mapped to [ 0 , 360 ) atan2(WindDirY, WindDirX), mapped to [ 0 , 360 )
Table 7. Computational characteristics and scalability considerations of the proposed framework.
Table 7. Computational characteristics and scalability considerations of the proposed framework.
StageMain OperationsComputational CostScalability Consideration
PreprocessingMissing-value handling, physical constraints, scaling, wind-direction encodingLow; approximately linear with data sizeEasily scalable using batch or streaming preprocessing
Virtual sensor generationIDW, KDE, Ridge-based estimation, Copula-based modelingModerate; depends on records, variables, and estimation methodCan be parallelized across variables or sensor locations
KL-divergence fusionDistributional comparison and best-source selectionModerate; depends on number of candidate virtual sensors and featuresScalable through feature-wise or location-wise computation
VAE/CTGAN augmentationIterative deep generative model training and sample validationHigh; requires repeated neural network optimizationCan use mini-batch training, GPU acceleration, and parallel runs
BiLSTM/BiGRU predictionSequence construction and recurrent neural network trainingModerate to high; depends on sequence length, epochs, and batch sizeScalable using shorter windows, mini-batches, and model compression
EvaluationMAE, MSE, RMSE, and wind-direction reconstructionLowEasily scalable and can be automated
Table 8. Quantitative computational cost and scalability analysis of the main augmentation and temporal prediction components.
Table 8. Quantitative computational cost and scalability analysis of the main augmentation and temporal prediction components.
ComponentDataset/CaseTraining Time (s)Inference Time (s)Single Inference Time (s)Memory Increase (MB)Time Complexity
CTGAN augmentationCTGAN data351.790.054150.43 O ( E n d h )
VAE augmentationVAE data1077.270.00312.52 O ( E n d h )
BiLSTM predictionOriginal data1928.4061.110.1154150.21 O ( E n T h 2 ) / O ( n test T h 2 )
BiGRU predictionOriginal data1343.7937.580.070972.28 O ( E n T h 2 ) / O ( n test T h 2 )
BiLSTM predictionKL-Ridge-IDW data115.7272.480.148164.02 O ( E n T h 2 ) / O ( n test T h 2 )
BiGRU predictionKL-Ridge-IDW data66.3334.530.071973.96 O ( E n T h 2 ) / O ( n test T h 2 )
BiLSTM predictionCopula-KDE + VAE data42.4530.320.064359.27 O ( E n T h 2 ) / O ( n test T h 2 )
BiGRU predictionCopula-KDE + VAE data74.6855.150.112568.00 O ( E n T h 2 ) / O ( n test T h 2 )
Table 9. Experimental Results of BiLSTM and BiGRU Models on Physical Sensors Data.
Table 9. Experimental Results of BiLSTM and BiGRU Models on Physical Sensors Data.
FeatureBiLSTMBiGRU
MAEMSERMSEMAEMSERMSE
temperature1.4488134.1437802.0356281.6306254.9040902.214518
humidity5.27990070.6272168.4040005.37010073.6730398.583300
winddirangleavg0.5430000.4318000.6571000.5352800.4303900.656040
windspeedmax0.7449170.9238970.9611960.7707170.9578170.978682
Table 10. Experimental Results of BiLSTM and BiGRU Models on Fused Copula-KDE Weighted Virtual Sensor Data Variants.
Table 10. Experimental Results of BiLSTM and BiGRU Models on Fused Copula-KDE Weighted Virtual Sensor Data Variants.
SensorsBiLSTMBiGRU
MAEMSERMSEMAEMSERMSE
Experimental Results of a Learning Model with Fused Copula KDE Data
temperature2.70527711.7185703.4232402.71084811.8430703.441376
humidity13.161027249.92882115.80913713.170420249.85616615.806839
winddirangleavg0.2794800.1181000.3437800.2793500.1194000.345650
windspeedmax1.0909561.6919321.3007431.0892631.6985341.303278
Experimental Results of a Learning Model on Fused-CTGAN Data
temperature3.09407014.9010103.8601823.07867414.8147903.848999
humidity13.732957272.89130216.51942213.773016275.63997416.602409
winddirangleavg0.2929300.1463700.3825800.2955000.1440300.379500
windspeedmax1.0591401.7469341.3217161.0905741.7926041.338881
Experimental Results of a Learning Model on Fused-VAE Data
temperature2.2690287.9445352.8186052.2696727.9367872.817230
humidity10.913837183.66382013.55226310.666777177.63178013.327857
winddirangleavg0.1628100.0460500.2145900.1593900.0452800.212800
windspeedmax0.8822431.0489071.0241620.8839291.0513841.025370
Table 11. Experimental Results of a Learning Model for Virtual Sensors based on KL-IDW-KDE, CTGAN, and VAE Data.
Table 11. Experimental Results of a Learning Model for Virtual Sensors based on KL-IDW-KDE, CTGAN, and VAE Data.
SensorsBiLSTMBiGRU
MAEMSERMSEMAEMSERMSE
Experimental Results on KL-IDW-KDE Fused Virtual Sensor Data
temperature3.02610013.8946003.7275003.03640014.0628003.750000
humidity18.334388462.72092721.51094918.310038462.79449721.512659
winddirangleavg0.4759600.3610580.6008000.4459600.3703400.608500
windspeedmax1.0191001.4925001.2217001.0202001.4893001.220400
Experimental Results on KL-IDW-KDE with CTGAN Data
temperature3.23860016.0771004.0096003.24790016.1289004.016100
humidity16.502866425.53938620.62860616.349276414.96892220.370786
winddirangleavg0.4848900.3642000.6034900.4340800.3845500.620100
windspeedmax1.1959001.8187001.3486001.2013001.8288001.352300
Experimental Results on KL-IDW-KDE with VAE Data
temperature2.4581009.8359003.1362002.4637009.8040003.131100
humidity14.986074334.73337018.29572014.966607334.62452018.292745
winddirangleavg0.3217100.1896900.4355000.3293100.1848700.429960
windspeedmax0.7732000.8987000.9480000.7688000.9099000.953900
Table 12. Experimental Results of a Learning Model for Virtual Sensors based on KL-Ridge-IDW, CTGAN, and VAE Data.
Table 12. Experimental Results of a Learning Model for Virtual Sensors based on KL-Ridge-IDW, CTGAN, and VAE Data.
SensorsBiLSTMBiGRU
MAEMSERMSEMAEMSERMSE
Experimental Results on KL-Ridge-IDW Fused Virtual Sensor Data
temperature2.65040010.7641003.2809002.65430010.7777003.282900
humidity11.891702223.55280514.95168211.864079223.46527914.948755
winddirangleavg0.2383000.1005000.3170400.2285800.1048000.323770
windspeedmax0.6412000.6565000.8103000.6393000.6658000.816000
Experimental Results on KL-Ridge-IDW with CTGAN Data
temperature2.68430011.2586003.3554002.68810011.3773003.373000
humidity14.544929309.81105417.60145014.574742312.97656017.691144
winddirangleavg0.3409700.1813200.4258100.3399300.1796500.423860
windspeedmax0.6477000.6357000.7973000.6458000.6302000.793900
Experimental Results on KL-Ridge-IDW with VAE Data
temperature2.53130010.1844003.1913002.53500010.2376003.199600
humidity10.248988166.33633312.89714410.628155176.61925513.289818
winddirangleavg0.1664700.0487000.2207500.1738500.0503480.224380
windspeedmax0.5896000.4952000.7037000.5911000.4960000.704300
Table 13. Experimental Results of a Learning Model for Virtual Sensors based on KDE, KDE-CTGAN, and KDE-VAE Data.
Table 13. Experimental Results of a Learning Model for Virtual Sensors based on KDE, KDE-CTGAN, and KDE-VAE Data.
SensorsBiLSTMBiGRU
MAEMSERMSEMAEMSERMSE
Experimental Results on KDE Virtual Sensor Data
temperature3.86300023.7016004.8684003.88390024.0059004.899600
humidity18.812860490.28893322.14246918.898043497.73199522.309908
winddirangleavg0.5065600.4171300.6458600.5059700.4163300.645236
windspeedmax1.1350001.8318001.3534001.1360001.8281001.352100
Experimental Results on KDE with CTGAN Data
temperature3.83990023.6651004.8647003.86190023.9622004.895100
humidity22.217714699.93390526.45626422.335684704.13525526.535547
winddirangleavg0.4281800.2991300.5469300.4519600.3072800.554330
windspeedmax1.2141002.0629001.4363001.2206002.1121001.453300
Experimental Results on KDE with VAE Data
temperature3.66260019.8312004.4532003.67640020.0681004.479700
humidity13.663877270.80911916.45627913.707969272.86223016.518542
winddirangleavg0.3843500.2283500.4778600.3874900.2308200.480440
windspeedmax0.8657001.0105001.0052000.8502000.9961000.998100
Table 14. Comparison with temporal generative baselines using BiGRU as the downstream prediction model.
Table 14. Comparison with temporal generative baselines using BiGRU as the downstream prediction model.
MethodTemperature MAEHumidity MAEWind Direction MAEWind Speed MAE
TimeGAN4.707516.99841.05452.2265
Diffusion2.42853.96790.61570.8915
Proposed2.269710.66680.15940.8839
Table 15. Statistical significance analysis using the Wilcoxon signed-rank test.
Table 15. Statistical significance analysis using the Wilcoxon signed-rank test.
ComparisonVariablep-ValueSignificance
Proposed vs. TimeGANTemperature 4.05 × 10 34 Significant
Proposed vs. TimeGANHumidity 2.05 × 10 20 Significant
Proposed vs. TimeGANWind direction 4.82 × 10 28 Significant
Proposed vs. TimeGANWind speed 1.48 × 10 3 Significant
Proposed vs. DiffusionTemperature 1.08 × 10 15 Significant
Proposed vs. DiffusionHumidity 8.74 × 10 32 Significant
Proposed vs. DiffusionWind direction 5.29 × 10 28 Significant
Proposed vs. DiffusionWind speed 3.53 × 10 3 Significant
Table 16. External validation using the public NOAA LCD weather-station dataset with BiGRU as the downstream prediction model.
Table 16. External validation using the public NOAA LCD weather-station dataset with BiGRU as the downstream prediction model.
Dataset/MethodTemperature MAEHumidity MAEWind Direction MAEWind Speed MAE
Original NOAA Public Data0.87303.232411.78880.3593
KL-Ridge–IDW Fused NOAA Data0.77463.333011.89460.3627
KL-Ridge–IDW + VAE NOAA Data5.269811.683761.51360.7058
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.

Share and Cite

MDPI and ACS Style

Khan, M.A.; Khan, Q.W.; Faizan, M.; Kim, J.-E.; Ahn, I.-y.; Kim, D.-H. Intelligent Virtual Sensor Generation Using KL-Divergence- Based Fusion and Deep Generative Learning for Smart Environmental Monitoring. Sensors 2026, 26, 4123. https://doi.org/10.3390/s26134123

AMA Style

Khan MA, Khan QW, Faizan M, Kim J-E, Ahn I-y, Kim D-H. Intelligent Virtual Sensor Generation Using KL-Divergence- Based Fusion and Deep Generative Learning for Smart Environmental Monitoring. Sensors. 2026; 26(13):4123. https://doi.org/10.3390/s26134123

Chicago/Turabian Style

Khan, Murad Ali, Qazi Waqas Khan, Muhammad Faizan, Ji-Eun Kim, Il-yeop Ahn, and Do-Hyeun Kim. 2026. "Intelligent Virtual Sensor Generation Using KL-Divergence- Based Fusion and Deep Generative Learning for Smart Environmental Monitoring" Sensors 26, no. 13: 4123. https://doi.org/10.3390/s26134123

APA Style

Khan, M. A., Khan, Q. W., Faizan, M., Kim, J.-E., Ahn, I.-y., & Kim, D.-H. (2026). Intelligent Virtual Sensor Generation Using KL-Divergence- Based Fusion and Deep Generative Learning for Smart Environmental Monitoring. Sensors, 26(13), 4123. https://doi.org/10.3390/s26134123

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop