1. Home
  2. Explore
  3. Computer Science
  4. How Neural Networks Learn

Study methods

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

How Neural Networks Learn

  • 152Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Learning Basics
On an unadjusted Plinko board, where a bouncing ball will land is
.

152 questions

  1. 1
    On an unadjusted Plinko board, where a bouncing ball will land is
    _____
    .
    Hint

    Think about whether the ball's landing point is known in advance.

    Answer

    uncertain

    Explanation

    A ball bouncing from peg to peg does not have a predictable landing point unless the board is configured to guide it.

  2. 2
    To guide a ball toward a chosen exit, we could
    _____
    on the Plinko board.
    Hint

    What could be changed on the board to influence the ball's path?

    Answer

    adjust the pegs

    Explanation

    Changing peg positions can guide a shape toward a chosen exit or bin.

  3. 3
    The goal of tuning a sorting board is to send each shape to its
    _____
    .
    Hint

    Think of the destination that each shape is supposed to reach.

    Answer

    intended exit

    Explanation

    The sorting goal is to send each input shape to its assigned destination.

  4. 4
    The repeated process used to tune the Plinko board is
    _____
    .
    Hint

    Recall the three-part cycle used to tune the imaginary machine.

    Answer

    try, check, adjust

    Explanation

    The board is tuned by trying a shape, checking where it lands, and changing the pegs when needed.

  5. 5
    A board adjusted to sort shapes into their intended bins is like a
    _____
    .
    Hint

    What kind of computational system does the tuned board represent?

    Answer

    trained neural network

    Explanation

    A board whose settings have been adjusted to produce desired destinations is an analogy for a trained neural network.

  6. 6
    In the Plinko analogy, the process of trying, checking, and adjusting is called
    _____
    .
    Hint

    What is the name for improving settings through repeated feedback?

    Answer

    learning

    Explanation

    Learning is the repeated process of trying, checking the result, and adjusting settings.

  7. 7
    A real neural network works with
    _____
    rather than pegs and bouncing objects.
    Hint

    What replaces pegs and bouncing objects in an actual network?

    Answer

    numbers and connected calculations

    Explanation

    Unlike the peg board, a real neural network processes numerical inputs through connected calculations.

  8. 8
    At its core, one small circle in a neural network performs
    _____
    .
    Hint

    What is happening inside one of the network's small circles?

    Answer

    simple math

    Explanation

    At its core, a single neuron performs simple mathematical operations.

  9. 9
    In the sound-activated light example, the microphone supplies the
    _____
    .
    Hint

    What quantity does the microphone provide to the sound-activated light?

    Answer

    sound level

    Explanation

    The microphone measures the room's sound level, which serves as the input to the example neuron.

  10. 10
    The sound level in the example is represented by a number
    _____
    .
    Hint

    Recall the numerical range chosen for the microphone reading.

    Answer

    between zero and one

    Explanation

    The example encodes sound intensity on a scale where zero is silence and one is very loud.

  11. 11
    For the sound-activated light,
    _____
    .
    Hint

    What do the two possible output numbers mean for the light?

    Answer

    one means on, zero means off

    Explanation

    The light's output is binary: one turns it on and zero turns it off.

  12. 12
    Inside the example neuron, the sound level is multiplied by its
    _____
    .
    Hint

    Which parameter multiplies the input?

    Answer

    weight

    Explanation

    The neuron multiplies the sound level by a weight to produce a score.

  13. 13
    In the light example, the weight controls
    _____
    .
    Hint

    What does changing the weight change about the input's effect?

    Answer

    how strongly the sound level affects the score

    Explanation

    The weight controls the influence of the sound input on the neuron's score.

  14. 14
    The light turns on when the neuron's score is at least
    _____
    .
    Hint

    What is the cutoff between the two rounded output values?

    Answer

    point five

    Explanation

    The example rounds scores below point five to zero and scores at or above point five to one.

  15. 15
    The rounding step used for the light is
    _____
    .
    Hint

    Is the light's rounding rule universal, or specific to this job?

    Answer

    not a part of every network

    Explanation

    Rounding is chosen for this yes-or-no light task; other tasks use different output finishing steps.

  16. 16
    The light is supposed to turn on when the sound level is
    _____
    .
    Hint

    Recall the specified threshold for the desired light behavior.

    Answer

    point three or higher

    Explanation

    The target behavior is for the light to turn on at sound levels of point three or above.

  17. 17
    The first setting tested for the light neuron was
    _____
    .
    Hint

    What simplest weight was tried first?

    Answer

    weight one

    Explanation

    With a weight of one, the sound level passes through unchanged, so a sound of point four scores point four and rounds down.

  18. 18
    With weight one and sound level point four, the light incorrectly stays
    _____
    .
    Hint

    Did the light match the desired result for a point four input at weight one?

    Answer

    off

    Explanation

    At sound level point four and weight one, the score is point four, which rounds down, although the desired output is on.

  19. 19
    The practice set consists of handfuls of
    _____
    .
    Hint

    What kind of values make up the practice sounds?

    Answer

    random levels between zero and one

    Explanation

    Practice sounds are sampled from the input range so the neuron can be trained on examples.

  20. 20
    The desired labels for training sounds are
    _____
    .
    Hint

    What rule supplies the correct answer for each practice sound?

    Answer

    on at point three or higher, off below

    Explanation

    Each practice input has a known desired label determined by the target threshold.

  21. 21
    If a training example is answered correctly, the weight receives
    _____
    .
    Hint

    What adjustment is made after a correct prediction?

    Answer

    no nudge

    Explanation

    When the neuron already gives the desired answer, its weight is left unchanged for that example.

  22. 22
    When the sound is point four and the light wrongly remains off, we
    _____
    .
    Hint

    The desired light is on, but the score is too low; which direction should the weight move?

    Answer

    nudge the weight up

    Explanation

    At point four, the score is too low to turn the light on, so the weight is increased.

  23. 23
    When a point two eight input wrongly turns the light on, we
    _____
    the weight.
    Hint

    The light turns on too easily; which direction corrects that?

    Answer

    nudge down

    Explanation

    At point two eight, the light turns on even though it should be off, so the neuron is too sensitive and the weight is reduced.

  24. 24
    The light neuron's training proceeds
    _____
    .
    Hint

    How are examples and adjustments handled in the described loop?

    Answer

    one sound at a time, one nudge at a time

    Explanation

    The example illustrates training as repeated individual feedback and small weight updates.

  25. 25
    After repeated practice, the sound-activated neuron's weight settles at
    _____
    .
    Hint

    What value did the example's trained weight settle at?

    Answer

    one point six seven

    Explanation

    As the nudges shrink and errors fade, the weight settles at one point six seven.

  26. 26
    After training, the neuron is checked using
    _____
    .
    Hint

    What kind of sounds are used for the real test?

    Answer

    fresh sounds it never practiced on

    Explanation

    Testing uses new examples to check whether the trained behavior works beyond the practice examples.

  27. 27
    For the single-weight light example, the answer could have been found with
    _____
    .
    Hint

    What could have directly supplied the answer for the one-weight example?

    Answer

    simple math

    Explanation

    A single-weight example could be solved directly with a formula, but it illustrates the update process used for larger systems.

  28. 28
    Real networks may contain
    _____
    .
    Hint

    How many adjustable weights may a real network contain?

    Answer

    millions, even billions of weights

    Explanation

    Large networks have so many adjustable weights that a single formula cannot solve all of them at once.

  29. 29
    The scalable strategy described for adjusting many weights is to adjust them
    _____
    .
    Hint

    What kind of repeated adjustment approach can be extended to large networks?

    Answer

    one nudge at a time

    Explanation

    Trying, checking, and adjusting individual weights can be scaled to networks of very different sizes.

  30. 30
    To describe an image to a network, we usually use
    _____
    .
    Hint

    How can an image be converted into a group of numerical inputs?

    Answer

    one number for each pixel's brightness

    Explanation

    An image can be described numerically by representing every pixel's brightness as an input.

  31. 31
    In a multi-input neuron, each input gets
    _____
    .
    Hint

    What parameter is paired with each input?

    Answer

    its own weight

    Explanation

    When a neuron has multiple inputs, each input has a corresponding weight.

  32. 32
    A neuron with many inputs
    _____
    .
    Hint

    After weighting several inputs, what does the neuron do with the values?

    Answer

    adds all the weighted values into one score

    Explanation

    The neuron multiplies inputs by their weights and sums the results to form one score.

  33. 33
    A neuron's output response is called its
    _____
    .
    Hint

    What is the technical name for a neuron's response?

    Answer

    activation

    Explanation

    The neuron's response, or output, is called its activation.

  34. 34
    Besides weighted inputs, a typical neuron adds a
    _____
    .
    Hint

    What extra number does a typical neuron add to its weighted sum?

    Answer

    bias

    Explanation

    A neuron adds a bias, a number of its own, in addition to the weighted inputs.

  35. 35
    Without a bias, zero inputs force the neuron's total to
    _____
    .
    Hint

    What output must result from all-zero inputs if there is no bias?

    Answer

    zero

    Explanation

    Without a bias, all-zero inputs produce a zero total because every input contribution is zero.

  36. 36
    In the examples of silence and dark image regions, zero is
    _____
    .
    Hint

    Does a zero-valued input necessarily mean there is no useful information?

    Answer

    not an empty message

    Explanation

    Zero inputs can convey meaningful information, such as silence or a dark region in an image.

  37. 37
    The bias is the neuron's
    _____
    for its activation.
    Hint

    How is the bias described as setting the neuron's response?

    Answer

    own starting number

    Explanation

    The bias provides a neuron's starting activation even when every input is zero.

  38. 38
    Training a neuron adjusts
    _____
    .
    Hint

    Which two types of neuron settings are tuned during training?

    Answer

    every weight, and every bias

    Explanation

    Training adjusts both kinds of parameters, not weights alone.

  39. 39
    A bias can also
    _____
    .
    Hint

    Besides setting the starting activation, what can a bias shift?

    Answer

    move the decision point itself

    Explanation

    A bias can shift where an input causes the neuron to change its decision, rather than merely scaling the input.

  40. 40
    To make the light turn on at the target threshold while keeping weight one, the example uses a bias of
    _____
    .
    Hint

    What bias was used as an alternative to scaling with weight one point six seven?

    Answer

    minus point three

    Explanation

    With weight one and bias minus point three, the score is the sound level minus point three, so the decision occurs at the desired threshold.

  41. 41
    Before adding the nonlinear step, the neuron's recipe is
    _____
    .
    Hint

    What three operations make up the recipe before the nonlinear bend is introduced?

    Answer

    weigh, add, bias

    Explanation

    The initial neuron recipe combines weighted inputs, addition, and the bias.

  42. 42
    A group of neurons working side by side on the same inputs forms
    _____
    .
    Hint

    What is the name for a group of companion neurons processing the same inputs?

    Answer

    a layer

    Explanation

    Multiple neurons working side by side on the same inputs form a layer.

  43. 43
    Each neuron in a layer makes its own call using
    _____
    .
    Hint

    What distinguishes the parameters of one neuron from its companions?

    Answer

    its own weights

    Explanation

    Neurons in the same layer can each make their own decisions because they have separate weights.

  44. 44
    In a two-layer network, the second layer reads
    _____
    .
    Hint

    What does a later layer read in a stacked network?

    Answer

    the first layer's answers

    Explanation

    A second layer receives the outputs of the preceding layer rather than reading the original inputs directly.

  45. 45
    The layers between a network's inputs and outputs are called
    _____
    .
    Hint

    What is the name for the middle layers between input and output?

    Answer

    hidden layers

    Explanation

    Layers between the network's inputs and outputs are called hidden layers.

  46. 46
    A hidden layer with more neurons is a
    _____
    .
    Hint

    What is a layer with more neurons than another layer called?

    Answer

    wider layer

    Explanation

    A layer with more neurons is wider and provides more neurons calculating from the same inputs.

  47. 47
    A network with more processing stages is a
    _____
    .
    Hint

    What describes adding more layers one after another?

    Answer

    deeper network

    Explanation

    A network with more sequential stages or hidden layers is deeper.

  48. 48
    Networks with several processing layers are associated with
    _____
    .
    Hint

    What term refers to learning with several processing layers?

    Answer

    deep learning

    Explanation

    The content refers to networks with several processing layers as deep learning.

  49. 49
    Whether a wider or deeper network works better is something to
    _____
    .
    Hint

    How should one decide which network arrangement works better?

    Answer

    measure, not assume

    Explanation

    A wider or deeper design is not automatically better; performance must be evaluated.

  50. 50
    Multiplying by a weight and adding a bias produces a
    _____
    .
    Hint

    What kind of equation describes the neuron before adding a nonlinear rule?

    Answer

    linear equation

    Explanation

    Multiplying by a weight and adding a bias are linear operations in the described neuron.

  51. 51
    Linear equations can draw
    _____
    .
    Hint

    What geometric form can linear equations draw?

    Answer

    lines

    Explanation

    A linear equation can draw a line, and stacking linear equations still produces only a line.

  52. 52
    Even after many linear layers are stacked, the result is always
    _____
    .
    Hint

    What shape remains after stacking linear equations?

    Answer

    another line

    Explanation

    Composing any number of linear steps still yields a linear relationship, so more linear layers alone do not solve the limitation.

  53. 53
    For multiple layers to work as a complex pattern learner, the network must be
    _____
    .
    Hint

    What property must be added for stacked layers to do more than draw lines?

    Answer

    nonlinear

    Explanation

    Multiple layers need nonlinear operations to represent patterns more complex than lines.

  54. 54
    Under the nonlinear gate, a total of zero or less becomes an activation of
    _____
    .
    Hint

    What activation is produced by a nonpositive total under the described rule?

    Answer

    zero

    Explanation

    The described gate maps totals of zero or less to an activation of zero.

  55. 55
    The nonlinear gate passes a
    _____
    forward at full strength.
    Hint

    Which totals pass through the gate unchanged?

    Answer

    positive total

    Explanation

    The gate passes positive totals forward at full strength, such as passing three point two through unchanged.

  56. 56
    The common nonlinear rule that keeps positive values and zeros out the rest is called
    _____
    .
    Hint

    What is the name of the common rule that keeps positives and zeros out the rest?

    Answer

    ReLU

    Explanation

    The described rule that keeps positive values and zeros out the rest is called ReLU.

  57. 57
    Mathematically, the ReLU activation is the
    _____
    .
    Hint

    How can the activation rule be written using a comparison?

    Answer

    max of zero and the total

    Explanation

    ReLU can be expressed as the larger of zero and the neuron's total.

  58. 58
    Nonlinearity allows a network to
    _____
    .
    Hint

    What capability does adding nonlinear operations provide?

    Answer

    represent complex patterns

    Explanation

    Nonlinear layers can bend and combine shapes, allowing a network to represent patterns that a line cannot capture.

  59. 59
    Different inputs can wake a
    _____
    of neurons.
    Hint

    What happens to the activated neurons when the input changes?

    Answer

    different mix

    Explanation

    Different inputs can activate different combinations of neurons, allowing different learned responses.

  60. 60
    Because layers build on previous layers, a network can
    _____
    .
    Hint

    What does layer-by-layer representation building allow a network to do?

    Answer

    learn in steps

    Explanation

    Layered networks build progressively, with each stage reusing the representations made by the previous stage.

  61. 61
    In the staged image example, dots gather into
    _____
    .
    Hint

    What do groups of dots become in the first described transition?

    Answer

    edges

    Explanation

    In the image-reading example, dots first gather into edges, which are then combined into larger features.

  62. 62
    In the staged image example, edges gather into a
    _____
    .
    Hint

    What shape is formed from edges in the staged example?

    Answer

    circle

    Explanation

    The example describes edges forming a circle, which can then contribute to recognizing an eye.

  63. 63
    A deep network learns its pieces once and can
    _____
    .
    Hint

    What advantage does a deep network gain by learning pieces in stages?

    Answer

    reuse them everywhere

    Explanation

    A deep network can learn useful pieces once and reuse them in many contexts, rather than memorizing every complete case.

  64. 64
    The example handwritten seven comes from a collection of
    _____
    examples.
    Hint

    How many collected examples are mentioned in connection with the handwritten seven?

    Answer

    seventy thousand

    Explanation

    The handwritten seven is one of seventy thousand collected examples used to teach machines.

  65. 65
    A handwritten digit image has dimensions
    _____
    .
    Hint

    What are the dimensions of each image grid?

    Answer

    twenty-eight by twenty-eight

    Explanation

    Each digit image is a grid with twenty-eight rows and twenty-eight columns.

  66. 66
    The digit image contains
    _____
    pixel squares.
    Hint

    How many pixel inputs are in the full image?

    Answer

    seven hundred eighty-four

    Explanation

    A twenty-eight by twenty-eight image contains seven hundred eighty-four pixel squares.

  67. 67
    Each pixel is represented by its
    _____
    .
    Hint

    What numerical property does each pixel provide?

    Answer

    brightness, from zero to one

    Explanation

    Each pixel contributes a number representing its brightness on a zero-to-one scale.

  68. 68
    The digit network's chosen middle layer contains
    _____
    .
    Hint

    How many neurons were chosen for the first hidden layer?

    Answer

    thirty-two neurons

    Explanation

    The chosen middle layer contains thirty-two neurons; this is a design choice, not a uniquely required value.

  69. 69
    Choosing thirty-two neurons for the digit network is
    _____
    .
    Hint

    Was the middle-layer size mathematically mandatory or selected by the designer?

    Answer

    a design choice

    Explanation

    The number thirty-two was selected as a design decision rather than dictated by the task.

  70. 70
    Each first-layer neuron has
    _____
    .
    Hint

    How many input weights does each hidden neuron need?

    Answer

    seven hundred eighty-four weights per neuron

    Explanation

    Each of the thirty-two hidden neurons reads all seven hundred eighty-four pixel inputs and has a separate weight for each.

  71. 71
    In the digit network, each hidden neuron outputs a number indicating
    _____
    .
    Hint

    What does each hidden neuron's output number represent?

    Answer

    how strongly it responded to what it saw

    Explanation

    Hidden neurons output numerical response strengths rather than simply switching on or off.

  72. 72
    Because the task has ten digit classes, the network has
    _____
    .
    Hint

    How many output neurons correspond to the digits zero through nine?

    Answer

    ten outputs

    Explanation

    There are ten possible digit classes, so the output layer has one score for each digit.

  73. 73
    Each output neuron reads all
    _____
    from the first hidden layer.
    Hint

    What information does each output neuron receive from the hidden layer?

    Answer

    thirty-two responses

    Explanation

    The output layer's neurons read the thirty-two responses from the hidden layer.

  74. 74
    The step that turns the ten digit scores into probabilities is called
    _____
    .
    Hint

    What output finishing step converts the scores to probabilities?

    Answer

    softmax

    Explanation

    Softmax transforms the ten output scores into probabilities that sum to one.

  75. 75
    The ten probabilities produced by softmax always add up to
    _____
    .
    Hint

    What is the total of all the probabilities produced by softmax?

    Answer

    one

    Explanation

    Softmax probabilities across all ten digits always add up to one.

  76. 76
    The network predicts the digit with the
    _____
    .
    Hint

    How does the classifier choose its predicted digit?

    Answer

    highest probability

    Explanation

    The digit with the largest probability is selected as the network's answer.

  77. 77
    The goal of digit-network training is pursued by adjusting the
    _____
    .
    Hint

    Which adjustable parameters are changed to improve the output probabilities?

    Answer

    weights and biases

    Explanation

    Training changes these parameters to raise the correct digit's probability and lower the others.

  78. 78
    The first digit network was trained on
    _____
    .
    Hint

    How many images and passes were used in the described training run?

    Answer

    sixty thousand images, five passes

    Explanation

    The example training run used sixty thousand images and processed the data for five passes.

  79. 79
    After the demonstrated training run, the seven's probability was
    _____
    .
    Hint

    What probability did the trained network assign to the correct seven in the shown example?

    Answer

    ninety-eight point six percent

    Explanation

    After training, the probability assigned to the seven in the demonstrated example reached ninety-eight point six percent.

  80. 80
    The networks were tested on
    _____
    that neither had seen before.
    Hint

    How large was the held-out evaluation set?

    Answer

    ten thousand images

    Explanation

    The final evaluation used ten thousand images that neither network had seen during training.

  81. 81
    The one-hidden-layer digit network reached an accuracy of
    _____
    .
    Hint

    What accuracy did the one-hidden-layer network achieve?

    Answer

    ninety-five point five eight percent

    Explanation

    The network with one hidden layer correctly classified this percentage of the ten thousand test images.

  82. 82
    The two-hidden-layer digit network reached an accuracy of
    _____
    .
    Hint

    What accuracy did the two-hidden-layer network achieve?

    Answer

    ninety-six point three five percent

    Explanation

    The network with two hidden layers achieved this test accuracy, seventy-seven more correct answers in the experiment.

  83. 83
    A network's weights and biases together are called its
    _____
    .
    Hint

    What collective name is given to all adjustable weights and biases?

    Answer

    parameters

    Explanation

    The weights and biases together are called a network's parameters.

  84. 84
    Because the larger network became deeper and wider together, the result cannot be attributed to
    _____
    .
    Hint

    Which architectural feature cannot be credited on its own in this comparison?

    Answer

    depth alone

    Explanation

    The larger network was both deeper and wider, so this experiment cannot establish that depth alone caused its improvement.

  85. 85
    A single number measuring how wrong the network is on an example is called the
    _____
    .
    Hint

    What number summarizes the network's error on one example?

    Answer

    loss

    Explanation

    Loss is a single number that measures how wrong the network's output is for an example.

  86. 86
    If the correct digit receives one hundred percent probability, the loss should be
    _____
    .
    Hint

    What loss should result if the correct digit receives all probability?

    Answer

    zero

    Explanation

    A perfectly correct probability distribution should produce zero loss in the described setup.

  87. 87
    The selected loss is the
    _____
    .
    Hint

    What mathematical function of the correct answer's probability is used?

    Answer

    negative logarithm of the probability

    Explanation

    The chosen loss grows as the probability assigned to the correct answer approaches zero.

  88. 88
    The demonstrated negative-log probability loss is called
    _____
    .
    Hint

    What is the name of the loss curve used for this demonstration?

    Answer

    cross-entropy

    Explanation

    The negative-log probability curve used in the demonstration is called cross-entropy.

  89. 89
    When the network gives the correct digit about nine percent probability, the loss is
    _____
    .
    Hint

    What loss is associated with the example's nine percent probability?

    Answer

    two point three seven

    Explanation

    A nine percent probability for the correct digit corresponds to a loss of two point three seven in the example.

  90. 90
    The direction and strength of the loss response to changing one weight are called its
    _____
    .
    Hint

    What name is given to a parameter's direction-and-strength measurement?

    Answer

    slope

    Explanation

    A slope captures both which direction to change a parameter and how strongly the loss reacts to that change.

  91. 91
    The change in one quantity with respect to another is measured by a
    _____
    .
    Hint

    What mathematical quantity describes the change in output per unit change in one part?

    Answer

    derivative

    Explanation

    A derivative measures how one quantity changes with respect to a change in another quantity.

  92. 92
    For a weighted input plus bias, the derivative of the output with respect to the weight is
    _____
    .
    Hint

    In the simple neuron equation, what determines the output change when the weight changes by one?

    Answer

    the input

    Explanation

    For a neuron whose output is weight times input plus bias, the output's derivative with respect to the weight is the input.

  93. 93
    For the simple neuron, the bias's derivative is always
    _____
    .
    Hint

    What is the output's derivative with respect to the bias?

    Answer

    one

    Explanation

    Increasing the bias by one increases the neuron's output by one, so the output's derivative with respect to bias is always one.

  94. 94
    For the simple neuron, the input's derivative is
    _____
    .
    Hint

    What determines how much the output changes when the input changes by one?

    Answer

    the weight

    Explanation

    The output's derivative with respect to the input is the weight multiplying that input.

  95. 95
    The simplified two-neuron example measures loss as
    _____
    between expected and actual answers.
    Hint

    What loss formula is used in the two-neuron walkthrough?

    Answer

    half the squared difference

    Explanation

    The two-neuron demonstration uses half the squared difference between the expected and actual answers as its simpler loss.

  96. 96
    Backpropagation first finds the loss derivative with respect to
    _____
    .
    Hint

    Which variable is directly connected to the loss in the two-neuron example?

    Answer

    x-three

    Explanation

    The loss formula directly touches the network's final output, x-three, so differentiation starts there.

  97. 97
    In the two-neuron example, the loss derivative with respect to x-three is
    _____
    .
    Hint

    What was the starting loss slope at the network's final output?

    Answer

    plus two

    Explanation

    For the described run, the derivative of loss with respect to x-three is plus two.

  98. 98
    Splitting the derivative through an intermediate variable produces the
    _____
    rule.
    Hint

    What appears when the derivative is split through an intermediate output?

    Answer

    chain

    Explanation

    The chain rule splits a downstream derivative into a product of derivatives through an intermediate variable.

  99. 99
    The derivative of loss with respect to x-two is
    _____
    .
    Hint

    What value is carried backward to x-two in the worked example?

    Answer

    four

    Explanation

    The carried derivative of loss with respect to the first neuron's output, x-two, is four in the example.

  100. 100
    In the worked example, the derivative of loss with respect to the first weight is
    _____
    .
    Hint

    What is the loss derivative with respect to the first neuron's weight?

    Answer

    eight

    Explanation

    Multiplying the carried slope by the local derivative gives a loss derivative of eight with respect to the first weight.

  101. 101
    At each equation, backpropagation must
    _____
    .
    Hint

    What repeated pair of operations moves derivatives through each equation?

    Answer

    multiply the slope that arrived by one simple local derivative

    Explanation

    At each equation, backpropagation multiplies the incoming slope by a local derivative, retains the parameter slopes, and passes the input slope backward.

  102. 102
    A neuron feeding many neurons ahead collects their slope contributions and
    _____
    .
    Hint

    What does a neuron do with slope contributions arriving from several later neurons?

    Answer

    adds them up

    Explanation

    When a neuron feeds multiple neurons in the next layer, it receives a slope contribution from each and sums them.

  103. 103
    The method for finding all parameter slopes by moving backward through the network is called
    _____
    .
    Hint

    What method provides all parameter slopes in one backward pass?

    Answer

    backpropagation

    Explanation

    Backpropagation computes the slopes of the loss with respect to all weights and biases in one backward pass.

  104. 104
    The collection of all weight and bias slopes is the
    _____
    .
    Hint

    What is the collective name for the master list of loss sensitivities?

    Answer

    gradient

    Explanation

    The complete list of slopes for all weights and biases is called the gradient.

  105. 105
    Backpropagation
    _____
    ; it only measures parameter sensitivities.
    Hint

    Does backpropagation measure or alter the network parameters?

    Answer

    changes nothing

    Explanation

    Backpropagation measures how the loss responds to parameter changes but does not itself update the parameters.

  106. 106
    The recipe that updates parameters using their slopes is called
    _____
    .
    Hint

    What is the name of the method that uses the gradient to update parameters?

    Answer

    gradient descent

    Explanation

    Gradient descent uses the measured slopes to update all parameters in directions that reduce loss.

  107. 107
    The shared dial that controls the size of training updates is the
    _____
    .
    Hint

    What single dial controls the size of each update?

    Answer

    learning rate

    Explanation

    The learning rate is the shared setting that scales the size of parameter updates.

  108. 108
    The size of each parameter move is the
    _____
    .
    Hint

    How are update size and slope related?

    Answer

    slope's size times the learning rate

    Explanation

    The magnitude of a parameter's move is determined by its slope magnitude multiplied by the learning rate.

  109. 109
    At a learning rate of point two, each weight moves by
    _____
    .
    Hint

    What fraction of the slope is used when the learning rate is point two?

    Answer

    one fifth of its slope

    Explanation

    With a learning rate of point two, each parameter moves by one fifth of its slope.

  110. 110
    The learning rate is found through
    _____
    .
    Hint

    How is the right learning rate chosen when no formula specifies it?

    Answer

    try, check, adjust

    Explanation

    The appropriate learning rate is found empirically by trying a value, evaluating the result, and adjusting it.

  111. 111
    After one update, the loss fell from two point three seven to
    _____
    .
    Hint

    What loss followed the first update?

    Answer

    two point zero eight

    Explanation

    One update with the chosen learning rate reduced the loss from two point three seven to two point zero eight.

  112. 112
    A group of training examples handled together is called a
    _____
    .
    Hint

    What is the name for a group of examples handled together?

    Answer

    batch

    Explanation

    A group of examples processed together, with their suggested changes combined, is called a batch.

  113. 113
    For a batch, the individual gradients are combined by taking their
    _____
    .
    Hint

    How are the individual examples' suggested changes combined?

    Answer

    average

    Explanation

    When examples suggest different directions, their gradients are averaged to produce one shared update.

  114. 114
    A complete pass through the training data is an
    _____
    .
    Hint

    What is one complete pass through the training set called?

    Answer

    epoch

    Explanation

    An epoch is one complete pass through the training data, after every example has had its say once.

  115. 115
    At learning rate point zero five, the loss changed from
    _____
    .
    Hint

    What loss change occurred at the smallest tested learning rate?

    Answer

    two point zero zero to one point nine seven

    Explanation

    At learning rate point zero five, the loss barely changes, falling from two point zero zero to one point nine seven.

  116. 116
    At learning rate two, the loss fell to
    _____
    .
    Hint

    What loss resulted from the middle tested learning rate?

    Answer

    point nine two

    Explanation

    At learning rate two, the loss made a substantial drop to point nine two.

  117. 117
    At learning rate twenty, the loss exploded to
    _____
    .
    Hint

    What loss resulted from the excessively large learning rate?

    Answer

    eight point nine nine

    Explanation

    At learning rate twenty, the update was too large and the loss exploded to eight point nine nine.

  118. 118
    Training steps cannot be
    _____
    because the measured slopes may stop being dependable.
    Hint

    What is the problem with updates that change the network too much?

    Answer

    too big

    Explanation

    A large update can move the network so far that the measured slopes no longer reliably describe its new state.

  119. 119
    Training steps cannot be
    _____
    because learning would crawl and could settle in a shallow dip.
    Hint

    What is the problem with updates that are extremely small?

    Answer

    too tiny

    Explanation

    Extremely small steps make learning very slow and may leave the network stuck in a shallow dip.

  120. 120
    When a network fits training images while worsening on unseen images, it may be
    _____
    .
    Hint

    What is the failure mode when a network fits practice images but performs worse on unseen ones?

    Answer

    memorizing

    Explanation

    A network that improves on training examples but worsens on unseen examples may be memorizing rather than learning general patterns.

  121. 121
    The data set that is not trained on but is checked during training is the
    _____
    set.
    Hint

    Which held-back set is used to monitor the network along the way?

    Answer

    validation

    Explanation

    The validation set is held out from training and used to check performance during training.

  122. 122
    The separate data set touched only once at the end is the
    _____
    set.
    Hint

    Which data set is reserved for the final evaluation?

    Answer

    test

    Explanation

    The test set is reserved for a final evaluation and is touched once at the end.

  123. 123
    In the starved-data experiment, the validation set selected
    _____
    as the best moment.
    Hint

    At which epoch did the validation set identify the best moment?

    Answer

    epoch ten

    Explanation

    The validation set identified epoch ten as the best point in the deliberately small training experiment.

  124. 124
    Choosing the best validation checkpoint and not using later training states is called
    _____
    .
    Hint

    What is the practice of returning to the best validation checkpoint called?

    Answer

    early stopping

    Explanation

    Early stopping means selecting the network from the best validation checkpoint instead of continuing to train after validation performance worsens.

  125. 125
    The strongest cure for memorizing the training data is
    _____
    .
    Hint

    What is described as the strongest way to reduce memorization?

    Answer

    more examples

    Explanation

    The strongest stated cure for memorization is to provide more varied training examples.

  126. 126
    To discourage extreme weights, training can add
    _____
    .
    Hint

    What can be added to discourage extreme weights?

    Answer

    penalties

    Explanation

    Penalties can discourage extreme parameter values and thereby constrain the network.

  127. 127
    One way to prevent memorizing a single path is to
    _____
    during practice.
    Hint

    What training technique prevents a single path from being relied on too much?

    Answer

    randomly silence neurons

    Explanation

    Randomly silencing neurons during practice reduces reliance on any one memorized path.

  128. 128
    Training images can be augmented by
    _____
    them.
    Hint

    Which image transformations are used to create variety for free?

    Answer

    stretch, shift, and tilt

    Explanation

    Transforming training images in these ways creates extra variety without collecting new images.

  129. 129
    A grid of weights arranged by inputs and neurons is called
    _____
    .
    Hint

    What is the mathematical name for a grid of numbers?

    Answer

    a matrix

    Explanation

    A grid of connection weights, organized by input and neuron, is called a matrix.

  130. 130
    In the described weight matrix, there is
    _____
    .
    Hint

    How are inputs and neurons arranged along the two dimensions of the weight grid?

    Answer

    one row for each input, one column for each neuron

    Explanation

    The weight matrix uses rows for inputs and columns for neurons.

  131. 131
    Running the weighted-sum calculation down every column is
    _____
    .
    Hint

    What operation computes an entire layer's weighted sums at once?

    Answer

    matrix multiplication

    Explanation

    Computing weighted sums for every neuron by running the multiply-and-add operation across matrix columns is a matrix multiplication.

  132. 132
    After matrix multiplication, the neuron still applies
    _____
    .
    Hint

    Which parts of the neuron calculation come after the matrix operation?

    Answer

    the bias and the bend

    Explanation

    The matrix performs the weigh-and-add work; the bias and nonlinear bend are applied afterward for each neuron.

  133. 133
    The digit network's first-layer matrix has
    _____
    .
    Hint

    What dimensions describe the digit network's first-layer weight matrix?

    Answer

    seven hundred eighty-four rows, thirty-two columns

    Explanation

    The first layer's matrix has one row per pixel input and one column per hidden neuron.

  134. 134
    When examples are stacked into a batch matrix, each example occupies a
    _____
    .
    Hint

    How are examples arranged when stacking a batch into a matrix?

    Answer

    rows

    Explanation

    A batch of examples can be stacked with one example per row so a single multiplication processes them together.

  135. 135
    Because each answer cell is independent, its calculation can happen
    _____
    with the others.
    Hint

    How can independent calculations for separate output cells be executed?

    Answer

    at the same time

    Explanation

    Each output cell is an independent multiply-and-add, so many can be calculated in parallel.

  136. 136
    A layer must wait for the
    _____
    before it can calculate.
    Hint

    Why can't all network layers be calculated simultaneously?

    Answer

    previous one's answers

    Explanation

    Layers must still run in sequence because each layer needs the outputs of the preceding layer.

  137. 137
    A graphics processor, abbreviated
    _____
    , is built for many similar calculations at once.
    Hint

    Which processor type is designed for many similar calculations in parallel?

    Answer

    GPU

    Explanation

    A graphics processor is designed to perform many similar calculations at once, suiting large matrix operations.

  138. 138
    An ordinary processor built to do anything is a
    _____
    .
    Hint

    What is the abbreviation for an ordinary processor built to do anything?

    Answer

    CPU

    Explanation

    An ordinary central processor is designed to handle a broad range of tasks rather than specialize in massive parallel calculations.

  139. 139
    Language models first split text into
    _____
    .
    Hint

    What are the small chunks used to split text called?

    Answer

    tokens

    Explanation

    Text is divided into small chunks called tokens, which may be whole words, word pieces, or punctuation.

  140. 140
    The component that determines the exact text split is the
    _____
    .
    Hint

    What determines how text is split into token chunks?

    Answer

    tokenizer

    Explanation

    The tokenizer determines exactly how a particular text is divided into tokens.

  141. 141
    Each token gets its own
    _____
    .
    Hint

    What numerical representation does each token receive?

    Answer

    learned list of numbers

    Explanation

    Each token is represented by its own learned numerical list, which is adjusted during training.

  142. 142
    In next-token prediction, the earlier words are called the
    _____
    .
    Hint

    What is the name for all the earlier words used to predict what comes next?

    Answer

    context

    Explanation

    The context is the words that came before and can influence the model's next-token prediction.

  143. 143
    To predict the next token, the model scores
    _____
    .
    Hint

    Which possible continuations receive scores?

    Answer

    every token it knows

    Explanation

    The model scores all tokens in its vocabulary as candidates for the next token.

  144. 144
    Instead of always taking the highest probability, a model can
    _____
    a token.
    Hint

    What alternative to always choosing the top probability can allow less likely tokens?

    Answer

    sample

    Explanation

    A language model may select the highest-probability token or sample a less likely option occasionally.

  145. 145
    To train for next-word prediction, the model is shown real text and asked to
    _____
    .
    Hint

    What is done to the text to create a next-word prediction training task?

    Answer

    hide the next word

    Explanation

    In the described training setup, the model is given real text with the next word hidden and must predict it.

  146. 146
    In next-word training, the truth is
    _____
    .
    Hint

    What serves as the correct target in next-word prediction?

    Answer

    the real next word

    Explanation

    The actual next word supplies the truth against which the model's probability is evaluated.

  147. 147
    A major additional mechanism in modern language models is
    _____
    .
    Hint

    What machinery helps determine the importance of earlier words?

    Answer

    attention

    Explanation

    Attention is a key additional mechanism that helps a model decide which earlier words matter most.

  148. 148
    The shared backbone of neural-network learning can be summarized as
    _____
    .
    Hint

    What three-step loop summarizes the recurring training process?

    Answer

    predict, check, nudge

    Explanation

    The recurring learning pattern across networks is to make a prediction, check it against the goal, and adjust parameters.

  149. 149
    In the closing Plinko analogy,
    _____
    .
    Hint

    Does the board tune its own pegs, or does the training process change them?

    Answer

    the loop acts on the board; the board never changes itself

    Explanation

    The Plinko analogy emphasizes that an external training process adjusts the board rather than the board adjusting itself.

  150. 150
    In the final analogy, every peg corresponds to a
    _____
    .
    Hint

    What network parameter does each Plinko peg represent?

    Answer

    weight

    Explanation

    Each peg corresponds to a weight in the analogy, and adjustments to pegs correspond to weight updates.

  151. 151
    In the Plinko analogy, every peg change represents an
    _____
    against the error.
    Hint

    What does changing a peg represent in network training?

    Answer

    adjustment

    Explanation

    Changing a peg is analogous to nudging a network parameter to reduce error.

  152. 152
    The network's aim is to become better and better, but it is
    _____
    .
    Hint

    Does repeated learning guarantee perfect answers?

    Answer

    not perfect

    Explanation

    The concluding point is that networks improve through repeated tuning but are not promised to be perfect.

1 of 152
Question 1 of 152

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent