1. Home
  2. Explore
  3. Computer Science
  4. Neural Networks Overview

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Neural Networks Overview

  • 16Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Backpropagation Basics

Why is the calculation of weight changes in a neural network linear in depth rather than exponential?

16 questions

  1. 1

    Why is the calculation of weight changes in a neural network linear in depth rather than exponential?

    1. A

      Because the chain rule produces redundant partial derivatives that can be reused.

    2. B

      Because each neuron only connects to one previous neuron.

    3. C

      Because the activation function is linear.

    4. D

      Because the number of paths grows linearly with depth.

    Correct answer
    A

    Because the chain rule produces redundant partial derivatives that can be reused.

    Explanation

    The computation reuses partial derivatives as you move backward, described as 'what's computed is computed and need not be recomputed,' making it linear in depth.

  2. 2

    What does the expression w⋅xw \cdot xw⋅x (dot product) in a single neuron suggest about a fundamental operation in neural networks?

    1. A

      The dot product is replaced by convolution in deep networks.

    2. B

      The dot product requires binary inputs.

    3. C

      The dot product is only useful for linear models.

    4. D

      The dot product is a fundamental calculation in the brain.

    Correct answer
    D

    The dot product is a fundamental calculation in the brain.

    Explanation

    The lecture notes that some researchers believe the dot product is a fundamental calculation taking place in our heads, as seen in neural net operations.

  3. 3

    In a convolutional neural network, what is the process called where a neuron slides over an image and produces outputs associated with each location?

    1. A

      Autocoding

    2. B

      Pooling

    3. C

      Dropout

    4. D

      Convolution

    Correct answer
    D

    Convolution

    Explanation

    Convolution involves sliding a kernel (neuron) across the image and producing outputs for each position.

  4. 4

    After the convolution operation, what is the typical step that involves taking the maximum value in local neighborhoods?

    1. A

      Sigmoid activation

    2. B

      Softmax

    3. C

      Dropout

    4. D

      Max pooling

    Correct answer
    D

    Max pooling

    Explanation

    Max pooling selects the maximum value in each local neighborhood to create a smaller feature map.

  5. 5

    In the described convolutional network, what are typical dimensions for the input image and the kernel?

    1. A

      1000x1000 image with 10x10 kernel

    2. B

      256x256 image with 1x1 kernel

    3. C

      100x100 image with 5x5 kernel

    4. D

      256x256 image with 10x10 kernel

    Correct answer
    D

    256x256 image with 10x10 kernel

    Explanation

    The lecture specifies images are often compressed to 256x256 and kernels are 10x10.

  6. 6

    Compared to older neural networks, what characterizes modern deep neural networks?

    1. A

      More parameters, more classes, and more training samples

    2. B

      Fewer layers but wider

    3. C

      Same number of parameters but deeper layers

    4. D

      Fewer parameters and more classes

    Correct answer
    A

    More parameters, more classes, and more training samples

    Explanation

    Modern nets have 60 million parameters, 1000 classes, and millions of samples, whereas old nets had few hundred parameters, 10 classes, and few hundred samples.

  7. 7

    According to the lecture, deep neural networks are actually more accurately described as:

    1. A

      Deep nets because they are often more than 100 layers deep

    2. B

      Narrow nets because they reduce dimensionality

    3. C

      Wide nets because they are enormously wide but rarely more than 10 layers deep

    4. D

      Shallow nets because they have few hidden layers

    Correct answer
    C

    Wide nets because they are enormously wide but rarely more than 10 layers deep

    Explanation

    The lecture states they should be called 'wide nets' because they tend to be enormously wide but rarely more than 10 columns deep.

  8. 8

    What is the goal of training an autoencoder?

    1. A

      To classify inputs into predefined categories

    2. B

      To reproduce the input at the output, forcing the hidden layer to learn a compressed representation

    3. C

      To minimize the number of output neurons

    4. D

      To maximize the number of hidden neurons

    Correct answer
    B

    To reproduce the input at the output, forcing the hidden layer to learn a compressed representation

    Explanation

    An autoencoder is trained so that the output matches the input, forcing the smaller hidden layer to learn a generalized encoding.

  9. 9

    In the autoencoder demonstration with animal shadows, what does the hidden layer learn?

    1. A

      It learns to ignore the input and produce random outputs

    2. B

      It learns to maximize the error between input and output

    3. C

      It learns an encoded generalization of the input patterns, not necessarily interpretable

    4. D

      It learns to classify cheetahs, zebras, and giraffes

    Correct answer
    C

    It learns an encoded generalization of the input patterns, not necessarily interpretable

    Explanation

    The hidden layer encodes a generalization, but the neurons do not clearly specialize to short, medium, or tall; the encoding is not directly interpretable.

  10. 10

    How can autoencoders be used to train deep networks?

    1. A

      By removing the hidden layer after training

    2. B

      By training one layer at a time, then using the learned features to train the next layer

    3. C

      By using only the output layer for classification

    4. D

      By training all layers simultaneously with backpropagation

    Correct answer
    B

    By training one layer at a time, then using the learned features to train the next layer

    Explanation

    Autoencoders allow layer-by-layer training: once the input layer is trained, its weights are frozen and used to train the next layer, and so on.

  11. 11

    In the output layer, the probability of a class is obtained by taking the sigmoid output and dividing by the sum of all outputs. What is this transformation called?

    1. A

      Dropout

    2. B

      Softmax

    3. C

      Max pooling

    4. D

      Convolution

    Correct answer
    B

    Softmax

    Explanation

    Softmax converts raw output values into probabilities by dividing each by the sum over all classes.

  12. 12

    According to the lecture, how are the weight and threshold parameters in the output sigmoid adjusted?

    1. A

      To minimize the number of neurons

    2. B

      To minimize the sum of squared errors

    3. C

      To maximize the learning rate

    4. D

      To maximize the probability of observing the training data

    Correct answer
    D

    To maximize the probability of observing the training data

    Explanation

    The parameters are adjusted to maximize the probability of seeing the sample data, as demonstrated with gradient ascent on the likelihood.

  13. 13

    What is the purpose of dropout in neural network training?

    1. A

      To increase the depth of the network

    2. B

      To prevent overfitting by randomly ignoring neurons each iteration

    3. C

      To reduce the number of parameters permanently

    4. D

      To ensure all neurons are used equally

    Correct answer
    B

    To prevent overfitting by randomly ignoring neurons each iteration

    Explanation

    Dropout randomly drops neurons each iteration, which prevents the network from getting stuck in frozen local maxima.

  14. 14

    In the demonstration with narrowing a network, what phenomenon is observed when the network is initially wide versus narrow?

    1. A

      Wide networks turn local maxima into saddle points, making training easier

    2. B

      Narrow networks have no local maxima

    3. C

      Narrow networks train faster than wide networks

    4. D

      Wide networks have more local maxima

    Correct answer
    A

    Wide networks turn local maxima into saddle points, making training easier

    Explanation

    When the network is wide, local maxima become saddle points, allowing gradient descent to escape; narrow networks get stuck.

  15. 15

    What does the lecture suggest about how neural networks recognize objects like a school bus?

    1. A

      They have a deep understanding of the object's function

    2. B

      They rely on local texture and features rather than global understanding

    3. C

      They require millions of parameters to understand a single object

    4. D

      They use the same visual processing as humans

    Correct answer
    B

    They rely on local texture and features rather than global understanding

    Explanation

    Small pixel changes can fool the network, indicating it uses local evidence (texture) rather than a global understanding.

  16. 16

    Which of the following is true about the performance of backpropagation compared to more sophisticated methods like autoencoding?

    1. A

      Backpropagation cannot be used with convolutional nets

    2. B

      Autoencoding always outperforms backpropagation

    3. C

      Backpropagation with convolutional nets does just as well as other methods

    4. D

      Sophisticated methods are necessary for good performance

    Correct answer
    C

    Backpropagation with convolutional nets does just as well as other methods

    Explanation

    The lecture states that backpropagation with a convolutional net seems to do just about as good as anything, including autoencoding.

Question 1 of 16
Question 1 of 16

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent