Related Experiment Videos
How to Train a Shallow Ensemble
Moritz Schäfer1,2, Matthias Kellner1, Johannes Kästner2
1Laboratory of Computational Science and Modeling, Institut des Matériaux, École Polytechnique Fédérale de Lausanne, Lausanne 1015, Switzerland.
Abstract:
Shallow ensembles provide a convenient strategy for uncertainty quantification in machine-learning interatomic potentials, which is computationally efficient because the different ensemble members share a large part of the model weights. In this work, we systematically investigate training strategies for shallow ensembles to balance calibration performance with computational cost. We first demonstrate that explicit optimization of a negative log-likelihood (NLL) loss improves calibration with respect to approaches based on ensembles of randomly initialized models or on a last-layer Laplace approximation. However, models trained solely on energy objectives yield miscalibrated force estimates. We show that explicitly modeling force uncertainties via an NLL objective is essential for reliable calibration, though it typically incurs a significant computational overhead. To address this, we validate an efficient protocol: full-model fine-tuning of a shallow ensemble originally trained with a probabilistic energy loss or one sampled from the Laplace posterior. This approach yields a calibration quality comparable to training from scratch. While the computational benefits scale with system and model size, it reduces training time by up to 96% for data sets containing large structures. We evaluate this protocol across a diverse range of materials, including amorphous carbon, ionic liquids (BMIM BF4), liquid water (H2O), barium titanate (BaTiO3), and a model tetrapeptide (Ac-Ala3-NHMe), establishing practical guidelines for reliable uncertainty quantification in atomistic machine learning.
Related Concept Videos
Survival Tree
Building a Survival Tree
Constructing a survival tree begins...
Observational Learning
Associative Learning
Classical conditioning, also known...
Introduction to Learning
In contrast to learned behaviors, unlearned behaviors such as crying, sexual...
Role of Shaping in Operant Conditioning
The steps involved in shaping begin with reinforcing any response that resembles the desired behavior. For example, parents might praise a child for picking up one toy. As...
Generalization, Discrimination, and Extinction
Generalization occurs when a behavior reinforced in one context is performed in similar situations. For instance, a student who studies diligently for calculus and receives excellent grades might apply the same study habits to psychology and history, expecting similar results. Generalization shows how learning in one setting can influence behavior in...