Enhancing the quality of simulated network data using generative adversarial networks
A device may receive real network data associated with a network, and may receive a random latent vector and a random process sample. The device may utilize the random latent vector with a generative adversarial network (GAN) model to generate synthetic network data, and may train the GAN model with the real network data and the synthetic network data to generate a trained GAN model. The device may utilize the random process sample with a random process to generate simulated network data, and may apply weights to the real network data, the synthetic network data, and the simulated network data to generate weighted real network data, weighted synthetic network data, and weighted simulated network data. The device may combine the weighted real network data, the weighted synthetic network data, and the weighted simulated network data to generate interpolated network data, and may perform actions based on the interpolated network data.
1 . A method, comprising:
receiving, by a device, real network data associated with a network;
receiving, by the device, a random latent vector and a random process sample;
utilizing, by the device, the random latent vector with a generative adversarial network (GAN) model to generate synthetic network data;
training, by the device, the GAN model with the real network data and the synthetic network data to generate a trained GAN model;
utilizing, by the device, the random process sample with a random process to generate simulated network data,
wherein the simulated data network includes network traffic data at one frequency;
applying, by the device and based on the trained GAN model, weights to the real network data, the synthetic network data, and the simulated network data to generate weighted real network data, weighted synthetic network data, and weighted simulated network data;
combining, by the device, the weighted real network data, the weighted synthetic network data, and the weighted simulated network data to generate interpolated network data; and
performing, by the device, one or more actions based on the interpolated network data.
2 . The method of claim 1 , wherein the real network data includes a multivariate dataset.
3 . The method of claim 1 , wherein the GAN model is a Wasserstein recurrent GAN model.
4 . The method of claim 1 , wherein training the GAN model with the real network data and the synthetic network data to generate the trained GAN model comprises:
training the GAN model with the real network data and the synthetic network data to generate the weights.
5 . The method of claim 1 , wherein applying the weights to the real network data, the synthetic network data, and the simulated network data to generate the weighted real network data, the weighted synthetic network data, and the weighted simulated network data comprises:
applying a first weight to the real network data to generate the weighted real network data;
applying a second weight to the synthetic network data to generate the weighted synthetic network data; and
applying a third weight to the simulated network data to generate the weighted simulated network data,
wherein a sum of the first weight, the second weight, and the third weight is equal to one.
6 . The method of claim 5 , wherein a value of the first weight determines a masked quantity of the real network data.
7 . The method of claim 1 , wherein utilizing the random process sample with the random process to generate the simulated network data comprises:
utilizing the random process sample and the real network data to generate two Poisson distributions; and
superposing the two Poisson distributions to generate the simulated network data.
8 . A device, comprising:
one or more memories; and
one or more processors to:
receive real network data associated with a network,
wherein the real network data include a multivariate dataset,
wherein the multivariate dataset set includes multivariate temporal behavior of network traffic throughput;
receive a random latent vector and a random process sample;
utilize the random latent vector with a generative adversarial network (GAN) model to generate synthetic network data;
train the GAN model with the real network data and the synthetic network data to generate a trained GAN model;
utilize the random process sample with a random process to generate simulated network data;
apply weights to the real network data, the synthetic network data, and the simulated network data to generate weighted real network data, weighted synthetic network data, and weighted simulated network data;
combine the weighted real network data, the weighted synthetic network data, and the weighted simulated network data to generate interpolated network data; and
perform one or more actions based on the interpolated network data.
9 . The device of claim 8 , wherein the one or more processors, to utilize the random process sample with the random process to generate the simulated network data, are to:
utilize the random process sample and the real network data to generate two Poisson distributions; and
superpose the two Poisson distributions to generate the simulated network data.
10 . The device of claim 8 , wherein the GAN model includes a generator component and a discriminator component.
11 . The device of claim 8 , wherein the one or more processors, to perform the one or more actions, are to one or more of:
provide the interpolated network data for display; or
retrain the GAN model based on the interpolated network data.
12 . The device of claim 8 , wherein the one or more processors, to perform the one or more actions, are to one or more of:
train a network anomaly detection model with the interpolated network data; or
train a network forecasting model with the interpolated network data.
13 . The device of claim 8 , wherein the one or more processors, to perform the one or more actions, are to:
perform initial training of a network anomaly detection model with the interpolated network data; and
perform fine tune training of the network anomaly detection model with the real network data.
14 . The device of claim 8 , wherein the one or more processors, to perform the one or more actions, are to:
deploy a network forecasting model or a network anomaly detection model, trained with the interpolated network data, in the network.
15 . A non-transitory computer-readable medium storing a set of instructions, the set of instructions comprising:
one or more instructions that, when executed by one or more processors of a device, cause the device to:
receive real network data associated with a network;
receive a random latent vector and a random process sample;
utilize the random latent vector with a generative adversarial network (GAN) model to generate synthetic network data,
wherein the GAN model is a Wasserstein recurrent GAN model;
train the GAN model with the real network data and the synthetic network data to generate a trained GAN model;
utilize the random process sample with a random process to generate simulated network data,
wherein the simulated data network includes network traffic data at one frequency;
apply, based on the trained GAN, weights to the real network data, the synthetic network data, and the simulated network data to generate weighted real network data, weighted synthetic network data, and weighted simulated network data;
combine the weighted real network data, the weighted synthetic network data, and the weighted simulated network data to generate interpolated network data; and
perform one or more actions based on the interpolated network data.
16 . The non-transitory computer-readable medium of claim 15 , wherein the one or more instructions, that cause the device to train the GAN model with the real network data and the synthetic network data to generate the trained GAN model, cause the device to:
train the GAN model with the real network data and the synthetic network data to generate the weights.
17 . The non-transitory computer-readable medium of claim 15 , wherein the one or more instructions, that cause the device to apply the weights to the real network data, the synthetic network data, and the simulated network data to generate the weighted real network data, the weighted synthetic network data, and the weighted simulated network data, cause the device to:
apply a first weight to the real network data to generate the weighted real network data;
apply a second weight to the synthetic network data to generate the weighted synthetic network data; and
apply a third weight to the simulated network data to generate the weighted simulated network data,
wherein a sum of the first weight, the second weight, and the third weight is equal to one.
18 . The non-transitory computer-readable medium of claim 17 , wherein a value of the first weight determines a masked quantity of the real network data.
19 . The non-transitory computer-readable medium of claim 15 , wherein the one or more instructions, that cause the device to utilize the random process sample with the random process to generate the simulated network data, cause the device to:
utilize the random process sample and the real network data to generate two Poisson distributions; and
superpose the two Poisson distributions to generate the simulated network data.
20 . The non-transitory computer-readable medium of claim 15 , wherein the GAN model includes a generator component and a discriminator component.