Do Larger Fully Connected Neural Networks Generalize Better?
Abstract
Greater neural-network capacity does not necessarily yield better performance on unseen data. This study investigates whether a deeper, fully connected neural-network architecture generalizes better than a shallower architecture on the Fashion-MNIST dataset. We compare two architectures under two learning rates and two L2-regularization settings, producing eight configurations. The architectures contain 95,410 and 561,470 trainable parameters, respectively, an approximately 5.9-fold difference. Checkpoints and the final configuration are selected by validation loss, and all configurations are evaluated on a held-out test set. The selected larger configuration achieves 89.82% validation accuracy and 88.77% test accuracy. Selecting the lowest-validation-loss configuration within each architecture yields test accuracies of 88.77% and 88.52%, respectively, a difference of 0.25 percentage points. Across matched training settings, the larger architecture achieves higher test accuracy in only one of four comparisons. Class-level errors are concentrated among visually similar garment categories, and qualitative pixel-removal analyses suggest sensitivity to shape and boundaries. Overall, the findings suggest that increasing architectural capacity alone does not guarantee better generalization, highlighting the importance of considering optimization and regularization when selecting neural-network architectures.
Create a lesson
Related papers
What Makes Recurrence Generalize Across Lengths?
Shared title terminology · Yoonsung Jung, Sunghun Jung, Louise Nayeong Koh et al.
AgriManager: A Framework and Benchmark for LLM-RL Generalization in Agricultural Management
Shared title terminology · Chi Gui, Junwen Zheng, Ritwik Nigam et al.
Pretraining Representation Lottery Determines Fine-tuning Generalization
Shared title terminology · Fuming Yang, Core Francisco Park
WingBench: Benchmarking How AI Agents Search for Better Designs
Shared title terminology · Yiming Yang, David Xia, Jisen Li et al.
Renormalized Entropy from Symmetries: Simplicity Bias and Neural Heat Death
Shared title terminology · Vasco Portilheiro, Samuel Liebana, Andrew Saxe et al.
Verifying and Strengthening Neural Tangent Kernel Theory
Shared title terminology · Hao Zhu