Backpropagation and LLM Training
- 110Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
110 questions
- 1In a house-price model, adjustable numbers that determine how strongly inputs such as size or location affect the prediction are called_____.
Hint
Think of the adjustable knobs inside a model.
Answer
weights
- 2In the house-price example, changing the weight associated with house size changes how much_____influences the predicted price.
Hint
This is the input linked to that particular adjustable knob.
Answer
the size
- 3A neural network's adjustable parameters can number in the millions or even_____.
Hint
This is an even larger scale of parameter count.
Answer
billions
- 4When a neural network's prediction is wrong, the central training challenge is determining which weights to change, in which direction, and_____.
Hint
A useful update requires a direction as well as a magnitude.
Answer
by how much
- 5In the tea analogy, the amounts of tea, sugar, and milk, along with the brewing time, represent the model's_____.
Hint
These are the recipe choices that can be adjusted.
Answer
weights
- 6In the tea analogy, making the tea corresponds to_____in a neural network.
Hint
This is the stage where inputs are processed to produce an outcome.
Answer
forward propagation
- 7In the tea analogy, the taste and rating of the tea represent the model's_____.
Hint
This measures how unsatisfactory the result was.
Answer
loss
- 8In the tea analogy, tracing a poor rating backward to identify which recipe choices contributed to it represents_____.
Hint
This works backward from the result to analyze parameter effects.
Answer
backpropagation
- 9In the tea analogy, changing the recipe after receiving feedback corresponds to_____.
Hint
This is the step that uses information to adjust choices.
Answer
optimization
- 10In the tea analogy, repeatedly making the tea, assessing it, and adjusting the recipe represents_____.
Hint
This is the repeated learning process.
Answer
training
- 11The first stage in the basic neural-network loop sends input through layers to produce a_____.
Hint
It is the network's output before its error is evaluated.
Answer
prediction
- 12A network that assigns a cat image a higher probability for dog than for cat has made a_____before any learning update occurs.
Hint
The forward pass produces an output, but has not yet changed the weights.
Answer
guess
- 13The single number used during training to represent how wrong a model's prediction was is the_____.
Hint
It turns prediction error into a quantity the training process can use.
Answer
loss
- 14In the basic learning loop, the optimizer updates model_____after using gradient information.
Hint
These are the learned adjustable parameters.
Answer
weights
- 15The mathematical rule that connects the effect of a tap on water flow to the effect of water flow on tank level is the_____.
Hint
It combines dependent effects link by link.
Answer
chain rule
- 16Backpropagation determines how changing each parameter would affect the final_____.
Hint
It starts from the model's measured mistake.
Answer
error
- 17During a backward pass, backpropagation calculates gradient information through the network's_____.
Hint
This represents the connected operations that produced the prediction.
Answer
computational graph
- 18If increasing a weight from five point zero to five point one makes the error worse, training should move that weight in the_____direction.
Hint
The update should counteract the change that increased the error.
Answer
opposite
- 19A gradient describes both the direction the loss moves when a parameter changes and how_____the loss reacts.
Hint
The gradient conveys the magnitude of the loss's response as well as its direction.
Answer
strongly
- 20A gradient is information about a parameter change; it does not update the parameter by_____.
Hint
Another component must use the gradient to take a step.
Answer
itself
- 21In the foggy-hill analogy, the slope indicating which way is downhill represents the_____.
Hint
Backpropagation calculates this information about the slope.
Answer
gradient
- 22In the foggy-hill analogy, the component that actually takes a step after the downhill direction is known is the_____.
Hint
It uses the slope information rather than calculating it.
Answer
optimizer
- 23For a chain of dependent calculations, backpropagation efficiently applies the_____across the computational graph.
Hint
This calculus rule combines the effects of linked operations.
Answer
chain rule
- 24Backpropagation avoids recomputing every effect from scratch by reusing shared_____from earlier computations.
Hint
These are values already produced while calculating the network's output.
Answer
intermediate results
- 25The notation describing loss with respect to a weight asks how the loss changes if that weight changes_____.
Hint
It concerns the local effect of a small parameter change.
Answer
slightly
- 26Stochastic gradient descent, or SGD, takes a simple step in the_____direction.
Hint
This is the direction that aims to reduce loss.
Answer
downhill
- 27Unlike a simple SGD step, Adam keeps a running estimate of the slope and adapts the_____over time.
Hint
This is the movement size used to update a parameter.
Answer
step
- 28AdamW is a refinement of Adam that handles_____differently.
Hint
This term refers to a method related to controlling weight values.
Answer
weight decay
- 29The hyperparameter that controls the scale of each weight update is the_____.
Hint
It determines how large the optimizer's steps are.
Answer
learning rate
- 30If the learning rate is too small, training makes tiny updates and progress becomes_____.
Hint
The model still moves toward improvement, but very slowly.
Answer
painfully slow
- 31If the learning rate is too large, updates can overshoot the valley, making the loss jump around and possibly never_____.
Hint
The loss may fail to stabilize near a low point.
Answer
settle
- 32A learning rate is a hyperparameter because engineers choose it rather than_____it from data.
Hint
Contrast this with weights, which are adjusted during training.
Answer
learn
- 33In the training loop, forward propagation produces a prediction, and the loss measures its error before backpropagation calculates the_____.
Hint
These indicate how parameter changes affect the loss.
Answer
gradients
- 34In the simple model whose output is input multiplied by one weight, an input of five and a target output of ten require a final weight of_____.
Hint
Multiplying five by this value produces ten.
Answer
two
- 35Real training chooses weight updates using gradient-based updates rather than guessing parameter increments by_____.
Hint
The example's trial values illustrate the idea, not the actual update procedure.
Answer
hand
- 36A naive approach to training a model with a billion weights would require a separate full model evaluation for each weight to measure its_____.
Hint
The method tests how changing each individual weight influences the result.
Answer
effect
- 37Backpropagation computes gradients for all weights in a single_____after the forward calculation and loss computation.
Hint
This is the reverse stage of the training loop.
Answer
backward pass
- 38Because backpropagation's cost stays close to the cost of the forward pass instead of scaling with one full evaluation per weight, it helped make_____networks practical.
Hint
These networks have many layers and parameters.
Answer
deep
- 39A very deep computation graph can cause gradient signals to become extremely small, a problem called the_____.
Hint
The signal fades as it travels backward toward earlier layers.
Answer
vanishing gradient problem
- 40When gradients vanish, the earliest parts of the network learn slowly because their weights_____.
Hint
Very small gradient signals result in very small updates.
Answer
barely move
- 41When gradient values grow excessively and updates become unstable, the problem is called the_____.
Hint
Unlike vanishing gradients, the signals become too large.
Answer
exploding gradient problem
- 42The technique that caps the size of a gradient update to stabilize training is called_____.
Hint
It limits unusually large gradients.
Answer
gradient clipping
- 43Careful initialization, normalization layers, residual connections, and gradient clipping are practical tools for improving training_____.
Hint
These methods help prevent training from becoming difficult or unstable.
Answer
stability
- 44If every layer were purely linear, stacking layers would still produce a linear function, preventing the network from learning genuinely_____shapes.
Hint
These relationships cannot be represented by merely stacking linear transformations.
Answer
complex
- 45Activation functions let networks represent complicated relationships by introducing_____into the layers.
Hint
This prevents stacked layers from collapsing into one linear function.
Answer
nonlinearity
- 46Historically common activation functions included sigmoid and_____.
Hint
It is another traditional activation function named alongside sigmoid.
Answer
tanh
- 47The activation function that made deep networks much easier to train after sigmoid and tanh were common was_____.
Hint
Its name is an abbreviation for rectified linear unit.
Answer
ReLU
- 48Modern transformers commonly use smoother activation variants such as GELU and_____style feed-forward blocks.
Hint
This is the other modern transformer example mentioned with GELU.
Answer
SwiGLU
- 49For gradients to guide learning through a network, its structure needs to be useful, nonlinear, and_____.
Hint
Gradients rely on being able to calculate how outputs change with inputs or parameters.
Answer
differentiable
- 50The mathematics underlying backpropagation comes from calculus, especially the_____.
Hint
It describes derivatives through linked computations.
Answer
chain rule
- 51In a transformer, input tokens are first converted into_____before being processed by transformer blocks.
Hint
These are vector representations of tokens.
Answer
embeddings
- 52Within a transformer block, the component that mixes information between token positions is_____.
Hint
It allows positions to exchange information.
Answer
self attention
- 53Within a transformer block, the feed-forward network transforms_____.
Hint
It operates on the representations associated with token locations.
Answer
each position
- 54In a transformer, the final output projection produces values called_____before they are converted into token probabilities.
Hint
They are the scores immediately preceding probability conversion.
Answer
logits
- 55During transformer backpropagation, gradient information eventually flows back through the network into the_____.
Hint
These are the token representations at the beginning of the model's processing.
Answer
embeddings
- 56The mathematical and computational ideas behind backpropagation were used in control theory and optimization before becoming widely known for_____.
Hint
These are the models the method later helped train.
Answer
neural networks
- 57In 1974, Paul Werbos described using backpropagation-style ideas for neural networks in his_____.
Hint
This is the academic work in which he described the ideas.
Answer
doctoral thesis
- 58The 1986 landmark paper that helped make backpropagation practical and popular was published by David Rumelhart, Geoffrey Hinton, and_____.
Hint
He is the third researcher named with Rumelhart and Hinton.
Answer
Ronald Williams
- 59Backpropagation is a standard, efficient way to compute gradients for modern_____training.
Hint
This kind of training relies on gradients to guide parameter updates.
Answer
gradient-based
- 60Rule-based systems, search algorithms, expert systems, decision trees, and random forests can operate without_____.
Hint
These are examples showing that AI is broader than neural-network training.
Answer
backpropagation
- 61A neural network is a computational structure that can perform its forward calculations even if its weights were found without_____.
Hint
The network's structure is distinct from the method used to select its weights.
Answer
backpropagation
- 62In evolutionary strategies, networks with better scores are kept, their weights are mutated, and a new_____is created.
Hint
This is the next group of candidate networks in the population.
Answer
generation
- 63Zeroth order optimization estimates gradients by_____the system.
Hint
It tests the system to infer how changes affect the outcome.
Answer
probing
- 64Feedback alignment uses fixed random_____to provide feedback through a network.
Hint
These are connections used to transmit learning signals backward.
Answer
feedback connections
- 65Unlike gradient-based methods, target propagation sends target_____instead of gradients.
Hint
These are the layer-level values that the method uses as targets.
Answer
activations
- 66Forward mode differentiation is especially useful when the number of outputs is many and the number of inputs is_____.
Hint
It is suited to the case where inputs are the smaller count.
Answer
few
- 67For huge differentiable networks, backpropagation is computationally useful because it exploits known mathematical relationships instead of_____testing changes.
Hint
This contrasts backpropagation with uninformed trial and error.
Answer
blindly
- 68Modern large transformers are overwhelmingly trained with gradient-based optimization, with gradients computed through automatic differentiation, which is_____.
Hint
It is the reverse gradient-computation process discussed throughout the material.
Answer
backpropagation
- 69The conceptual model for LLM pretraining in which a model predicts the next token is_____.
Hint
The model learns to choose what text should follow the current sequence.
Answer
next token prediction
- 70In a next-token training example, the correct token is compared with the model's predicted probabilities to compute the_____.
Hint
This measures the mistake before gradients are calculated.
Answer
loss
- 71When an LLM answers a prompt during ordinary inference, it performs a forward computation but no backward pass through the_____.
Hint
These parameters remain unchanged while the model produces its answer.
Answer
weights
- 72During inference, an LLM produces a sequence by generating the next token, then the next, with no loss calculation or_____.
Hint
These are the changes made to parameters during training.
Answer
weight updates
- 73The distinction between training and inference is that training updates weights, while inference leaves the_____unchanged.
Hint
These are the model parameters altered during training.
Answer
weights
- 74Compared with inference, training must retain intermediate_____because the gradients need them.
Hint
These are values produced inside the network during the forward computation.
Answer
activations
- 75In addition to forward computation, loss, and backward computation, training must store gradients and_____.
Hint
Adam keeps additional values of this kind for every parameter.
Answer
optimizer state
- 76Adam increases training memory requirements partly because it keeps additional values for every_____.
Hint
These are the model's individual adjustable values.
Answer
parameter
- 77Although inference has real costs, including the key value cache, training is generally substantially heavier per_____processed.
Hint
This is the unit used to compare processing cost in the passage.
Answer
token
- 78GPUs suit neural-network training because they can run thousands of small numerical operations in_____.
Hint
Many operations can be performed at the same time.
Answer
parallel
- 79Training requires more computation than inference because it adds backward computation and optimizer work on top of the_____computation.
Hint
This is the computation inference mainly needs.
Answer
forward
- 80A conceptual example of a cat classifier and an LLM illustrates that both use the same training loop at different_____.
Hint
The process is structurally alike even though the models differ greatly in size and data.
Answer
scale
- 81A cat classifier that predicts dog incorrectly and an LLM predicting a next token follow the same structural sequence of prediction, loss, backpropagation, and_____.
Hint
This is the optimizer's change to the model after gradients are computed.
Answer
weight update
- 82Fine tuning is_____training of a model that already has pretrained parameters.
Hint
It continues training rather than starting with no prior training.
Answer
additional
- 83Fine tuning a pretrained model on specialized examples adapts it to a particular_____.
Hint
Examples might contain specialized incident data or terminology.
Answer
domain
- 84During fine tuning, examples pass through a forward pass, loss computation, backpropagation, and an optimizer that updates selected_____.
Hint
These are the values the fine-tuning process chooses to adjust.
Answer
parameters
- 85LoRA stands for_____.
Hint
It is a parameter-efficient fine-tuning method named in the material.
Answer
low rank adaptation
- 86In LoRA, most pretrained model parameters are_____rather than optimized.
Hint
They are left unchanged while smaller added components are trained.
Answer
frozen
- 87In LoRA, the small components that are optimized while the base model remains mostly unchanged are called trainable_____.
Hint
These are attached to the large pretrained model.
Answer
adapters
- 88LoRA dramatically reduces the amount of_____compared with updating all the pretrained parameters.
Hint
This is the part of the model's parameter state that must be optimized.
Answer
trainable state
- 89Even when LoRA trains only adapters, it still uses a forward pass, loss, backpropagation, and an_____.
Hint
It uses gradients to update the trainable adapter parameters.
Answer
optimizer
- 90Retrieval changes the context supplied to a model without retraining its base_____.
Hint
These are the pretrained parameters that retrieval leaves unchanged.
Answer
weights
- 91Full fine tuning can be expensive because it may update_____of parameters.
Hint
This is the scale of a large model's adjustable values.
Answer
billions
- 92A developer building prompt workflows, tool-calling agents, retrieval-augmented generation, or orchestration pipelines does not need to derive backpropagation's_____to be productive.
Hint
Conceptual understanding can be useful even without doing this.
Answer
mathematics
- 93An AI application developer should understand concepts such as weights, loss, gradients, optimizers, forward passes, and the difference between training and_____.
Hint
It is the process of using a trained model to produce outputs.
Answer
inference
- 94An AI or ML engineer should understand gradient computation, optimizer behavior, learning rates, training stability, batch size, and_____.
Hint
It is one of the practical training techniques listed for this role.
Answer
gradient accumulation
- 95The deeper mathematics for a model or research engineer includes derivatives, the chain rule, Jacobians, automatic differentiation, and_____.
Hint
It is the theoretical study of how optimization methods behave.
Answer
optimization theory
- 96The depth of backpropagation knowledge someone needs should match their_____.
Hint
Different roles require different levels of mathematical and practical depth.
Answer
responsibilities
- 97Choosing between a hosted API, retrieval, prompt engineering, fine tuning, or training is the kind of decision made by an AI solution_____.
Hint
This role chooses among different system-building approaches.
Answer
architect
- 98Understanding training costs helps engineers reason about why training infrastructure differs from_____infrastructure.
Hint
This is the infrastructure used to serve a trained model.
Answer
inference
- 99The choice between full fine tuning and parameter-efficient fine tuning matters because updating billions of parameters is_____.
Hint
The cost motivates methods that train only a smaller subset.
Answer
expensive
- 100When deciding between fine tuning and retrieval, remember that fine tuning changes model parameters, while retrieval changes the supplied_____.
Hint
This is the information provided alongside a prompt without retraining base weights.
Answer
context
- 101When deciding whether to use a frozen or trainable model, the key question is whether the model's_____should change at all.
Hint
These parameters are updated during training but left fixed when frozen.
Answer
weights
- 102Understanding that training stores activations, gradients, and optimizer state helps predict why it requires more_____than serving.
Hint
These additional stored values increase this resource requirement.
Answer
memory
- 103Understanding learning rates helps explain why optimization might diverge or learn_____.
Hint
A rate that is too small can produce this outcome.
Answer
slowly
- 104Accumulating gradients across micro batches is called_____.
Hint
The name describes combining gradient contributions across smaller batches.
Answer
gradient accumulation
- 105An agent that retries a task or reflects on an answer is not necessarily performing_____.
Hint
Retrying is not the same as computing gradients to update model weights.
Answer
backpropagation
- 106When a user asks an LLM a question and it produces an answer, the model is performing_____rather than a backward pass through its weights.
Hint
This is the forward-only process of using a trained model.
Answer
inference
- 107Backpropagation is fundamentally a training mechanism for computing gradients, not the same thing as reasoning, reflection, or_____.
Hint
This phrase refers to a style of reasoning rather than parameter-gradient computation.
Answer
chain of thought
- 108In the simple summary of the training loop, 'guess' means forward propagation, 'score' means loss, and 'trace' means_____.
Hint
This step works backward from the measured error.
Answer
backpropagation
- 109In the same training-loop summary, 'adjust' means the optimizer updating the_____.
Hint
These are the parameters changed using gradient information.
Answer
weights
- 110In the training-loop summary, repeating the guess, score, trace, and adjust steps is called_____.
Hint
This repeated process causes the model's parameters to improve.
Answer
training

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