Backpropagation and Neural Networks
- 74Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
74 questions
- 1A classifier parameterized by weights W takes data x as input and outputs a vector of_____for the possible classes.
Hint
These values indicate how strongly the classifier favors each class.
Answer
scores
- 2The SVM loss function quantifies how satisfied or dissatisfied we are with the classifier's produced_____.
Hint
The loss evaluates the values assigned to the classes.
Answer
scores
- 3The total loss combines a data loss term with a_____term that expresses a preference for simpler models.
Hint
This term discourages overly complex models and can improve generalization.
Answer
regularization
- 4The purpose of minimizing the loss function is to find the parameters W corresponding to the_____loss.
Hint
Optimization seeks the bottom of the loss landscape.
Answer
lowest
- 5Gradient descent updates parameters by moving in the direction of_____descent, which is the negative of the gradient.
Hint
The gradient points uphill, so optimization moves in the opposite direction.
Answer
steepest
- 6A numerical gradient can be estimated using a finite_____approximation.
Hint
This method compares function values at nearby points.
Answer
difference
- 7Compared with the analytic gradient, the numerical gradient is generally slow and_____.
Hint
It estimates rather than exactly evaluates the derivative.
Answer
approximate
- 8An analytic gradient is fast and exact once its mathematical_____has been derived.
Hint
The derivative must first be obtained symbolically.
Answer
expression
- 9In practice, an analytic gradient implementation should be checked against a_____gradient.
Hint
Use the easy-to-write approximation to verify the exact implementation.
Answer
numerical
- 10Gradient descent can be visualized as following a trajectory down a loss_____toward its minimum.
Hint
Think of the loss as a surface with hills and valleys.
Answer
landscape
- 11A computational graph represents a function as a collection of nodes, where each node performs a step of_____.
Hint
Nodes can represent operations such as addition or multiplication.
Answer
computation
- 12In a linear classifier computational graph, multiplying W by x produces a vector of class_____.
Hint
These are the outputs used to assess the classes.
Answer
scores
- 13The total loss node in the classifier graph is formed by adding the data term and the_____term.
Hint
This term promotes model simplicity.
Answer
regularization
- 14Backpropagation recursively applies the_____rule to compute gradients throughout a computational graph.
Hint
This calculus rule links derivatives through intermediate variables.
Answer
chain
- 15Backpropagation begins at the_____of the computational graph and proceeds toward the inputs.
Hint
The process starts with the final output or loss.
Answer
end
- 16For f(x,y,z)=(x+y)z, with x=−2, y=5, and z=−4, the intermediate value q=x+y equals_____.
Hint
Add the first two values before applying multiplication.
Answer
3
- 17For the same function and values, the output f=qz equals_____.
Hint
Multiply the intermediate value q=3 by z=−4.
Answer
-12
- 18For q=x+y, the local gradients with respect to both x and y are_____.
Hint
Changing either input of an addition by one changes the output by one.
Answer
1
- 19For f=qz, the local gradient of f with respect to q is_____.
Hint
For multiplication, the derivative with respect to one input is the other input.
Answer
z
- 20For f=qz, the local gradient of f with respect to z is_____.
Hint
Differentiate the product with respect to the second factor.
Answer
q
- 21In the numerical example f(x,y,z)=(x+y)z, the final gradients with respect to both x and y are_____.
Hint
Each passes through the addition node, whose local gradient is one, and z=−4.
Answer
-4
- 22In that same example, the gradient of f with respect to z is_____.
Hint
The derivative with respect to z is the intermediate value q.
Answer
3
- 23At the final output node, the gradient of the output with respect to itself is_____.
Hint
An output changes one-for-one with itself.
Answer
1
- 24At each node, backpropagation multiplies the incoming upstream gradient by the node's_____gradient.
Hint
This derivative concerns only the immediate operation at the node.
Answer
local
- 25A computational node needs to know only its immediate inputs, its direct output, and its_____gradients.
Hint
These derivatives describe how the node's output changes with its inputs.
Answer
local
- 26For an addition gate, the same upstream gradient is passed to each input, so the gate acts as a gradient_____.
Hint
It sends identical gradient values along multiple branches.
Answer
distributor
- 27For a maximum gate, the full upstream gradient is sent to the input that had the maximum value, while the other input receives_____.
Hint
Only the winning branch affected the forward output.
Answer
zero
- 28Because it sends the gradient through the winning branch, a max gate can be viewed as a gradient_____.
Hint
It directs the gradient to one of several possible inputs.
Answer
router
- 29For a multiplication gate, the gradient with respect to one input is the upstream gradient scaled by the value of the_____input.
Hint
Differentiate a product with respect to one factor.
Answer
other
- 30When one node influences multiple downstream nodes, the gradients returning from those branches are_____at that node.
Hint
The multivariate chain rule combines all downstream effects.
Answer
added
- 31A sigmoid function is defined as /(1+e^{-x}), and its derivative can be written as_____.
Hint
The derivative uses the sigmoid output twice.
Answer
σ(x)(1−σ(x))
- 32A group of simple computational nodes may be replaced by one complex node if its_____gradient can be written down.
Hint
Backpropagation only needs the derivative of the operation represented by that node.
Answer
local
- 33Using a single sigmoid gate instead of separate addition, exponential, and reciprocal nodes produces the same gradient when the correct local gradient is used; this demonstrates their_____.
Hint
Both graph granularities give the same result.
Answer
equivalence
- 34For a sigmoid output of approximately 0.73, the local sigmoid gradient is approximately_____.
Hint
Evaluate ?\sigma(x)(1-\sigma(x)) using the given output.
Answer
0.2
- 35A computational graph can use very simple nodes such as additions, multiplications, and_____while avoiding symbolic differentiation of the entire expression.
Hint
This operation appears in the sigmoid computation.
Answer
exponentials
- 36In a vector-valued computational graph, gradients become_____matrices containing partial derivatives.
Hint
This matrix describes how every output component depends on every input component.
Answer
Jacobian
- 37For an element-wise operation, each input element affects only the corresponding output element, making the Jacobian matrix_____.
Hint
All off-diagonal dependencies are zero.
Answer
diagonal
- 38For a 4096-dimensional vector input and an element-wise maximum with zero, the output is also_____-dimensional.
Hint
Element-wise operations preserve the number of elements.
Answer
4096
- 39The full Jacobian for a 4096-dimensional input and output has shape 4096 by_____.
Hint
A Jacobian has one row and one column for each output and input dimension, respectively.
Answer
4096
- 40For the vector function q=Wx, the partial derivative of q component k with respect to weight W at row i and column j is_____when the relevant row matches.
Hint
A weight is multiplied by the input component in its column.
Answer
xj
- 41The gradient with respect to a vector variable has the same_____as the original vector.
Hint
Use this property as a practical sanity check.
Answer
shape
- 42In a modular implementation, each computational gate should provide a forward function and a_____function.
Hint
This second function computes derivatives using the chain rule.
Answer
backward
- 43During the forward pass, gates should be processed in_____sorted order so that their inputs are available first.
Hint
This ordering respects the direction of dependencies in a graph.
Answer
topologically
- 44The backward pass processes gates in the_____of the forward topological order.
Hint
Backpropagation travels from the output toward the inputs.
Answer
reverse
- 45A gate should cache relevant values from the forward pass because those values are often needed during the_____pass.
Hint
Local derivatives frequently depend on forward inputs or outputs.
Answer
backward
- 46For a multiplication gate receiving upstream gradient dz, the gradient with respect to x is computed as dz multiplied by_____.
Hint
Use the value of the other factor from the forward pass.
Answer
y
- 47Deep-learning libraries commonly represent operations such as sigmoid, convolution, and Argmax as computational_____or layers.
Hint
These are modular units with forward and backward implementations.
Answer
nodes
- 48Before deriving gradients for a complicated function, the recommended first step is to represent it as a_____graph.
Hint
Break the function into operations connected by dependencies.
Answer
computational
- 49A neural network can be formed by stacking simpler functions hierarchically to create a more complex,_____function.
Hint
The network must include nonlinear activation functions between linear transformations.
Answer
non-linear
- 50A basic two-layer neural network applies a linear transformation, a_____function, and then another linear transformation.
Hint
This operation prevents the stacked linear layers from collapsing into one linear function.
Answer
non-linear
- 51Without nonlinearities between them, multiple stacked linear layers collapse into a single_____function.
Hint
The composition of linear transformations remains in the same function class.
Answer
linear
- 52In a two-layer network, the first weight matrix produces an intermediate representation commonly denoted by_____.
Hint
This hidden representation is passed to the second layer.
Answer
h
- 53The second weight matrix combines the template scores in h into final class_____.
Hint
These are the network's outputs for the classes.
Answer
scores
- 54Adding more alternating linear layers and nonlinearities creates networks of arbitrary_____, which motivates the term deep neural networks.
Hint
This refers to the number of stacked layers.
Answer
depth
- 55In the template interpretation, the first-layer weights can detect multiple_____of an object, such as red and yellow cars or left- and right-facing horses.
Hint
These are distinct forms or appearances of the same class.
Answer
modes
- 56The second-layer weights form a_____sum of the hidden template scores rather than taking their maximum.
Hint
The matrix entries determine how strongly each hidden feature contributes.
Answer
weighted
- 57A two-layer neural network can also be called a_____-hidden-layer neural network.
Hint
Count the intermediate layer rather than the two linear transformations.
Answer
one
- 58A three-layer neural network can also be called a_____-hidden-layer neural network.
Hint
The output layer is not counted as hidden.
Answer
two
- 59In the biological analogy, dendrites primarily_____impulses arriving at a neuron.
Hint
They are the input structures of the neuron.
Answer
receive
- 60The cell body of a neuron integrates incoming_____before producing an outgoing signal.
Hint
These are the impulses received through the dendrites.
Answer
signals
- 61A neuron carries its output signal away from the cell body through_____.
Hint
These structures transmit signals to downstream neurons.
Answer
axons
- 62In the neural-network analogy, the weighted combination of inputs resembles the integration performed by the neuron's_____body.
Hint
This is the central part of the biological neuron.
Answer
cell
- 63The connections between neurons in the biological analogy are associated with_____and their weights.
Hint
These are junctions connecting neurons.
Answer
synapses
- 64An activation function can be loosely interpreted as representing a neuron's firing or_____rate.
Hint
Neurons communicate using discrete spikes.
Answer
spiking
- 65A ReLU outputs zero for negative inputs and is_____for positive inputs.
Hint
Its positive regime follows the input directly.
Answer
linear
- 66The lecture emphasizes that biological neurons are much more_____than the simplified units used in artificial neural networks.
Hint
The brain analogy is described as loose rather than exact.
Answer
complex
- 67Biological synapses are not merely single scalar weights; they behave as complex nonlinear_____systems.
Hint
Their behavior changes over time and is nonlinear.
Answer
dynamical
- 68A fully connected neural-network layer can be evaluated efficiently using vectorized_____multiplication.
Hint
One operation computes many neuron outputs at once.
Answer
matrix
- 69In a fully connected network, a hidden layer can be viewed as a whole_____of neurons rather than as one neuron.
Hint
Its activations are stored together in one mathematical object.
Answer
vector
- 70The standard forward computation of a neural layer includes a weighted sum such as Wx+b followed by an_____function.
Hint
This function introduces the layer's nonlinearity.
Answer
activation
- 71The abstraction of a neural-network layer is useful because it supports efficient_____code.
Hint
Operations are performed on whole arrays instead of one neuron at a time.
Answer
vectorized
- 72The backward pass of a neural network uses_____to compute gradients for all of its parameters.
Hint
It propagates upstream gradients through the network.
Answer
backpropagation
- 73A neural network's forward pass computes operation results and saves intermediate values for later_____computation.
Hint
The saved values are needed during backpropagation.
Answer
gradient
- 74The main computational idea of a neural network is the composition of multiple stages of hierarchical_____.
Hint
Each layer transforms the representation before passing it onward.
Answer
computation

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