A structural prior is an assumption about how data or a task is organized, built into a model architecture before training. Neural networks become especially useful when their design encodes structure such as spatial correlation in images or sequential relationships in time-varying data. section 3.1
Choose an architecture that matches the structure you believe the data has:
- Use fully connected layers for columnar data when feature order carries no special meaning. section 3.1
- Use convolutional neural networks for images because nearby pixels are expected to be related. section 3.1
FashionMNIST baseline comparison
Represent 28×28 images as tensors and compare a flattened fully connected model with a CNN built from Conv2d and MaxPool2d layers. Train both with cross-entropy loss and compare accuracy; the CNN performs much better because its layers preserve and exploit image structure. section 6.0
