A convolutional layer applies learned filters, or kernels, across an input representation to produce feature maps. For an image of width W, height H, and C channels, a two-dimensional convolution evaluates a dot product at each possible kernel position. Convolutional layers reduce parameter counts and help preserve translation invariance. section 10.2
A convolutional operation proceeds by:
- Sliding a kernel across the input matrix. section 10.2
- Computing a dot product between the kernel and the input values at each position. section 10.2
- Collecting the resulting scalar values into a feature map. section 10.2
- Applying nonlinear activation functions between stacked convolutional layers. section 10.2
From handwritten digits to sequence similarity
A LeNet-style MNIST classifier stacks convolution, ReLU, and max-pooling operations, increases the number of filters, flattens the final feature map, and finishes with a dense softmax classifier. For question-pair similarity, Conv1D and max-pooling process each embedded question branch before concatenation and dense classification. section 10.2.1 section 10.3.2
(10.8)
Use the convolution figure to inspect how kernel positions generate feature-map values. section 10.2













