Reduced-precision parametrization: lessons from an intermediate-complexity atmospheric model

Reducing numerical precision can save computational costs which can then be reinvested for more useful purposes. This study considers the effects of reducing precision in the parametrizations of an intermediate complexity atmospheric model (SPEEDY). We find that the difference between double-precisi...

Full description

Bibliographic Details
Main Authors: Saffin, L, Hatfield, S, Duben, P, Palmer, T
Format: Journal article
Language:English
Published: Wiley 2020
_version_ 1826293360775659520
author Saffin, L
Hatfield, S
Duben, P
Palmer, T
author_facet Saffin, L
Hatfield, S
Duben, P
Palmer, T
author_sort Saffin, L
collection OXFORD
description Reducing numerical precision can save computational costs which can then be reinvested for more useful purposes. This study considers the effects of reducing precision in the parametrizations of an intermediate complexity atmospheric model (SPEEDY). We find that the difference between double-precision and reduced-precision parametrization tendencies is proportional to the expected machine rounding error if individual timesteps are considered. However, if reduced precision is used in simulations that are compared to double-precision simulations, a range of precision is found where differences are approximately the same for all simulations. Here, rounding errors are small enough to not directly perturb the model dynamics, but can perturb conditional statements in the parametrizations (such as convection active/inactive) leading to a similar error growth for all runs. For lower precision, simulations are perturbed significantly. Precision cannot be constrained without some quantification of the uncertainty. The inherent uncertainty in numerical weather and climate models is often explicitly considered in simulations by stochastic schemes that will randomly perturb the parametrizations. A commonly used scheme is stochastic perturbation of parametrization tendencies (SPPT). A strong test on whether a precision is acceptable is whether a low-precision ensemble produces the same probability distribution as a double-precision ensemble where the only difference between ensemble members is the model uncertainty (i.e., the random seed in SPPT). Tests with SPEEDY suggest a precision as low as 3.5 decimal places (equivalent to half precision) could be acceptable, which is surprisingly close to the lowest precision that produces similar error growth in the experiments without SPPT mentioned above. Minor changes to model code to express variables as anomalies rather than absolute values reduce rounding errors and low-precision biases, allowing even lower precision to be used. These results provide a pathway for implementing reduced-precision parametrizations in more complex weather and climate models.
first_indexed 2024-03-07T03:28:54Z
format Journal article
id oxford-uuid:ba025581-34a2-413a-902a-5df5a512dd76
institution University of Oxford
language English
last_indexed 2024-03-07T03:28:54Z
publishDate 2020
publisher Wiley
record_format dspace
spelling oxford-uuid:ba025581-34a2-413a-902a-5df5a512dd762022-03-27T05:07:00ZReduced-precision parametrization: lessons from an intermediate-complexity atmospheric modelJournal articlehttp://purl.org/coar/resource_type/c_dcae04bcuuid:ba025581-34a2-413a-902a-5df5a512dd76EnglishSymplectic ElementsWiley2020Saffin, LHatfield, SDuben, PPalmer, TReducing numerical precision can save computational costs which can then be reinvested for more useful purposes. This study considers the effects of reducing precision in the parametrizations of an intermediate complexity atmospheric model (SPEEDY). We find that the difference between double-precision and reduced-precision parametrization tendencies is proportional to the expected machine rounding error if individual timesteps are considered. However, if reduced precision is used in simulations that are compared to double-precision simulations, a range of precision is found where differences are approximately the same for all simulations. Here, rounding errors are small enough to not directly perturb the model dynamics, but can perturb conditional statements in the parametrizations (such as convection active/inactive) leading to a similar error growth for all runs. For lower precision, simulations are perturbed significantly. Precision cannot be constrained without some quantification of the uncertainty. The inherent uncertainty in numerical weather and climate models is often explicitly considered in simulations by stochastic schemes that will randomly perturb the parametrizations. A commonly used scheme is stochastic perturbation of parametrization tendencies (SPPT). A strong test on whether a precision is acceptable is whether a low-precision ensemble produces the same probability distribution as a double-precision ensemble where the only difference between ensemble members is the model uncertainty (i.e., the random seed in SPPT). Tests with SPEEDY suggest a precision as low as 3.5 decimal places (equivalent to half precision) could be acceptable, which is surprisingly close to the lowest precision that produces similar error growth in the experiments without SPPT mentioned above. Minor changes to model code to express variables as anomalies rather than absolute values reduce rounding errors and low-precision biases, allowing even lower precision to be used. These results provide a pathway for implementing reduced-precision parametrizations in more complex weather and climate models.
spellingShingle Saffin, L
Hatfield, S
Duben, P
Palmer, T
Reduced-precision parametrization: lessons from an intermediate-complexity atmospheric model
title Reduced-precision parametrization: lessons from an intermediate-complexity atmospheric model
title_full Reduced-precision parametrization: lessons from an intermediate-complexity atmospheric model
title_fullStr Reduced-precision parametrization: lessons from an intermediate-complexity atmospheric model
title_full_unstemmed Reduced-precision parametrization: lessons from an intermediate-complexity atmospheric model
title_short Reduced-precision parametrization: lessons from an intermediate-complexity atmospheric model
title_sort reduced precision parametrization lessons from an intermediate complexity atmospheric model
work_keys_str_mv AT saffinl reducedprecisionparametrizationlessonsfromanintermediatecomplexityatmosphericmodel
AT hatfields reducedprecisionparametrizationlessonsfromanintermediatecomplexityatmosphericmodel
AT dubenp reducedprecisionparametrizationlessonsfromanintermediatecomplexityatmosphericmodel
AT palmert reducedprecisionparametrizationlessonsfromanintermediatecomplexityatmosphericmodel