Neural Network Training
- 114Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
114 questions
- 1A function can be represented in terms of a_____.
Hint
Think of a graph whose nodes represent operations.
Answer
computational graph
- 2A neural network commonly stacks linear layers with_____between them.
Hint
These operations allow the network to model more than linear relationships.
Answer
nonlinearities
- 3Convolutional neural networks preserve spatial structure through the hierarchy by using_____layers.
Hint
These layers apply filters across spatial locations.
Answer
convolutional
- 4In a convolutional layer, each output activation map is produced by sliding a filter of weights over the input's_____locations.
Hint
These locations refer to positions such as width and height.
Answer
spatial
- 5If a convolutional layer has several filters, each filter produces a separate_____map.
Hint
Each filter detects a different type of feature.
Answer
activation
- 6The depth of a convolutional layer's output equals the total number of_____in that layer.
Hint
Each one contributes one output channel.
Answer
filters
- 7To reduce loss in the loss landscape, parameters are updated by taking steps in the direction of the_____gradient.
Hint
The update should move downhill rather than uphill.
Answer
negative
- 8The training process that repeatedly samples data, forward propagates, computes loss, backpropagates, and updates parameters is called_____.
Hint
Its name combines small data batches with gradient-based optimization.
Answer
Mini-batch Stochastic Gradient Descent
- 9The first computational step in Mini-batch Stochastic Gradient Descent is to continuously sample a_____of data.
Hint
It is a small subset of the training data.
Answer
batch
- 10The sigmoid activation function is defined by_____.
Hint
It has one in the numerator and an exponential term involving negative x in the denominator.
Answer
1+e−x1
- 11The sigmoid applies an elementwise squashing operation that maps values into the range_____.
Hint
Its outputs can be interpreted as values between zero and one.
Answer
[0,1]
- 12For a very negative sigmoid input, the output approaches_____.
Hint
Consider the lower horizontal plateau of the sigmoid curve.
Answer
zero
- 13For a very positive sigmoid input, the output approaches_____.
Hint
Consider the upper horizontal plateau of the sigmoid curve.
Answer
one
- 14Near an input of zero, the sigmoid operates in an approximately_____regime.
Hint
The curve has a non-flat, nearly straight portion around its center.
Answer
linear
- 15The sigmoid's saturating firing-rate interpretation comes from viewing its output as a neuron's_____rate.
Hint
The output lies between zero and one, like a rate or probability.
Answer
firing
- 16When a sigmoid neuron is saturated, its local gradient is approximately_____.
Hint
A flat function has no slope.
Answer
zero
- 17If a sigmoid receives x=−10, the gradient passed to downstream nodes is approximately_____.
Hint
This input lies in the sigmoid's negative saturated region.
Answer
zero
- 18If a sigmoid receives x=0, its gradient is generally_____for backpropagation.
Hint
This input lies in the central, non-saturated region.
Answer
reasonable
- 19If a sigmoid receives x=10, the gradient passed backward is approximately_____.
Hint
This input lies in the positive saturated region.
Answer
zero
- 20The second major problem with sigmoid outputs is that they are not_____centered.
Hint
The outputs range from zero to one rather than around both positive and negative values.
Answer
zero
- 21If all inputs X to a linear neuron are positive, the local gradient with respect to its weights is_____.
Hint
For a linear operation, the local derivative with respect to a weight is the corresponding input.
Answer
positive
- 22When all inputs are positive, the weight gradients are either all positive or all_____depending on the upstream gradient.
Hint
The upstream gradient may have either sign, while the local input gradient is positive.
Answer
negative
- 23Weight updates that are restricted to moving all coordinates in the same general direction produce_____gradient updates.
Hint
The optimizer may need several zigzagging steps instead of one direct step.
Answer
inefficient
- 24To avoid the inefficient-update problem caused by biased inputs, the input data should be_____meaned.
Hint
The goal is to create both positive and negative input values.
Answer
zero
- 25A minor computational disadvantage of sigmoid is that it requires evaluating an_____function.
Hint
The sigmoid formula contains e−x.
Answer
exponential
- 26The hyperbolic tangent activation function squashes values into the range_____.
Hint
Unlike sigmoid, it includes negative as well as positive outputs.
Answer
[−1,1]
- 27Compared with sigmoid, tanh fixes the problem of outputs not being_____centered.
Hint
Its range is symmetric around zero.
Answer
zero
- 28Although tanh is zero-centered, it still kills gradients when it becomes_____.
Hint
Its extreme regions are nearly flat.
Answer
saturated
- 29The ReLU activation function is defined by_____.
Hint
It keeps positive inputs and replaces negative inputs with zero.
Answer
max(0,x)
- 30For a negative ReLU input, the output is set to_____.
Hint
The first argument in max(0,x) is selected when x is negative.
Answer
zero
- 31For a positive ReLU input, the activation passes through unchanged as the_____function.
Hint
The output equals the input in this region.
Answer
identity
- 32A major advantage of ReLU over sigmoid and tanh is that it does not saturate in the_____region.
Hint
In this half of the input space, ReLU has a constant nonzero slope.
Answer
positive
- 33ReLU is computationally efficient because it mainly requires a simple_____operation.
Hint
Its formula compares zero with the input.
Answer
max
- 34In practice, ReLU was reported to converge about_____times faster than sigmoid and tanh.
Hint
The lecture gives an approximate numerical comparison.
Answer
six
- 35ReLU became widely used in major ImageNet results around 2012, especially in the_____network.
Hint
This was an early landmark convolutional neural network.
Answer
AlexNet
- 36A disadvantage of ReLU is that its outputs are not_____centered.
Hint
ReLU outputs are never negative.
Answer
zero
- 37At x=−10, the derivative of ReLU is_____.
Hint
Negative inputs are in ReLU's inactive region.
Answer
zero
- 38At x=10, ReLU is in its linear regime, so its gradient is_____.
Hint
The identity function has slope one.
Answer
one
- 39At exactly x=0, the ReLU derivative is mathematically_____.
Hint
The function changes slope at this point.
Answer
undefined
- 40A ReLU that remains inactive for all training examples and receives no useful updates is called a_____ReLU.
Hint
It has effectively stopped participating in learning.
Answer
dead
- 41A ReLU can become dead when poor weight values place its activation region_____the training data cloud.
Hint
The unit's active half-plane does not intersect the data.
Answer
off
- 42A learning rate that is too high can kill ReLUs by making large updates that knock them off the data_____.
Hint
This refers to the region occupied by the data.
Answer
manifold
- 43One practical initialization strategy is to give ReLUs slightly positive_____to increase the chance they are active initially.
Hint
This parameter shifts the preactivation upward.
Answer
biases
- 44Leaky ReLU differs from ReLU by using a slight negative_____in the negative input regime.
Hint
The negative side is no longer flat.
Answer
slope
- 45Leaky ReLU avoids the dying-ReLU problem because it has no_____regime, even for negative inputs.
Hint
Its negative side continues with a nonzero slope.
Answer
saturating
- 46In PReLU, the negative-region slope is controlled by a learnable_____parameter.
Hint
The lecture names this parameter with a Greek letter.
Answer
alpha
- 47Compared with leaky ReLU, ELU reintroduces a negative_____regime.
Hint
Its negative side becomes bounded rather than remaining a straight line.
Answer
saturation
- 48Maxout computes the maximum of two separate_____functions.
Hint
Each branch has the form of a weighted dot product plus a bias.
Answer
linear
- 49Maxout generalizes both ReLU and leaky ReLU while remaining in a_____regime.
Hint
It selects between linear pieces rather than using a saturating curve.
Answer
linear
- 50The main disadvantage of Maxout is that it_____the number of parameters per neuron.
Hint
Each neuron uses two sets of weights instead of one.
Answer
doubles
- 51The general rule of thumb for choosing an activation function is to use_____as the standard starting point.
Hint
It is the most widely used simple activation in the lecture.
Answer
ReLU
- 52The lecture's general recommendation is to avoid using_____as the default activation function.
Hint
It suffers from saturation, non-zero-centered outputs, and exponential computation.
Answer
sigmoid
- 53A standard preprocessing step is to subtract the data mean so that the data is_____centered.
Hint
This gives the features both positive and negative values around a central point.
Answer
zero
- 54Data can additionally be normalized by dividing by the_____deviation.
Hint
This quantity measures the spread of the data.
Answer
standard
- 55Normalizing features helps ensure that features with different scales contribute more_____to learning.
Hint
The goal is to prevent one feature scale from dominating another.
Answer
equally
- 56For image data, preprocessing usually performs zero-centering but often does not perform full_____by standard deviation.
Hint
Image pixels at corresponding locations typically already have comparable scales.
Answer
normalization
- 57More complicated preprocessing methods mentioned for general machine learning include PCA and_____.
Hint
This method transforms feature scales and correlations.
Answer
whitening
- 58When preprocessing test data, the mean used should be estimated from the_____data.
Hint
Test data must not determine preprocessing statistics.
Answer
training
- 59For an image, one zero-centering method subtracts an entire_____image computed from the training set.
Hint
It has the same dimensions as each input image.
Answer
mean
- 60Instead of subtracting a full mean image, an image network may subtract one mean for each_____.
Hint
RGB images have red, green, and blue versions of this quantity.
Answer
channel
- 61For an RGB image, per-channel mean subtraction uses one mean for red, one for green, and one for_____.
Hint
It is the third standard RGB color.
Answer
blue
- 62The mean for image preprocessing is usually computed once over the entire training set rather than separately for each_____.
Hint
The lecture contrasts a global estimate with repeated mini-batch estimates.
Answer
batch
- 63Initializing every network weight to zero causes all neurons to perform the same operation and receive the same_____, so they remain identical.
Hint
This quantity determines how each parameter changes during learning.
Answer
gradient
- 64The problem with identical weight initialization is that it fails to provide_____breaking.
Hint
Different neurons need different starting points.
Answer
symmetry
- 65A basic improvement over zero initialization is to initialize weights as small_____numbers sampled from a distribution.
Hint
Variation among initial weights breaks symmetry.
Answer
random
- 66Using small random weights in a deep network can cause activations and gradients to_____toward zero across layers.
Hint
Repeated multiplication by small values shrinks magnitudes.
Answer
collapse
- 67When tanh activations are saturated because of large initial weights, the gradients become approximately_____.
Hint
Saturation corresponds to a nearly flat derivative.
Answer
zero
- 68Xavier initialization aims to make the variance of the input approximately equal to the variance of the_____.
Hint
The method tries to preserve activation scale across a layer.
Answer
output
- 69With Xavier initialization, a layer with many inputs should use_____weights to maintain an appropriate output variance.
Hint
More inputs contribute to the output, so each weight must contribute less.
Answer
smaller
- 70The usual Xavier initialization derivation assumes that the activations are effectively_____.
Hint
The derivation assumes the units operate in their nonsaturated active region.
Answer
linear
- 71For ReLU networks, the variance is approximately halved because ReLU sets about_____of the units to zero.
Hint
Only the positive half of a symmetric input distribution remains active.
Answer
half
- 72To adapt Xavier-style initialization for ReLU, the variance calculation includes an additional factor accounting for division by_____.
Hint
This compensates for approximately half the units being killed.
Answer
two
- 73Batch normalization is motivated by the goal of keeping layer activations in a roughly unit_____range.
Hint
The desired distribution has mean near zero and variance near one.
Answer
gaussian
- 74For each mini-batch, batch normalization computes the empirical_____and variance of activations.
Hint
This statistic is subtracted before scaling.
Answer
mean
- 75Batch normalization standardizes an activation by subtracting its batch mean and dividing by its standard_____.
Hint
The denominator measures the spread of the batch.
Answer
deviation
- 76Because batch normalization consists of differentiable operations, gradients can be computed through it using_____.
Hint
This is the standard method for propagating derivatives through a computational graph.
Answer
backprop
- 77Batch normalization is commonly inserted after fully connected or_____layers.
Hint
These are the two major layer types discussed in the normalization procedure.
Answer
convolutional
- 78For a convolutional layer, normalization is performed jointly over examples and spatial locations for each_____map.
Hint
A convolutional output channel corresponds to one map.
Answer
activation
- 79Normalizing all locations in a convolutional activation map in the same way helps preserve the convolutional_____.
Hint
The same operation should apply consistently across spatial positions.
Answer
property
- 80After normalization, batch normalization applies a learned scaling factor called_____.
Hint
This parameter controls the scale of the normalized activation.
Answer
gamma
- 81After scaling, batch normalization applies a learned shifting factor called_____.
Hint
This parameter controls the location or offset of the activation.
Answer
beta
- 82The learned parameters gamma and beta allow batch normalization to recover the_____function if that is useful.
Hint
This mapping leaves the original activation unchanged.
Answer
identity
- 83Learning gamma and beta gives the network control over how much activation-function_____it should retain.
Hint
The normalized input alone would tend to keep tanh in its central region.
Answer
saturation
- 84Batch normalization can act as a form of regularization because an example's normalized value depends on the other examples in its_____.
Hint
The normalization statistics are computed from a group of examples.
Answer
batch
- 85At test time, batch normalization uses mean and variance estimated during_____rather than recomputing them from a test batch.
Hint
The test procedure reuses stored running statistics.
Answer
training
- 86A first sanity check after initializing a network is to perform a forward pass and verify that the initial_____is reasonable.
Hint
This quantity measures the model's prediction error before learning.
Answer
loss
- 87For a Softmax classifier with ten classes and diffuse initial probabilities, the expected loss is approximately_____.
Hint
Use the negative log likelihood of a uniform probability for the correct class.
Answer
−log(101)≈2.3
- 88When regularization is initially disabled, the loss should contain only the_____loss term.
Hint
This term measures prediction performance rather than parameter penalties.
Answer
data
- 89Increasing regularization strength should cause the total loss to_____because an additional penalty is added.
Hint
Regularization contributes a nonnegative cost term.
Answer
increase
- 90A useful early training test is to use a very small data set and verify that the network can_____it.
Hint
The model should be able to memorize a tiny training set.
Answer
overfit
- 91When a tiny data set is successfully overfit, its training accuracy should approach_____.
Hint
Express perfect accuracy as a fraction or decimal.
Answer
one
- 92If the loss barely changes during training, the learning rate is usually too_____.
Hint
The parameter updates are not large enough to make progress.
Answer
small
- 93If the cost becomes NaN because it has exploded, the learning rate is usually too_____.
Hint
Excessively large updates can make numerical values unstable.
Answer
high
- 94The rough learning-rate range suggested for cross-validation is from 10−3 to_____.
Hint
The lecture gives a range spanning two orders of magnitude below 10−3.
Answer
10−5
- 95Hyperparameter selection by training on a training set and evaluating on a separate set is called_____.
Hint
The second data split is used to estimate generalization during model selection.
Answer
cross-validation
- 96During the first stage of hyperparameter search, values are sampled widely and training is run for only a_____number of epochs.
Hint
The initial search is meant to identify promising regions quickly.
Answer
few
- 97After identifying a promising hyperparameter range, the next search stage uses a_____search over that region.
Hint
The values are sampled more closely together.
Answer
finer
- 98If the cost becomes much larger than its original value, such as about three times larger, the training loop can_____the current hyperparameter trial.
Hint
There is no need to continue a clearly diverging experiment.
Answer
stop
- 99Learning rates should generally be sampled in_____space rather than uniformly in ordinary space.
Hint
This emphasizes multiplicative changes and orders of magnitude.
Answer
log
- 100Random sampling of hyperparameter combinations is often preferable to a fixed_____search.
Hint
The alternative evaluates every combination on a rectangular lattice.
Answer
grid
- 101If good hyperparameter values lie at the edge of the sampled range, the search range should be_____.
Hint
The optimum may lie beyond the region that was tested.
Answer
expanded
- 102A loss curve that explodes indicates that the learning rate is probably too_____.
Hint
The updates are overshooting and making the objective unstable.
Answer
high
- 103A loss curve that is nearly flat and changes very slowly indicates that the learning rate is probably too_____.
Hint
The optimizer is taking insufficiently large steps.
Answer
low
- 104A loss curve that drops steeply and then plateaus may indicate a learning rate that is too_____.
Hint
Large jumps may prevent the optimizer from settling into a local optimum.
Answer
high
- 105A loss curve that remains flat and then suddenly begins training can indicate bad_____.
Hint
The parameters may initially produce poor gradient flow.
Answer
initialization
- 106A large gap between training and validation accuracy usually indicates_____.
Hint
The model performs much better on seen data than unseen data.
Answer
overfitting
- 107When training and validation accuracy show little or no gap, increasing model_____may help.
Hint
The model may not yet be expressive enough to fit the data.
Answer
capacity
- 108A useful diagnostic compares the norm of weight updates with the norm of the weights using the ratio of update size to weight_____.
Hint
This measures update size relative to parameter size.
Answer
magnitudes
- 109A rough target for the ratio of weight-update magnitude to weight magnitude is approximately_____.
Hint
The desired ratio is small but not negligible.
Answer
0.001
- 110The overall recommended activation-function default is to use_____.
Hint
This is the plural form of the standard nonsaturating activation.
Answer
ReLUs
- 111The recommended basic image preprocessing step is to_____the mean.
Hint
This produces zero-centered inputs.
Answer
subtract
- 112The recommended initialization method to try first is_____Initialization.
Hint
It is designed to preserve activation variance across layers.
Answer
Xavier
- 113The recommended normalization technique for improving training is_____normalization.
Hint
It uses mini-batch means and variances.
Answer
batch
- 114The recommended strategy for sampling hyperparameters is to sample them_____rather than only using a fixed grid.
Hint
This approach allocates more trials to important dimensions.
Answer
randomly

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