Model memorization occurs when a network fits particular training examples instead of learning patterns that transfer to new data. It becomes more likely when a large model encounters a small or reduced training set. section 1.3.1 section 7.1.1
A memorizing model can approach perfect training accuracy while validation or test performance declines. This reveals specialization rather than generalization, although specialization can be useful when identifying a specific dataset is the goal. section 7.1.1
Inspect memorization through these practical signals and interventions:
- Compare training and validation accuracy and loss rather than relying on training accuracy alone. section 7.1.1
- Use dropout to deactivate a percentage of nodes during each training pass, encouraging a more general network at added computational and size cost. section 1.3.1
- Use pooling and batch normalization to reduce model size and improve generalization, while checking whether memorization remains. section 7.1.1
Single-layer CNN
A CNN with 64 filters, a 3×3 kernel, flattening, and dense layers contains over six million parameters. On a reduced dataset, it reaches almost 100% training accuracy while validation or test accuracy falls. Adding pooling and batch normalization reduces the model to about 1.6 million parameters and produces improving validation accuracy with decreasing loss, though some memorization remains. section 7.1.1



