Backpropagation and Neural Networks
- 59Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
What is the purpose of a classifier function f(x;W)?
What is the purpose of a classifier function f(x;W)?
59 questions
- 1
What is the purpose of a classifier function f(x;W)?
- A
It directly converts each input into a probability distribution without training
- B
It determines the regularization strength without examining the input data
- C
It updates the model parameters without evaluating a loss function
- D
It maps input data to a vector of scores for the possible classes
Correct answer
DIt maps input data to a vector of scores for the possible classes
Explanation
A classifier parameterized by weights W takes data x as input and produces a vector of scores, one for each class.
- A
- 2
Why is a regularization term included in the total loss?
- A
To replace the data loss when the classifier has multiple output classes
- B
To express a preference for simpler models that may generalize better
- C
To guarantee that every training example receives the highest possible score
- D
To make numerical gradient calculations exact rather than approximate
Correct answer
BTo express a preference for simpler models that may generalize better
Explanation
The total loss combines a data term with a regularization term that favors simpler models and can improve generalization.
- A
- 3
How does gradient descent reduce a loss function?
- A
It changes parameters randomly until the loss becomes constant
- B
It repeatedly moves parameters in the direction of the positive gradient
- C
It increases the loss temporarily so that the model becomes more complex
- D
It repeatedly moves parameters in the direction opposite the gradient
Correct answer
DIt repeatedly moves parameters in the direction opposite the gradient
Explanation
The gradient points in the direction of steepest increase, so gradient descent moves in the negative-gradient direction to reduce the loss.
- A
- 4
Which statement correctly compares numerical and analytic gradients?
- A
Numerical gradients require extensive calculus, whereas analytic gradients require no mathematical derivation
- B
Numerical gradients can only be used for neural networks, whereas analytic gradients apply only to linear models
- C
Numerical gradients are approximate and slow, whereas analytic gradients are fast and exact once derived
- D
Numerical gradients are exact and fast, whereas analytic gradients are always approximate
Correct answer
CNumerical gradients are approximate and slow, whereas analytic gradients are fast and exact once derived
Explanation
Finite-difference numerical gradients are slow and approximate. Analytic gradients are fast and exact after their expressions have been derived, although deriving them can be error-prone.
- A
- 5
Why is it useful to compare an analytic gradient with a numerical gradient?
- A
The analytic gradient can determine whether the numerical approximation uses enough training data
- B
The numerical gradient can check whether the analytic-gradient implementation is correct
- C
The analytic gradient can make finite-difference calculations unnecessary during debugging
- D
The numerical gradient can replace optimization after the analytic gradient is derived
Correct answer
BThe numerical gradient can check whether the analytic-gradient implementation is correct
Explanation
In practice, analytic gradients are used for efficiency, while numerical gradients provide a correctness check for the implementation.
- A
- 6
What does a computational graph represent?
- A
A collection of training examples grouped according to their predicted classes
- B
A visualization showing only the final output of a machine-learning model
- C
A function as a sequence of computation nodes connected by intermediate values
- D
A record of parameter updates arranged according to their numerical magnitude
Correct answer
CA function as a sequence of computation nodes connected by intermediate values
Explanation
A computational graph represents a function by decomposing it into nodes, where each node performs a computation and passes its result onward.
- A
- 7
What is the main advantage of expressing a complicated function as a computational graph?
- A
The function no longer requires any intermediate values during evaluation
- B
Gradients can be computed from simple local derivatives using the chain rule
- C
Every complicated operation can be differentiated without knowing its local derivative
- D
The graph automatically chooses the best model parameters without optimization
Correct answer
BGradients can be computed from simple local derivatives using the chain rule
Explanation
Computational graphs let backpropagation combine simple local gradients rather than requiring a single symbolic derivative of the entire complicated expression.
- A
- 8
In the function f(x,y,z)=(x+y)z, what are the intermediate value and final value when x=−2, y=5, and z=−4?
- A
The intermediate value is −7, and the final value is 28
- B
The intermediate value is 3, and the final value is 12
- C
The intermediate value is −8, and the final value is −40
- D
The intermediate value is 3, and the final value is −12
Correct answer
DThe intermediate value is 3, and the final value is −12
Explanation
Let q=x+y. Then q=−2+5=3, and f=qz=3(−4)=−12.
- A
- 9
What is the role of the forward pass in a computational graph?
- A
It evaluates the nodes from inputs toward the final output
- B
It compares analytic derivatives with finite-difference approximations
- C
It propagates gradients from the final output back toward the inputs
- D
It updates each parameter using the negative of its local derivative
Correct answer
AIt evaluates the nodes from inputs toward the final output
Explanation
During the forward pass, input values are evaluated through the graph in order to compute intermediate values and the final output.
- A
- 10
What is the first gradient used when beginning backpropagation at the output?
- A
∂f∂f=0
- B
∂f∂f=f
- C
∂f∂f=−1
- D
∂f∂f=1
Correct answer
D∂f∂f=1
Explanation
The derivative of a quantity with respect to itself is 1, so backpropagation begins with an upstream gradient of 1 at the output.
- A
- 11
For q=x+y and f=qz, with q=3 and z=−4, what are the gradients ∂z∂f and ∂q∂f?
- A
∂z∂f=3 and ∂q∂f=−4
- B
∂z∂f=1 and ∂q∂f=1
- C
∂z∂f=−12 and ∂q∂f=−12
- D
∂z∂f=−4 and ∂q∂f=3
Correct answer
A∂z∂f=3 and ∂q∂f=−4
Explanation
For the multiplication f=qz, the derivative with respect to z is q=3, and the derivative with respect to q is z=−4.
- A
- 12
For f=(x+y)z with x=−2, y=5, and z=−4, what is ∂y∂f?
- A
−2
- B
3
- C
−4
- D
1
Correct answer
C−4
Explanation
Using the chain rule, ∂y∂f=∂q∂f∂y∂q=z⋅1=−4.
- A
- 13
For the same function f=(x+y)z, what is ∂x∂f?
- A
3
- B
−12
- C
5
- D
−4
Correct answer
D−4
Explanation
Because ∂x∂q=1 and ∂q∂f=z=−4, the chain rule gives ∂x∂f=−4.
- A
- 14
What information does a computational node need in order to participate in backpropagation?
- A
Only the final loss value and the total number of parameters in the model
- B
The complete symbolic derivative of the entire function before the node
- C
Its local inputs, its local output, and the local derivatives of the output with respect to its inputs
- D
Every operation performed in all preceding and succeeding nodes of the graph
Correct answer
CIts local inputs, its local output, and the local derivatives of the output with respect to its inputs
Explanation
Each node needs only its immediate inputs and output plus its local gradients. Backpropagation combines these local gradients with incoming upstream gradients.
- A
- 15
How does a node use an upstream gradient during backpropagation?
- A
It divides the upstream gradient by the number of nodes in the graph
- B
It adds the upstream gradient to its forward output and sends the sum backward
- C
It multiplies the upstream gradient by its local gradient and sends the result backward
- D
It discards the upstream gradient and recomputes the entire graph symbolically
Correct answer
CIt multiplies the upstream gradient by its local gradient and sends the result backward
Explanation
The chain rule is implemented locally by multiplying the upstream gradient by the node's local derivative with respect to each input.
- A
- 16
For a multiplication node z=xy, what is the local gradient with respect to x?
- A
∂x∂z=x
- B
∂x∂z=1
- C
∂x∂z=y
- D
∂x∂z=xy
Correct answer
C∂x∂z=y
Explanation
Differentiating z=xy with respect to x gives y; similarly, the derivative with respect to y is x.
- A
- 17
For a sigmoid function σ(x)=1+e−x1, what is its derivative?
- A
σ(x)(1−σ(x))
- B
1−σ(x)
- C
e−xσ(x)
- D
σ(x)(1+σ(x))
Correct answer
Aσ(x)(1−σ(x))
Explanation
The sigmoid derivative has the convenient form dxdσ(x)=σ(x)(1−σ(x)).
- A
- 18
Why can several simple computational nodes be grouped into one larger node?
- A
The grouping is valid if the larger node's local gradient can be derived
- B
The grouping changes the function but usually preserves its approximate output
- C
The grouping eliminates the need to compute a derivative for the larger node
- D
The grouping is valid only when all of the smaller nodes perform additions
Correct answer
AThe grouping is valid if the larger node's local gradient can be derived
Explanation
Nodes can be grouped at any granularity as long as the local gradient of the grouped operation is known.
- A
- 19
How does an addition gate transform an upstream gradient?
- A
It divides the gradient equally among all input branches
- B
It scales the gradient by the value of the opposite input
- C
It passes the same upstream gradient to each input branch
- D
It sends the gradient only to the input with the largest value
Correct answer
CIt passes the same upstream gradient to each input branch
Explanation
For an addition gate, the local derivative with respect to every input is 1, so each branch receives the unchanged upstream gradient.
- A
- 20
How does a max gate route gradients when one input is strictly larger than the others?
- A
It sends the gradient only to the smallest input because it needs the greatest adjustment
- B
It sends the full upstream gradient equally to every input
- C
It sends the full upstream gradient to the largest input and zero to the others
- D
It scales every input gradient by the numerical value of the maximum
Correct answer
CIt sends the full upstream gradient to the largest input and zero to the others
Explanation
Only the maximum input affects the output locally, so it receives the upstream gradient while the nonmaximum inputs receive zero.
- A
- 21
How does a multiplication gate affect the upstream gradient?
- A
It scales the gradient for each input by the value of the other input
- B
It passes the same gradient to all inputs regardless of their values
- C
It replaces the gradient with the product of both forward inputs
- D
It routes the gradient only to the input with the larger magnitude
Correct answer
AIt scales the gradient for each input by the value of the other input
Explanation
For z=xy, the gradient with respect to x is the upstream gradient multiplied by y, and vice versa.
- A
- 22
What happens when one node influences multiple downstream nodes?
- A
The gradients are multiplied together before reaching the shared node
- B
The gradients arriving from those downstream paths are added together
- C
The shared node receives a gradient of zero to avoid double counting
- D
Only the gradient from the earliest downstream path is retained
Correct answer
BThe gradients arriving from those downstream paths are added together
Explanation
The multivariate chain rule requires summing the effects of all paths from a shared variable to the final output.
- A
- 23
What does backpropagation compute before the optimization step updates weights?
- A
The gradients of the loss with respect to parameters and intermediate variables
- B
The new parameter values after taking a step along the negative gradient
- C
The classification accuracy obtained from the final layer
- D
The numerical approximation of every possible model architecture
Correct answer
AThe gradients of the loss with respect to parameters and intermediate variables
Explanation
Backpropagation computes gradients. An optimization algorithm then uses those gradients to update the weights.
- A
- 24
When variables are vectors rather than scalars, what form do the derivatives generally take?
- A
They take the form of Jacobian matrices containing partial derivatives between components
- B
They always take the form of a single scalar equal to the total loss
- C
They disappear because the scalar chain rule no longer applies
- D
They become probability vectors whose entries sum to one
Correct answer
AThey take the form of Jacobian matrices containing partial derivatives between components
Explanation
For vector-valued variables, derivatives are organized into Jacobian matrices, whose entries describe how output components depend on input components.
- A
- 25
For an element-wise function mapping a 4096-dimensional vector to another 4096-dimensional vector, what is the size of its full Jacobian?
- A
4096+4096
- B
4096×1
- C
1×4096
- D
4096×4096
Correct answer
D4096×4096
Explanation
A Jacobian for a 4096-dimensional input and output has one derivative for every input-output component pair, giving a 4096×4096 matrix.
- A
- 26
Why is the Jacobian of an element-wise maximum with zero diagonal?
- A
Each output component depends equally on every input component
- B
The maximum operation makes every off-diagonal derivative equal to one
- C
Each output component depends only on the corresponding input component
- D
The zero threshold removes all derivatives, including the diagonal entries
Correct answer
CEach output component depends only on the corresponding input component
Explanation
For an element-wise operation, input component xi affects only output component i, so the Jacobian has nonzero entries only on its diagonal.
- A
- 27
Why is it usually unnecessary to explicitly construct the full Jacobian for an element-wise operation?
- A
The Jacobian is always the identity matrix regardless of the operation
- B
Its diagonal structure allows the needed gradient effects to be computed directly
- C
The operation has no derivatives when applied to a vector
- D
The full Jacobian is replaced by the model's loss value
Correct answer
BIts diagonal structure allows the needed gradient effects to be computed directly
Explanation
Because an element-wise operation produces a diagonal Jacobian, implementations can use the relevant diagonal values without storing the enormous matrix.
- A
- 28
For f(q)=q12+q22, what is the gradient with respect to q?
- A
2q
- B
21q
- C
q1+q2
- D
q2
Correct answer
A2q
Explanation
Differentiating each component gives ∂qi∂f=2qi, so the vector gradient is 2q.
- A
- 29
What shape should the gradient with respect to a vector or matrix parameter have?
- A
It should have the same shape as the parameter itself
- B
It should always be a scalar because the loss is scalar
- C
It should have one fewer dimension than the parameter
- D
It should always be a square matrix regardless of the parameter shape
Correct answer
AIt should have the same shape as the parameter itself
Explanation
Each gradient element corresponds to the effect of one parameter element, so the gradient should match the parameter's shape.
- A
- 30
Given q=Wx, what is ∂Wij∂qk?
- A
xj when k=i, and 0 otherwise
- B
xi when k=j, and 0 otherwise
- C
qk for every pair of indices i and j
- D
Wij for every value of k
Correct answer
Axj when k=i, and 0 otherwise
Explanation
The element qk depends on row k of W. Therefore, changing Wij affects qk only when k=i, with derivative xj.
- A
- 31
Given q=Wx, what is ∂xi∂qk?
- A
Wik
- B
xi
- C
Wki
- D
qk
Correct answer
CWki
Explanation
The kth output is qk=∑iWkixi, so its derivative with respect to xi is Wki.
- A
- 32
For f=∥Wx∥22, where q=Wx, what is the derivative with respect to Wij?
- A
2qjWij
- B
qi+xj
- C
2Wijqi
- D
2qixj
Correct answer
D2qixj
Explanation
Using the chain rule, ∂qi∂f=2qi and ∂Wij∂qi=xj, giving ∂Wij∂f=2qixj.
- A
- 33
Why can explicitly forming a Jacobian become impractical when processing batches?
- A
Its entries cannot be computed using the chain rule when multiple examples are present
- B
Its storage remains constant while the model's loss changes
- C
Its dimensions grow rapidly with the number of input and output components and batch examples
- D
Its values become undefined whenever a matrix multiplication is used
Correct answer
CIts dimensions grow rapidly with the number of input and output components and batch examples
Explanation
A full Jacobian can already be very large for one vector, and batching many examples increases the dimensions and storage requirements substantially.
- A
- 34
What does a modular computational-graph implementation typically provide for each gate?
- A
A forward function that computes outputs and a backward function that computes input gradients
- B
A training function that chooses weights and a testing function that removes nonlinearities
- C
A data loader that creates inputs and a classifier that eliminates intermediate values
- D
A loss function that replaces the graph and a regularizer that replaces backpropagation
Correct answer
AA forward function that computes outputs and a backward function that computes input gradients
Explanation
Each gate implements a forward operation and a backward operation that applies the local chain rule to an upstream gradient.
- A
- 35
In what order should nodes be processed during a forward pass?
- A
In reverse order, beginning with the final loss and ending with the inputs
- B
In random order so that no node receives information from another node
- C
In topologically sorted order, after all inputs to a node have been processed
- D
In alphabetical order according to the names assigned to intermediate variables
Correct answer
CIn topologically sorted order, after all inputs to a node have been processed
Explanation
A forward pass must process every node's inputs before evaluating that node, which is achieved by topological ordering.
- A
- 36
In what order should nodes be processed during a backward pass?
- A
In order of increasing parameter magnitude
- B
In random order, because local gradients do not depend on upstream values
- C
In the same order as the forward pass, beginning at the inputs
- D
In reverse topological order, beginning at the output
Correct answer
DIn reverse topological order, beginning at the output
Explanation
Backpropagation starts at the output and moves toward the inputs, so nodes are processed in reverse topological order.
- A
- 37
Why should a gate cache values from its forward pass?
- A
Caching removes the need to define a backward function for the gate
- B
Caching prevents the forward pass from producing an output for the next gate
- C
Cached values automatically serve as updated weights during optimization
- D
The backward pass often needs those forward values to evaluate local derivatives
Correct answer
DThe backward pass often needs those forward values to evaluate local derivatives
Explanation
For example, a multiplication gate needs the other input value to compute each backward gradient, so forward values are cached for later use.
- A
- 38
For a scalar multiplication gate with forward output z=xy, what does its backward function receive and return?
- A
It receives upstream gradient dz and returns dx=ydz and dy=xdz
- B
It receives the inputs x and y and returns dx=dz and dy=dz
- C
It receives the output z and returns dx=xz and dy=yz
- D
It receives the loss L and returns dx=x+y and dy=x−y
Correct answer
AIt receives upstream gradient dz and returns dx=ydz and dy=xdz
Explanation
The backward function receives the upstream gradient dz and applies the chain rule: dx=dz∂x∂z=ydz and dy=xdz.
- A
- 39
What is the main reason backpropagation is especially useful for neural networks?
- A
Neural networks require numerical gradients because analytic derivatives do not exist
- B
Neural networks update weights during backpropagation without using an optimization rule
- C
Neural networks cannot be represented as computational graphs because they contain nonlinear functions
- D
Neural networks can contain too many parameters and operations for manually derived gradients to be practical
Correct answer
DNeural networks can contain too many parameters and operations for manually derived gradients to be practical
Explanation
Backpropagation efficiently computes gradients through large, complex computational graphs by repeatedly applying local chain-rule calculations.
- A
- 40
What is the basic structure of a two-layer neural network described in the lecture?
- A
A single linear transformation followed only by a regularization term
- B
A nonlinear transformation followed by two independent loss functions
- C
A linear transformation, a nonlinearity, and a second linear transformation
- D
Two linear transformations with no nonlinear operation between them
Correct answer
CA linear transformation, a nonlinearity, and a second linear transformation
Explanation
A two-layer network applies one matrix multiplication, a nonlinear activation, and then a second matrix multiplication.
- A
- 41
Why are nonlinear activation functions needed between stacked linear layers?
- A
Without nonlinearities, the network cannot contain any trainable parameters
- B
Without nonlinearities, multiple linear transformations collapse into one linear transformation
- C
Without nonlinearities, matrix multiplication cannot be performed on vector inputs
- D
Without nonlinearities, the loss function becomes independent of the training data
Correct answer
BWithout nonlinearities, multiple linear transformations collapse into one linear transformation
Explanation
The composition of linear functions is still linear, so nonlinear activations are needed to make deeper networks represent more complex nonlinear functions.
- A
- 42
What is the broader characterization of a neural network given in the lecture?
- A
It is a probabilistic model that must use biological neuron equations exactly
- B
It is a hierarchical composition of simpler functions forming a more complex nonlinear function
- C
It is a single linear classifier whose weights are fixed before training
- D
It is a collection of unrelated functions that share only the final loss
Correct answer
BIt is a hierarchical composition of simpler functions forming a more complex nonlinear function
Explanation
Neural networks stack simpler transformations and nonlinearities in multiple hierarchical stages to construct complex nonlinear functions.
- A
- 43
How does a hidden layer help address the single-template limitation of a linear classifier?
- A
It removes the need for weights because templates are selected automatically
- B
It replaces all class scores with the maximum response from one input feature
- C
It can detect multiple templates and combine their scores to represent several modes of a class
- D
It forces every class to use exactly one fixed template in the input space
Correct answer
CIt can detect multiple templates and combine their scores to represent several modes of a class
Explanation
The first layer can detect multiple templates, such as different appearances of cars or horses, while later weights combine those template scores into a class score.
- A
- 44
In the template interpretation, what does the intermediate vector h represent?
- A
The regularization penalties assigned to each parameter
- B
The scores indicating how strongly the input matches the learned templates
- C
The gradients of the second-layer weights with respect to the loss
- D
The final class probabilities after all output normalization steps
Correct answer
BThe scores indicating how strongly the input matches the learned templates
Explanation
The intermediate vector h contains responses or scores for the templates represented by the first-layer weights.
- A
- 45
What role does the second-layer weight matrix play in the template interpretation?
- A
It forms weighted combinations of intermediate template scores to produce class scores
- B
It selects only the maximum template score and discards all other responses
- C
It determines the raw pixel values used as templates in the first layer
- D
It applies the first nonlinearity directly to the input before template detection
Correct answer
AIt forms weighted combinations of intermediate template scores to produce class scores
Explanation
The second-layer weights combine the scores in h through weighted sums to produce scores for the final classes.
- A
- 46
What does the term 'deep neural network' refer to?
- A
A neural network whose parameters are derived from biological measurements
- B
A neural network that contains one linear layer with a very large weight matrix
- C
A neural network formed by stacking many layers of transformations and nonlinearities
- D
A neural network trained only on data with many input dimensions
Correct answer
CA neural network formed by stacking many layers of transformations and nonlinearities
Explanation
The term deep refers to using multiple stacked layers, often with nonlinearities between them, to create a deeper hierarchy of computation.
- A
- 47
How does a fully connected layer efficiently compute the outputs of many neurons?
- A
It replaces all neuron computations with a single maximum operation
- B
It stores a separate computational graph for every individual input feature
- C
It evaluates each neuron with a separate optimization problem before combining the results
- D
It uses one matrix multiplication to compute the values of an entire layer at once
Correct answer
DIt uses one matrix multiplication to compute the values of an entire layer at once
Explanation
A matrix multiplication computes the outputs of many fully connected neurons simultaneously using efficient vectorized operations.
- A
- 48
A network with two fully connected linear layers and one intermediate hidden layer can be called what?
- A
A three-layer neural network or a three-hidden-layer neural network
- B
A one-layer neural network or a two-hidden-layer neural network
- C
A two-layer neural network or a one-hidden-layer neural network
- D
A zero-layer neural network or a one-hidden-layer linear classifier
Correct answer
CA two-layer neural network or a one-hidden-layer neural network
Explanation
Counting linear layers gives a two-layer network, while counting hidden layers gives a one-hidden-layer network.
- A
- 49
What is the relationship between a three-layer neural network and its hidden-layer terminology?
- A
A three-layer network has one hidden layer because only the first transformation is trainable
- B
A three-layer network has two hidden layers when the output layer is excluded from the hidden-layer count
- C
A three-layer network has three hidden layers because every linear layer is hidden
- D
A three-layer network has no hidden layers because nonlinearities are not counted
Correct answer
BA three-layer network has two hidden layers when the output layer is excluded from the hidden-layer count
Explanation
A three-layer network has three linear layers in total, with two intermediate hidden layers, so it can be called a two-hidden-layer network.
- A
- 50
What is the basic biological analogy for the inputs to an artificial neuron?
- A
They exactly correspond to the neuron's axon lengths and firing frequencies
- B
They loosely correspond to signals received through dendrites and synaptic connections
- C
They correspond only to the final class scores produced by downstream neurons
- D
They represent the cell body's metabolic energy rather than incoming signals
Correct answer
BThey loosely correspond to signals received through dendrites and synaptic connections
Explanation
The lecture draws a loose analogy in which incoming artificial signals resemble signals received through dendrites and synapses.
- A
- 51
In the artificial-neuron analogy, what does the weighted sum such as Wx+b represent?
- A
An integration of incoming signals before an activation function produces the output
- B
The class label assigned by the final layer without using incoming signals
- C
The regularization penalty imposed on the neuron's weights
- D
The discrete output spikes transmitted by the axon after activation
Correct answer
AAn integration of incoming signals before an activation function produces the output
Explanation
The weighted combination Wx+b loosely represents integrating incoming signals before applying an activation function.
- A
- 52
What is the loose biological interpretation of an activation function's output?
- A
It is the number of synapses that connect the neuron to its inputs
- B
It can be viewed loosely as a signal strength or firing-rate-like output
- C
It represents the physical size of the neuron's dendritic tree
- D
It is an exact simulation of the timing of every biological spike
Correct answer
BIt can be viewed loosely as a signal strength or firing-rate-like output
Explanation
Activation outputs can be loosely interpreted as firing strength or firing rate, although this is not a complete biological model.
- A
- 53
What is the definition of the ReLU activation function described in the lecture?
- A
It outputs the absolute value of every input with the same slope on both sides
- B
It outputs one for negative inputs and zero for positive inputs
- C
It outputs zero for negative inputs and a linear value for positive inputs
- D
It produces a bounded probability between zero and one for every input
Correct answer
CIt outputs zero for negative inputs and a linear value for positive inputs
Explanation
ReLU is zero for negative inputs and follows a linear function, typically the identity, for positive inputs.
- A
- 54
Why should biological analogies for artificial neural networks be treated cautiously?
- A
Biological neurons are always linear, whereas artificial neurons are always nonlinear
- B
Biological neurons have complex dendrites, synapses, dynamics, and signaling patterns not captured by simple artificial units
- C
Artificial neural networks do not use weighted inputs, whereas biological neurons use only fixed thresholds
- D
Artificial neural networks cannot represent hierarchical computations, whereas biological systems can
Correct answer
BBiological neurons have complex dendrites, synapses, dynamics, and signaling patterns not captured by simple artificial units
Explanation
The analogy is loose because biological neurons contain complex nonlinear dendritic computations, dynamic synapses, and variable spike patterns.
- A
- 55
Why is interpreting an activation value solely as a biological firing rate insufficient?
- A
Artificial activations do not produce numerical values and therefore cannot be compared with rates
- B
Biological communication depends on variable spike patterns and other dynamics beyond a single rate
- C
Biological neurons never transmit discrete spikes and communicate only through continuous rates
- D
Firing rates are determined entirely by the output class and not by incoming signals
Correct answer
BBiological communication depends on variable spike patterns and other dynamics beyond a single rate
Explanation
A single firing rate does not capture the variability and timing of biological spikes or the complexity of neural communication.
- A
- 56
Which statement best distinguishes fully connected neural networks from convolutional neural networks in the lecture's discussion?
- A
Fully connected networks cannot be trained with backpropagation, while convolutional networks can
- B
Fully connected networks use biological neurons exactly, while convolutional networks use artificial neurons
- C
Fully connected networks use matrix-multiply layers, while convolutional networks use other structured transformations that will be studied separately
- D
Fully connected networks contain no nonlinearities, while convolutional networks always contain only nonlinear operations
Correct answer
CFully connected networks use matrix-multiply layers, while convolutional networks use other structured transformations that will be studied separately
Explanation
The lecture presents fully connected networks as networks built from matrix multiplications and nonlinearities, while convolutional architectures use different structured layers.
- A
- 57
What is the main computational benefit of representing a hidden layer as a vector and using matrix operations?
- A
The vector representation guarantees that every hidden neuron detects the same feature
- B
The network no longer requires nonlinear activation functions between layers
- C
The outputs of many neurons can be evaluated efficiently with vectorized code
- D
The matrix operation automatically computes the correct class labels without training
Correct answer
CThe outputs of many neurons can be evaluated efficiently with vectorized code
Explanation
Matrix-vector operations efficiently compute the outputs of an entire layer rather than evaluating each neuron separately.
- A
- 58
What is the general forward-pass pattern for a multilayer neural network?
- A
Apply only linear transformations and postpone all nonlinearities until after the final output
- B
Apply backpropagation between every pair of input features before computing a forward result
- C
Apply a loss function after every input feature and average the resulting parameters
- D
Apply a linear transformation, apply a nonlinearity, and repeat before producing the final output
Correct answer
DApply a linear transformation, apply a nonlinearity, and repeat before producing the final output
Explanation
A multilayer network repeatedly applies transformations such as Wx+b followed by nonlinear activation functions, ending with an output layer.
- A
- 59
How are gradients used after backpropagation has computed them?
- A
They are discarded because backpropagation itself performs the parameter update
- B
They are used only to calculate the size of the computational graph
- C
They are converted directly into class labels without changing parameters
- D
An optimization algorithm uses them to update the model parameters
Correct answer
DAn optimization algorithm uses them to update the model parameters
Explanation
Backpropagation supplies the gradients, and an optimization method such as gradient descent uses them to update parameters.
- A

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