Neural Network Pattern Recognition
- 59Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
What is the main reason a neural network is useful for classifying the four-pixel images?
What is the main reason a neural network is useful for classifying the four-pixel images?
59 questions
- 1
What is the main reason a neural network is useful for classifying the four-pixel images?
- A
It can learn pattern relationships that cannot be captured by simple pixel-brightness rules
- B
It classifies images without using the values of their individual pixels
- C
It converts every image into a larger image with more pixels
- D
It guarantees that every pixel will have a unique brightness value
Correct answer
AIt can learn pattern relationships that cannot be captured by simple pixel-brightness rules
Explanation
Different arrangements of the same bright and dark pixels can represent different patterns, so simple rules about individual pixel brightness are insufficient. Neural networks can learn relationships among the pixels.
- A
- 2
In the four-pixel example, what does an input neuron represent?
- A
The relationship between two neighboring pixels
- B
The average brightness of the entire image
- C
The final classification assigned to the image
- D
The brightness or darkness of one pixel
Correct answer
DThe brightness or darkness of one pixel
Explanation
Each input neuron is associated with one pixel and receives a numerical value representing that pixel's brightness.
- A
- 3
Which numerical encoding correctly represents pixel brightness in the example?
- A
White is +1, gray is +1, and black is 0
- B
White is −1, gray is 0, and black is +1
- C
White is 0, gray is −1, and black is +1
- D
White is +1, gray is 0, and black is −1
Correct answer
DWhite is +1, gray is 0, and black is −1
Explanation
The example assigns +1 to an all-white pixel, −1 to an all-black pixel, and 0 to gray.
- A
- 4
What is an input vector or input array?
- A
A list of output labels representing the desired classifications
- B
A graph showing how error changes during training
- C
A list of numbers representing the current inputs to the network
- D
A collection of weights connecting hidden layers
Correct answer
CA list of numbers representing the current inputs to the network
Explanation
The input vector or array is the list of numerical values that represents the current input, such as the four pixel values.
- A
- 5
What is the receptive field of a neuron?
- A
The range of error values allowed during training
- B
The number of layers between the input and output
- C
The set of inputs that makes the neuron's value as high as possible
- D
The set of outputs produced by all neurons in the network
Correct answer
CThe set of inputs that makes the neuron's value as high as possible
Explanation
A neuron's receptive field describes which input pattern causes that neuron to become maximally active.
- A
- 6
Why does an input neuron ignore the other pixels in the image?
- A
The other pixels are processed only after classification
- B
It is connected conceptually to only its corresponding pixel
- C
The other pixels are always assigned a value of zero
- D
The neuron automatically removes all pixels with negative values
Correct answer
BIt is connected conceptually to only its corresponding pixel
Explanation
For an input neuron, the receptive field consists of one associated pixel. Changes to other pixels do not affect that input neuron's value.
- A
- 7
What pattern does the network ultimately classify in the worked example?
- A
A horizontal line
- B
A vertical line
- C
A diagonal line
- D
A solid image
Correct answer
AA horizontal line
Explanation
The example's output layer has a positive value only for the horizontal category, so the network classifies the input as a horizontal line.
- A
- 8
Why can two images that both appear to be horizontal lines defeat a simple rule based only on pixel brightness?
- A
Horizontal lines always contain pixels with identical brightness values
- B
Pixel brightness cannot be represented numerically in a neural network
- C
The same brightness values can occur in different spatial arrangements
- D
Simple rules can use only positive values and never negative values
Correct answer
CThe same brightness values can occur in different spatial arrangements
Explanation
The classification depends on how bright and dark pixels are arranged, not merely on which brightness values appear. Different arrangements can require the same category.
- A
- 9
What is the first computation performed by a neuron after receiving its inputs?
- A
It computes a weighted sum of the input values
- B
It assigns the input to one of the output categories
- C
It replaces every negative input with zero
- D
It compares the input directly with the truth value
Correct answer
AIt computes a weighted sum of the input values
Explanation
A neuron first multiplies its inputs by their connection weights and adds the resulting values together.
- A
- 10
What does a connection weight of −1 do to an input?
- A
It changes the input into a fixed value of zero
- B
It increases the input to its maximum possible value
- C
It removes the input from the network permanently
- D
It contributes the negative of the input value
Correct answer
DIt contributes the negative of the input value
Explanation
Multiplying an input by −1 reverses its sign, so the negative of that input is included in the sum.
- A
- 11
What is the effect of a connection weight of zero?
- A
The connected input is changed to negative one
- B
The connected input is effectively ignored
- C
The connected input is sent directly to the output layer
- D
The connected input is doubled
Correct answer
BThe connected input is effectively ignored
Explanation
Multiplication by zero contributes nothing to the weighted sum, so the input has no effective influence on that neuron.
- A
- 12
How are weights represented graphically in the example?
- A
White indicates negative weights, black indicates positive weights, and thickness indicates layer number
- B
White indicates large weights, black indicates small weights, and thickness indicates input brightness
- C
White indicates zero weights, black indicates positive weights, and thickness indicates neuron value
- D
White indicates positive weights, black indicates negative weights, and thickness indicates magnitude
Correct answer
DWhite indicates positive weights, black indicates negative weights, and thickness indicates magnitude
Explanation
The diagram uses white links for positive weights and black links for negative weights. Thicker lines represent weights with greater magnitude.
- A
- 13
What operation follows the weighted sum in a sigmoid neuron?
- A
The weighted sum is multiplied by every input again
- B
The weighted sum is discarded if any input is negative
- C
The weighted sum is converted directly into a category label
- D
The weighted sum is passed through a sigmoid squashing function
Correct answer
DThe weighted sum is passed through a sigmoid squashing function
Explanation
A sigmoid neuron computes a weighted sum and then applies a sigmoid function to squash the result.
- A
- 14
What is the defining shape of a sigmoid function?
- A
It is S-shaped
- B
It is a U-shaped parabola
- C
It is always a straight line
- D
It is a step-shaped rectangle
Correct answer
AIt is S-shaped
Explanation
The term sigmoid refers to an S-shaped function.
- A
- 15
What happens to the output of a sigmoid function as its input becomes very large and positive?
- A
The output decreases without limit
- B
The output becomes less than −1
- C
The output increases but remains below 1
- D
The output becomes exactly equal to the input
Correct answer
CThe output increases but remains below 1
Explanation
A sigmoid output grows as its input increases, but it approaches a value below 1 rather than exceeding that bound.
- A
- 16
What happens to the output of a sigmoid function for very large negative inputs?
- A
The output remains greater than −1
- B
The output becomes greater than 1
- C
The output equals the positive input value
- D
The output becomes exactly negative infinity
Correct answer
AThe output remains greater than −1
Explanation
The sigmoid function is bounded so that its output remains greater than −1 even for very negative inputs.
- A
- 17
Why is bounding a sigmoid neuron's output useful?
- A
It ensures every neuron produces a different output category
- B
It makes the network independent of the input image
- C
It helps keep computations in the network bounded and stable
- D
It eliminates the need to assign weights to connections
Correct answer
CIt helps keep computations in the network bounded and stable
Explanation
Keeping neuron values within the range from −1 to +1 helps prevent computations from becoming unbounded and supports numerical stability.
- A
- 18
Which description best summarizes a sigmoid neuron?
- A
It compares each input with the truth label before summing
- B
It selects the largest input without using connection weights
- C
It averages the inputs and then removes all positive values
- D
It computes a weighted sum and then squashes the result
Correct answer
DIt computes a weighted sum and then squashes the result
Explanation
The essential operation of the sigmoid neuron is a weighted sum followed by a sigmoid squashing function.
- A
- 19
How does adding a layer affect the receptive fields in the example?
- A
The receptive fields become limited to one pixel
- B
The receptive fields stop depending on connection weights
- C
The receptive fields are replaced by the truth values
- D
The receptive fields become increasingly complex
Correct answer
DThe receptive fields become increasingly complex
Explanation
Each additional layer combines patterns detected by the previous layer, so its receptive fields represent more complex arrangements.
- A
- 20
What is the relationship between successive layers in the network?
- A
Every layer receives only the original image and ignores earlier layers
- B
The output layer supplies inputs backward to all hidden layers
- C
The output of one layer becomes the input to the next layer
- D
Each layer operates independently without receiving neuron values
Correct answer
CThe output of one layer becomes the input to the next layer
Explanation
The network propagates information forward: the outputs of one layer serve as the inputs to the following layer.
- A
- 21
What does a first-layer neuron with positive weights on two pixels detect most strongly?
- A
A pattern in which one corresponding pixel is bright and one is dark
- B
A pattern in which both corresponding pixels are bright
- C
A pattern that contains no information about either pixel
- D
A pattern in which both corresponding pixels are dark
Correct answer
BA pattern in which both corresponding pixels are bright
Explanation
Positive weights make the neuron more active when the associated pixels have high values, such as when both are white.
- A
- 22
What does a weight of −1 on a pixel imply about a neuron's receptive field?
- A
The neuron always outputs exactly +1 for that pixel
- B
The neuron is most active when that pixel is black
- C
The neuron is unaffected by that pixel's brightness
- D
The neuron is most active when that pixel is white
Correct answer
BThe neuron is most active when that pixel is black
Explanation
A negative weight contributes positively when the input is negative. Thus, a black pixel represented by −1 can strongly activate a neuron connected with weight −1.
- A
- 23
Why can a later layer represent arrangements involving all four pixels?
- A
It changes every pixel to either white or black before processing
- B
It bypasses all earlier layers and reads only the output labels
- C
It assigns four new brightness values to every original pixel
- D
It combines representations from earlier neurons that already combine pixel information
Correct answer
DIt combines representations from earlier neurons that already combine pixel information
Explanation
As information passes through layers, neurons combine increasingly broad and complex receptive fields, eventually representing arrangements involving all pixels.
- A
- 24
In the simplified diagram, why are many connections not shown?
- A
The network does not actually connect neurons between layers
- B
The example assumes most weights are zero
- C
Only connections from output neurons are allowed
- D
Connections are omitted whenever their weights are positive
Correct answer
BThe example assumes most weights are zero
Explanation
For visual clarity, the diagram assumes most weights are zero and therefore omits those connections, although actual networks generally connect neurons more fully.
- A
- 25
What is generally true of connections between neurons in adjacent layers?
- A
Each neuron is attached to all neurons in the previous layer with a weight between −1 and +1
- B
Each neuron is attached to exactly one neuron in the previous layer with a weight of +1
- C
Each neuron is attached only to neurons with positive activation values
- D
Each neuron is attached to the output layer but not to the previous layer
Correct answer
AEach neuron is attached to all neurons in the previous layer with a weight between −1 and +1
Explanation
The explanation notes that, in actuality, neurons in one layer are attached to all neurons in the previous layer, with weights ranging from −1 to +1.
- A
- 26
What happens to a negative value when it passes through a rectified linear unit?
- A
It is multiplied by the next layer's output
- B
It becomes 0
- C
It becomes +1
- D
It remains unchanged as a negative value
Correct answer
BIt becomes 0
Explanation
A rectified linear unit, or ReLU, sets negative values to zero.
- A
- 27
What happens to a positive value when it passes through a rectified linear unit?
- A
It remains equal to its input value
- B
It is changed to exactly +1
- C
It is converted into a negative value
- D
It is changed to exactly 0
Correct answer
AIt remains equal to its input value
Explanation
For positive inputs, a ReLU keeps the value unchanged.
- A
- 28
Why are rectified linear units considered computationally easy?
- A
They require recomputing all previous layers for each neuron
- B
They require comparing every input with every output label
- C
They require calculating an inverse trigonometric function
- D
They require only checking whether the input is positive
Correct answer
DThey require only checking whether the input is positive
Explanation
A ReLU is defined by a simple piecewise rule: retain positive inputs and replace negative inputs with zero.
- A
- 29
What stability benefit of rectified linear units is identified in the content?
- A
They have useful stability properties for neural networks
- B
They prevent all weights from becoming negative
- C
They guarantee that training always reaches the global minimum
- D
They ensure that every output equals the truth value
Correct answer
AThey have useful stability properties for neural networks
Explanation
The content states that ReLUs are not only easy to compute but also have nice stability properties in practice.
- A
- 30
Why can a ReLU-based layer produce receptive fields and their opposites?
- A
It duplicates every input before applying the activation
- B
It removes all distinctions between black and white pixels
- C
Its connections can include both positive and negative weights
- D
It assigns both positive and negative labels to every image
Correct answer
CIts connections can include both positive and negative weights
Explanation
Positive and negative connection weights allow neurons to respond to a pattern or to an opposing pattern. The ReLU then removes negative resulting activations.
- A
- 31
What four categories are represented by the output layer in the example?
- A
Small, medium, large, and irregular
- B
White, gray, black, and colored
- C
Positive, negative, zero, and undefined
- D
Solid, vertical, diagonal, and horizontal
Correct answer
DSolid, vertical, diagonal, and horizontal
Explanation
The output layer contains four values corresponding to solid, vertical, diagonal, and horizontal images.
- A
- 32
In the worked example, what does a positive output only at the horizontal unit indicate?
- A
The network classifies the image as solid
- B
The network classifies the image as horizontal
- C
The network has failed to process the input
- D
The network has determined that all pixels are black
Correct answer
BThe network classifies the image as horizontal
Explanation
The horizontal output is the only positive output, so the network selects horizontal as its classification.
- A
- 33
What is the truth vector for an image that is horizontal but not solid, vertical, or diagonal?
- A
It has zero for every category because the image is not solid
- B
It has one for every category because the image contains four pixels
- C
It has one for solid, vertical, and diagonal, and zero for horizontal
- D
It has zero for solid, vertical, and diagonal, and one for horizontal
Correct answer
DIt has zero for solid, vertical, and diagonal, and one for horizontal
Explanation
The truth values are zero for the three incorrect categories and one for the horizontal category.
- A
- 34
What is the error for a neural network's prediction?
- A
The sum of all input pixel brightness values
- B
The number of layers used to produce the answer
- C
The magnitude of the difference between the truth and the network's answer
- D
The largest weight in the entire network
Correct answer
CThe magnitude of the difference between the truth and the network's answer
Explanation
Error is defined as the magnitude of the difference between the correct truth values and the values predicted by the network.
- A
- 35
How can total network error be calculated across multiple outputs?
- A
By multiplying the truth values by the number of layers
- B
By selecting only the error for the largest output
- C
By ignoring all outputs that are close to zero
- D
By adding the errors for the individual outputs
Correct answer
DBy adding the errors for the individual outputs
Explanation
The individual output errors can be added together to obtain the total error for the network.
- A
- 36
What is the central goal of training a neural network?
- A
Increase the error so incorrect patterns become easier to distinguish
- B
Make every connection weight equal to zero
- C
Keep the initial random weights unchanged
- D
Adjust the weights so that the error becomes as small as possible
Correct answer
DAdjust the weights so that the error becomes as small as possible
Explanation
Learning consists of changing weights in directions that reduce the difference between the network's answers and the truth.
- A
- 37
What makes directly testing weight adjustments impractical for a large neural network?
- A
The network has no numerical output before training ends
- B
Only the input layer contributes to the network's error
- C
The error would need to be recalculated repeatedly for each weight
- D
Weights cannot be changed after a network is initialized
Correct answer
CThe error would need to be recalculated repeatedly for each weight
Explanation
A direct approach would require recalculating the network's error again and again for each possible weight adjustment, which becomes prohibitively expensive.
- A
- 38
What does the high-dimensional valley analogy represent in neural-network training?
- A
Moving an input image through a physical valley
- B
Choosing the brightest pixel from a two-dimensional image
- C
Finding a low-error combination among many dimensions corresponding to weights
- D
Reducing the number of output categories to one
Correct answer
CFinding a low-error combination among many dimensions corresponding to weights
Explanation
Each weight contributes a dimension to the error landscape, so training involves finding a low point in a space with potentially enormous dimensionality.
- A
- 39
What does the gradient provide during weight adjustment?
- A
The exact truth label without using the input
- B
The direction in which a weight should change to reduce error
- C
The original brightness value of each pixel
- D
The number of neurons required in the next layer
Correct answer
BThe direction in which a weight should change to reduce error
Explanation
The gradient indicates how error changes with respect to weights, allowing the network to choose an adjustment direction that lowers error.
- A
- 40
Why is calculating the gradient more practical than recomputing the full error for every weight change?
- A
It eliminates all multiplications between weights and neuron values
- B
It requires no error function or training examples
- C
It changes every weight to the same value in one step
- D
It determines adjustment directions without recalculating the entire network repeatedly
Correct answer
DIt determines adjustment directions without recalculating the entire network repeatedly
Explanation
The gradient can be calculated directly when the network is designed appropriately, avoiding a complete error recalculation for every individual weight.
- A
- 41
What does the shorthand DE/DW represent?
- A
The output value divided by the input value
- B
The change in error relative to a change in a weight
- C
The total number of errors divided by the number of weights
- D
The difference between two input neurons
Correct answer
BThe change in error relative to a change in a weight
Explanation
DE/DW denotes the derivative of error with respect to weight: how much the error changes when the weight changes.
- A
- 42
If a weight changes by +1 and the error changes by −2, what is the slope relating the error to the weight?
- A
−1
- B
−2
- C
+1
- D
+2
Correct answer
B−2
Explanation
The slope is change in error divided by change in weight: −2/1=−2.
- A
- 43
For the error function E=W2, what is the derivative of error with respect to weight?
- A
W+2
- B
W2
- C
rac{1}{2}W
- D
2W
Correct answer
D2W
Explanation
The derivative of W2 with respect to W is 2W.
- A
- 44
If E=W2 and W=−1, what is DE/DW?
- A
−1
- B
+1
- C
−2
- D
+2
Correct answer
C−2
Explanation
Using DE/DW=2W and substituting W=−1 gives DE/DW=2(−1)=−2.
- A
- 45
What is the chain-rule insight used in backpropagation?
- A
Every weight must be adjusted independently without using neighboring derivatives
- B
The slope of a full chain is always equal to the largest individual slope
- C
The error can be found without calculating any intermediate relationships
- D
The slope of a full chain can be found by multiplying the slopes of its individual steps
Correct answer
DThe slope of a full chain can be found by multiplying the slopes of its individual steps
Explanation
Backpropagation uses the chain rule: derivatives for successive operations are multiplied to obtain the derivative of the overall relationship.
- A
- 46
In the simple network where Y=XW1​, what is the derivative of Y with respect to W1​?
- A
X
- B
W1​
- C
1/X
- D
XW1​
Correct answer
AX
Explanation
Differentiating Y=XW1​ with respect to W1​ gives DY/DW1​=X.
- A
- 47
If E=YW2​, what is the derivative of E with respect to Y?
- A
YW2​
- B
Y
- C
W2​
- D
1/W2​
Correct answer
CW2​
Explanation
Differentiating E=YW2​ with respect to Y gives DE/DY=W2​.
- A
- 48
For the simple chain E=XW1​W2​, what is the derivative of E with respect to W1​?
- A
XW1​
- B
XW2​
- C
W1​W2​
- D
XW1​W2​
Correct answer
BXW2​
Explanation
Treating X and W2​ as constants when differentiating with respect to W1​ gives DE/DW1​=XW2​.
- A
- 49
What derivative is used to backpropagate through a weighted connection B=AW?
- A
DB/DA=A
- B
DB/DA=1/W
- C
DB/DA=AW
- D
DB/DA=W
Correct answer
DDB/DA=W
Explanation
For B=AW, differentiating with respect to A gives DB/DA=W.
- A
- 50
What derivative is used to backpropagate through a sum Z=A+C+D with respect to A?
- A
DZ/DA=Z
- B
DZ/DA=0
- C
DZ/DA=1
- D
DZ/DA=A
Correct answer
CDZ/DA=1
Explanation
Increasing one element of a sum by one increases the sum by one, so the derivative with respect to that element is 1.
- A
- 51
What is the derivative of a sigmoid function in terms of its output sigma?
- A
1/sigma
- B
sigma^2
- C
sigma(1-sigma)
- D
1+sigma
Correct answer
Csigma(1-sigma)
Explanation
The content states that the sigmoid derivative can be calculated by multiplying the sigmoid output by one minus itself: sigma(1-sigma).
- A
- 52
What is the derivative of a ReLU with respect to its input A?
- A
A for every possible input
- B
−1 whenever A is negative
- C
1 when A is positive and 0 otherwise
- D
0 when A is positive and 1 otherwise
Correct answer
C1 when A is positive and 0 otherwise
Explanation
A ReLU has slope 1 for positive inputs because it preserves them, and slope 0 for negative inputs because it replaces them with zero.
- A
- 53
What is the first step in the training procedure described?
- A
Remove all connections with negative weights
- B
Initialize a fully connected network with random weights
- C
Begin with an output layer containing no categories
- D
Set every weight to the correct final value
Correct answer
BInitialize a fully connected network with random weights
Explanation
Training begins with a fully connected network whose weights are assigned random values.
- A
- 54
Why must the training input have a known answer?
- A
The known answer supplies the truth needed to calculate error
- B
The known answer ensures all initial weights are positive
- C
The known answer replaces the need for a forward pass
- D
The known answer determines the number of input pixels
Correct answer
AThe known answer supplies the truth needed to calculate error
Explanation
A known classification provides the truth vector, which can be compared with the network's output to calculate error.
- A
- 55
What happens after the error is calculated for a training example?
- A
The output layer is removed before the next example is processed
- B
The input pixels are permanently changed to match the output
- C
The network discards the example and resets all weights
- D
Backpropagation adjusts the weights slightly in directions that reduce error
Correct answer
DBackpropagation adjusts the weights slightly in directions that reduce error
Explanation
Backpropagation calculates how weights affect error and adjusts them a small amount in the direction that lowers the error.
- A
- 56
Why are training examples presented repeatedly during the described process?
- A
The network must replace its activation function after each example
- B
A neural network can process only one pixel during each training example
- C
Repeated examples force every weight to become exactly zero
- D
Repeated small adjustments allow the weights to move toward a low-error solution
Correct answer
DRepeated small adjustments allow the weights to move toward a low-error solution
Explanation
The process is repeated many times, potentially thousands or millions, so the weights gradually move toward a configuration that performs well.
- A
- 57
What does it mean for the weights to settle in a low spot in the error landscape?
- A
The network has found a weight configuration with relatively low error
- B
Every neuron has reached its maximum possible activation
- C
All inputs have become identical to one another
- D
The network has stopped using its output layer
Correct answer
AThe network has found a weight configuration with relatively low error
Explanation
The valley analogy describes optimization: the weights move toward a low point where the network's total error is small.
- A
- 58
What does a sparse representation mean in the context of the trained network?
- A
Most pixels are removed from every input image
- B
Most neurons have no input connections at all
- C
Most output categories are always correct before training
- D
Most weights are small or close to zero
Correct answer
DMost weights are small or close to zero
Explanation
A relatively sparse representation is one in which most connection weights are small or near zero.
- A
- 59
What is not guaranteed when training a neural network with random initial weights?
- A
That backpropagation can guide weight changes
- B
That its weights will be adjusted during training
- C
That training can use known input-output examples
- D
That it will discover an intuitively understandable set of receptive fields
Correct answer
DThat it will discover an intuitively understandable set of receptive fields
Explanation
The content says that an intuitively understandable representation and sparse receptive fields may occur, but they are not guaranteed.
- A

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