1. Home
  2. Explore
  3. Computer Science
  4. Neural Network Gradients

Study methods

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

Neural Network Gradients

  • 79Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Gradient Methods
A neural network with hidden layers and nonlinear activation functions requires a way to determine how each weight affects the final
.

79 questions

  1. 1
    A neural network with hidden layers and nonlinear activation functions requires a way to determine how each weight affects the final
    _____
    .
    Hint

    It is the quantity the model training process aims to reduce.

    Answer

    loss

    Explanation

    Training requires computing how changes to network weights affect the loss at the output.

  2. 2
    For models such as linear SVMs and logistic regression, gradient descent is effective partly because their gradients or subgradients are relatively
    _____
    .
    Hint

    Consider how difficult the derivatives are to calculate in these models.

    Answer

    simple

    Explanation

    The gradients or subgradients of these simpler models are relatively simple to calculate.

  3. 3
    A numerical gradient approximates a derivative by evaluating the change in a function over a small increment, represented by
    _____
    .
    Hint

    This symbol names the small change in the input used in the approximation.

    Answer

    delta

    Explanation

    The finite-difference approximation compares function values at an input and at that input plus a small increment, delta.

  4. 4
    The finite-difference approximation estimates a derivative by using a small increment instead of taking the limit as the increment approaches
    _____
    .
    Hint

    A derivative is defined using a limit in which the increment vanishes.

    Answer

    zero

    Explanation

    The numerical method dispenses with the limit and uses an appropriately small delta to approximate the limit as delta goes to zero.

  5. 5
    For a numerical gradient to be usable, the function must be defined at both the input and the input plus
    _____
    .
    Hint

    The approximation compares two nearby input locations.

    Answer

    delta

    Explanation

    The function must be defined at both xxx and x+δx + \deltax+δ to calculate the finite difference.

  6. 6
    A numerical gradient also assumes that the line between the two sampled points is reasonably representative of the function's behavior
    _____
    those points.
    Hint

    The assumption concerns the function's behavior along the interval joining the samples.

    Answer

    between

    Explanation

    The approach assumes the function behaves coherently between the two points, so the line between them is a useful approximation.

  7. 7
    Numerical gradients are broadly applicable because they place almost no constraints on the kinds of
    _____
    being differentiated.
    Hint

    The method can be used beyond functions with convenient symbolic derivatives.

    Answer

    functions

    Explanation

    Numerical differentiation is widely applicable as long as the function behaves coherently at the required nearby points.

  8. 8
    A major drawback of numerical gradients for a network is that each weight must be changed individually and the entire network evaluated again, making the method extremely
    _____
    .
    Hint

    Think about the cost of repeating a full network evaluation for every parameter.

    Answer

    slow

    Explanation

    The computation must be repeated for every weight, which makes numerical gradients impractical for large neural networks.

  9. 9
    When an analytic gradient is feasible to derive, it is generally the smart, principled, and
    _____
    choice.
    Hint

    It avoids repeatedly evaluating the model at perturbed parameter values.

    Answer

    efficient

    Explanation

    An analytic expression can be evaluated directly, making it more efficient than testing every weight with numerical perturbations.

  10. 10
    Deriving gradients by hand for large compound functions is difficult and error prone because a small algebraic mistake can affect the entire
    _____
    .
    Hint

    The error can propagate through the calculations used across the network.

    Answer

    model

    Explanation

    Complex gradient derivations involve extensive algebra, and a minor mistake can throw off the model's gradient calculations.

  11. 11
    The chain rule states that derivatives of composed functions can be calculated by multiplying their local
    _____
    .
    Hint

    These quantities describe how each operation changes its input locally.

    Answer

    gradients

    Explanation

    The chain rule combines local derivatives multiplicatively to obtain the derivative of a composition.

  12. 12
    For y=f(u)y = f(u)y=f(u) and u=g(x)u = g(x)u=g(x), Leibniz notation expresses the chain rule as dydx=dydududx\frac{dy}{dx} = \frac{dy}{du}\frac{du}{dx}dxdy​=dudy​dxdu​; the intermediate variable is
    _____
    .
    Hint

    It is the output of the inner function and the input of the outer function.

    Answer

    u

    Explanation

    The derivative through the composition is the derivative of the outer stage with respect to the intermediate value multiplied by the derivative of that intermediate value with respect to the input.

  13. 13
    For the composition f(g(x))f(g(x))f(g(x)), the derivative of the outer function is evaluated at
    _____
    .
    Hint

    The outer function receives the output of the inner function as its input.

    Answer

    g(x)g(x)g(x)

    Explanation

    The derivative of fff is evaluated at g(x)g(x)g(x), while the derivative of ggg is evaluated at xxx.

  14. 14
    For a three-function composition f(g(h(x)))f(g(h(x)))f(g(h(x))), the chain rule multiplies the derivatives of fff, ggg, and
    _____
    .
    Hint

    It is the innermost function in the composition.

    Answer

    h

    Explanation

    The derivative of the full composition is the product of the local derivatives for all three functions, evaluated at their corresponding inputs.

  15. 15
    In a computational graph, nodes represent operations, while edges represent the flow of
    _____
    .
    Hint

    The edges carry values from one operation to another.

    Answer

    data

    Explanation

    A directed graph represents a sequence of operations with nodes for operations and edges for the data passed between them.

  16. 16
    In the graph for g(f(x))g(f(x))g(f(x)), the value passed from the first operation to the second is
    _____
    .
    Hint

    It is the output of the first operation and the input of the next.

    Answer

    f(x)f(x)f(x)

    Explanation

    The input xxx enters fff, and the resulting value f(x)f(x)f(x) flows into ggg.

  17. 17
    In a graph with operations fff followed by ggg, the local gradient at the ggg operation is evaluated at
    _____
    .
    Hint

    The second operation receives the first operation's output.

    Answer

    f(x)f(x)f(x)

    Explanation

    The local gradient at ggg is g′(f(x))g'(f(x))g′(f(x)), since the input to ggg is f(x)f(x)f(x).

  18. 18
    Although multiplication is commutative, gradients in a computational graph are conventionally described as flowing from the end of the graph
    _____
    .
    Hint

    This direction starts at the output and moves toward the input.

    Answer

    backwards

    Explanation

    The product of local gradients has no inherent direction, but tracing gradients backward is useful for computation and is the convention used in backpropagation.

  19. 19
    In the sequence b=f(a)b=f(a)b=f(a), c=g(b)c=g(b)c=g(b), and d=h(c)d=h(c)d=h(c), each function's output becomes the next function's
    _____
    .
    Hint

    It is the value that the following operation receives.

    Answer

    input

    Explanation

    A sequence of operations passes each output forward as the input to the next operation.

  20. 20
    For the composition exp⁡(sin⁡(x))\exp(\sin(x))exp(sin(x)), the local derivative of the exponential operation is the
    _____
    .
    Hint

    The derivative of the exponential function has the same form as the function itself.

    Answer

    output of the exponential

    Explanation

    The derivative of the exponential is the exponential output, so its local gradient is exp⁡(sin⁡(x))\exp(\sin(x))exp(sin(x)).

  21. 21
    For the composition exp⁡(sin⁡(x))\exp(\sin(x))exp(sin(x)), the local derivative of the sine operation is
    _____
    .
    Hint

    Recall the standard derivative of the sine function.

    Answer

    cos⁡(x)\cos(x)cos(x)

    Explanation

    The derivative of sine with respect to its input is cosine, so the local gradient at the sine operation is cos⁡(x)\cos(x)cos(x).

  22. 22
    Using the chain rule, the derivative of exp⁡(sin⁡(x))\exp(\sin(x))exp(sin(x)) is the product of cos⁡(x)\cos(x)cos(x) and
    _____
    .
    Hint

    Multiply the sine derivative by the derivative of the outer exponential.

    Answer

    exp⁡(sin⁡(x))\exp(\sin(x))exp(sin(x))

    Explanation

    The derivative is cos⁡(x)exp⁡(sin⁡(x))\cos(x)\exp(\sin(x))cos(x)exp(sin(x)), the product of the local gradients.

  23. 23
    In the four-operation construction of the sigmoid, the first operation applied to xxx is negation, which produces
    _____
    .
    Hint

    The first operation multiplies its input by negative one.

    Answer

    −x-x−x

    Explanation

    Negation changes the input xxx to −x-x−x.

  24. 24
    After negation and exponentiation in the sigmoid construction, the intermediate value is
    _____
    .
    Hint

    Exponentiate the negated input.

    Answer

    e−xe^{-x}e−x

    Explanation

    Applying the exponential to −x-x−x produces e−xe^{-x}e−x.

  25. 25
    Adding one to the exponential intermediate in the sigmoid construction produces
    _____
    .
    Hint

    This is the value immediately before taking the reciprocal.

    Answer

    1+e−x1 + e^{-x}1+e−x

    Explanation

    The third operation adds one, giving 1+e−x1 + e^{-x}1+e−x.

  26. 26
    Taking the reciprocal of 1+e−x1 + e^{-x}1+e−x produces the sigmoid, also called the
    _____
    function.
    Hint

    This name is often used interchangeably with sigmoid.

    Answer

    logistic

    Explanation

    The resulting expression, 11+e−x\frac{1}{1 + e^{-x}}1+e−x1​, is the sigmoid or logistic function.

  27. 27
    The local derivative of the negation operation, which multiplies its input by negative one, is
    _____
    .
    Hint

    The slope of a function that maps an input to its negative is constant.

    Answer

    −1-1−1

    Explanation

    The derivative of multiplication by negative one is negative one.

  28. 28
    The local derivative of the operation that adds one to its input is
    _____
    .
    Hint

    Adding a constant does not change the slope.

    Answer

    111

    Explanation

    The derivative of the increment operation is one because the output changes at the same rate as its input.

  29. 29
    The local derivative of the reciprocal operation with input uuu is
    _____
    .
    Hint

    Differentiate the reciprocal and express the result using the operation's input.

    Answer

    −1/u2-1/u^2−1/u2

    Explanation

    For a reciprocal, the derivative with respect to its input is negative one divided by the input squared.

  30. 30
    For the sigmoid construction with input x=1.5x = 1.5x=1.5, the final output is approximately
    _____
    .
    Hint

    Negate 1.5, exponentiate it, add one, and take the reciprocal.

    Answer

    0.82

    Explanation

    The sequence gives −1.5-1.5−1.5, then approximately 0.220.220.22, then 1.221.221.22, and finally a reciprocal of about 0.820.820.82.

  31. 31
    For the graph y=sigmoid⁡(xw)y = \operatorname{sigmoid}(xw)y=sigmoid(xw), the local derivative of the multiplication output xwxwxw with respect to xxx is
    _____
    .
    Hint

    Treat www as constant when differentiating the product with respect to xxx.

    Answer

    www

    Explanation

    The partial derivative of xwxwxw with respect to xxx is www.

  32. 32
    For the graph y=sigmoid⁡(xw)y = \operatorname{sigmoid}(xw)y=sigmoid(xw), the local derivative of the multiplication output xwxwxw with respect to www is
    _____
    .
    Hint

    Treat xxx as constant when differentiating the product with respect to www.

    Answer

    xxx

    Explanation

    The partial derivative of xwxwxw with respect to www is xxx.

  33. 33
    In the graph y=sigmoid⁡(xw)y = \operatorname{sigmoid}(xw)y=sigmoid(xw), the overall derivative with respect to xxx is the sigmoid gradient at xwxwxw multiplied by
    _____
    .
    Hint

    The chain rule multiplies the sigmoid's local gradient by the derivative of the product with respect to xxx.

    Answer

    www

    Explanation

    The derivative with respect to xxx is www times the sigmoid gradient evaluated at xwxwxw.

  34. 34
    In the graph y=sigmoid⁡(xw)y = \operatorname{sigmoid}(xw)y=sigmoid(xw), the overall derivative with respect to www is the sigmoid gradient at xwxwxw multiplied by
    _____
    .
    Hint

    Use the product node's local derivative with respect to the weight.

    Answer

    xxx

    Explanation

    The derivative with respect to www is xxx times the sigmoid gradient evaluated at xwxwxw.

  35. 35
    A numerical value for a gradient at a particular input is sufficient for updating model parameters; the full symbolic expression is not always
    _____
    .
    Hint

    The learning algorithm uses the gradient's value for the case being evaluated.

    Answer

    needed

    Explanation

    For a particular input, the numeric gradient provides the information needed to update the model parameters.

  36. 36
    For the sine-then-exponential graph with input 222, the sine intermediate is approximately
    _____
    .
    Hint

    Evaluate the sine of two radians as given in the example.

    Answer

    0.91

    Explanation

    The sine of the chosen input, 222, is approximately 0.910.910.91, and that value is passed to the exponential.

  37. 37
    For the sine-then-exponential graph with input 222, the final output is approximately
    _____
    .
    Hint

    Apply the exponential to the sine intermediate of about 0.91.

    Answer

    2.48

    Explanation

    The exponential of approximately 0.910.910.91 is about 2.482.482.48.

  38. 38
    For the sine-then-exponential graph with input 222, the cosine local gradient is approximately
    _____
    .
    Hint

    It is the cosine of the original input, not the sine intermediate.

    Answer

    -0.42

    Explanation

    The sine node's local derivative is cos⁡(2)\cos(2)cos(2), approximately −0.42-0.42−0.42.

  39. 39
    For the sine-then-exponential graph with input 222, multiplying the local gradients gives an overall gradient of approximately
    _____
    .
    Hint

    Multiply the cosine value near negative 0.42 by the exponential output near 2.48.

    Answer

    -1.04

    Explanation

    The local gradients multiply to approximately (−0.42)(2.48)=−1.04(-0.42)(2.48) = -1.04(−0.42)(2.48)=−1.04.

  40. 40
    For the four-operation sigmoid graph with input 1.51.51.5, the local gradient of the exponential operation is approximately
    _____
    .
    Hint

    The derivative of the exponential equals its output at that operation.

    Answer

    0.22

    Explanation

    The exponential output at this stage is about 0.220.220.22, so its local gradient is also about 0.220.220.22.

  41. 41
    For the four-operation sigmoid graph with input 1.51.51.5, the reciprocal operation's local gradient is approximately
    _____
    .
    Hint

    Use negative one divided by the square of the reciprocal's input, which is about 1.22.

    Answer

    -0.67

    Explanation

    The reciprocal derivative is −1/u2-1/u^2−1/u2; with input about 1.221.221.22, it is approximately −0.67-0.67−0.67.

  42. 42
    For the four-operation sigmoid graph with input 1.51.51.5, multiplying the local gradients gives an overall derivative of approximately
    _____
    .
    Hint

    Combine the local gradients for negation, exponential, adding one, and reciprocal.

    Answer

    0.15

    Explanation

    The product of the local derivatives, propagated backward through the four operations, is about 0.150.150.15.

  43. 43
    For the multiplication-and-sigmoid graph with x=−1.2x=-1.2x=−1.2 and w=0.3w=0.3w=0.3, the multiplication node outputs
    _____
    .
    Hint

    Multiply the two specified input values.

    Answer

    -0.36

    Explanation

    The product is (−1.2)(0.3)=−0.36(-1.2)(0.3) = -0.36(−1.2)(0.3)=−0.36.

  44. 44
    For the multiplication-and-sigmoid graph with x=−1.2x=-1.2x=−1.2 and w=0.3w=0.3w=0.3, the sigmoid output is approximately
    _____
    .
    Hint

    Apply the sigmoid to the product, negative 0.36.

    Answer

    0.41

    Explanation

    The sigmoid of approximately −0.36-0.36−0.36 is about 0.410.410.41.

  45. 45
    For the same graph, the sigmoid node's local gradient at input −0.36-0.36−0.36 is approximately
    _____
    .
    Hint

    Evaluate the sigmoid derivative at the multiplication output.

    Answer

    0.24

    Explanation

    Applying the sigmoid derivative to approximately −0.36-0.36−0.36 gives a local gradient near 0.240.240.24.

  46. 46
    For the same graph, the overall gradient with respect to x=−1.2x=-1.2x=−1.2 is approximately
    _____
    .
    Hint

    Multiply the sigmoid local gradient by w=0.3w=0.3w=0.3.

    Answer

    0.07

    Explanation

    The derivative with respect to xxx is approximately (0.24)(0.3)(0.24)(0.3)(0.24)(0.3), or about 0.070.070.07.

  47. 47
    For the same graph, the overall gradient with respect to w=0.3w=0.3w=0.3 is approximately
    _____
    .
    Hint

    Multiply the sigmoid local gradient by x=−1.2x=-1.2x=−1.2.

    Answer

    -0.29

    Explanation

    The derivative with respect to www is approximately (0.24)(−1.2)(0.24)(-1.2)(0.24)(−1.2), or about −0.29-0.29−0.29.

  48. 48
    A computational graph node can calculate its own local gradient because it keeps track of its local inputs and
    _____
    .
    Hint

    These are the values the node receives and produces.

    Answer

    outputs

    Explanation

    Each node maintains local information about its inputs and outputs and knows how to calculate its own local gradient.

  49. 49
    A node does not need to know the full network structure; it uses its local information and the downstream gradient it
    _____
    .
    Hint

    The value is passed back to the node from later operations.

    Answer

    receives

    Explanation

    A node combines its local derivative with the gradient received from downstream to calculate gradients for its own inputs.

  50. 50
    The boundaries of nodes or layers are flexible: operations can be split into simple arithmetic steps or grouped into a compound function with a known
    _____
    .
    Hint

    A convenient node may package a function whose rate of change is already available.

    Answer

    derivative

    Explanation

    Node boundaries can be chosen wherever useful; a compound function with a known derivative can be treated as one atomic operation.

  51. 51
    When vector inputs are used, gradients are passed as vectors or matrices of
    _____
    .
    Hint

    Each entry records how an output changes with respect to a corresponding input element.

    Answer

    partial derivatives

    Explanation

    For vector and matrix operations, gradients consist of partial derivatives arranged in vector or matrix form.

  52. 52
    The gradient vector or matrix has the same size and shape as the corresponding data or weights vector or
    _____
    .
    Hint

    The arrangement of gradient entries matches the structure of the differentiated quantity.

    Answer

    matrix

    Explanation

    Gradient entries occupy the corresponding positions and the gradient has the same shape as the data or weights being differentiated.

  53. 53
    The inner product of two vectors is the operation commonly used by a fully connected or
    _____
    layer.
    Hint

    This layer combines inputs and weights through a dot product.

    Answer

    linear

    Explanation

    A fully connected or linear layer computes an inner product between data and weights.

  54. 54
    If zzz is the dot product of vectors xxx and www, the gradient of zzz with respect to xxx is
    _____
    .
    Hint

    The derivative with respect to one vector is the other vector.

    Answer

    www

    Explanation

    For the inner product, the gradient with respect to xxx is www.

  55. 55
    If zzz is the dot product of vectors xxx and www, the gradient of zzz with respect to www is
    _____
    .
    Hint

    Switch which vector is treated as the differentiated input.

    Answer

    xxx

    Explanation

    For the inner product, the gradient with respect to www is xxx.

  56. 56
    In a linear layer, the gradient with respect to the input data is needed to propagate gradients to
    _____
    .
    Hint

    These are the earlier operations that supplied the layer's inputs.

    Answer

    upstream nodes

    Explanation

    The input gradient is passed backward to the upstream nodes in the network.

  57. 57
    In a linear layer, the gradient with respect to the weights is needed to update the layer's own
    _____
    .
    Hint

    This gradient supports learning the layer's parameters.

    Answer

    weights

    Explanation

    The weight gradient is used by the learning algorithm to update the layer's parameters.

  58. 58
    For an elementwise activation function, each output element is obtained by applying the same scalar function to the corresponding input element
    _____
    .
    Hint

    Each coordinate is processed without relying on other coordinates.

    Answer

    independently

    Explanation

    An elementwise operation acts separately on each input vector element, so the output contains the scalar function applied to each element.

  59. 59
    For an elementwise operation, the gradient vector contains the individual scalar derivatives evaluated at each input
    _____
    .
    Hint

    Each coordinate's derivative corresponds to that coordinate's value.

    Answer

    element

    Explanation

    The gradient vector is formed from the derivative of the scalar function at each individual input element.

  60. 60
    The gradient of the softmax function requires the entire Jacobian because each output element can depend on all the input
    _____
    .
    Hint

    The dependence is not restricted to matching coordinates.

    Answer

    elements

    Explanation

    Softmax is a vector function of vector inputs, and its output elements depend on all input elements, requiring a Jacobian.

  61. 61
    Combining softmax with cross entropy simplifies the gradient because many extraneous Jacobian elements
    _____
    .
    Hint

    The combined loss avoids passing around the full set of derivative terms.

    Answer

    disappear

    Explanation

    With cross entropy loss, many of the extra Jacobian terms cancel or disappear, leaving a simple gradient vector.

  62. 62
    When softmax is combined with cross entropy, bundling them into one layer avoids passing around the
    _____
    .
    Hint

    It is the full matrix of partial derivatives that the combination makes unnecessary.

    Answer

    Jacobian

    Explanation

    Treating softmax and cross entropy as one layer can avoid explicitly passing the full Jacobian through the network.

  63. 63
    For a layer with multiple outputs, its weights form a matrix, so the gradient must be a matrix with the same
    _____
    .
    Hint

    Each weight needs a corresponding gradient entry.

    Answer

    shape

    Explanation

    The gradient must contain derivatives for all weight-matrix elements and therefore has the same shape as the weight matrix.

  64. 64
    In batch or mini-batch processing, gradients for a data matrix can be combined by taking their sum or their
    _____
    .
    Hint

    This aggregation produces an average across the batch.

    Answer

    mean

    Explanation

    The full data-matrix gradient may be reduced by taking either a sum or a mean of the gradients.

  65. 65
    Using the mean of batch gradients tends to make gradients more stable and more comparable across different batch
    _____
    .
    Hint

    The benefit concerns comparing batches with different numbers of examples.

    Answer

    sizes

    Explanation

    A mean gradient is generally more stable and is less dependent on the size of the batch than a sum.

  66. 66
    A network-level data structure or class manages the larger network structure and communication between
    _____
    .
    Hint

    These are the components that contain local operations and exchange values.

    Answer

    layers

    Explanation

    Although each layer is self-contained, a data structure or class tracks the overall network and coordinates communication among layers.

  67. 67
    The forward pass processes nodes in input dependency order, so all of a node's inputs must be calculated before the node is
    _____
    .
    Hint

    A node cannot operate until its required values are available.

    Answer

    called

    Explanation

    The forward pass follows input dependencies: all inputs to an operation must be ready before the operation is evaluated.

  68. 68
    The forward pass propagates data from the network inputs through the operations to the
    _____
    .
    Hint

    This is where the final network output is produced.

    Answer

    end

    Explanation

    During the forward pass, data moves from the inputs all the way through the network to its final stage.

  69. 69
    After the forward pass reaches the final stage, the network calculates the
    _____
    .
    Hint

    It measures the model's error for the current output.

    Answer

    loss

    Explanation

    The final stage of the forward computation calculates the loss, which then provides the starting point for backward gradient propagation.

  70. 70
    The backward pass starts with the loss and propagates loss gradients toward the network
    _____
    .
    Hint

    Gradients move in the reverse direction from the forward data flow.

    Answer

    inputs

    Explanation

    The backward pass begins at the end of the network and propagates gradients backward through each layer to the inputs.

  71. 71
    During the backward pass, each layer combines its local derivative with the gradient received from
    _____
    .
    Hint

    This gradient comes from later operations closer to the output.

    Answer

    downstream

    Explanation

    Each layer uses the downstream gradient and its own local derivative to calculate gradients for earlier nodes.

  72. 72
    Once the backward pass has calculated all gradients, the model can begin the process of
    _____
    .
    Hint

    This stage uses gradients to change model parameters.

    Answer

    learning

    Explanation

    After all gradients are known, the learning algorithm or optimizer can use them to update the network's weights.

  73. 73
    Backpropagation calculates gradients, but it is not itself the process of
    _____
    .
    Hint

    A separate learning algorithm decides how to use the gradients.

    Answer

    optimisation

    Explanation

    Backpropagation computes gradients; an optimizer, such as gradient descent or one of its variants, uses them to perform optimization.

  74. 74
    After an optimization policy updates weights using their individual gradients, training repeats with another forward pass and another
    _____
    .
    Hint

    The repeated cycle alternates computing predictions and propagating gradients.

    Answer

    backward pass

    Explanation

    The learning process iterates forward computation, backward gradient computation, and parameter updates until a stopping criterion is reached.

  75. 75
    A neural network without hidden layers can represent logistic regression or softmax regression, whose losses are
    _____
    .
    Hint

    These simple models do not have the typical non-convex landscape of networks with hidden layers.

    Answer

    convex

    Explanation

    Simple networks without hidden layers can represent logistic or softmax regression, models with convex losses.

  76. 76
    Networks with hidden layers are almost always
    _____
    .
    Hint

    Their loss landscapes can contain local minima rather than having a simple convex shape.

    Answer

    non-convex

    Explanation

    Unlike the simple no-hidden-layer cases, multilayer perceptrons are almost always non-convex.

  77. 77
    Because hidden-layer networks are non-convex, optimization may risk getting stuck in
    _____
    .
    Hint

    These are minima that need not be the global minimum.

    Answer

    local minima

    Explanation

    A non-convex loss landscape can contain local minima that may trap an optimization process.

  78. 78
    How serious the local-minimum issue is depends on the data, network structure, and the task being
    _____
    .
    Hint

    Consider the particular objective the model is trying to improve.

    Answer

    optimised

    Explanation

    The practical significance of local minima varies with the data, the network architecture, and the optimization task.

  79. 79
    For some deep-learning problems, including some computer-vision cases, evidence suggests that local minima are not necessarily bad approximations of the global minimum; these are sometimes called
    _____
    local minima.
    Hint

    The term distinguishes harmful local minima from those that approximate the global solution adequately.

    Answer

    bad

    Explanation

    In some commonly applied deep-learning settings, local minima may not pose a significant problem; the term “bad local minima” refers to minima that are poor approximations of the true global minimum.

1 of 79
Question 1 of 79

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent