From Lines to Networks
We begin with the smallest complete learning system: a model, a loss, and an update rule. In the first two chapters the features are given, so a linear or logistic model can only recombine what someone chose to measure. Interleaving linear layers with hinges keeps the stack from collapsing into one linear map and makes the intermediate representations learnable: within each activation region the network applies an affine map, and every region’s map comes from the same shared parameters. Stochastic gradient descent moves those parameters downhill on the loss, and backpropagation computes the gradient it needs. The flexibility is real, but it carries no knowledge of the world: a well-fitted MLP loses nearly thirty points of accuracy when its validation images are shifted two pixels to the right. An interlude on experimental method sets the protocol under which that claim, and every later comparison, is made. The failure itself points to the next move: build what we know about the data into the architecture.