1. Home
  2. Explore
  3. Computer Science
  4. Neural Network Backpropagation

Study methods

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

Neural Network Backpropagation

  • 56Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Backpropagation
In 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
.

56 questions

  1. 1
    In 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

  2. 2
    Backpropagation 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

  3. 3
    For 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

  4. 4
    The 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

  5. 5
    Once 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

  6. 6
    Training 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

  7. 7
    With 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

  8. 8
    The 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

  9. 9
    An 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

  10. 10
    Test loss is defined using new examples drawn from the test
    _____
    .
    Hint

    This describes the probability source from which test examples are sampled.

    Answer

    distribution

  11. 11
    The 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

  12. 12
    A 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

  13. 13
    For 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

  14. 14
    The 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

  15. 15
    In 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

  16. 16
    A 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

  17. 17
    A 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

  18. 18
    When 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

  19. 19
    When 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

  20. 20
    In 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

  21. 21
    A 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

  22. 22
    A 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

  23. 23
    If 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

  24. 24
    Increasing 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

  25. 25
    With 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

  26. 26
    If 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

  27. 27
    Bias 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

  28. 28
    One 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

  29. 29
    For 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

  30. 30
    For 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

  31. 31
    Variance 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

  32. 32
    A 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

  33. 33
    High 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

  34. 34
    To 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

  35. 35
    As 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

  36. 36
    As 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

  37. 37
    In 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

  38. 38
    Because 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

  39. 39
    The 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

  40. 40
    In 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

  41. 41
    The classical bias-variance decomposition is well established for
    _____
    loss.
    Hint

    This loss penalizes squared prediction errors.

    Answer

    square

  42. 42
    A 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

  43. 43
    The 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

  44. 44
    In 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

  45. 45
    In 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

  46. 46
    In 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

  47. 47
    For 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

  48. 48
    The 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

  49. 49
    The 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

  50. 50
    For 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

  51. 51
    A 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

  52. 52
    Adding 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

  53. 53
    Norm 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

  54. 54
    The 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

  55. 55
    When 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

  56. 56
    There 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

1 of 56
Question 1 of 56

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent