Deep Neural Networks (PowerPoint) Flashcards

1
Q

In general, what do deep learning algorithms do?

A

Learn patterns and make predictions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What type of technique does deep learning algorithms use to adjust their weights?

A

Backpropogation, a technique used for training feedforward neural networks.

  1. Forward pass: The neural network takes in some input data and processes it through its layers to make a prediction
  2. Calculate error: After making a prediction, the network compares its prediction to the actual answer to see how wrong it was. This difference is called the error.
  3. Backward pass (backpropagation): The network goes backwards through its layers, from the output layer to the input layer, to figure out how much each neuron contributed to the error.
  4. Adjusting weights: Once the network knows which neurons were responsible for the error, it can tweak their weights. This helps the network learn from its mistakes and improve its predictions over time.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is deep learning?

A

Subfield of machine learning that intvolves training artificial neural networks with multiple layers (hence the term “deep”), allowing them to learn hierarchical representations of data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Feature Extraction

A

Feature extraction is about identifying and selecting the most relevant features from the data. Often, you have a lot of data with many different aspects or characteristics (features), but not all of them are equally important for solving a particular problem or making accurate predictions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the pros of deep learning? What is deep learning ideal for?

A

Highly flexible and can adapt to new data and tasks. This makes them ideal for applications where the data or requirements may change over time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are Convolutional Neural Networks (CNN)?

A

A class of deep neural networks primarily used for analyzing visual imagery.

  1. Convolutional layers use filters (kernels) to extract features (ex. edges, shapes and textures). The filters slide over the input data, performing a mathematical operation called convolution. By stacking multiple convolutional layers, CNNs can learn more complex and abstract features.
  2. Pooling layers used to reduce the size of the feature maps produced by the convolutional layers. This makes the network more computationally efficient. The most common type of pooling is max pooling, which selects the maximum value from a small region of the feature map.
    Helps simplify the information by reducing the size of the feature maps while retaining the most important information.
  3. Fully connected layers: The output from the convolution and pooling layers is flattened and fed into the fully connected layers, which perform a classification task.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are Recurrent Neural Network (RNN)?

A

Designed for data that comes in sequences, like text, speech or time-series data. Instead of treating each piece of data in isolation, they consider the order and context of the entire sequence.

RNNs have loops in their architecture. This enables them to process sequences of inputs.

They maintain an internal state or “memory”. This memory is then used to inform future predictions or decisions.
This allows them to keep track of context and make predictions based on what they’ve seen so far.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What can Recurrant Neural Networks (RNN) be used for? What are the limitations?

A

RNNs can be used for:
- Language modeling
- Speech recognition
- Machine translation
- Image captioning
- Music generation

One limitation is that RNN are computationally expensive to train.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is one of the most common RNN architectures?

A

Long Short-Term Memory (LSTM).

They are designed to handle long sequences of data and remember important information over extended periods of time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are Generative Adversarial Networks (GAN)?

A

A type of neural network architecture that consists of two main parts:
1. A generator network: Takes a random noise vector as input generates new data, ex. images or text
2. A discriminator network: Takes in both real and generated data. Tries to classify which is which.

The two networks are trained together in a game-like fashion where the generator tries to fool the discriminator and the discriminator tries to correctly classify the data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the limitation of GANs?

A

One limitation of GANs is that they can be difficult to train and may suffer from mode collapse, where the generator produces limited variations of the same output instead of diverse outputs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How are deep fake videos created?

A

Deep fake videos are created by training a deep neural network with a large dataset of real videos and images where it generates new videos that are similar in appearance to the original videos.

The neural network is trained to learn the patterns and characteristics of
- The face and body movements
- Other visual and audio features present in the original videos.

To create a deep fake video, a person first needs to collect a large number of images and videos of the person they want to impersonate. The algorithm then generates a new video that combines the facial and speech features of the person being impersonated with the audio and visual content from another video. This new video is then refined to produce more convincing and realistic results.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly