0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

GAN-based neural network model

Posted at

1 GAN

  1. What is GAN?
    GAN = Generative Adversarial Network

  2. A GAN architecture

Generative Adversarial Network is a relatively new class of artificial neural networks, which consists of a combination of two neural networks.

  • Discriminator :Take samples of true data and generated data and try to classify them as well as possible

  • Generator :Trained to fool the discriminator as much as possible

image.png

3.The training process

  • Discriminator :the goal of the generator is to fool the discriminator, so the generative neural network is trained to maximize the final classification error

  • Generator :the goal of the discriminator is to detect fake generated data, so the discriminative neural network is trained to minimize the final classification error

At each iteration of the training process, the weights of the generative network are updated in order to increase the classification error (error gradient ascent) while the weights of the discriminative network are updated to decrease this error(error gradient descent)

image.png

4.matiematical detail about GAN

  • If send to the discriminator "true" and "generated" data in the same proportions, the error function can be expressed as:

$$
E(G,D)=E_{x\sim p_{data}}​​\lbrack1-D(x)\rbrack+E_{x\sim p_G}​​\lbrack D(x)\rbrack
$$

  • As for generator, its loss function can be expressed as:

$$
\underset G{max}(\underset D{min};E(G,D))
$$

2 Related work

Evaluation Of GAN Applicability for Intrusion Detection in Self-Organizing Networks of Cyber-Physical Systems

  • Proposes a new approach for intrusion detection that uses GAN for the large-scale networks of a connected cyber-physical system.

  • GAN can solve is the generation of additional anomalous samples to improve the quality and plenty of the marked dataset. Since neural data prevail in m2m2 traffic, the problem of data class imbalance arises. The dimension of the neutral class is much larger than the amount of anomalous data. The BIGAN (adversarial autoencoder) is proposed to solve this problem.

  • Experiment: To model the GAN, the dataset whose size is 2000 is used. Each record contains nine parameters.

火狐截图_2020-04-28T06-56-39.309Z.png

火狐截图_2020-04-28T07-02-35.232Z.png

  • The GAN can be applied to search for security anomalies and cyber threats, as well as to generate additional anomalies to improve the quality of the marked data samples.

Bringing a GAN to a Knife-fight: Adapting MalwareCommunication to Avoid Detection

  • In this paper, GAN is proposed to learn to imitate traffic. Based on input parameters from the GAN, the real malware modifies its behavior in order to mimic normal traffic. The author also uses the Stratosphere IPS to block the malware, using the feedback to adapt the weights of the intrusion detection system.

  • The GAN is implemented independently and communicates with the malware through a web service. The malware gets the parameter and modifies its traffic in real-time. The IPS system block all traffic that does not like a normal chat.

火狐截图_2020-04-28T07-35-57.926Z.png

  • The table shows that as the number of training epochs increased, blocking action go to zero

火狐截图_2020-04-28T07-41-54.250Z.png

  • This work shows it is possible to improve the chances of the malware not being blocked by mimicking traffic. Moreover, it is shown that a small amount of data for training the GAN is enough.

Generative Adversarial Networks for DistributedIntrusion Detection in the Internet of Things

  • This paper is to propose a distributed generative adversarial network (GAN) architecture that can be used as an IDS for IoT systems.

火狐截图_2020-04-28T07-53-11.023Z.png


GIDS: GAN based Intrusion Detection System for In-Vehicle Network

  • This paper proposes an IDS model based on GAN for in-vehicle.

火狐截图_2020-04-28T07-55-37.618Z.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?