Visualizing Convolutional Networks
- 83Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
83 questions
- 1In semantic segmentation, the goal is to assign a label to every_____in the input image.
Hint
Think about the smallest spatial unit that receives a category label.
Answer
pixel
Explanation
Semantic segmentation labels every pixel but does not distinguish separate instances of the same object category.
- 2Unlike instance segmentation, semantic segmentation does not distinguish separate object_____.
Hint
Consider whether two objects of the same category receive separate identities.
Answer
instances
Explanation
Semantic segmentation labels pixels by category, whereas instance segmentation distinguishes individual objects.
- 3In classification plus localization, the system predicts a class label and draws one or more_____around the objects.
Hint
These geometric regions indicate where objects appear.
Answer
boxes
Explanation
Classification plus localization combines a class prediction with spatial localization, often using bounding boxes.
- 4Classification plus localization assumes a fixed number of objects to look for, while object detection handles an_____number of instances.
Hint
The number is not specified in advance.
Answer
unknown
Explanation
Object detection must find every relevant instance without knowing beforehand how many will appear.
- 5For pose recognition, a model may_____the locations of joints in the human body.
Hint
This means predicting numerical values rather than assigning categories.
Answer
regress
Explanation
Pose recognition can be treated as predicting the coordinates of body joints.
- 6Object detection begins with a fixed set of category labels, such as dogs and cats, and locates every relevant_____.
Hint
It finds each individual occurrence of a category in the image.
Answer
instance
Explanation
Object detection predicts bounding boxes for each occurrence of the categories of interest.
- 7The RCNN family includes RCNN, Fast RCNN, and_____RCNN.
Hint
It is the later method in this sequence of region-based detectors.
Answer
faster
Explanation
RCNN, Fast RCNN, and Faster RCNN are related approaches to object detection.
- 8Single shot detection methods address the problem of_____detection.
Hint
The task locates individual objects and their categories.
Answer
object
Explanation
Single shot detection is another family of methods used for object detection.
- 9Instance segmentation combines object detection with pixel-level labeling for each detected_____.
Hint
The model must identify individual objects and mark their pixels.
Answer
instance
Explanation
Instance segmentation detects objects and labels the pixels belonging to each individual object.
- 10Visualizing convolutional networks helps address the criticism that they are complex_____models.
Hint
The criticism is that their internal reasoning is difficult for people to inspect.
Answer
black box
Explanation
Interpretability methods aim to help people understand why a complex network makes particular predictions.
- 11A first convolutional layer in AlexNet has filters with three input channels and spatial dimensions of 11 by 11, so each filter has shape_____by 11 by 11.
Hint
The input image provides red, green, and blue channels.
Answer
3
Explanation
The first AlexNet filters have shape 3 by 11 by 11, corresponding to three color channels and an 11-by-11 spatial region.
- 12AlexNet uses_____filters in its first convolutional layer.
Hint
This is the number of distinct learned filters in that layer.
Answer
64
Explanation
The first convolutional layer of AlexNet contains 64 filters.
- 13A convolutional filter produces an activation by taking an inner product between its weights and a local image_____.
Hint
The filter is compared with a small region of the input.
Answer
chunk
Explanation
At the first layer, a filter slides across the image and takes inner products with local chunks of pixels.
- 14Visualizing a first-layer filter as an image can reveal what it detects because an inner product is largest when the input resembles the filter under a norm_____.
Hint
The matching intuition assumes a restriction on the size of the input vector.
Answer
constraint
Explanation
With a norm constraint, the input that maximizes the inner product aligns with the template represented by the filter weights.
- 15First-layer convolutional filters commonly detect oriented edges and_____colors.
Hint
Examples include pairs such as orange and blue or green and pink.
Answer
opposing
Explanation
Visualized early filters often contain oriented light-dark edges and patterns of opposing colors.
- 16The edge-detecting behavior of early ConvNet layers resembles early processing in the human visual system described by Hubel and_____.
Hint
Their work on visual processing was discussed in connection with oriented edges.
Answer
Wiesel
Explanation
Early ConvNet filters often resemble the oriented-edge detectors associated with early stages of the human visual system.
- 17Visualizing intermediate-layer filter weights directly is less interpretable because those filters operate on earlier-layer_____rather than directly on image pixels.
Hint
These are the values produced by preceding network layers.
Answer
activations
Explanation
A middle-layer filter responds to patterns in earlier feature maps, whose relationship to raw pixels is not directly visible.
- 18Intermediate convolutional filters span the full depth of their input, so a filter receiving 16 channels has depth_____.
Hint
The filter must extend across every input channel.
Answer
16
Explanation
A convolutional filter covers the full depth of its input volume; with 16 input channels, its depth is 16.
- 19Filter visualizations often rescale weights to a convenient range such as zero to 255, so they should not be interpreted as showing the weights'_____values.
Hint
The actual weights need not lie in the displayed image range.
Answer
unbounded
Explanation
Weights may have any numerical range; scaling them for display changes their apparent values.
- 20A visualization of filter weights that ignores layer_____leaves out another part of the layer's computation.
Hint
These are additive parameters not represented by the displayed filter weights.
Answer
biases
Explanation
Weight visualizations do not include the layer biases, so they are not a complete depiction of the computation.
- 21In AlexNet, the feature representation immediately before the final class-scoring layer can have_____dimensions.
Hint
This is the size of a fully connected representation discussed for AlexNet.
Answer
4096
Explanation
AlexNet can represent an image with a 4096-dimensional vector in a fully connected layer before predicting class scores.
- 22Nearest neighbors in raw pixel space tend to have visually similar_____even when their semantic categories differ.
Hint
This comparison uses the image values directly, without learned representations.
Answer
pixels
Explanation
Pixel-space nearest neighbors often look similar in low-level appearance, but may not share the same semantic meaning.
- 23Nearest neighbors in a ConvNet feature space can be semantically similar even when their raw_____differ substantially.
Hint
An elephant can be nearby in feature space despite appearing on the opposite side of an image.
Answer
pixels
Explanation
Learned features can place images with similar semantic content close together despite large pixel-level differences.
- 24Ordinary supervised classification does not explicitly train the final hidden-layer features to be close under a_____metric.
Hint
The training objective described does not directly constrain pairwise closeness.
Answer
distance
Explanation
Similar feature-space neighbors can emerge as a byproduct of classification training, even without an explicit metric objective.
- 25Contrastive loss and_____loss can explicitly encourage learned features to have a metric-space interpretation.
Hint
This objective compares an anchor with positive and negative examples.
Answer
triplet
Explanation
Contrastive loss and triplet loss can impose constraints that shape distances between learned representations.
- 26Principal Component Analysis compresses high-dimensional features by projecting them onto directions of greatest_____.
Hint
These directions capture the largest spread in the data.
Answer
variance
Explanation
PCA performs dimensionality reduction using directions that account for variation in the data.
- 27The nonlinear dimensionality-reduction method used to visualize clusters of learned features is called_____.
Hint
Its full name is t-distributed stochastic neighbor embeddings.
Answer
t-SNE
Explanation
t-SNE maps high-dimensional representations into a lower-dimensional space for visualization.
- 28When t-SNE is applied to raw handwritten-digit pixels, it can reveal natural clusters corresponding to the different_____.
Hint
The dataset contains handwritten examples from zero through nine.
Answer
digits
Explanation
The two-dimensional visualization can group images according to their digit identity.
- 29In a t-SNE feature-space grid visualization, the displayed thumbnails are original images placed at coordinates computed from their reduced_____.
Hint
The coordinates come from applying dimensionality reduction to network representations.
Answer
features
Explanation
The image pixels are displayed at locations determined by the two-dimensional t-SNE embedding of their feature vectors.
- 30Because t-SNE is nonlinear, the proportion of variance explained by its two-dimensional layout is not as straightforward to interpret as it is for_____.
Hint
This linear dimensionality-reduction method has a familiar variance-based interpretation.
Answer
PCA
Explanation
Variance explained is a natural summary for PCA, but is not as direct for nonlinear t-SNE.
- 31Visualizing convolutional_____maps can reveal which spatial locations and patterns activate within an intermediate layer.
Hint
These maps show the outputs produced by a layer for a particular input.
Answer
activation
Explanation
Intermediate activation maps can be more interpretable than the corresponding filter weights.
- 32For an AlexNet image, the conv5 representation described in the lecture has 128 channels, each with a spatial map of 13 by_____.
Hint
Each channel is a square grid.
Answer
13
Explanation
The conv5 feature volume is 128 by 13 by 13, giving 128 spatial activation maps.
- 33A scalar activation at one spatial location in a feature map is sometimes called a_____, though all locations in a convolutional channel share filter weights.
Hint
It is a single value within the activation map.
Answer
neuron
Explanation
A neuron can refer to one scalar activation, while convolutional locations in the same channel use shared weights.
- 34A ReLU activation that is zero for one input is not necessarily a dead ReLU; dead usually means it is inactive across the entire_____data set.
Hint
The stronger term refers to behavior over all examples used for learning.
Answer
training
Explanation
A zero response on one image does not establish that a ReLU is dead; dead ReLUs are inactive over the training data set.
- 35To find maximally activating patches for a convolutional feature, one can rank image regions by the feature's_____over many images.
Hint
The regions are selected where the feature responds most strongly.
Answer
activation
Explanation
The procedure records feature responses over many images and selects the input patches associated with the strongest responses.
- 36Because higher network layers have larger receptive fields, their maximally activating patches tend to cover_____regions of the input.
Hint
Each unit can depend on a wider area of the original image.
Answer
larger
Explanation
As receptive fields grow in higher layers, the units respond to larger input patches and often more complex structures.
- 37In an occlusion experiment, a region of an input image is replaced with the dataset's_____pixel value before the image is passed through the network.
Hint
This value represents an average over the data.
Answer
mean
Explanation
The occlusion method masks a patch by replacing it with the mean pixel value, then measures the change in the network's prediction.
- 38If occluding a region causes the predicted class probability to change greatly, that region was likely_____to the classification decision.
Hint
The network's prediction depends strongly on that part of the image.
Answer
important
Explanation
A large change in score after masking a region suggests the region contributed to the decision.
- 39A saliency map can be computed as the gradient of a predicted class score with respect to the input image_____.
Hint
The derivatives indicate how changing each input value affects the score.
Answer
pixels
Explanation
The gradient measures the first-order sensitivity of a class score to changes in image pixels.
- 40A saliency map highlights pixels whose small changes would affect the class score, providing a first-order sensitivity_____.
Hint
It describes a local estimate of how the score responds to small input changes.
Answer
approximation
Explanation
The gradient gives a first-order approximation of how the classification score changes when pixels are perturbed.
- 41Combining a saliency map with GrabCut can sometimes produce a segmentation, but this approach is more_____than a model trained with segmentation supervision.
Hint
It may fail more often than a directly supervised segmentation model.
Answer
brittle
Explanation
The method can work, but is brittle and generally performs worse than a network trained explicitly for segmentation.
- 42Guided backpropagation modifies backpropagation through ReLUs by passing only_____gradients.
Hint
The method discards gradients of the opposite sign.
Answer
positive
Explanation
Guided backpropagation propagates positive gradients through ReLUs and blocks negative gradients.
- 43Guided backpropagation can be used to identify which input pixels influence an_____neuron, not only a final class score.
Hint
The target lies inside the network rather than at its output.
Answer
intermediate
Explanation
One can differentiate an intermediate activation with respect to the image to identify its influential pixels.
- 44In image synthesis by gradient ascent, the trained network weights remain fixed while the_____are updated.
Hint
Optimization changes the candidate input rather than retraining the model.
Answer
image pixels
Explanation
The method optimizes an input image to increase a selected neuron activation or class score while keeping network weights fixed.
- 45A regularizer in image synthesis encourages generated images to resemble_____images rather than exploiting network quirks.
Hint
These are images with statistics commonly found in the real world.
Answer
natural
Explanation
Regularization helps prevent optimized pixels from becoming unnatural patterns that merely maximize a score.
- 46A basic image-synthesis procedure initializes an image, computes a target activation, backpropagates its gradient to the pixels, and repeatedly takes gradient_____steps.
Hint
The updates increase the selected score rather than minimize it.
Answer
ascent
Explanation
Gradient ascent iteratively updates the image pixels in the direction that increases the chosen activation or class score.
- 47An early, simple image regularizer penalizes the generated image's_____norm.
Hint
It is a norm-based penalty used to constrain pixel values.
Answer
L2
Explanation
The L2 norm was an early regularizer for image synthesis, although it does not by itself impose strong semantic realism.
- 48Without an image regularizer, optimization may produce noise that scores highly but does not look like a recognizable_____.
Hint
The output can exploit model behavior without resembling a natural scene.
Answer
image
Explanation
An unconstrained optimized input can maximize a class score while appearing as random noise.
- 49Periodic Gaussian blurring and clipping small or low-gradient pixel values are examples of additional image_____used to improve synthesis.
Hint
They constrain the generated image toward smoother, cleaner results.
Answer
regularizers
Explanation
These operations act as projections or constraints that encourage properties such as spatial smoothness.
- 50A class can have multiple visual modes, such as close-up produce and shoppers in a grocery store; this variation is called_____.
Hint
The class has several distinct kinds of appearances.
Answer
multimodality
Explanation
A multimodal class contains visually different subgroups that share one label.
- 51Clustering examples within a class and initializing synthesis near a selected cluster can help address class_____.
Hint
The method accounts for distinct visual subgroups rather than averaging them together.
Answer
multimodality
Explanation
Selecting a mode before synthesis can produce clearer results for classes with multiple distinct appearances.
- 52Fooling images can be created by changing an image so the network predicts a target class even though the altered image looks nearly unchanged to a_____.
Hint
The effect exploits a difference between machine and human perception.
Answer
human
Explanation
Small, often noise-like pixel changes can cause a model to change its prediction without an obvious semantic change to a person.
- 53An image that looks like a boat to a person but is classified as an iPod illustrates that networks can be fooled by small pixel_____.
Hint
The changes need not resemble meaningful object parts.
Answer
perturbations
Explanation
Fooling images demonstrate that a model's prediction can be sensitive to subtle changes that humans barely notice.
- 54In DeepDream, the gradient at a selected network layer is set to its activation so that already detected features are_____.
Hint
The procedure strengthens patterns the network has already responded to.
Answer
amplified
Explanation
Updating the image to reinforce existing activations tends to amplify features detected by the network.
- 55DeepDream's activation-amplification procedure can be interpreted as maximizing the_____norm of the selected layer's features.
Hint
The objective increases the magnitude of the feature values.
Answer
L2
Explanation
Setting the backpropagated gradient to the activation corresponds to maximizing the L2 norm of the features.
- 56Jittering an image by shifting it slightly before computing DeepDream gradients acts as a_____that encourages spatial smoothness.
Hint
It discourages artifacts tied to exact pixel alignment.
Answer
regularizer
Explanation
Small random shifts before gradient computation help regularize the optimization and encourage spatially smoother results.
- 57DeepDream implementations may normalize gradients using the_____norm and periodically clip pixel values.
Hint
This is a gradient normalization choice mentioned alongside image clipping.
Answer
L1
Explanation
L1 gradient normalization and periodic pixel clipping are practical techniques used in DeepDream implementations.
- 58Dog-like forms often appear in DeepDream partly because many ImageNet classes are dog categories; about_____of its 1,000 categories are dogs.
Hint
The lecture gave a count representing a substantial fraction of the label set.
Answer
200
Explanation
The large number of dog categories in ImageNet helps explain why dog-like patterns frequently appear in DeepDream images.
- 59Feature inversion reconstructs an image by matching the network features of a generated image to the recorded features of the_____.
Hint
The target representation comes from the image being reconstructed.
Answer
original image
Explanation
The method records an image's features, then optimizes a new image so its features match that representation.
- 60The total variation regularizer penalizes differences between_____pixels to encourage spatial smoothness.
Hint
It compares neighboring positions horizontally and vertically.
Answer
adjacent
Explanation
Total variation penalizes changes between neighboring pixels, encouraging smoother generated images.
- 61Reconstruction from early network features can preserve pixel details, whereas reconstruction from deeper features tends to preserve more_____information.
Hint
This information concerns what objects or content are present rather than exact texture.
Answer
semantic
Explanation
Deeper features discard some low-level color and texture details while retaining broader content and spatial structure.
- 62Classical texture synthesis can generate a larger texture by copying pixels from nearby matching patches in an input texture, without using_____.
Hint
These algorithms predate neural feature-based synthesis.
Answer
neural networks
Explanation
Traditional nearest-neighbor texture methods use image patches and pixel copying rather than neural networks.
- 63In neural texture synthesis, feature vectors from a convolutional layer are combined into a descriptor called a_____matrix.
Hint
It captures co-occurrence statistics among features.
Answer
Gram
Explanation
The Gram matrix summarizes relationships between feature channels and is used as a texture descriptor.
- 64A Gram matrix is formed by taking outer products of pairs of feature vectors and averaging across spatial_____.
Hint
The computation aggregates feature co-occurrences over locations in the feature map.
Answer
positions
Explanation
Averaging outer products across spatial locations produces a descriptor of feature co-occurrence.
- 65Because the Gram matrix averages over spatial locations, it discards the feature map's explicit_____information.
Hint
The descriptor does not preserve where a pattern occurred in the image.
Answer
spatial
Explanation
The Gram matrix captures feature co-occurrence statistics but not the original arrangement of features across the image.
- 66The Gram matrix captures second-order co-occurrence statistics between features, making it useful as a descriptor of_____.
Hint
It describes repeated appearance patterns rather than object layout.
Answer
texture
Explanation
Feature co-occurrence provides a representation of texture that does not require preserving exact spatial arrangement.
- 67A feature volume can be reshaped and multiplied by its transpose to compute a Gram matrix efficiently in one_____.
Hint
The matrix calculation avoids explicitly processing every pair separately.
Answer
operation
Explanation
Reshaping the feature tensor into a matrix allows the Gram matrix to be computed with a matrix product.
- 68A covariance matrix can also describe feature relationships, but it is more expensive to compute than the commonly used_____matrix.
Hint
The less costly descriptor is the one used frequently in practice.
Answer
Gram
Explanation
Covariance-based texture descriptors can work, but Gram matrices are often preferred for computational efficiency.
- 69Neural texture synthesis optimizes a generated image to match the input texture's Gram matrices at one or more network_____.
Hint
Descriptors can be computed at several depths of a pretrained network.
Answer
layers
Explanation
The generated image is updated to reduce differences between its Gram matrices and those of the reference texture.
- 70Using Gram matrices from lower network layers tends to match local colors and splotches, while higher layers can reproduce larger_____.
Hint
Deeper features correspond to broader structures such as whole rocks or cranberries.
Answer
patterns
Explanation
Higher-layer texture descriptors capture larger-scale structures than descriptors from early layers.
- 71Style transfer combines content-feature matching with Gram-matrix matching to render a content image in the style of a separate_____image.
Hint
This reference determines the desired texture and artistic appearance.
Answer
style
Explanation
The content image supplies the scene structure, while the style image supplies texture and appearance statistics.
- 72In style transfer, changing the relative weights of content loss and style loss controls the trade-off between matching_____and matching style.
Hint
One loss preserves the subject and layout of the target scene.
Answer
content
Explanation
The loss weights determine how strongly the output preserves the content image versus reproducing the style image.
- 73Resizing the style image before computing its Gram matrices changes the scale of the style features that the output tends to_____.
Hint
The choice affects the size of patterns transferred from the style reference.
Answer
reconstruct
Explanation
The dimensions of the style image influence the scale of patterns represented in its Gram-matrix statistics.
- 74Matching Gram matrices from multiple style images allows style transfer to combine several_____references.
Hint
The method can use more than one source of appearance statistics.
Answer
style
Explanation
Multiple Gram-matrix targets can be included to blend characteristics from different style images.
- 75The original optimization-based style transfer method is slow because each output image requires many forward and_____passes.
Hint
Both network evaluation and gradient computation must be repeated during optimization.
Answer
backward
Explanation
Repeated gradient updates through the pretrained network make optimization-based style transfer computationally expensive.
- 76A faster style-transfer approach trains one feed-forward network for a fixed style and then generates stylized images with a single_____pass.
Hint
After training, no per-image iterative optimization is required.
Answer
forward
Explanation
Once trained, the network directly maps a content image to its stylized output in one evaluation.
- 77A feed-forward style-transfer network can be trained using the same content and style_____used by optimization-based transfer.
Hint
These objectives measure content preservation and style matching.
Answer
losses
Explanation
The training process uses content and style losses to update the feed-forward network's weights.
- 78Feed-forward style-transfer architectures often resemble semantic segmentation networks, with downsampling followed by upsampling and a final three-channel RGB_____.
Hint
The last layer produces the stylized image's color channels.
Answer
output
Explanation
These networks use an encoder-decoder-like structure and produce a three-channel image at the output.
- 79In one feed-forward style-transfer approach, instance normalization replaced batch normalization to produce better_____.
Hint
The change improves the quality of stylized outputs.
Answer
results
Explanation
The cited method found that instance normalization worked better than batch normalization for style transfer.
- 80A conditional style-transfer network can receive both the content image and the identity of the desired_____as input.
Hint
The network selects which appearance transformation to apply.
Answer
style
Explanation
A single trained network can apply different styles when provided with a style identity at test time.
- 81A multi-style feed-forward network can blend styles at test time by specifying a_____of style choices.
Hint
The output combines characteristics from several styles.
Answer
blend
Explanation
Some conditional networks support mixtures of styles without requiring a separate network for each combination.
- 82Training a feed-forward network for multiple styles avoids keeping a separate trained network for every_____.
Hint
The approach reduces the number of models needed for different artistic transformations.
Answer
style
Explanation
A single conditional network can apply multiple styles, unlike methods that train one network per style.
- 83Multi-scale processing can extend style transfer to high-resolution images, but the computation can require substantial GPU memory and_____.
Hint
High-resolution forward and backward passes are costly.
Answer
compute
Explanation
Processing large images through repeated optimization steps is expensive in both memory and computational resources.

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