Interpreting Neural Networks
- 52Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
What is the primary purpose of interpreting a neural network in the context of image classification?
What is the primary purpose of interpreting a neural network in the context of image classification?
52 questions
- 1
What is the primary purpose of interpreting a neural network in the context of image classification?
- A
To determine which parts of the input contributed to the network's decision
- B
To eliminate the need for validation sets and hyperparameter searches
- C
To guarantee that the network will achieve perfect classification accuracy
- D
To replace the training data with automatically generated images
Correct answer
ATo determine which parts of the input contributed to the network's decision
Explanation
Interpretation methods help map a network's output decision back to the input space so that important or discriminative regions can be identified.
- A
- 2
Why is relying only on trial and error for improving neural networks considered scientifically unsatisfactory?
- A
It prevents neural networks from using convolutional layers
- B
It makes image classification impossible for large datasets
- C
It guarantees that validation performance will always decrease
- D
It changes models without necessarily providing a theoretical explanation
Correct answer
DIt changes models without necessarily providing a theoretical explanation
Explanation
Hyperparameter searches and architectural experiments may improve a model, but they do not necessarily explain why the improvement occurred or how the network makes decisions.
- A
- 3
Which question is most directly addressed by saliency maps, occlusion sensitivity, and class activation maps?
- A
Which optimizer produces the fastest neural-network training
- B
Which parts of an input image were important for a particular output
- C
How many classes can be represented by a softmax layer
- D
How many training examples are required for a convolutional layer
Correct answer
BWhich parts of an input image were important for a particular output
Explanation
These methods are designed to connect a network's output to regions of the input that were discriminative for that output.
- A
- 4
Why is the pre-softmax score generally preferred to the post-softmax probability when constructing a saliency map?
- A
The post-softmax probability contains no information about other classes
- B
The pre-softmax score is always constrained between zero and one
- C
The pre-softmax score focuses more directly on the target class
- D
The post-softmax probability cannot be differentiated mathematically
Correct answer
CThe pre-softmax score focuses more directly on the target class
Explanation
A post-softmax probability depends on the scores of all classes. Increasing it can occur partly by decreasing competing scores, whereas the pre-softmax score more directly represents the target class.
- A
- 5
How is a saliency map generated for the score of a target class?
- A
By replacing the target object with a uniformly colored square
- B
By averaging the colors of all pixels in the input image
- C
By backpropagating the target-class gradient to the input pixels
- D
By selecting the largest activation from the final pooling layer
Correct answer
CBy backpropagating the target-class gradient to the input pixels
Explanation
The derivative of the target-class score is backpropagated to the input, producing a matrix with the same spatial shape as the input.
- A
- 6
What does a large absolute value in a saliency map indicate?
- A
The corresponding pixel had the highest color intensity in the image
- B
The corresponding input pixel strongly affected the target-class score
- C
The pixel was necessarily part of the object's external boundary
- D
The corresponding pixel was guaranteed to be classified correctly
Correct answer
BThe corresponding input pixel strongly affected the target-class score
Explanation
Large absolute derivative values indicate that changing those input pixels would have a substantial effect on the target-class score.
- A
- 7
Why can thresholding a saliency map sometimes provide a rough object segmentation?
- A
Pixels near the relevant object may have especially strong gradient values
- B
Saliency maps explicitly contain ground-truth segmentation boundaries
- C
Thresholding converts every image into a correctly labeled binary mask
- D
Thresholding removes all background pixels before the network processes them
Correct answer
APixels near the relevant object may have especially strong gradient values
Explanation
If pixels belonging to an object strongly influence the target score, thresholding their saliency values can approximately indicate the object's location, although this is not usually the best segmentation method.
- A
- 8
What is the central operation in occlusion sensitivity analysis?
- A
Removing the final classifier and inspecting the remaining feature maps
- B
Replacing every convolutional filter with a randomly initialized filter
- C
Systematically covering regions of the input and measuring the output change
- D
Increasing the brightness of every pixel and measuring training loss
Correct answer
CSystematically covering regions of the input and measuring the output change
Explanation
Occlusion sensitivity places a gray or otherwise neutral patch at different locations, forwards each modified image, and records how the target-class confidence changes.
- A
- 9
In an occlusion-sensitivity map for a target class, what does a blue region generally represent?
- A
The network classified the covered region independently as background
- B
The covered region had the highest pixel intensity in the image
- C
The target-class confidence decreased when that region was covered
- D
The target-class confidence increased when that region was covered
Correct answer
CThe target-class confidence decreased when that region was covered
Explanation
A blue region indicates that occluding that location reduced confidence in the target class, suggesting that the covered content was important for the prediction.
- A
- 10
How does the size of the occluding square affect the resulting probability map?
- A
A larger square guarantees that only the object boundary is detected
- B
A smaller square always produces a less informative probability map
- C
The square size has no effect on the spatial precision of the map
- D
A smaller square generally produces a more spatially precise map
Correct answer
DA smaller square generally produces a more spatially precise map
Explanation
Smaller occlusion patches localize the effect more precisely because each measurement covers a smaller portion of the image.
- A
- 11
Why can occluding part of an image sometimes increase the probability of a class?
- A
The occluded region may contain visual evidence favoring a competing class
- B
Occlusion always increases the amount of information available to the network
- C
The softmax layer automatically changes the true label after occlusion
- D
The network ignores all pixels that are not covered by the patch
Correct answer
AThe occluded region may contain visual evidence favoring a competing class
Explanation
Removing evidence for another class can make the target class relatively more likely, so occlusion does not always reduce the target probability.
- A
- 12
What is the main architectural change used in a class activation map approach?
- A
Adding a separate object-detection network before the classifier
- B
Replacing flattening and fully connected layers with global average pooling followed by a classifier
- C
Replacing every convolutional layer with a recurrent layer
- D
Removing the softmax layer and using only the last convolutional feature map
Correct answer
BReplacing flattening and fully connected layers with global average pooling followed by a classifier
Explanation
Class activation maps preserve a connection between the final convolutional feature maps and the class scores by using global average pooling and a final classifier.
- A
- 13
What does global average pooling do to a feature map?
- A
It selects the largest activation across all feature maps and discards the rest
- B
It averages all spatial locations of each feature map into one value
- C
It converts every feature map into a binary image using a threshold
- D
It increases the height and width of each feature map by interpolation
Correct answer
BIt averages all spatial locations of each feature map into one value
Explanation
Global average pooling reduces each feature map to one scalar by averaging its spatial values. Thus, a volume such as 4imes4imes6 becomes a vector of six values.
- A
- 14
Why does flattening followed by fully connected layers make localization difficult?
- A
Flattening forces all classes to share exactly the same weights
- B
Fully connected layers can process only grayscale images
- C
Flattening discards the explicit spatial arrangement of activations
- D
Flattening prevents the network from learning any visual features
Correct answer
CFlattening discards the explicit spatial arrangement of activations
Explanation
Flattening removes the spatial organization of the convolutional volume, making it difficult to determine where an activation originated in the input.
- A
- 15
How is a class activation map constructed from the final convolutional feature maps?
- A
Each feature map is weighted by its class-specific classifier weight, the maps are summed, and the result is upsampled
- B
The feature maps are concatenated, thresholded, and replaced with the original image
- C
Only the feature map with the largest average activation is retained and copied to the input
- D
The input is occluded repeatedly until the class probability reaches its maximum
Correct answer
AEach feature map is weighted by its class-specific classifier weight, the maps are summed, and the result is upsampled
Explanation
The classifier weights indicate how much each feature map contributes to a class. A weighted sum produces a class-specific map, which is then upsampled to the input-image resolution.
- A
- 16
Why is a class activation map specific to a particular class?
- A
Global average pooling produces a different number of values for each class
- B
Each class is processed by a completely separate convolutional network
- C
The input image is resized differently for every possible class
- D
Different classes use different classifier weights for the same feature maps
Correct answer
DDifferent classes use different classifier weights for the same feature maps
Explanation
The weighted combination of feature maps depends on the weights connecting those maps to the chosen class, so changing the class changes the resulting map.
- A
- 17
Why does global average pooling not necessarily eliminate all localization information in class activation maps?
- A
The spatial contributions can be reorganized through the known feature-map locations
- B
Global average pooling secretly preserves the entire original image as metadata
- C
The softmax layer reconstructs spatial information from the class probabilities
- D
The classifier learns a separate input coordinate for every individual pixel
Correct answer
AThe spatial contributions can be reorganized through the known feature-map locations
Explanation
Although each feature map is averaged, the locations of its activations are still known. The weighted sums can therefore be interpreted at each spatial position before upsampling.
- A
- 18
What is a key limitation of class activation maps compared with saliency maps?
- A
Class activation maps use feature maps from a late layer rather than gradients directly at the pixels
- B
Class activation maps cannot be associated with any output class
- C
Class activation maps require the image to contain exactly one object
- D
Class activation maps work only when the network has no convolutional layers
Correct answer
AClass activation maps use feature maps from a late layer rather than gradients directly at the pixels
Explanation
Saliency maps backpropagate gradients directly to the input pixels, whereas class activation maps use a weighted combination of late convolutional feature maps and upsample the result.
- A
- 19
What objective is optimized during gradient-ascent class model visualization?
- A
The validation accuracy, without changing any input pixels
- B
The number of convolutional filters, while keeping the input fixed
- C
A target class score, often combined with a regularization term
- D
The average probability of all classes, while minimizing the target score
Correct answer
CA target class score, often combined with a regularization term
Explanation
Gradient ascent iteratively modifies an input to maximize a chosen class score, usually with regularization encouraging the result to remain visually meaningful.
- A
- 20
How does gradient-ascent visualization differ from a saliency map?
- A
Gradient ascent iteratively changes the input to maximize an objective, whereas saliency maps usually visualize a gradient for a given input
- B
Gradient ascent requires occluding patches, whereas saliency maps require global average pooling
- C
Gradient ascent removes the classifier, whereas saliency maps remove the convolutional layers
- D
Gradient ascent uses only post-softmax probabilities, whereas saliency maps use only training labels
Correct answer
AGradient ascent iteratively changes the input to maximize an objective, whereas saliency maps usually visualize a gradient for a given input
Explanation
A saliency map describes sensitivity around an existing input. Gradient ascent repeatedly updates the pixels to synthesize an input that maximizes a class score or activation.
- A
- 21
What does L2 regularization contribute to class model visualization?
- A
It discourages extreme pixel values in the synthesized image
- B
It guarantees that every pixel will be assigned a ground-truth label
- C
It forces the synthesized image to contain the exact training examples
- D
It removes the need to constrain the image to a valid pixel range
Correct answer
AIt discourages extreme pixel values in the synthesized image
Explanation
L2 regularization discourages extreme values and encourages pixel values to remain more balanced. It does not by itself guarantee realistic images or enforce the usual pixel range.
- A
- 22
Why might pixel clipping be used during gradient-ascent visualization?
- A
Clipping allows the network to use more than one class label per image
- B
Gradient updates can move pixel values outside the usual image range
- C
Clipping converts the model into an object-detection network
- D
Gradient ascent cannot operate unless all pixels are initially zero
Correct answer
BGradient updates can move pixel values outside the usual image range
Explanation
Gradient ascent can produce values beyond the range normally used to store images, such as 0 through 255, so clipping can keep the result within a valid range.
- A
- 23
What is the purpose of Gaussian blurring during class model visualization?
- A
It replaces gradient ascent with a single forward pass through the network
- B
It guarantees that the synthesized image matches a training image exactly
- C
It increases high-frequency noise so that every feature becomes visible
- D
It reduces distracting high-frequency pixel variation and encourages smoother images
Correct answer
DIt reduces distracting high-frequency pixel variation and encourages smoother images
Explanation
Gaussian blurring acts as a regularizer by discouraging rapid pixel-to-pixel changes that are often unhelpful for interpreting the visualized feature.
- A
- 24
What can be visualized by applying gradient ascent to an intermediate activation rather than to a final class score?
- A
The exact ground-truth segmentation mask used during training
- B
The type of input pattern that causes that intermediate activation to fire
- C
The learning rate that was used for the final classifier
- D
The number of classes that were absent from the training dataset
Correct answer
BThe type of input pattern that causes that intermediate activation to fire
Explanation
Selecting an intermediate activation as the objective and maximizing it reveals what visual pattern that unit or layer responds to.
- A
- 25
What does dataset search do to interpret an intermediate feature map?
- A
It searches only for images that were misclassified by the network
- B
It generates new images by randomly changing all classifier weights
- C
It replaces the feature map with a histogram of the input colors
- D
It finds dataset images that produce the largest activations for that feature map
Correct answer
DIt finds dataset images that produce the largest activations for that feature map
Explanation
Dataset search forwards many examples through the network and retrieves the examples with the highest activation for a selected feature map.
- A
- 26
If the top activating images for a feature map mostly show shirts, what is a reasonable interpretation?
- A
The network was explicitly trained with a shirt detector at that layer
- B
The feature map may respond to visual patterns associated with shirts
- C
The feature map must represent the final shirt class exactly
- D
The feature map cannot respond to any other object or visual pattern
Correct answer
BThe feature map may respond to visual patterns associated with shirts
Explanation
Top activating examples provide evidence about what a feature map detects, but they do not prove that the feature map corresponds exclusively to one semantic class.
- A
- 27
Why are top-activating images often shown as crops rather than as full images?
- A
The network stores only the colors of the highest-activating pixels
- B
An activation may depend only on a limited receptive field of the input
- C
Full images would prevent the softmax layer from producing probabilities
- D
Cropping is required because convolutional networks cannot process full images
Correct answer
BAn activation may depend only on a limited receptive field of the input
Explanation
A particular activation often sees only a subregion of the input. Mapping its location back through filter sizes and strides identifies the corresponding crop.
- A
- 28
How does receptive-field size generally change with network depth?
- A
Receptive-field size remains exactly one pixel at every layer
- B
Only the number of channels changes, while the spatial field never changes
- C
Deeper activations generally depend on fewer input pixels than earlier activations
- D
Deeper activations generally depend on larger regions of the original input
Correct answer
DDeeper activations generally depend on larger regions of the original input
Explanation
Each additional convolutional operation combines information from previous locations, so deeper activations usually see a larger portion of the original image.
- A
- 29
What is the broad role of a deconvolutional network in the contexts described?
- A
It replaces all nonlinear activation functions with linear functions
- B
It increases spatial dimensions to reconstruct or upsample representations
- C
It reduces spatial dimensions while increasing the number of feature channels
- D
It converts all intermediate activations directly into class probabilities
Correct answer
BIt increases spatial dimensions to reconstruct or upsample representations
Explanation
Convolutional networks commonly encode information into smaller spatial volumes, while deconvolutional networks can upsample those representations for visualization or segmentation.
- A
- 30
Why are deconvolutional operations useful for image segmentation?
- A
They remove the need for convolutional feature extraction
- B
They can upsample encoded features to the spatial resolution of a segmentation mask
- C
They ensure that every image contains only one segmented object
- D
They convert segmentation masks into class probability vectors
Correct answer
BThey can upsample encoded features to the spatial resolution of a segmentation mask
Explanation
An encoder reduces height and width while extracting meaningful features. A decoder or deconvolutional network can restore the spatial resolution needed for a pixel-level mask.
- A
- 31
In the one-dimensional example, what is the output length for an input of length 12, filter size 4, stride 2, and padding 2?
- A
7
- B
5
- C
6
- D
8
Correct answer
B5
Explanation
Using the convolution output-size formula gives n_y = rac{12 - 4 + 2(2)}{2} + 1 = 5.
- A
- 32
How can a one-dimensional convolution be represented mathematically in the lecture's formulation?
- A
As a softmax transformation applied independently to each pixel
- B
As a lookup operation that selects one input value per output
- C
As multiplication of a structured matrix by an input vector
- D
As division of the input vector by the filter length
Correct answer
CAs multiplication of a structured matrix by an input vector
Explanation
The convolution can be written as a matrix-vector product, where the matrix contains shifted copies of the filter weights and zeros determined by padding and stride.
- A
- 33
Why does the matrix representing a strided convolution contain shifted copies of the filter weights?
- A
The shift encodes the softmax probability of the target class
- B
Each output uses the same filter at a different input position
- C
Each output uses a newly learned filter unrelated to the previous output
- D
The filter weights are shifted only to increase the number of channels
Correct answer
BEach output uses the same filter at a different input position
Explanation
A convolution applies shared weights repeatedly as its window moves across the input. The matrix representation captures this by placing shifted copies of the filter in successive rows.
- A
- 34
Under what assumption can the convolution matrix be inverted to reconstruct an input?
- A
The convolution matrix must be followed by a softmax layer
- B
The convolution matrix must contain only zeros and have no overlapping windows
- C
The convolution matrix must be invertible, with orthogonality providing a useful special case
- D
The convolution matrix must use a stride larger than the input length
Correct answer
CThe convolution matrix must be invertible, with orthogonality providing a useful special case
Explanation
Exact inversion requires an invertible matrix. The lecture uses orthogonality as a stronger simplifying assumption, for which the inverse is the transpose.
- A
- 35
For an orthogonal matrix W, which relationship is used in the deconvolution intuition?
- A
W−1=W2
- B
W−1=WT
- C
W−1=W
- D
W−1=0
Correct answer
BW−1=WT
Explanation
For an orthogonal matrix, the transpose is its inverse, so reconstruction can be approximated using WT applied to the output.
- A
- 36
Why is the reconstruction obtained from a deconvolution visualization not necessarily exact?
- A
The learned convolution matrix is not always truly orthogonal or invertible
- B
The transpose of a matrix can never be used in a reconstruction
- C
Max pooling preserves every value needed for exact inversion
- D
The input image is always discarded before the convolution is applied
Correct answer
AThe learned convolution matrix is not always truly orthogonal or invertible
Explanation
The orthogonality and invertibility assumptions are often approximations. Consequently, the reconstructed image is useful for interpretation but may not equal the original input exactly.
- A
- 37
Which operations characterize the sub-pixel implementation of the one-dimensional deconvolution described?
- A
Apply softmax, reverse the labels, and reduce the number of classes
- B
Insert zeros, use flipped weights, and reduce the stride
- C
Remove zeros, use unchanged weights, and increase the stride
- D
Average all outputs, discard the weights, and preserve the original stride
Correct answer
BInsert zeros, use flipped weights, and reduce the stride
Explanation
The sub-pixel formulation inserts zeros between output values, flips the filter weights, and uses a smaller stride so that the operation can be implemented similarly to a convolution.
- A
- 38
How does a two-dimensional deconvolution differ from a standard forward convolution in the described intuition?
- A
It converts every spatial location into a single class probability
- B
It applies a new filter independently to every original input pixel without overlap
- C
It removes all padding and keeps only the maximum value in each region
- D
It applies the flipped filter with a smaller stride to an expanded or zero-inserted representation
Correct answer
DIt applies the flipped filter with a smaller stride to an expanded or zero-inserted representation
Explanation
The two-dimensional operation uses a flipped filter, a reduced stride, and overlapping applications to produce a spatially larger reconstruction.
- A
- 39
Why are pooling switches needed when approximating the inverse of max pooling?
- A
They store every discarded value so that max pooling becomes exactly invertible
- B
They record the locations of the values that won each max-pooling region
- C
They increase the spatial size of the feature map before pooling
- D
They determine which class receives the largest softmax probability
Correct answer
BThey record the locations of the values that won each max-pooling region
Explanation
A switch matrix records where each maximum occurred. During unpooling, the pooled value can be placed at that location, while the discarded values are approximated as zero.
- A
- 40
Why is max pooling not mathematically invertible from its output alone?
- A
The nonmaximum values in each pooling region are discarded
- B
The maximum value is replaced by a random value during the forward pass
- C
Max pooling changes class labels rather than numerical activations
- D
The output contains more spatial information than the input
Correct answer
AThe nonmaximum values in each pooling region are discarded
Explanation
Only the maximum from each region is retained, so the original nonmaximum values cannot be recovered from the pooled output alone.
- A
- 41
During ordinary backpropagation through ReLU, what happens to the gradient associated with a negative input that was mapped to zero?
- A
Its gradient is passed unchanged regardless of the input sign
- B
Its gradient is set to zero
- C
Its gradient is replaced by the largest positive gradient
- D
Its gradient is multiplied by the original negative input
Correct answer
BIts gradient is set to zero
Explanation
A negative input does not influence the forward ReLU output, so its gradient is blocked during ordinary backpropagation.
- A
- 42
Why can a deconvolutional visualization use a modified ReLU treatment rather than ordinary ReLU backpropagation?
- A
The goal is to reconstruct positively contributing patterns with limited dependence on the forward pass
- B
The modified treatment guarantees exact inversion of every convolutional layer
- C
The goal is to maximize the softmax probability of every class simultaneously
- D
The modified treatment is required because ReLU has no derivative at any input
Correct answer
AThe goal is to reconstruct positively contributing patterns with limited dependence on the forward pass
Explanation
The visualization procedure is designed to highlight inputs that positively support a selected activation and to reduce unwanted dependence on the original forward-pass details. It is a practical visualization heuristic rather than a guaranteed exact inverse.
- A
- 43
What kinds of features tend to appear in visualizations of increasingly deep convolutional layers?
- A
Earlier layers often show edges, while deeper layers can show more complex patterns such as faces or objects
- B
All layers show identical features because convolution preserves semantic complexity
- C
Deeper layers show only random noise because pooling removes all meaningful information
- D
Earlier layers show complete objects, while deeper layers show only individual pixel intensities
Correct answer
AEarlier layers often show edges, while deeper layers can show more complex patterns such as faces or objects
Explanation
The lecture describes a progression from simple edge-like patterns in early layers to more complex and abstract structures in deeper layers.
- A
- 44
What did intermediate-layer visualizations demonstrate about features such as faces, wrinkles, and text?
- A
Networks can learn such features even when those features were not explicit training labels
- B
These features are inserted manually by the visualization toolbox
- C
Networks can learn them only when each feature has its own output class
- D
Intermediate layers cannot represent semantic patterns without segmentation labels
Correct answer
ANetworks can learn such features even when those features were not explicit training labels
Explanation
Although training labels were provided only for final categories, intermediate features such as faces, clothing wrinkles, and printed text can emerge because they help support final classification decisions.
- A
- 45
What does Deep Dream do at a selected network layer?
- A
It averages all feature maps and removes their class-specific information
- B
It replaces the selected layer with a random classifier and retrains the whole network
- C
It sets the gradient at that layer to its activation and backpropagates to amplify detected patterns
- D
It occludes every region of the image and records only the lowest class probability
Correct answer
CIt sets the gradient at that layer to its activation and backpropagates to amplify detected patterns
Explanation
Deep Dream forwards an image, uses the activations at a selected layer as the gradient signal, backpropagates to the input, and repeatedly updates the pixels so that existing activations become stronger.
- A
- 46
Why can Deep Dream produce repeated animals or other exaggerated patterns?
- A
It forces every layer to detect the same object regardless of its learned filters
- B
It inserts random animal labels into every image during softmax normalization
- C
It replaces all image pixels with examples copied directly from the training set
- D
It amplifies patterns that the network already detects, even when they are only weakly present
Correct answer
DIt amplifies patterns that the network already detects, even when they are only weakly present
Explanation
A weak resemblance to a learned feature can be amplified through repeated gradient updates, causing recognizable patterns such as animals to emerge and repeat.
- A
- 47
What kind of patterns would generally appear when Deep Dream optimizes a lower network layer?
- A
Simple edges and textures rather than highly abstract objects
- B
No visible patterns because lower layers have no activations
- C
The exact class labels used during the original training process
- D
Only complete scenes containing several recognized animals
Correct answer
ASimple edges and textures rather than highly abstract objects
Explanation
Lower layers typically detect simpler features such as edges and local textures, so optimizing them tends to produce those patterns rather than complex object concepts.
- A
- 48
What does a dumbbell visualization suggest if the synthesized image contains a hand as well as a dumbbell?
- A
The network may associate dumbbells with hands because its training examples usually showed them together
- B
The network has learned that hands and dumbbells are identical object categories
- C
The network was explicitly given a hand label whenever it was trained on a dumbbell
- D
The visualization must be incorrect because a dumbbell can never appear with a hand
Correct answer
AThe network may associate dumbbells with hands because its training examples usually showed them together
Explanation
If training images labeled as dumbbells commonly include people holding them, the network may use the hand as part of its learned representation of a dumbbell.
- A
- 49
Which interpretation method is especially useful for identifying where a network focuses in a specific input image?
- A
Only the initial random weights of the convolutional filters
- B
Only the total number of neurons in the final fully connected layer
- C
Only the validation accuracy measured over the entire dataset
- D
Occlusion sensitivity, saliency maps, or class activation maps
Correct answer
DOcclusion sensitivity, saliency maps, or class activation maps
Explanation
Occlusion sensitivity, saliency maps, and class activation maps are all presented as methods for mapping an output decision back to important input regions.
- A
- 50
Which approach is especially suited to understanding what a particular intermediate neuron or feature layer responds to?
- A
Changing the class labels without forwarding any images
- B
Removing all intermediate layers before evaluating the model
- C
Deconvolution, dataset search, or gradient-ascent visualization
- D
Measuring only the final softmax sum across all classes
Correct answer
CDeconvolution, dataset search, or gradient-ascent visualization
Explanation
Deconvolution reconstructs the input pattern associated with an activation, dataset search finds examples that activate it, and gradient ascent synthesizes an input that maximizes it.
- A
- 51
What can visualization reveal about a potentially dead feature map?
- A
A feature map that remains dark for many inputs may never be detecting useful patterns
- B
A feature map that remains dark is necessarily the most accurate feature in the network
- C
A dark feature map proves that the input dataset contains no images
- D
A dark feature map means the softmax probabilities must all be equal
Correct answer
AA feature map that remains dark for many inputs may never be detecting useful patterns
Explanation
If a feature map is consistently inactive across inputs, its generating feature may not be responding to anything useful and may not be receiving effective learning signals.
- A
- 52
Which statement correctly compares visualization use in segmentation and visualization-only reconstruction?
- A
Visualization reconstruction requires new labels, whereas segmentation requires no trainable parameters
- B
Segmentation never uses upsampling, whereas visualization reconstruction always uses only max pooling
- C
Both procedures must use exactly the same weights and assumptions in every case
- D
Segmentation can train decoder weights, whereas visualization reconstruction may reuse transposed existing weights
Correct answer
DSegmentation can train decoder weights, whereas visualization reconstruction may reuse transposed existing weights
Explanation
For segmentation, deconvolutional or decoder layers can be trained directly. For visualization, the goal is often to reuse the already learned convolutional weights to reconstruct an activation without retraining a decoder.
- A

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