Synthetic Gradients in Neural Networks
- 51Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
In ordinary backpropagation, what happens during the forward phase?
In ordinary backpropagation, what happens during the forward phase?
51 questions
- 1
In ordinary backpropagation, what happens during the forward phase?
- A
Each layer predicts its own gradients and updates independently of the network output
- B
Gradients pass backward through the layers to update parameters before the loss is computed
- C
Inputs pass through the layers to produce outputs, which are compared with labels to compute the loss
- D
The parameters are frozen while labels are propagated backward through the network
Correct answer
CInputs pass through the layers to produce outputs, which are compared with labels to compute the loss
Explanation
The forward phase computes layer outputs from the inputs and parameters, then compares the network output with the labels to obtain the loss.
- A
- 2
In the backward phase of the described feedforward network, what is propagated backward?
- A
The labels, beginning at the output layer
- B
The updated parameters, beginning with the first hidden layer
- C
The input examples, beginning at the output layer
- D
Gradients of the loss, beginning with gradients with respect to the output-layer activations
Correct answer
DGradients of the loss, beginning with gradients with respect to the output-layer activations
Explanation
Backpropagation starts with gradients of the loss with respect to the output activations and propagates those gradients backward through the network.
- A
- 3
What is the purpose of the gradient descent step following backpropagation?
- A
To replace the forward computation with a gradient prediction
- B
To calculate the labels that should be used for the next batch
- C
To propagate the inputs from one GPU to another
- D
To adjust parameters in a direction expected to reduce the loss
Correct answer
DTo adjust parameters in a direction expected to reduce the loss
Explanation
The computed gradients are used to change the parameters in a direction that reduces the loss.
- A
- 4
What does model parallelism mean in the described setup?
- A
Splitting one neural network into parts that run on different GPUs
- B
Training separate networks on different portions of the labels
- C
Assigning each GPU a different optimizer for the same layer
- D
Replicating the entire network on several GPUs and assigning each a different batch
Correct answer
ASplitting one neural network into parts that run on different GPUs
Explanation
Model parallelism divides a network into parts and places those parts on separate GPUs.
- A
- 5
Why does ordinary backpropagation create a forward lock in a model-parallel network?
- A
A layer must wait for the final gradients before computing its forward activations
- B
A layer cannot process its batch until the preceding layer has produced its outputs
- C
A GPU cannot receive inputs until all other GPUs have completed backpropagation
- D
A layer cannot update its parameters until the next batch has been loaded
Correct answer
BA layer cannot process its batch until the preceding layer has produced its outputs
Explanation
The forward computation is sequential across the split network: each later GPU must wait for the previous part to finish producing that batch's activations.
- A
- 6
What is the update lock?
- A
The need to wait until the loss is computed before updating parameters
- B
The need to update every layer before beginning the backward pass
- C
The need to wait until every GPU has copied its parameters to the CPU
- D
The need to wait until the next batch is loaded before calculating activations
Correct answer
AThe need to wait until the loss is computed before updating parameters
Explanation
Parameters cannot be updated until the loss has been computed, which creates the update lock.
- A
- 7
What is the backward lock in the described model-parallel setting?
- A
The first GPU cannot start a batch until the last GPU has sent it gradients
- B
The output layer cannot compute a loss until all parameters have been updated
- C
A layer's parameters cannot be updated until the backward pass has reached that layer
- D
A layer cannot compute its output until the backward pass is complete
Correct answer
CA layer's parameters cannot be updated until the backward pass has reached that layer
Explanation
A layer must wait for backward propagation to reach it before its true gradients can be used for an update.
- A
- 8
Why might splitting a network across three GPUs make ordinary backpropagation slower than using one GPU?
- A
The GPUs spend substantial time waiting because the forward, update, and backward computations are locked together
- B
The network requires three times as many training labels when divided across GPUs
- C
Each GPU must train a separate copy of the network before combining parameters
- D
Each GPU performs less computation, so gradient estimates become less accurate
Correct answer
AThe GPUs spend substantial time waiting because the forward, update, and backward computations are locked together
Explanation
The locks cause GPUs to wait for other GPUs, reducing utilization enough that model-parallel training can be slower than training on one GPU.
- A
- 9
How does a synthetic gradient allow a hidden layer to update its parameters sooner?
- A
It transfers the layer's parameters to the output layer for updating
- B
It computes the loss directly from the layer's parameters without labels
- C
It removes the need for the layer to compute its own output
- D
It provides an estimated gradient so the layer can update without waiting for the true gradient
Correct answer
DIt provides an estimated gradient so the layer can update without waiting for the true gradient
Explanation
A synthetic-gradient model predicts the gradient for a layer, allowing that layer to update before true gradients have propagated back.
- A
- 10
What does a decoupled neural interface (DNI) accomplish?
- A
It combines all network layers into a single GPU operation
- B
It replaces the network's loss function with a learned classifier
- C
It prevents the network's parameters from changing during training
- D
It allows a layer to update using predicted gradients without waiting for the rest of the network
Correct answer
DIt allows a layer to update using predicted gradients without waiting for the rest of the network
Explanation
A DNI uses a synthetic-gradient model to decouple a layer's update from the ordinary backward pass through the rest of the network.
- A
- 11
In the described three-layer network, what is used to update the output layer's parameters?
- A
The true gradients computed from the loss at the output
- B
An approximation of the output-layer inputs from a synthetic input model
- C
The gradients produced by the second hidden layer's synthetic-gradient model
- D
A synthetic gradient predicted from the first hidden layer
Correct answer
AThe true gradients computed from the loss at the output
Explanation
The example uses true gradients for the output layer, since the loss is available there, while synthetic gradients are used at earlier hidden layers.
- A
- 12
Why can synthetic gradients potentially make training faster even when no backward pass is performed for a particular update?
- A
They allow layer parameters to be updated from the forward-pass activations and predicted gradients
- B
They guarantee that every predicted gradient equals the true gradient
- C
They make each forward pass unnecessary after the first batch
- D
They eliminate the need to compute a loss for the output layer
Correct answer
AThey allow layer parameters to be updated from the forward-pass activations and predicted gradients
Explanation
A layer can update using its activations and the synthetic-gradient model's estimate, without waiting for a full backward pass.
- A
- 13
When are synthetic-gradient models needed for the trained neural network's ordinary predictions?
- A
Only after training; they are used to correct the final predictions
- B
Only during training; the trained network can later use its learned parameters normally
- C
During inference whenever the network processes a batch larger than one
- D
During both training and inference because they replace the network's hidden layers
Correct answer
BOnly during training; the trained network can later use its learned parameters normally
Explanation
The described synthetic-gradient models are training aids; after training, the network is used with its trained parameters as usual.
- A
- 14
How does synthetic-gradient training enable multiple GPUs to work on different batches at once?
- A
The CPU computes gradients for every layer while GPUs load new labels
- B
All GPUs independently calculate the entire network's predictions for the same batch
- C
Each layer can proceed with a new batch using predicted gradients rather than waiting for other layers to finish the same batch
- D
Each GPU is assigned a different network and the networks never exchange activations
Correct answer
CEach layer can proceed with a new batch using predicted gradients rather than waiting for other layers to finish the same batch
Explanation
Because a layer can update without waiting for true gradients, one layer can work on a later batch while another processes an earlier batch.
- A
- 15
What role does the CPU play in the described pipelined model-parallel arrangement?
- A
It updates GPU parameters after each batch is completed
- B
It computes synthetic gradients for all the hidden layers
- C
It performs the forward pass for the output layer
- D
It loads training instances and places them in a training queue
Correct answer
DIt loads training instances and places them in a training queue
Explanation
The CPU loads training examples and pushes batches into the queue for the GPU-based network parts.
- A
- 16
Why can moving activations between GPUs offset the benefits of synthetic gradients?
- A
GPU-to-GPU transfers force synthetic-gradient models to use true labels
- B
Transferring large amounts of data between GPU cards can take substantial time
- C
Moving activations makes the network's parameters incompatible across layers
- D
The transfers require recomputing the loss on every GPU
Correct answer
BTransferring large amounts of data between GPU cards can take substantial time
Explanation
Data movement between GPU cards can be slow enough to outweigh the computational savings from reducing waiting.
- A
- 17
Why can splitting a deep network into a few large segments reduce the relative cost of GPU-to-GPU data transfers?
- A
The GPUs can share parameters without sending any data
- B
Large segments require no activations to be transferred between GPUs
- C
A deeper network eliminates the need for synthetic-gradient models
- D
The computation within each segment can be large compared with the time spent transferring data at the interfaces
Correct answer
DThe computation within each segment can be large compared with the time spent transferring data at the interfaces
Explanation
With many layers per GPU segment, computation can dominate the transfer time at the segment boundaries, improving the potential benefit of model parallelism.
- A
- 18
How can a synthetic-gradient model itself be trained?
- A
By maximizing the neural network's classification error
- B
By freezing its parameters and copying the hidden layer's parameters
- C
By minimizing the distance between the inputs and the labels
- D
By minimizing a loss that measures the difference between predicted and target gradients
Correct answer
DBy minimizing a loss that measures the difference between predicted and target gradients
Explanation
The synthetic-gradient model can be trained with ordinary backpropagation to minimize a loss between its predicted gradients and gradient targets.
- A
- 19
Which loss choices are specifically described for training a synthetic-gradient model?
- A
The classification accuracy, or the number of hidden units
- B
The magnitude of the layer parameters, or the output-layer loss alone
- C
The distance between the layer inputs and labels, or its reciprocal
- D
The distance between predicted and target gradients, or the square of that distance
Correct answer
DThe distance between predicted and target gradients, or the square of that distance
Explanation
The content gives the distance between synthetic and target gradients, or the square of that distance, as example objectives.
- A
- 20
How can a lower layer obtain a target gradient for training its synthetic-gradient model without waiting for the final loss to backpropagate through the whole network?
- A
Backpropagate the next layer's synthetic gradient through that next layer
- B
Compute a new loss from the lower layer's inputs alone
- C
Copy the output-layer parameters into the lower layer
- D
Use the lower layer's activation as its own gradient target
Correct answer
ABackpropagate the next layer's synthetic gradient through that next layer
Explanation
The next layer's predicted gradient can be backpropagated through that layer to produce an approximation of the gradient for the layer below.
- A
- 21
Why can the output layer use a different target-generation approach when training a synthetic-gradient model?
- A
The true gradient can be computed directly from the loss at the output
- B
The output layer's activations are identical to its gradients
- C
The output layer has no parameters to update
- D
The next layer always supplies the output layer with labels
Correct answer
AThe true gradient can be computed directly from the loss at the output
Explanation
At the output layer, the loss is available, so its true gradients can be computed and backpropagated directly.
- A
- 22
As synthetic-gradient models improve, what additional benefit do their predictions provide to lower layers?
- A
They make the output layer's loss independent of its predictions
- B
They remove the need for lower layers to calculate activations
- C
They provide better gradient targets for training lower layers' synthetic-gradient models
- D
They directly determine the labels for future training batches
Correct answer
CThey provide better gradient targets for training lower layers' synthetic-gradient models
Explanation
More accurate predicted gradients can both improve parameter updates and provide better targets for training synthetic-gradient models in lower layers.
- A
- 23
What shape must a synthetic-gradient model's output have?
- A
The same shape as the layer's parameter matrix
- B
The same shape as the activations of the next layer
- C
The same shape as the activations of the layer to which it is attached
- D
The same shape as the labels, regardless of the layer's activations
Correct answer
CThe same shape as the activations of the layer to which it is attached
Explanation
The predicted gradient has the same shape as the output of the layer whose gradient it estimates.
- A
- 24
For a convolutional layer with five feature maps, each of size 400×200, what shape should its synthetic-gradient model output?
- A
A 3×400×200 array
- B
A 5×5 array
- C
A 400×200 array
- D
A 5×400×200 array
Correct answer
DA 5×400×200 array
Explanation
The synthetic-gradient output must match the layer output, which in this example is an array with five feature maps of size 400×200.
- A
- 25
Which convolutional architecture is described as one way to preserve activation shape in a synthetic-gradient model?
- A
A fully connected network that reduces every feature map to one value
- B
A shallow convolutional network using zero padding and stride 1
- C
A convolutional network that changes the number of feature maps at every layer
- D
A deep network using no padding and stride 2
Correct answer
BA shallow convolutional network using zero padding and stride 1
Explanation
A couple of convolutional layers with zero padding and stride 1 can preserve the input shape.
- A
- 26
What additional input makes a DNI conditional, or cDNI?
- A
The gradients of all earlier batches
- B
The true future outputs of every later layer
- C
Information such as the labels for the current batch
- D
A second copy of the layer's parameters
Correct answer
CInformation such as the labels for the current batch
Explanation
A conditional DNI provides extra information to the synthetic-gradient model; the current batch's labels are given as an example.
- A
- 27
What comparative finding about cDNI and regular DNI is reported in the described experiments?
- A
The two methods had identical performance in every experiment
- B
cDNI improved training speed but always reduced final performance
- C
Regular DNI consistently performed better than cDNI
- D
cDNI consistently performed better than regular DNI
Correct answer
DcDNI consistently performed better than regular DNI
Explanation
The described paper reports that conditional DNI consistently performs better than regular DNI.
- A
- 28
Which setup describes the fully connected MNIST network used in the reported experiments?
- A
Three to six hidden layers with 1,024 neurons per layer, using no normalization or activation
- B
Six output layers with 256 neurons per layer, using batch normalization and sigmoid
- C
Three to six hidden layers with 256 neurons per layer, using batch normalization and ReLU
- D
One to two hidden layers with 256 neurons per layer, using sigmoid and layer normalization
Correct answer
CThree to six hidden layers with 256 neurons per layer, using batch normalization and ReLU
Explanation
The experiments used fully connected networks with three to six hidden layers of 256 neurons each, with batch normalization and ReLU at each hidden layer.
- A
- 29
How did ordinary backpropagation perform in the described MNIST experiments as hidden layers were added?
- A
It remained above 10% test error, and performance worsened with more layers
- B
It reached below 2% test error only with three layers, then worsened with depth
- C
It required synthetic-gradient models to reach any error below 2%
- D
It reached below 2% test error, and performance improved with more layers
Correct answer
DIt reached below 2% test error, and performance improved with more layers
Explanation
The described results say regular backpropagation reached below 2% test error, with better results as more layers were added.
- A
- 30
What pattern was reported for regular DNI across the tested MNIST network depths?
- A
The three-layer network improved in final performance, but deeper networks performed worse and took longer to train
- B
Every deeper network improved in final performance and trained faster than the shallower ones
- C
The three-layer network performed worse, while deeper networks reached the best result fastest
- D
All networks matched backpropagation's performance and training time
Correct answer
AThe three-layer network improved in final performance, but deeper networks performed worse and took longer to train
Explanation
Regular DNI improved the final performance of the three-layer network but took longer overall; with more layers, performance decreased and training time increased.
- A
- 31
What architecture was described for each regular-DNI synthetic-gradient model in the MNIST experiment?
- A
One hidden layer of 256 neurons and an output layer of 1,024 neurons
- B
Two hidden layers of 1,024 neurons each and an output layer of 256 neurons
- C
Three hidden layers of 256 neurons each and no output layer
- D
Two hidden layers of 256 neurons each and an output layer of 1,024 neurons
Correct answer
BTwo hidden layers of 1,024 neurons each and an output layer of 256 neurons
Explanation
Each regular-DNI synthetic-gradient model was described as having two hidden layers of 1,024 neurons and an output layer of 256 neurons, with batch normalization and ReLU in its hidden layers.
- A
- 32
What result was reported for conditional DNI on the tested MNIST task?
- A
Adding layers reduced performance, and a three-layer network achieved the best overall performance
- B
It reached its best performance with a single layer and no synthetic-gradient models
- C
Adding layers improved performance, and a six-layer network achieved the best overall performance
- D
It matched regular DNI but required more iterations to reach the same error
Correct answer
CAdding layers improved performance, and a six-layer network achieved the best overall performance
Explanation
For cDNI, the network improved as layers were added, and the six-layer network achieved the best overall performance.
- A
- 33
What combination of speed and accuracy was reported for the six-layer conditional-DNI network?
- A
It reached below 2% error in a few thousand iterations and had the best overall performance
- B
It achieved the best error only when trained for longer than every other method
- C
It reached below 2% error only after more iterations than regular backpropagation
- D
It trained fastest but never reached below 5% error
Correct answer
AIt reached below 2% error in a few thousand iterations and had the best overall performance
Explanation
The six-layer cDNI network reportedly achieved the best performance and reached less than 2% error in just a few thousand iterations.
- A
- 34
What caveat does the speaker raise when comparing the reported DNI and cDNI results?
- A
The cDNI results did not use any hidden layers in the main network
- B
The methods were tested on different datasets, so their results cannot be compared
- C
The two methods used synthetic-gradient models of different complexity, making the comparison potentially uneven
- D
The DNI results were measured in bits per character rather than classification error
Correct answer
CThe two methods used synthetic-gradient models of different complexity, making the comparison potentially uneven
Explanation
The regular-DNI models had two hidden layers, while the cDNI synthetic-gradient models were described as having no hidden layers, prompting concern that the comparison was not like-for-like.
- A
- 35
What is truncated backpropagation through time (TBPTT) in the described RNN setup?
- A
Predicting future outputs without computing a loss or gradients
- B
Training a separate recurrent layer at each time step without sharing parameters
- C
Unrolling the recurrent network for a limited number of time steps, computing loss, and backpropagating through that segment
- D
Unrolling the recurrent network through every time step in the full dataset before updating
Correct answer
CUnrolling the recurrent network for a limited number of time steps, computing loss, and backpropagating through that segment
Explanation
TBPTT stops the unrolled RNN after a limited number of time steps, computes loss on the outputs so far, and performs backpropagation through that segment.
- A
- 36
What information does a recurrent layer use at time step t in the described RNN?
- A
The current output ht​ and the loss from every future time step
- B
Only the previous output ht−1​ and the final sequence label
- C
The current input Xt​ and its previous output ht−1​
- D
The current input Xt​ and the next output ht+1​
Correct answer
CThe current input Xt​ and its previous output ht−1​
Explanation
At each time step, the recurrent layer takes the current input and its own output from the preceding time step to produce the current output.
- A
- 37
Why does ordinary truncated backpropagation through time have difficulty learning long-term patterns?
- A
The method requires future labels to be removed from the training data
- B
The method computes gradients only for the input features, not the recurrent outputs
- C
The loss is computed on only a limited number of outputs, so gradients from more distant future losses are unavailable
- D
The recurrent layer uses a different set of parameters at every time step
Correct answer
CThe loss is computed on only a limited number of outputs, so gradients from more distant future losses are unavailable
Explanation
Because TBPTT stops after a limited segment, it does not account for losses further in the future, limiting its ability to learn long-term patterns.
- A
- 38
How are synthetic gradients used to extend the effective temporal learning range of a truncated RNN?
- A
The RNN is unrolled indefinitely, and a synthetic-gradient model computes the final loss
- B
An extra unrolled time step is sent to a synthetic-gradient model, whose estimate is backpropagated through the preceding step
- C
The first time step is given the true outputs from every future time step
- D
The recurrent layer's parameters are reset after each truncated segment
Correct answer
BAn extra unrolled time step is sent to a synthetic-gradient model, whose estimate is backpropagated through the preceding step
Explanation
The network can be unrolled one additional step, and a synthetic-gradient estimate for that step can be backpropagated to provide an estimate of the gradient for the preceding step.
- A
- 39
When synthetic gradients are used with an RNN segment, how are gradient signals combined?
- A
Estimated future gradients are mixed with true gradients from the observed segment
- B
True gradients are discarded whenever the RNN is unrolled for more than one step
- C
Estimated gradients replace all true gradients, including those from observed losses
- D
Gradients from separate time steps are averaged without regard to their source
Correct answer
AEstimated future gradients are mixed with true gradients from the observed segment
Explanation
The estimated future gradients are combined with true gradients from the segment so that backpropagation through time can use both.
- A
- 40
Why must the last unrolled RNN cell not be updated during the described procedure?
- A
Updating it would change the labels for the current batch
- B
Its gradients are always identical to the true gradients
- C
Its output is needed later to train the synthetic-gradient model
- D
It has no parameters that can be updated
Correct answer
CIts output is needed later to train the synthetic-gradient model
Explanation
The last cell's output is retained because it will be needed in the subsequent procedure for training the synthetic-gradient model.
- A
- 41
How is the synthetic-gradient model for the RNN trained in the described procedure?
- A
Train it only from the current input, without running the RNN further in time
- B
Copy the recurrent layer's parameters into it after each update
- C
Use the synthetic-gradient model's own predictions as its only targets
- D
Run the network on subsequent time steps, compute a loss, and use the resulting gradient estimate as a training target
Correct answer
DRun the network on subsequent time steps, compute a loss, and use the resulting gradient estimate as a training target
Explanation
The network is run forward over the next few time steps; after computing a loss, the resulting backpropagated estimate provides a target for training the synthetic-gradient model.
- A
- 42
What task and error measure are used in the described RNN comparison?
- A
Penn Treebank language modeling, measured in bits per character
- B
Image recognition, measured in top-1 accuracy
- C
MNIST digit classification, measured in test error percentage
- D
Machine translation, measured in word error rate
Correct answer
APenn Treebank language modeling, measured in bits per character
Explanation
The comparison evaluates RNNs on the Penn Treebank language-modeling task and measures error in bits per character.
- A
- 43
What general tradeoff was reported when regular RNNs were unrolled for more time steps?
- A
Training time stayed constant while the number of required labels increased
- B
Training took longer and required more data, but eventual performance improved
- C
Training became faster and required less data, but eventual performance worsened
- D
Both training speed and eventual performance improved without additional data
Correct answer
BTraining took longer and required more data, but eventual performance improved
Explanation
The reported comparison says longer unrolls took more time and data but eventually achieved better performance.
- A
- 44
How did the eight-step RNN with synthetic gradients compare with the regular RNNs unrolled for eight, twenty, or forty steps?
- A
It matched the eight-step regular model but took twice as long and used more data
- B
It reached lower error than the eight-step model but higher error than the forty-step model
- C
It trained in half the time but required the same unroll length as the forty-step model
- D
It reached the lowest error, even beating the forty-step model, while using roughly half the training time and data
Correct answer
DIt reached the lowest error, even beating the forty-step model, while using roughly half the training time and data
Explanation
The described result shows an eight-step RNN using synthetic gradients achieving the lowest error, including better performance than the forty-step model, in roughly half the time and with half the data.
- A
- 45
What is the purpose of a synthetic input model in a decoupled neural interface?
- A
It predicts a layer's inputs so that the layer can begin computing before the preceding layer finishes
- B
It computes the final loss without running the output layer
- C
It predicts a layer's gradients so that the preceding layer can update early
- D
It replaces the training queue by storing future labels
Correct answer
AIt predicts a layer's inputs so that the layer can begin computing before the preceding layer finishes
Explanation
A synthetic input model predicts the input to a layer, allowing that layer to proceed without waiting for the preceding layer's actual output.
- A
- 46
How does a synthetic input model break the forward lock in the example?
- A
It computes all hidden layers simultaneously from the training labels
- B
It skips the loss calculation and copies the preceding layer's parameters
- C
It estimates the output-layer gradients, allowing hidden layers to update before the loss
- D
It estimates the input to the output layer, allowing that layer to compute before hidden layers finish
Correct answer
DIt estimates the input to the output layer, allowing that layer to compute before hidden layers finish
Explanation
The synthetic input model estimates the output of a preceding hidden layer, supplying an approximate input to the output layer before the actual activation arrives.
- A
- 47
How can a synthetic input model be trained once the actual preceding-layer output becomes available?
- A
Use the actual output as the target for improving the model's predicted input
- B
Use the output-layer loss as the only target for every layer's synthetic input model
- C
Backpropagate the synthetic input model's prediction through the entire network
- D
Replace its parameters with those of the preceding layer
Correct answer
AUse the actual output as the target for improving the model's predicted input
Explanation
When the actual preceding-layer output arrives, it can be used to train the synthetic input model to make better predictions.
- A
- 48
How can a previous layer's synthetic input model help train the next layer's synthetic input model?
- A
Its predicted activation can provide an approximate input to the previous layer, yielding an approximate output for training the next model
- B
It can supply the final labels without requiring a forward pass
- C
It can update the next model's parameters using the output-layer loss alone
- D
Its predicted gradient can be copied directly as the next model's input target
Correct answer
AIts predicted activation can provide an approximate input to the previous layer, yielding an approximate output for training the next model
Explanation
The same forward-prediction idea can be chained: an approximate input to one layer produces an approximate output that can help train the synthetic input model for the next layer.
- A
- 49
In the described fully decoupled interface, what does a hidden layer do with its output hi​?
- A
It sends hi​ only to the CPU and waits for the true gradient
- B
It sends hi​ to the synthetic input model of the previous layer only
- C
It sends hi​ to both the next layer and its own synthetic-gradient model
- D
It uses hi​ to replace the current batch's labels
Correct answer
CIt sends hi​ to both the next layer and its own synthetic-gradient model
Explanation
The layer sends its output onward through the network and also to its own synthetic-gradient model.
- A
- 50
In the fully decoupled interface, what is done with the gradient estimated for layer i?
- A
It is discarded until the next training epoch
- B
It is backpropagated through layer i to approximate the preceding gradient, while the layer updates using its own predicted gradient
- C
It is sent directly to the output layer and used to replace the loss
- D
It is used only to train the synthetic input model
Correct answer
BIt is backpropagated through layer i to approximate the preceding gradient, while the layer updates using its own predicted gradient
Explanation
The estimated gradient is backpropagated through the hidden layer to approximate the gradient for the previous layer; the layer itself can update using its synthetic gradient.
- A
- 51
Which arriving signals are used to train the two auxiliary models in a fully decoupled interface?
- A
The actual preceding-layer output trains the synthetic input model, and the received next-layer gradient trains the synthetic-gradient model
- B
The current label trains the synthetic input model, and the next batch trains the synthetic-gradient model
- C
The predicted activation trains the synthetic input model, and the layer parameters train the synthetic-gradient model
- D
The output-layer loss trains both models without any additional signals
Correct answer
AThe actual preceding-layer output trains the synthetic input model, and the received next-layer gradient trains the synthetic-gradient model
Explanation
The actual input from the preceding layer is used to train the synthetic input model, while the gradient arriving from the next layer is used to train the synthetic-gradient model.
- A

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