[Paper Review] Adapting the Linearised Laplace Model Evidence for Modern Deep Learning
This paper identifies critical incompatibilities between the classical linearised Laplace method and modern deep learning practices—particularly stochastic optimization and normalization layers—and proposes two key improvements: using the optimal parameters of the linearized model (θ⋆) instead of the original training point (θ̃) for linearization, and separately modeling priors for normalized vs. non-normalized parameters. These changes significantly improve model evidence estimation and uncertainty calibration across diverse architectures including ResNets, transformers, and autoencoders.
The linearised Laplace method for estimating model uncertainty has received renewed attention in the Bayesian deep learning community. The method provides reliable error bars and admits a closed-form expression for the model evidence, allowing for scalable selection of model hyperparameters. In this work, we examine the assumptions behind this method, particularly in conjunction with model selection. We show that these interact poorly with some now-standard tools of deep learning--stochastic approximation methods and normalisation layers--and make recommendations for how to better adapt this classic method to the modern setting. We provide theoretical support for our recommendations and validate them empirically on MLPs, classic CNNs, residual networks with and without normalisation layers, generative autoencoders and transformers.
Motivation & Objective
- Address the poor performance of classical linearised Laplace when applied to modern deep learning models trained with stochastic optimization and normalization layers.
- Identify that the standard linearised Laplace method assumes the training point θ̃ is a loss minimum, which often fails in practice due to non-convergent training.
- Resolve the issue of ill-defined predictive distributions in networks with normalization layers by introducing separate prior parametrization for normalized and non-normalized parameters.
- Improve model selection via accurate model evidence estimation using a corrected objective function based on the linearized model's optimal parameters.
- Demonstrate that the proposed method yields better-calibrated uncertainty estimates and higher test log-likelihoods across diverse architectures and datasets.
Proposed method
- Replace the standard linearised Laplace model evidence, which uses the original training point θ̃, with a new objective that uses the optimal parameters θ⋆ of the linearized model, solving a convex optimization problem.
- Derive a modified model evidence expression that accounts for the linearized model's loss landscape, ensuring better alignment with the true posterior when training is not at convergence.
- Introduce a dual-prior formulation that separately models the prior distribution for normalized and non-normalized network parameters, resolving issues in networks with batch normalization or similar layers.
- Apply the new model evidence objective to hyperparameter selection, enabling scalable, differentiable, and convex optimization over regularization parameters.
- Use the Neural Tangent Kernel (NTK) framework to formalize the linearized model and justify the theoretical properties of the proposed method.
- Validate the method empirically on MLPs, CNNs, ResNets (with and without normalization), transformers, and autoencoders, comparing uncertainty calibration and predictive performance.
Experimental results
Research questions
- RQ1Why does the classical linearised Laplace method fail to provide reliable model evidence estimates when applied to modern deep learning models trained with stochastic optimization?
- RQ2How can the linearised Laplace method be adapted to remain valid when the training point θ̃ is not a minimum of the training loss?
- RQ3What causes the predictive distribution in linearised Laplace to become ill-defined in networks with normalization layers, and how can this be corrected?
- RQ4Does using the optimal parameters of the linearized model (θ⋆) instead of the original training point (θ̃) lead to better-calibrated uncertainty estimates and improved model evidence?
- RQ5Can the proposed method outperform standard linearised Laplace in terms of test log-likelihood and uncertainty calibration across diverse architectures and datasets?
Key findings
- Using the optimal parameters θ⋆ of the linearized model instead of the training point θ̃ leads to significantly more accurate model evidence estimates, especially when training is not at convergence.
- The model evidence based on θ⋆ consistently yields higher test log-likelihoods than the standard approach using θ̃, with improvements of up to 0.5 log-likelihood units on CIFAR10 with ResNet-50.
- For ResNet-18 on MNIST, the proposed method with multiple layer-specific regularization parameters achieved a test negative log-likelihood of 0.003 ± 0.000, outperforming the standard method (0.520 ± 0.009) when using a single λ.
- The dual-prior approach for normalization layers successfully resolves the issue of ill-defined predictive distributions, enabling reliable uncertainty estimation in batch-normalized networks.
- Empirical results show that the proposed method produces better-calibrated uncertainty estimates, with predictive standard deviations closely matching actual reconstruction errors in autoencoder tasks.
- Hyperparameter optimization using the new objective (Mθ⋆) converges stably, while the standard approach (Mθ̃) causes regularization parameters to diverge to zero, indicating instability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.