1. Home
  2. Explore
  3. Computer Science
  4. Universal Approximation Theorem

Study methods

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

Universal Approximation Theorem

  • 60Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Approximation Limits

What does the universal approximation theorem guarantee about a sufficiently wide two-layer neural network?

60 questions

  1. 1

    What does the universal approximation theorem guarantee about a sufficiently wide two-layer neural network?

    1. A

      It requires only one neuron to represent every possible function

    2. B

      It can represent every discontinuous function exactly

    3. C

      It can represent any continuous function to arbitrarily high precision

    4. D

      It can automatically find the best parameters for every function

    Correct answer
    C

    It can represent any continuous function to arbitrarily high precision

    Explanation

    The theorem states that a sufficiently wide two-layer network can represent any continuous function with arbitrarily high precision. It does not guarantee that training will find the representation or specify how many neurons are required.

  2. 2

    Why can a single linear decision boundary not correctly separate all regions of the Belgium–Netherlands border example?

    1. A

      A single line can only be used with more than two output classes

    2. B

      A single line always assigns the same confidence to both countries

    3. C

      A single line cannot process latitude and longitude as numerical inputs

    4. D

      A single line cannot represent the border's complex, non-linear shape

    Correct answer
    D

    A single line cannot represent the border's complex, non-linear shape

    Explanation

    With one plane for each country, their intersection produces a single straight decision boundary. The complicated town border cannot be represented correctly by one linear boundary.

  3. 3

    What does the universal approximation theorem mean by the continuity of the function being approximated?

    1. A

      It means that the training loss must decrease continuously

    2. B

      It refers to the continuity of the output surfaces being intersected

    3. C

      It requires the classification border itself to be continuous

    4. D

      It requires every neuron to have a continuous derivative everywhere

    Correct answer
    B

    It refers to the continuity of the output surfaces being intersected

    Explanation

    The theorem concerns continuous functions represented by the final surfaces. The classification border itself may be discontinuous, because it is obtained from the intersection of continuous surfaces.

  4. 4

    Which limitation of the universal approximation theorem is emphasized in the example?

    1. A

      The theorem applies only to networks with exactly two neurons

    2. B

      The theorem proves existence but does not provide a method for finding the solution

    3. C

      The theorem specifies the exact optimizer needed for every problem

    4. D

      The theorem guarantees success only when the data are linearly separable

    Correct answer
    B

    The theorem proves existence but does not provide a method for finding the solution

    Explanation

    A suitable two-layer solution may exist, but backpropagation and gradient descent may fail to discover it from a particular initialization.

  5. 5

    What important quantity does the universal approximation theorem fail to specify for a particular problem?

    1. A

      The fact that weights must be learned rather than fixed

    2. B

      The number of neurons needed to represent the function

    3. C

      The requirement that the network have an output layer

    4. D

      The number of input coordinates in the data

    Correct answer
    B

    The number of neurons needed to represent the function

    Explanation

    The theorem does not tell us how wide a network must be for a given task. In some cases, the required width of a shallow network may be extremely large.

  6. 6

    For a broad class of functions, how does the width required by a shallow network compare with the width required by a deep network?

    1. A

      The shallow network may require exponentially more neurons

    2. B

      The deep network cannot represent the functions at all

    3. C

      Both networks require exactly the same number of neurons

    4. D

      The shallow network always requires fewer neurons

    Correct answer
    A

    The shallow network may require exponentially more neurons

    Explanation

    The content states that, for a broad class of functions, the number of neurons needed in a shallow network is exponentially larger than the number needed in a deep network.

  7. 7

    Why does a 100,000-neuron two-layer network not necessarily contradict the universal approximation theorem when it misses parts of the border?

    1. A

      The theorem does not guarantee that training will find an existing solution

    2. B

      The theorem applies only to networks with fewer than 100,000 neurons

    3. C

      The theorem guarantees exact representation only for linear functions

    4. D

      The theorem requires the output layer to contain no activation function

    Correct answer
    A

    The theorem does not guarantee that training will find an existing solution

    Explanation

    A suitable representation may exist, but gradient descent can fail to reach it. The theorem is an existence result, not a guarantee about practical optimization.

  8. 8

    What does the softmax function change in the plane-based classification model?

    1. A

      It converts outputs into probability-like values without moving decision boundaries

    2. B

      It turns every non-linear boundary into a single straight line

    3. C

      It removes the need for hidden-layer activation functions

    4. D

      It changes the locations where the output planes intersect

    Correct answer
    A

    It converts outputs into probability-like values without moving decision boundaries

    Explanation

    Softmax bends the plane outputs into final probability values, but it does not change the locations of the intersections that determine the decision boundaries.

  9. 9

    What mathematical operation does a neuron without an activation function perform on two input coordinates?

    1. A

      It compares the coordinates and selects the larger one

    2. B

      It forms a weighted sum of the coordinates plus a bias

    3. C

      It multiplies the coordinates together and removes the bias

    4. D

      It converts the coordinates directly into probabilities

    Correct answer
    B

    It forms a weighted sum of the coordinates plus a bias

    Explanation

    A neuron computes a weighted combination such as a weight times each input coordinate, adds the results, and then adds a learnable bias.

  10. 10

    In the plane interpretation of a linear neuron, what do the weights control?

    1. A

      They control the steepness of the plane in the input directions

    2. B

      They determine the number of output classes

    3. C

      They decide whether the plane is clipped at zero

    4. D

      They specify the number of training iterations

    Correct answer
    A

    They control the steepness of the plane in the input directions

    Explanation

    The weights determine how strongly each input coordinate affects the output, which geometrically controls the plane's slope or steepness in each direction.

  11. 11

    What geometric effect does the bias have on a neuron's plane?

    1. A

      It changes the number of dimensions in the input

    2. B

      It shifts the entire plane upward or downward

    3. C

      It rotates the plane without changing its height

    4. D

      It clips all negative parts of the plane to zero

    Correct answer
    B

    It shifts the entire plane upward or downward

    Explanation

    The bias is added after the weighted inputs and shifts the whole plane vertically.

  12. 12

    A neuron receives x1=0.6x_1=0.6x1​=0.6 and x2=0.4x_2=0.4x2​=0.4 and computes a weighted sum plus a bias. What does its resulting value represent geometrically?

    1. A

      The distance from the input point to the nearest class boundary

    2. B

      The height of the neuron's plane at that input location

    3. C

      The probability that the point belongs to the first class

    4. D

      The number of active neurons in the next layer

    Correct answer
    B

    The height of the neuron's plane at that input location

    Explanation

    The computed weighted sum plus bias is the height of the neuron's plane at the coordinates (0.6,0.4)(0.6,0.4)(0.6,0.4).

  13. 13

    Why do stacked linear layers without activation functions collapse into an effectively single linear layer?

    1. A

      Linear layers always produce identical weights after training

    2. B

      A weighted sum of weighted sums is still a weighted sum plus a constant

    3. C

      The later layer ignores all outputs from the earlier layer

    4. D

      The bias terms cancel every input-dependent term

    Correct answer
    B

    A weighted sum of weighted sums is still a weighted sum plus a constant

    Explanation

    Substituting one layer's linear equations into the next produces new coefficients multiplying the original inputs plus a new constant. The result has the same form as one linear layer.

  14. 14

    What would happen if the first layer's plane outputs were passed directly into the second layer without an activation function?

    1. A

      The network would remain limited to fitting a linear decision boundary

    2. B

      The network would automatically create exponentially many regions

    3. C

      The network would produce discontinuous surfaces at every neuron

    4. D

      The network would be unable to compute any weighted combination

    Correct answer
    A

    The network would remain limited to fitting a linear decision boundary

    Explanation

    Without a non-linear activation, the multiple linear transformations combine into one linear transformation, so the network remains unable to model complex non-linear patterns.

  15. 15

    Which statement correctly describes the ReLU activation function?

    1. A

      It converts every input into a value between zero and one

    2. B

      It outputs one for negative inputs and zero for nonnegative inputs

    3. C

      It outputs zero for negative inputs and passes nonnegative inputs through

    4. D

      It squares negative inputs and leaves positive inputs unchanged

    Correct answer
    C

    It outputs zero for negative inputs and passes nonnegative inputs through

    Explanation

    ReLU returns zero when its input is less than zero and returns the input itself when the input is greater than or equal to zero.

  16. 16

    What geometric operation does ReLU perform on a plane?

    1. A

      It rotates the entire plane around the input origin

    2. B

      It changes the plane into a smooth curved surface

    3. C

      It clips the portion below height zero upward to height zero

    4. D

      It removes the portion above height zero from the plane

    Correct answer
    C

    It clips the portion below height zero upward to height zero

    Explanation

    ReLU sets all negative output values to zero, so the portions of the plane below the zero-height plane are folded or clipped upward.

  17. 17

    For a point whose first-layer neuron outputs are −0.14-0.14−0.14 and −0.33-0.33−0.33, what values enter the next layer after ReLU is applied?

    1. A

      The values are transformed to 0.140.140.14 and 0.330.330.33

    2. B

      The values are both transformed to 000

    3. C

      The values are transformed to 111 and 111

    4. D

      The values are transformed to −0.14-0.14−0.14 and −0.33-0.33−0.33

    Correct answer
    B

    The values are both transformed to 000

    Explanation

    Both values are negative, so ReLU maps each one to zero.

  18. 18

    How does a first-layer ReLU neuron affect the input map?

    1. A

      It assigns every point to the class with the largest coordinate

    2. B

      It removes one input dimension from every point

    3. C

      It folds the map along a line determined by its learned weights and bias

    4. D

      It creates a probability distribution without changing the geometry

    Correct answer
    C

    It folds the map along a line determined by its learned weights and bias

    Explanation

    The zero crossing of the neuron's plane defines a fold line. ReLU clips one side of the plane, thereby folding the input geometry along that line.

  19. 19

    What is the effect of a negative weight in a second-layer neuron when combining folded planes?

    1. A

      It makes the corresponding first-layer neuron permanently inactive

    2. B

      It flips the corresponding folded contribution before combining it

    3. C

      It removes the bias from the second-layer neuron

    4. D

      It changes the input coordinates into negative probabilities

    Correct answer
    B

    It flips the corresponding folded contribution before combining it

    Explanation

    A negative second-layer weight reverses the orientation of the associated folded surface contribution, effectively flipping it before the contributions are added.

  20. 20

    What determines which country a point is classified as in the two-output model?

    1. A

      The number of fold lines that pass through the point

    2. B

      The country associated with the point's input coordinate label

    3. C

      The first-layer neuron with the largest negative output

    4. D

      The output surface with the greater height or confidence at that point

    Correct answer
    D

    The output surface with the greater height or confidence at that point

    Explanation

    The two final output surfaces represent confidence in Belgium and the Netherlands. The point is classified according to whichever output has the higher value.

  21. 21

    What does the intersection of the Belgium and Netherlands output surfaces represent?

    1. A

      The set of points where every hidden neuron outputs zero

    2. B

      The set of points where the input coordinates are identical

    3. C

      The set of points where the model is equally confident in both countries

    4. D

      The set of points with the highest total classification confidence

    Correct answer
    C

    The set of points where the model is equally confident in both countries

    Explanation

    At the intersection, the two output surfaces have equal height, so the model assigns equal confidence to the two countries. This intersection forms the decision boundary.

  22. 22

    How does increasing the number of neurons in the first layer affect a two-layer ReLU network geometrically?

    1. A

      It removes existing folds and makes the output more linear

    2. B

      It reduces the number of parameters in the second layer

    3. C

      It forces every output surface to have the same height

    4. D

      It permits more folds and therefore more regions in the input map

    Correct answer
    D

    It permits more folds and therefore more regions in the input map

    Explanation

    Each first-layer neuron can introduce a fold line. More neurons allow the map to be divided into more regions, enabling more complex piecewise-linear output surfaces.

  23. 23

    Why can a second-layer output surface have different heights in different map regions?

    1. A

      Each map region is assigned a separate independent input coordinate

    2. B

      Softmax changes the height independently before the second layer

    3. C

      The output surface is randomly redrawn for every input point

    4. D

      The second layer combines the first-layer folded regions using learned weights and a bias

    Correct answer
    D

    The second layer combines the first-layer folded regions using learned weights and a bias

    Explanation

    The first-layer folds divide the map into regions. The second layer scales and adds those folded contributions, producing different values and therefore different surface heights across the regions.

  24. 24

    In the example, a point at (0.6,0.4)(0.6,0.4)(0.6,0.4) produces final outputs of approximately 0.030.030.03 and −0.89-0.89−0.89. What classification follows?

    1. A

      Belgium, because both first-layer outputs were negative

    2. B

      Belgium, because the Belgium output is higher

    3. C

      The Netherlands, because the Netherlands output is negative

    4. D

      The Netherlands, because the point lies on a fold line

    Correct answer
    B

    Belgium, because the Belgium output is higher

    Explanation

    The second output, representing Belgium, is higher than the first output, representing the Netherlands. Therefore, the model classifies the point as Belgium.

  25. 25

    What is the key difference for a Netherlands point that does not lie in the zero-ReLU region of one first-layer neuron?

    1. A

      Its coordinates are discarded before reaching the output layer

    2. B

      Its negative activation is amplified by every subsequent layer

    3. C

      Its output is converted directly into a hard class label

    4. D

      Its positive activation contributes to pushing the final outputs apart

    Correct answer
    D

    Its positive activation contributes to pushing the final outputs apart

    Explanation

    A nonzero positive ReLU output is passed to the next layer, where its weighted contribution can raise one country's surface and lower the other, supporting the correct classification.

  26. 26

    What process produced the incorrect initial classification in the randomly initialized model?

    1. A

      The model had no bias parameters in its first layer

    2. B

      The softmax function deleted the correct country's output

    3. C

      The input coordinates were changed during the forward pass

    4. D

      The randomly placed folds created output surfaces with the wrong relative heights

    Correct answer
    D

    The randomly placed folds created output surfaces with the wrong relative heights

    Explanation

    Before training, random parameters place the fold lines and output surfaces arbitrarily. In the example, the Netherlands surface was higher at a Belgium point, causing an incorrect prediction.

  27. 27

    What role does cross-entropy loss play in the training process described?

    1. A

      It determines the number of fold lines in the first layer

    2. B

      It converts every hidden-layer output into a ReLU value

    3. C

      It measures the error of the model's classification prediction

    4. D

      It fixes the model's weights before gradient descent begins

    Correct answer
    C

    It measures the error of the model's classification prediction

    Explanation

    The incorrect prediction produces a cross-entropy loss. Backpropagation then uses this loss to calculate gradients for the model parameters.

  28. 28

    What information does backpropagation provide after the loss is computed?

    1. A

      Gradients indicating how each parameter should change to reduce the loss

    2. B

      A guarantee that the network has reached the global optimum

    3. C

      The exact number of neurons needed for the task

    4. D

      A new training example for every incorrect prediction

    Correct answer
    A

    Gradients indicating how each parameter should change to reduce the loss

    Explanation

    Backpropagation calculates derivatives of the loss with respect to the model's parameters. These gradients guide parameter updates but do not guarantee an optimal solution.

  29. 29

    If a plane's gradient with respect to its slope parameter is large and negative, what update direction reduces the loss?

    1. A

      Decrease the parameter, because every negative gradient requires a decrease

    2. B

      Set the parameter to zero, because gradients determine exact values

    3. C

      Increase the parameter, because the negative gradient points toward increasing it

    4. D

      Leave the parameter unchanged, because slopes do not affect the loss

    Correct answer
    C

    Increase the parameter, because the negative gradient points toward increasing it

    Explanation

    Gradient descent moves parameters opposite the gradient. A large negative gradient therefore leads to an increase in the parameter, which can reduce the loss.

  30. 30

    What geometric effect can increasing a plane's bias have during training?

    1. A

      It removes the plane's negative region without shifting it

    2. B

      It changes the number of input dimensions

    3. C

      It changes only the plane's horizontal steepness

    4. D

      It shifts the plane upward and moves its ReLU fold line

    Correct answer
    D

    It shifts the plane upward and moves its ReLU fold line

    Explanation

    The bias shifts the entire plane vertically. Because the ReLU fold occurs where the plane crosses zero, changing the bias also moves the fold line.

  31. 31

    Why can gradient descent become unable to recover a poor ReLU configuration?

    1. A

      Gradient descent updates only output biases and not hidden parameters

    2. B

      The loss becomes undefined whenever a ReLU output is positive

    3. C

      The gradients through a region where ReLU outputs zero are also zero

    4. D

      ReLU always reverses the direction of every gradient

    Correct answer
    C

    The gradients through a region where ReLU outputs zero are also zero

    Explanation

    When all relevant inputs fall in ReLU's zeroed-out region, the derivative through those units is zero. The associated parameters receive no useful gradient, leaving the model unable to move out of that configuration.

  32. 32

    What is a dead neuron in the context of the ReLU networks described?

    1. A

      A neuron whose weights are all positive and therefore never changes

    2. B

      A neuron that produces a constant nonzero output for every input

    3. C

      A neuron whose entire surface is below zero, causing ReLU to output zero everywhere

    4. D

      A neuron that belongs to the final output layer rather than a hidden layer

    Correct answer
    C

    A neuron whose entire surface is below zero, causing ReLU to output zero everywhere

    Explanation

    If a neuron's pre-activation surface is below zero for every input, ReLU sets its entire output to zero. Such a neuron is called dead because it contributes no active signal.

  33. 33

    What does gradient descent guarantee in the training process discussed?

    1. A

      It makes iterative parameter updates intended to reduce the loss

    2. B

      It determines the minimum sufficient network width in advance

    3. C

      It always finds the best possible representation of the function

    4. D

      It always avoids every suboptimal or inactive configuration

    Correct answer
    A

    It makes iterative parameter updates intended to reduce the loss

    Explanation

    Gradient descent makes small iterative updates based on gradients. The content explicitly states that it provides no guarantee of finding the best, or even a good, solution.

  34. 34

    Why might a wider network still fail even though it has many possible solutions?

    1. A

      A wider network cannot represent piecewise-linear functions

    2. B

      Additional neurons always force all surfaces to become identical

    3. C

      The universal approximation theorem prohibits very wide networks

    4. D

      Its optimizer may be unable to reach suitable solutions from its initialization

    Correct answer
    D

    Its optimizer may be unable to reach suitable solutions from its initialization

    Explanation

    The existence of good parameter settings does not imply that gradient descent can reach them. Initialization and zero-gradient regions can make useful solutions inaccessible during training.

  35. 35

    What new operation is applied in a deeper network after the second hidden layer produces its surfaces?

    1. A

      ReLU is applied again to the newly formed surfaces

    2. B

      All hidden outputs are replaced by their average

    3. C

      The surfaces are immediately converted into hard labels

    4. D

      The input coordinates are projected back into one dimension

    Correct answer
    A

    ReLU is applied again to the newly formed surfaces

    Explanation

    Each hidden layer applies a linear combination followed by an activation. Thus, the surfaces produced by the second layer are passed through ReLU before the final layer combines them.

  36. 36

    Why can one neuron in a deeper layer create several fold lines?

    1. A

      Its input surface may contain multiple planar regions crossing height zero

    2. B

      It applies a different activation function to every input coordinate

    3. C

      Its weights are copied independently into several output neurons

    4. D

      It creates one fold for every training example in the dataset

    Correct answer
    A

    Its input surface may contain multiple planar regions crossing height zero

    Explanation

    After earlier transformations, a neuron's input is no longer a single plane. A piecewise-planar surface can cross the zero-height plane in multiple regions, so ReLU creates multiple folds.

  37. 37

    Where do the new fold lines created by a deeper ReLU layer tend to bend?

    1. A

      They remain straight and cannot change angle

    2. B

      They can occur only at the outer boundary of the map

    3. C

      They bend at the joints between the planar pieces formed by earlier layers

    4. D

      They are always parallel to the original input axes

    Correct answer
    C

    They bend at the joints between the planar pieces formed by earlier layers

    Explanation

    The earlier layers create piecewise-planar surfaces. When these surfaces cross zero, the resulting folds can change angle at the joints between their planar pieces.

  38. 38

    In the two-neurons-per-layer example, what happens after the first layer?

    1. A

      The input map is folded into four regions for the next layer

    2. B

      The output becomes a pair of class probabilities immediately

    3. C

      The map is divided into exactly two regions by the final boundary

    4. D

      The input map is reduced to one region by averaging the folds

    Correct answer
    A

    The input map is folded into four regions for the next layer

    Explanation

    The two first-layer ReLU neurons create two folds, and together those folds divide the map into four regions.

  39. 39

    What is the effect of applying the next hidden layer to those four initial regions?

    1. A

      It can subdivide them into a more complex tiling, such as ten regions

    2. B

      It necessarily merges them into one flat region

    3. C

      It eliminates all piecewise-linear structure

    4. D

      It changes them into four unrelated output classes

    Correct answer
    A

    It can subdivide them into a more complex tiling, such as ten regions

    Explanation

    The second hidden layer folds the already bent surfaces. In the example, the resulting fold lines create ten regions from the four regions formed by the first layer.

  40. 40

    Why is the tiling produced by a deep network qualitatively different from that of a shallow network with similar total width?

    1. A

      Deep networks classify points without using learned parameters

    2. B

      Repeated folding allows later neurons to act on already transformed geometry

    3. C

      Deep networks use nonlinear operations while shallow networks use only biases

    4. D

      Shallow networks cannot combine outputs from multiple neurons

    Correct answer
    B

    Repeated folding allows later neurons to act on already transformed geometry

    Explanation

    In a deep network, folding, scaling, and combining operations are composed. Later layers therefore operate on increasingly complex surfaces rather than on the original input plane.

  41. 41

    What does the final layer do after the preceding hidden layers have created a complex tiling?

    1. A

      It scales and adds the transformed outputs to form final confidence surfaces

    2. B

      It creates all fold lines directly from the original inputs

    3. C

      It removes every region whose activation is negative

    4. D

      It replaces the learned surfaces with a single constant value

    Correct answer
    A

    It scales and adds the transformed outputs to form final confidence surfaces

    Explanation

    The final layer combines the outputs of the preceding layer using learned weights and biases. The resulting surfaces represent the final class confidences.

  42. 42

    What kind of boundary results from intersecting the final surfaces in the deep example?

    1. A

      A piecewise-linear boundary that can curve around complex regions

    2. B

      A smooth circular boundary produced by softmax

    3. C

      A single globally straight line regardless of network depth

    4. D

      A boundary determined only by the input biases

    Correct answer
    A

    A piecewise-linear boundary that can curve around complex regions

    Explanation

    The final surfaces are piecewise linear over the network's regions. Their intersection can therefore form a complex piecewise-linear decision boundary.

  43. 43

    How does the theoretical number of regions differ between shallow and deep ReLU networks?

    1. A

      Neither network type can create more regions than its number of neurons

    2. B

      Shallow networks have exponential growth, whereas deep networks have constant growth

    3. C

      Both network types have only linear growth in their number of regions

    4. D

      Shallow networks have polynomial growth, whereas deep networks can have exponential growth with depth

    Correct answer
    D

    Shallow networks have polynomial growth, whereas deep networks can have exponential growth with depth

    Explanation

    A shallow network stacks folds in the original input space, producing polynomial growth in the maximum number of regions. Composing layers can produce exponential growth with the number of layers.

  44. 44

    In the region-count formula described, what do DDD, DiD_iDi​, and KKK represent?

    1. A

      DDD is the number of layers, DiD_iDi​ is the loss value, and KKK is the number of parameters

    2. B

      DDD is neurons per layer, DiD_iDi​ is the number of inputs, and KKK is the number of hidden layers

    3. C

      DDD is the number of classes, DiD_iDi​ is the number of outputs, and KKK is the batch size

    4. D

      DDD is the number of inputs, DiD_iDi​ is neurons per layer, and KKK is the number of output classes

    Correct answer
    B

    DDD is neurons per layer, DiD_iDi​ is the number of inputs, and KKK is the number of hidden layers

    Explanation

    The variables in the described theoretical expression represent the width of each layer, the input dimension, and the number of layers before the final output layer.

  45. 45

    For a network with two neurons per layer, two inputs, and two hidden layers, what is the stated theoretical maximum number of regions?

    1. A

      10 regions

    2. B

      16 regions

    3. C

      4 regions

    4. D

      8 regions

    Correct answer
    B

    16 regions

    Explanation

    Using the stated expression, the configuration gives 22×4=162^2 \times 4 = 1622×4=16 possible regions. The trained example produced ten regions, which is below this theoretical maximum.

  46. 46

    Why did the example with two neurons per layer produce ten regions rather than the theoretical maximum of sixteen?

    1. A

      The ReLU function can create only ten regions in every network

    2. B

      The network had fewer than two input dimensions

    3. C

      The theoretical value is an upper bound, and training need not realize it

    4. D

      The final output layer removed six regions by definition

    Correct answer
    C

    The theoretical value is an upper bound, and training need not realize it

    Explanation

    The formula gives a theoretical maximum. Learned parameters may produce fewer regions because the network does not necessarily arrange all folds in the most region-efficient way.

  47. 47

    According to the example, what happens to the theoretical region count when another two-neuron layer is added to the two-neuron-per-layer network?

    1. A

      The count increases from 161616 to 646464

    2. B

      The count increases from 161616 to 202020

    3. C

      The count decreases from 161616 to 888

    4. D

      The count remains fixed at 161616

    Correct answer
    A

    The count increases from 161616 to 646464

    Explanation

    Adding another layer changes the stated theoretical count from 22×4=162^2 \times 4=1622×4=16 to 24×4=642^4 \times 4=6424×4=64. In this configuration, each added layer theoretically quadruples the number of regions.

  48. 48

    What happens to the exponential factor in the region-count expression for a shallow two-layer network?

    1. A

      It remains unchanged regardless of the number of layers

    2. B

      It becomes larger because shallow networks have more input dimensions

    3. C

      It is replaced by a factor representing the training loss

    4. D

      It disappears because there is only one hidden layer before the output

    Correct answer
    D

    It disappears because there is only one hidden layer before the output

    Explanation

    When the network is reduced to a shallow two-layer architecture, the number of hidden layers in the exponential term becomes one, eliminating the exponential growth effect.

  49. 49

    Why can counting regions for a shallow two-layer network be related to a classic problem in combinatorial geometry?

    1. A

      Its output layer counts the number of training examples

    2. B

      Its neurons act like circles dividing a plane into regions

    3. C

      Its neurons act like lines dividing a plane into regions

    4. D

      Its biases determine a discrete graph rather than a geometric partition

    Correct answer
    C

    Its neurons act like lines dividing a plane into regions

    Explanation

    Each first-layer ReLU neuron contributes a fold line in the two-dimensional input plane. Thus, the region-count problem corresponds to finding how many regions can be formed by a collection of lines.

  50. 50

    What comparison illustrates the potential efficiency of depth?

    1. A

      With 64 total neurons, four layers have a theoretical maximum above 70 million regions, versus 281 for one hidden layer

    2. B

      With 64 total neurons, one hidden layer has a theoretical maximum above 70 million regions, versus 281 for four layers

    3. C

      With 64 total neurons, neither arrangement can form more than 64 regions

    4. D

      With 64 total neurons, both arrangements have exactly 281 theoretical regions

    Correct answer
    A

    With 64 total neurons, four layers have a theoretical maximum above 70 million regions, versus 281 for one hidden layer

    Explanation

    The content compares 64 neurons in one wide first layer, yielding at most 281 regions, with the same neurons arranged across four layers, yielding a theoretical maximum of more than 70 million regions.

  51. 51

    Why should theoretical region counts not be interpreted as guaranteed practical performance?

    1. A

      They are loose upper bounds that learned parameters may fail to achieve

    2. B

      They apply only to linear networks without ReLU

    3. C

      They guarantee the exact training result for every initialization

    4. D

      They count only the output classes and not the hidden-layer regions

    Correct answer
    A

    They are loose upper bounds that learned parameters may fail to achieve

    Explanation

    The stated region counts are theoretical upper bounds. In practice, networks often create far fewer regions, and the quality of the learned boundary also depends on optimization and data.

  52. 52

    In the expanded network with eight neurons in each of its first two layers, how many regions did the first layer create in the example?

    1. A

      19 regions

    2. B

      281 regions

    3. C

      102 regions

    4. D

      64 regions

    Correct answer
    A

    19 regions

    Explanation

    The example states that the eight folds in the first layer divided the map into 19 regions.

  53. 53

    After the second layer of that eight-neuron-per-layer example, how many regions were formed?

    1. A

      19 regions

    2. B

      64 regions

    3. C

      102 regions

    4. D

      10 regions

    Correct answer
    C

    102 regions

    Explanation

    The various folds produced by the second layer combined to form 102 regions.

  54. 54

    What does it mean when a neuron in the second layer has no colored regions in the visualization?

    1. A

      Its weights were copied into another neuron and removed

    2. B

      Its entire input surface was below zero and ReLU set it to zero everywhere

    3. C

      Its output was converted into a constant class probability

    4. D

      Its output was positive everywhere and therefore invisible

    Correct answer
    B

    Its entire input surface was below zero and ReLU set it to zero everywhere

    Explanation

    A neuron with no colored regions is inactive across the whole input space: its pre-activation surface lies below height zero, so ReLU outputs zero everywhere.

  55. 55

    What do the dead neurons in the scaled network demonstrate about gradient descent?

    1. A

      It automatically removes all neurons that are not useful

    2. B

      It prevents deeper networks from creating additional regions

    3. C

      It does not guarantee efficient use of every neuron in the architecture

    4. D

      It always activates every neuron equally during training

    Correct answer
    C

    It does not guarantee efficient use of every neuron in the architecture

    Explanation

    Some neurons can remain inactive even when the architecture contains them. This illustrates that gradient descent does not guarantee that the available model capacity will be used efficiently.

  56. 56

    What did the four-layer network accomplish in fewer than one hundred gradient descent steps?

    1. A

      It reached the exact theoretical maximum number of regions

    2. B

      It eliminated every hidden-layer fold

    3. C

      It converted the classification task into a linear one

    4. D

      It identified the core structure of the town's border

    Correct answer
    D

    It identified the core structure of the town's border

    Explanation

    The training animation showed that the model quickly picked out the core structure, after which further training refined the border's details.

  57. 57

    What was the effect of additional training steps for the final deeper model?

    1. A

      They removed the need for ReLU activations in earlier layers

    2. B

      They forced the decision boundary to become a single straight line

    3. C

      They refined small details and tightened the learned border

    4. D

      They made the network progressively less capable of modeling the border

    Correct answer
    C

    They refined small details and tightened the learned border

    Explanation

    The deeper model benefited from extra training steps, using them to refine fine details of the town's border and capture its regions more accurately.

  58. 58

    What did the five-layer network with about 130 total neurons demonstrate compared with the 100,000-neuron shallow model?

    1. A

      It performed worse because depth reduces geometric expressiveness

    2. B

      It learned only a linear border but trained more quickly

    3. C

      It learned a more precise border using far fewer total neurons

    4. D

      It required more neurons in its first layer than the shallow model

    Correct answer
    C

    It learned a more precise border using far fewer total neurons

    Explanation

    Arranging 128 first-layer neurons as four layers of 32, plus the output layer, produced a five-layer network with roughly 130 total neurons. It learned a more precise border than the 100,000-neuron shallow model.

  59. 59

    What is the central geometric reason that depth can be more powerful than width?

    1. A

      Width prevents neurons from using nonlinear activation functions

    2. B

      Deeper networks replace learned weights with fixed geometric rules

    3. C

      Later layers repeatedly transform already folded spaces, compounding their complexity

    4. D

      Depth makes each individual neuron compute a fundamentally different operation

    Correct answer
    C

    Later layers repeatedly transform already folded spaces, compounding their complexity

    Explanation

    Neurons in both architectures perform folding, scaling, and combining. Depth makes these operations act successively on increasingly complex representations, allowing their effects to compound.

  60. 60

    How did the shallow and deep six-neuron arrangements differ in the illustrated tilings?

    1. A

      The shallow arrangement produced seven regions, while the deep arrangement produced ten

    2. B

      The shallow arrangement produced ten regions, while the deep arrangement produced seven

    3. C

      Both arrangements produced exactly four regions

    4. D

      The shallow arrangement produced 102 regions, while the deep arrangement produced 19

    Correct answer
    A

    The shallow arrangement produced seven regions, while the deep arrangement produced ten

    Explanation

    The deep three-layer arrangement with two neurons per layer created ten regions, whereas arranging the six neurons in a shallower network produced seven regions.

Question 1 of 60
Question 1 of 60

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent