A Dense Layer and the Forward Pass

One neuron can only do so much with an input. Connecting several neurons lets us calculate different combinations of the same measurements, then pass those outputs to another layer.

14 sections · 15 questions · 3 coding challenges

1 / 14

What Could Several Neurons Notice That One Cannot?

BOTIE

One neuron combines its inputs into one response. If we want to notice several different patterns in the same measurements, one response may discard distinctions we still need. We could instead let several neurons examine the inputs with different weights.

Work on multilayer networks made this possibility useful by learning internal representations, rather than requiring a person to specify every intermediate feature. Rumelhart, Hinton and Williams' 1986 backpropagation paper showed hidden units developing features relevant to the task while the network learned from its output errors.

In a dense layer, every output unit receives all the incoming values, but each has its own weights and bias. One can respond to one combination while another responds to a different combination. Their outputs become the next layer's inputs. Nonlinear activations matter here: without them, stacking these linear combinations would still amount to a single affine transformation.

Sources for this history