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

Study methods

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

Interpreting Neural Networks

  • 79Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: CNN Foundations
Pooling methods discussed in convolutional neural networks included max pooling and
pooling.

79 questions

  1. 1
    Pooling methods discussed in convolutional neural networks included max pooling and
    _____
    pooling.
    Hint

    This method computes the mean rather than selecting the largest value.

    Answer

    average

  2. 2
    The classic CNN architectures mentioned as more advanced classification models included Inception and
    _____
    .
    Hint

    This architecture uses shortcut or residual connections.

    Answer

    ResNets

  3. 3
    YOLO and the Fast R-CNN series were presented as methods for the advanced application of
    _____
    detection.
    Hint

    The task identifies and locates objects in an image.

    Answer

    object

  4. 4
    Face recognition and neural
    _____
    transfer were also included among the previously studied applications.
    Hint

    This application transfers the visual characteristics of one image to another.

    Answer

    style

  5. 5
    A major goal of interpreting neural networks is to replace improvement based only on trial and error with theory and
    _____
    .
    Hint

    These provide a view into what the network is doing internally.

    Answer

    visualizations

  6. 6
    A
    _____
    set can be used to search for hyperparameters and methods that improve a model.
    Hint

    This data split is used for model selection rather than final evaluation.

    Answer

    validation

  7. 7
    The three initial methods for mapping a network's output decision back to the input were saliency maps, occlusion sensitivity, and class
    _____
    maps.
    Hint

    These maps relate feature activations to a particular class.

    Answer

    activation

  8. 8
    Methods for examining intermediate network behavior included gradient ascent, class model visualization, dataset search, and
    _____
    .
    Hint

    This operation reverses the spatial effect of convolution for visualization or upsampling.

    Answer

    deconvolution

  9. 9
    In a CNN animal classifier with one animal per image, the output layer commonly used for the animal classes is a
    _____
    layer.
    Hint

    This layer converts class scores into a normalized probability distribution.

    Answer

    Softmax

  10. 10
    The output of a Softmax layer is a vector whose probabilities sum to
    _____
    .
    Hint

    Think of the total probability of all mutually exclusive classes.

    Answer

    one

  11. 11
    Before Softmax, class values are unrestricted scores ranging from minus infinity to
    _____
    infinity.
    Hint

    The scores are not probabilities and can be either negative or positive.

    Answer

    plus

  12. 12
    The score used for saliency analysis should be taken from the layer
    _____
    the Softmax operation.
    Hint

    This avoids the competition among classes introduced by probability normalization.

    Answer

    before

  13. 13
    Maximizing a post-Softmax dog probability may increase it by decreasing the scores of
    _____
    animals.
    Hint

    Softmax probabilities depend on all classes in the denominator.

    Answer

    other

  14. 14
    For a dog score, the derivative is backpropagated all the way to the input to determine which input
    _____
    affected that score.
    Hint

    These are the individual spatial elements of an image.

    Answer

    pixels

  15. 15
    The gradient of a class score with respect to the input has the same
    _____
    as the input.
    Hint

    It has matching spatial dimensions and channels.

    Answer

    shape

  16. 16
    Large absolute values in the input gradient indicate pixels that had a large
    _____
    on the selected class score.
    Hint

    The magnitude indicates sensitivity, regardless of whether the effect is positive or negative.

    Answer

    impact

  17. 17
    A saliency map is created by backpropagating the gradient of a selected class score to the input and visualizing the strength of each
    _____
    .
    Hint

    The map shows which image locations most affect the output.

    Answer

    pixel

  18. 18
    A simple threshold applied to a saliency map can sometimes be used to
    _____
    an object.
    Hint

    This means identifying the pixels belonging to the object.

    Answer

    segment

  19. 19
    Saliency maps are useful for quickly visualizing what the network is
    _____
    at.
    Hint

    The method highlights input regions that affect the output.

    Answer

    looking

  20. 20
    Saliency maps are based on the gradient of the class score rather than an edge-detection
    _____
    .
    Hint

    They are derivatives with respect to image pixels.

    Answer

    algorithm

  21. 21
    Compared with newer segmentation methods, saliency-map thresholding was described as not working especially well in
    _____
    .
    Hint

    The method is conceptually possible but has limited practical performance.

    Answer

    practice

  22. 22
    Occlusion sensitivity measures how a class score changes when a gray
    _____
    is moved across an image.
    Hint

    The method hides different regions one at a time.

    Answer

    square

  23. 23
    In occlusion sensitivity, the network's confidence is recorded at each square position to create a probability
    _____
    .
    Hint

    The result is a spatial representation of confidence.

    Answer

    map

  24. 24
    If occluding a region causes the dog probability to decrease substantially, that region likely contains discriminative
    _____
    for recognizing the dog.
    Hint

    Removing this content makes the class harder to identify.

    Answer

    information

  25. 25
    A smaller occluding square produces a more
    _____
    probability map.
    Hint

    Smaller probes localize the important region with finer spatial resolution.

    Answer

    precise

  26. 26
    Occluding an object can sometimes increase the probability of another class when the hidden region removes
    _____
    for the original class.
    Hint

    The removed content may have been confusing the network.

    Answer

    noise

  27. 27
    In the Pomeranian example, covering the dog caused confidence in the Pomeranian class to fall because confidence in a
    _____
    rose.
    Hint

    The dog was holding this object in its mouth.

    Answer

    tennis ball

  28. 28
    Covering the human face in an image could increase the network's confidence that the true class was a
    _____
    .
    Hint

    Removing the face removed evidence for the competing human class.

    Answer

    dog

  29. 29
    Class activation maps demonstrate that CNNs can learn strong localization ability even when trained only with image-level
    _____
    .
    Hint

    These indicate the class of the whole image rather than bounding boxes.

    Answer

    labels

  30. 30
    Flattening the final convolutional volume before fully connected layers destroys most of its spatial
    _____
    .
    Hint

    Flattening removes the arrangement of values across height and width.

    Answer

    information

  31. 31
    Class activation maps replace flattening and fully connected layers before classification with
    _____
    average pooling.
    Hint

    The operation averages each entire feature map into one value.

    Answer

    global

  32. 32
    Global average pooling converts each feature map into one value by taking its spatial
    _____
    .
    Hint

    Every location in one feature map contributes to a single scalar.

    Answer

    average

  33. 33
    A convolutional volume of size four by four by six becomes a vector of
    _____
    values after global average pooling.
    Hint

    The number of output values equals the number of feature maps.

    Answer

    six

  34. 34
    For a particular class, the weights of the final fully connected layer determine how much each feature map
    _____
    the class score.
    Hint

    The weights provide the strength and direction of each feature map's contribution.

    Answer

    influences

  35. 35
    To create a class activation map, the feature maps are combined using the class-specific weights and then
    _____
    to the input-image size.
    Hint

    The map from the final convolutional layer is smaller than the original image.

    Answer

    upsampled

  36. 36
    Class activation maps are class-specific because the final-layer
    _____
    differ from one class to another.
    Hint

    The dog and car outputs use different connections from the feature maps.

    Answer

    weights

  37. 37
    Class activation maps retain spatial information because the locations of the original feature-map activations are still
    _____
    .
    Hint

    Global averaging does not erase the record of where the feature-map values came from.

    Answer

    known

  38. 38
    Gradient ascent class model visualization maximizes a class score while subtracting a
    _____
    term that encourages natural-looking images.
    Hint

    This term prevents the optimization from producing arbitrary extreme patterns.

    Answer

    regularization

  39. 39
    The gradient-ascent visualization process repeatedly forward propagates an image, computes an objective, backpropagates, and updates the image
    _____
    .
    Hint

    The input itself is optimized during this process.

    Answer

    pixels

  40. 40
    L2 regularization in class model visualization discourages extreme differences among individual
    _____
    values.
    Hint

    The regularizer keeps the image values from becoming excessively large or small.

    Answer

    pixel

  41. 41
    Because image pixels are normally stored between zero and 255, gradient-ascent images may need to be
    _____
    to that range.
    Hint

    This operation limits values to an allowed interval.

    Answer

    clipped

  42. 42
    Gaussian
    _____
    was used to reduce high-frequency variation and create smoother gradient-ascent visualizations.
    Hint

    It smooths abrupt changes between neighboring pixels.

    Answer

    blurring

  43. 43
    Gradient ascent can be applied not only to a class score but also to an intermediate
    _____
    .
    Hint

    This reveals what a particular internal unit responds to.

    Answer

    activation

  44. 44
    A more realistic class model visualization does not necessarily imply a more
    _____
    model.
    Hint

    Visual plausibility and predictive performance are different properties.

    Answer

    accurate

  45. 45
    Dataset search identifies the images that produce the
    _____
    activation of a chosen feature map.
    Hint

    The method ranks examples by how strongly they activate a feature.

    Answer

    maximum

  46. 46
    If the top images for a feature map show shirts, that feature map may be detecting
    _____
    .
    Hint

    The repeated visual content across the highly activating examples suggests the feature's role.

    Answer

    shirts

  47. 47
    A feature map that responds to edges is likely to appear
    _____
    in the network than a feature map detecting shirts.
    Hint

    Lower layers generally represent simpler visual patterns.

    Answer

    earlier

  48. 48
    The input region seen by a particular activation is called its
    _____
    field.
    Hint

    It describes the portion of the original image that can influence the activation.

    Answer

    receptive

  49. 49
    The receptive field of an activation generally becomes
    _____
    as the network gets deeper.
    Hint

    Additional convolutional layers combine information from increasingly broad regions.

    Answer

    larger

  50. 50
    The crop shown for a highly activating dataset image corresponds to the part of the image within the activation's receptive
    _____
    .
    Hint

    Only this region could have influenced the selected activation.

    Answer

    field

  51. 51
    The size of an activation's receptive field can be determined from the convolutional filters and the
    _____
    used in the network.
    Hint

    This parameter controls how far the filter moves between positions.

    Answer

    stride

  52. 52
    Deconvolution performs the reverse spatial trend of convolution by increasing height and width while reducing or reorganizing
    _____
    .
    Hint

    Convolutional encoders usually make representations narrower and deeper.

    Answer

    depth

  53. 53
    Deconvolution is useful in segmentation because the output mask must have the same height and width as the original
    _____
    image.
    Hint

    The mask assigns a label to locations in the original image.

    Answer

    pixel

  54. 54
    In deconvolutional visualization, all activations except the selected maximum activation are set to
    _____
    before reconstruction.
    Hint

    This isolates the contribution of one activation.

    Answer

    zero

  55. 55
    The reconstruction reverses the operations of pooling, ReLU, and
    _____
    .
    Hint

    This is the main linear spatial operation being approximately reversed.

    Answer

    convolution

  56. 56
    A one-dimensional convolution can be represented as a matrix multiplied by an input
    _____
    .
    Hint

    The convolution is rewritten as a linear algebra operation.

    Answer

    vector

  57. 57
    For an input size of 12, filter size of 4, padding of 2, and stride of 2, the one-dimensional convolution produces
    _____
    output values.
    Hint

    Use the convolution output-size formula.

    Answer

    five

  58. 58
    In the one-dimensional example, the convolution matrix has shape five by
    _____
    .
    Hint

    Its number of columns matches the length of the input vector.

    Answer

    12

  59. 59
    Under the assumption that the convolution matrix is orthogonal, its inverse is its
    _____
    .
    Hint

    For an orthogonal matrix, multiplying by this operation gives the inverse.

    Answer

    transpose

  60. 60
    In the transposed-matrix view of deconvolution, the reconstruction matrix has shape 12 by
    _____
    .
    Hint

    The dimensions reverse relative to the five-by-twelve convolution matrix.

    Answer

    five

  61. 61
    Sub-pixel convolution inserts
    _____
    between elements of the input vector before applying a convolution.
    Hint

    These inserted values alter the effective spacing and enable upsampling.

    Answer

    zeros

  62. 62
    To implement deconvolution as an ordinary convolution, the filter weights are
    _____
    before convolution.
    Hint

    The order of the filter coefficients is reversed.

    Answer

    flipped

  63. 63
    When deconvolution is implemented through sub-pixel convolution, the stride is divided by
    _____
    compared with the original convolution.
    Hint

    The example changes a stride of two to a stride of one.

    Answer

    two

  64. 64
    Max pooling is not mathematically invertible because it discards all values except the
    _____
    in each pooling region.
    Hint

    Only the largest value is passed forward.

    Answer

    maximum

  65. 65
    During unpooling, stored switch matrices indicate the locations of the
    _____
    values in the pooling regions.
    Hint

    The switches record where the values that survived max pooling occurred.

    Answer

    maximum

  66. 66
    In ReLU backpropagation, gradients associated with negative pre-activation values are set to
    _____
    .
    Hint

    Negative inputs produce no output through ReLU.

    Answer

    zero

  67. 67
    In reconstruction, the ReLU deconvolution approach aims to show which input pixels
    _____
    affected the selected activation.
    Hint

    The method focuses on evidence that supports the activation.

    Answer

    positively

  68. 68
    For visualization, deconvolution can use the existing CNN weights, whereas a segmentation deconvolution network can instead
    _____
    its weights.
    Hint

    Segmentation does not require reusing the encoder's exact filters.

    Answer

    train

  69. 69
    Deep Dream sets the gradient at a chosen dreaming layer equal to that layer's
    _____
    .
    Hint

    The stronger this quantity is, the more it is amplified during the process.

    Answer

    activation

  70. 70
    Repeated Deep Dream updates make already present visual patterns become increasingly
    _____
    .
    Hint

    The process reinforces what the network already detects.

    Answer

    stronger

  71. 71
    Dreaming with lower network layers tends to produce edges and simple
    _____
    rather than whole objects.
    Hint

    Early layers detect basic visual structures.

    Answer

    patterns

  72. 72
    The network may visualize a dumbbell together with a human
    _____
    because training images commonly show dumbbells being used by people.
    Hint

    The visualization includes the body part holding the object.

    Answer

    hand

  73. 73
    Deep Dream can cause multiple animals or objects to appear because the network amplifies patterns it recognizes in the input
    _____
    .
    Hint

    The process modifies the original visual input.

    Answer

    image

  74. 74
    A visualization can reveal dead neurons when some feature maps remain
    _____
    for every input image.
    Hint

    No meaningful activation is being produced.

    Answer

    dark

  75. 75
    Saliency maps, occlusion sensitivity, and class activation maps primarily explain which parts of the
    _____
    caused a particular output.
    Hint

    These methods map output decisions back to the original data.

    Answer

    input

  76. 76
    Dataset search and deconvolution help explain the role of a particular internal neuron or feature
    _____
    .
    Hint

    They investigate representations inside the network rather than only the final output.

    Answer

    layer

  77. 77
    For non-image data such as sentences, an attention model can indicate which part of the
    _____
    was important for an output.
    Hint

    This is the sequence being analyzed in machine translation.

    Answer

    sentence

  78. 78
    Deconvolution is widely used for image
    _____
    and reconstruction.
    Hint

    The task assigns labels to pixels and requires an output with image-sized spatial dimensions.

    Answer

    segmentation

  79. 79
    Visualization methods can help determine whether a network is focusing on the
    _____
    region of an input.
    Hint

    This is the region that is relevant to the true class or task.

    Answer

    right

1 of 79
Question 1 of 79

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent