Saved in:
Bibliographic Details
Main Authors: Sturm, Patrick Obin, Silva, Sam J.
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2408.16109
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909299580600320
author Sturm, Patrick Obin
Silva, Sam J.
author_facet Sturm, Patrick Obin
Silva, Sam J.
contents Computational models of atmospheric composition are not always physically consistent. For example, not all models respect fundamental conservation laws such as conservation of atoms in an interconnected chemical system. In well performing models, these nonphysical deviations are often ignored because they are frequently minor, and thus only need a small nudge to perfectly conserve mass. Here we introduce a method that anchors a prediction from any numerical model to physically consistent hard constraints, nudging concentrations to the nearest solution that respects the conservation laws. This closed-form model-agnostic correction uses a single matrix operation to minimally perturb the predicted concentrations to ensure that atoms are conserved to machine precision. To demonstrate this approach, we train a gradient boosting decision tree ensemble to emulate a small reference model of ozone photochemistry and test the effect of the correction on accurate but non-conservative predictions. The nudging approach minimally perturbs the already well-predicted results for most species, but decreases the accuracy of important oxidants, including radicals. We develop a weighted extension of this nudging approach that considers the uncertainty and magnitude of each species in the correction. This species-level weighting approach is essential to accurately predict important low concentration species such as radicals. We find that applying the uncertainty-weighted correction to the nonphysical predictions slightly improves overall accuracy, by nudging the predictions to a more likely mass-conserving solution.
format Preprint
id arxiv_https___arxiv_org_abs_2408_16109
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle A nudge to the truth: atom conservation as a hard constraint in models of atmospheric composition using an uncertainty-weighted correction
Sturm, Patrick Obin
Silva, Sam J.
Atmospheric and Oceanic Physics
Machine Learning
Computational models of atmospheric composition are not always physically consistent. For example, not all models respect fundamental conservation laws such as conservation of atoms in an interconnected chemical system. In well performing models, these nonphysical deviations are often ignored because they are frequently minor, and thus only need a small nudge to perfectly conserve mass. Here we introduce a method that anchors a prediction from any numerical model to physically consistent hard constraints, nudging concentrations to the nearest solution that respects the conservation laws. This closed-form model-agnostic correction uses a single matrix operation to minimally perturb the predicted concentrations to ensure that atoms are conserved to machine precision. To demonstrate this approach, we train a gradient boosting decision tree ensemble to emulate a small reference model of ozone photochemistry and test the effect of the correction on accurate but non-conservative predictions. The nudging approach minimally perturbs the already well-predicted results for most species, but decreases the accuracy of important oxidants, including radicals. We develop a weighted extension of this nudging approach that considers the uncertainty and magnitude of each species in the correction. This species-level weighting approach is essential to accurately predict important low concentration species such as radicals. We find that applying the uncertainty-weighted correction to the nonphysical predictions slightly improves overall accuracy, by nudging the predictions to a more likely mass-conserving solution.
title A nudge to the truth: atom conservation as a hard constraint in models of atmospheric composition using an uncertainty-weighted correction
topic Atmospheric and Oceanic Physics
Machine Learning
url https://arxiv.org/abs/2408.16109