Neural Network Backpropagation
- 56Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
56 questions
- 1In the forward path of a neural network, an input example is transformed through weights, biases, and activations to produce the model output and ultimately the_____.
Hint
This quantity measures how well the model’s prediction matches the target.
Answer
loss
- 2Backpropagation begins by computing the derivative of the_____with respect to the model output.
Hint
This is the quantity the training procedure aims to minimize.
Answer
loss
- 3For a network with multiple layers, backpropagation computes activation derivatives in order from the output layer toward the_____.
Hint
The backward direction is opposite to the direction in which data flows in the forward path.
Answer
input
- 4The backpropagation rules use the derivative at a module’s output to determine the derivative with respect to that module’s_____.
Hint
A module’s input is the quantity that entered it during the forward computation.
Answer
input
- 5Once the relevant activation derivative for a layer is known, backpropagation can use it to compute derivatives with respect to that layer’s weights and_____.
Hint
These are the two kinds of learned layer parameters mentioned alongside weights.
Answer
biases
- 6Training loss is also commonly called training error, training cost, or_____loss.
Hint
This term refers to the data used to fit the model, rather than unseen test data.
Answer
tuning
- 7With square loss, the training loss measures the squared difference between each model prediction and its_____.
Hint
This is the known target value associated with a training example.
Answer
label
- 8The negative log likelihood derived from a maximum likelihood estimator can serve as the_____loss.
Hint
This is the loss optimized using the examples available during fitting.
Answer
training
- 9An analytical approach to minimizing a loss can compute its minimizer directly, while a numerical approach uses an optimization algorithm such as stochastic gradient_____.
Hint
This common optimization method updates parameters using gradient information and randomly selected examples or batches.
Answer
descent
- 10Test loss is defined using new examples drawn from the test_____.
Hint
This describes the probability source from which test examples are sampled.
Answer
distribution
- 11The expected test loss averages the loss over the randomness of a fresh example drawn from the test_____.
Hint
The expectation is over the source that generates the new input and target.
Answer
distribution
- 12A finite test set estimates expected test loss by taking the empirical_____of the losses on its examples.
Hint
This is the standard way to estimate an expectation from repeated samples.
Answer
average
- 13For a test set to evaluate generalization fairly, its examples must not have been used in the model’s_____process.
Hint
The model should not have learned from the examples used for this evaluation.
Answer
training
- 14The difference between test loss and training loss is called the generalization_____.
Hint
It measures the discrepancy between performance on unseen and training examples.
Answer
gap
- 15In many practical settings, a model’s test loss is higher than its_____loss.
Hint
The model has been fitted directly to examples in this set, so its measured loss is often lower.
Answer
training
- 16A desirable model has both a small training loss and a small generalization_____.
Hint
The second quantity measures how much performance changes from training data to test data.
Answer
gap
- 17A model cannot be chosen directly to minimize test loss without access to the test_____.
Hint
The test examples must remain unseen during model selection to provide an honest evaluation.
Answer
data
- 18When test loss is large because training loss is also large, the model is typically described as_____.
Hint
The model has failed to fit even the examples it was trained on.
Answer
underfitting
- 19When training loss is small but test loss is large, the model is typically described as_____.
Hint
The model fits its observed examples well but fails to perform similarly on fresh examples.
Answer
overfitting
- 20In the example where the underlying relationship is quadratic, a linear model tends to underfit because it cannot represent a_____relationship.
Hint
The true pattern bends rather than following a straight line.
Answer
quadratic
- 21A fifth-degree polynomial can fit four distinct data points exactly, allowing the training loss to be_____.
Hint
An exact fit leaves no prediction error on those training points.
Answer
zero
- 22A highly flexible polynomial may fit noise in a small dataset instead of capturing the underlying_____pattern.
Hint
This is the real relationship that generated the observations, apart from random fluctuations.
Answer
ground truth
- 23If a fitted model changes substantially when the training examples are redrawn from the same distribution, it is sensitive to the sampled_____.
Hint
The model varies because a different sample of examples was used to fit it.
Answer
data
- 24Increasing the degree of a polynomial generally makes the model more_____because it can represent a wider range of patterns.
Hint
A more flexible model can bend or vary more to match observations.
Answer
flexible
- 25With many more examples from the same distribution, a high-degree polynomial can be discouraged from following small fluctuations because doing so would worsen its fit across the_____dataset.
Hint
Consider why fitting a single noisy point matters less when many observations must be fit together.
Answer
larger
- 26If a quadratic function belongs to the fifth-degree polynomial model family, the larger family can represent it by setting its higher-degree_____to zero.
Hint
These values multiply the polynomial terms and can be set to zero to remove terms.
Answer
coefficients
- 27Bias is associated with a model family that is not expressive enough to represent the underlying_____.
Hint
This is the relationship between inputs and targets that the model is intended to recover.
Answer
function
- 28One way to understand bias is as the best achievable loss for a model family even with_____data.
Hint
Imagine removing sampling limitations by giving the model an unlimited amount of data.
Answer
infinite
- 29For data generated by a quadratic relationship, a linear model has high bias because it imposes the wrong_____on the relationship.
Hint
The model assumes a straight-line form even though the underlying pattern is curved.
Answer
structure
- 30For a model family with high bias, collecting more data alone does not remove its lack of_____.
Hint
More observations cannot give a model a form it is unable to represent.
Answer
expressivity
- 31Variance describes how much the learned model changes across different training_____drawn from the same distribution.
Hint
The comparison involves fitting the same learning method to several independently sampled collections of examples.
Answer
datasets
- 32A model that changes sharply in response to small fluctuations in its training examples has high_____.
Hint
This measures instability across different samples, rather than systematic model-family error.
Answer
variance
- 33High variance can result from too little data, too much model_____, or both.
Hint
A model with too many degrees of freedom can adapt closely to particular samples.
Answer
complexity
- 34To reduce variance, one can collect more data or use a_____model.
Hint
Reducing the model’s degrees of freedom can limit how closely it adapts to individual samples.
Answer
simpler
- 35As model complexity increases, the usual bias-variance picture predicts that bias will_____.
Hint
A more expressive model is less constrained in representing the underlying relationship.
Answer
decrease
- 36As model complexity increases, the usual bias-variance picture predicts that variance will_____.
Hint
More flexible models can respond more strongly to differences among training samples.
Answer
increase
- 37In the classical bias-variance picture, test error is the sum of squared bias and_____.
Hint
This is the contribution associated with how much the learned model varies across datasets.
Answer
variance
- 38Because bias tends to decrease and variance to increase with complexity, their sum often produces a_____-shaped test-error curve.
Hint
The test error first falls and then rises as complexity increases.
Answer
U
- 39The model complexity that gives the best bias-variance trade-off depends on factors such as the true relationship and the amount of_____.
Hint
The best choice can differ depending on how many examples are available.
Answer
data
- 40In practice, model complexity is commonly selected by comparing candidate models on a_____set.
Hint
This set is used for model selection and is separate from the final test set.
Answer
validation
- 41The classical bias-variance decomposition is well established for_____loss.
Hint
This loss penalizes squared prediction errors.
Answer
square
- 42A comparably straightforward mathematical bias-variance decomposition is not generally available for losses such as cross_____.
Hint
This loss is commonly used for classification and is named after a concept from information theory.
Answer
entropy
- 43The classical expectation that test error follows a U-curve is challenged by the phenomenon called double_____.
Hint
The test error can fall, rise to a peak, and then fall again.
Answer
descent
- 44In model-wise double descent, the horizontal axis tracks model complexity, often represented by the number of_____.
Hint
These are the learned quantities whose count tends to grow in larger models.
Answer
parameters
- 45In the overparameterized regime, the number of model parameters is greater than the number of training_____.
Hint
Compare the size of the model with the number of observations used to fit it.
Answer
examples
- 46In data-wise double descent, the quantity varied along the horizontal axis is the number of training_____.
Hint
This version changes how many observations are used while examining test error.
Answer
examples
- 47For relatively simple models, a peak in data-wise double descent can occur when the number of examples is close to the number of_____.
Hint
The peak is associated with the point where the amount of data and the model’s parameter count are similar.
Answer
parameters
- 48The number of features in a linear model can be increased to make the model more_____without changing the fact that it is linear.
Hint
Adding features increases the number of learned parameters and the model’s capacity.
Answer
complex
- 49The classical prediction that test error must keep rising beyond its minimum does not always hold in the_____regime.
Hint
This is the regime with more parameters than training examples.
Answer
overparameterized
- 50For linear models near the point where the number of examples and parameters are similar, basic gradient-based algorithms can produce a parameter vector with a very large_____.
Hint
This quantity measures the size of the learned parameter vector.
Answer
norm
- 51A large parameter norm can indicate a model with greater effective_____than its parameter count alone suggests.
Hint
The lecture discusses this as a measure of how complicated a fitted model is.
Answer
complexity
- 52Adding an explicit penalty that encourages a small parameter norm is a form of_____.
Hint
This technique modifies the training objective to favor models with a desired property.
Answer
regularization
- 53Norm regularization can reduce the double-descent peak by balancing training fit against a smaller parameter_____.
Hint
The penalty discourages the size of the learned parameter vector from becoming too large.
Answer
norm
- 54The classical bias-variance picture does not explain why a highly overparameterized model can sometimes generalize well; one proposed factor is that the model’s norm remains_____.
Hint
A model with many parameters can still have a modest parameter-vector size.
Answer
small
- 55When optimization favors small norms even though the loss function has no explicit norm penalty, the effect is called implicit_____.
Hint
The optimization algorithm behaves as if it were encouraging a constraint that was not explicitly added.
Answer
regularization
- 56There is no universally correct measure of model_____; parameter count and norm can both be informative in different settings.
Hint
This is the quantity used to describe how flexible or complicated a model is.
Answer
complexity

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