Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Scalable Marginal Likelihood Estimation for Model Selection in Deep Learning

About

Marginal-likelihood based model-selection, even though promising, is rarely used in deep learning due to estimation difficulties. Instead, most approaches rely on validation data, which may not be readily available. In this work, we present a scalable marginal-likelihood estimation method to select both hyperparameters and network architectures, based on the training data alone. Some hyperparameters can be estimated online during training, simplifying the procedure. Our marginal-likelihood estimate is based on Laplace's method and Gauss-Newton approximations to the Hessian, and it outperforms cross-validation and manual-tuning on standard regression and image classification datasets, especially in terms of calibration and out-of-distribution detection. Our work shows that marginal likelihoods can improve generalization and be useful when validation data is unavailable (e.g., in nonstationary settings).

Alexander Immer, Matthias Bauer, Vincent Fortuin, Gunnar R\"atsch, Mohammad Emtiyaz Khan• 2021

Related benchmarks

TaskDatasetResultRank
Image ClassificationFlower-102 (test)
NLL (N=510)0.65
16
Image ClassificationPet-37 (test)
NLL (N=370)0.41
16
Image ClassificationCIFAR-10 (test)
NLL (N=100)0.94
16
Text ClassificationNews-4 (test)
NLL0.02
12
Image ClassificationAircraft
Error Rate46.0425
12
Image ClassificationPets
Error Rate8.5767
12
Image ClassificationDTD
Error Rate33.8567
12
Image ClassificationFlowers
Error Rate (%)13.5212
12
Transfer LearningCIFAR-10 N=50000 (train)
Avg SGD Run Time (L2-SP)70
3
Showing 9 of 9 rows

Other info

Follow for update