arXiv(opens in a new tab)cs.LGOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.02511

Post-Training Quantization of Autoregressive Weather Models

Ananyo Bhattacharya, Swastik Bhattacharya, Christiane Jablonowski

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Advancements in high-resolution numerical weather prediction (NWP) and data assimilation (DA) have shaped the developments in deep learning (DL) architectures emulating atmospheric dynamics. Emulators for weather forecasting exhibit forecast quality comparable to physics based models at forecast horizon scaling from few days to subseasonal time scales. The emulators are driven by hardware-accelerated matrix multiplication in autoregressive inferences, significantly reducing the computation time and resources required for NWP. Optimization of the matrix multiplication processes in GPU architectures provides opportunities to scale towards high-resolution domain, and offers implementation of out of the box solutions. Post-training quantization (PTQ) has been demonstrated across multiple DL architectures to accelerate and increase the number of computations in unit time while consuming less power, enabling applications on edge hardware. In this study, we investigate the effect of PTQ on pre-trained AI emulators for global-scale weather forecasting. We implement PTQ algorithms in Deep Learning Weather Prediction (DLWP) and FourCastNet (FCN) models as a proof of concept for geophysical fluid dynamics applications. We systematically investigate the effect of PTQ on emulator inferences over short-range forecast horizons. Evaluation of PTQ configurations using simulated quantization hints at qualitatively meaningful forecasts over short-time horizons. These results provide a first benchmark of PTQ for autoregressive weather emulators and a basis for quantization-based optimization of DL models for dynamical systems.

Keywords: Quantization, Meteorology, AI Weather Prediction

1 Introduction

state, cloud formation, and precipitation.

The estimation of atmospheric state variables requires a combination of numerical weather prediction and insights from real-world observations involving ground stations and satellite-derived data products. Deterministic weather forecasting requires initial conditions of the surface and atmospheric state variables to autoregressively estimate the future states. Even under consistent frameworks for solving the prognostic equations, the model solutions are highly sensitive to the prescribed conditions and assumptions. Therefore, the quality of the forecast degrades with time owing to chaotic interactions within the system [1, 2]. Combining real-world observations with physics-based models through data assimilation provides precise information on global and regional scale meteorology. Therefore, the quality of weather forecasting models inevitably influences the estimation of atmospheric

The time and computational costs associated with running NWP models pose a challenge to scaling at higher spatio-temporal resolution and their accessibility. Depending on the type of application, the physics-based Earth system models have been adapted to different spatial resolutions. The long-term climate studies like the Coupled Model Intercomparison Project (CMIP) generally run at a coarse spatial resolution of 100-200 km [3], while the National Weather Service operates the High Resolution Rapid Refresh (HRRR) model [4] at 3 km resolution over the contiguous United States (CONUS) domain. Recent efforts are attempting to push the spatial scaling to a 1 km resolution global scale forecasting.

The availability of two and three-dimensional surface and atmospheric datasets at global and regional scales has enabled the application of deep learning (DL) architectures to weather and climate forecasting. Global reanalyses, such as ECMWF ERA5, together with

a^{a}University of Michigan, Ann Arbor, USA

b^{b}University of Texas at Dallas, Dallas, USA historical climate datasets, provide long-term records of atmospheric processes that support the training of DL models to represent atmospheric dynamics at high spatio-temporal resolution. Using DL method reduces the computational costs with respect to using traditional NWP solvers. Recent advances in DL architectures and their application to geophysical fluid dynamics have enabled the development of AI emulators for atmospheric and ocean circulation prediction [5, 6, 7]. In particular, approaches based on time-series forecasting, large language models, and operator learning have been adapted to high-volume two and three-dimensional meteorological and climate datasets [5, 7]. These AI emulators also leverage GPU-accelerated matrix computations to support deterministic and ensemble forecasting on both edge and high-performance computing platforms. Many models are trained on publicly available global and regional datasets, including ERA5, IFS, and HRRR, allowing them to capture complex land-sea-atmosphere interactions and support applications such as mesoscale convective system and tropical cyclone prediction. In contrast, another class of AI emulators [8, 9] is trained using idealized general circulation configurations, such as aquaplanet [10] and the Atmospheric Modeling Intercomparison Project (AMIP) [11], providing an alternative to training on global and regional observational or reanalysis datasets.

Many AI emulators have achieved forecast skills comparable to the state-of-the-art physics-based models for medium-range to sub-seasonal forecast horizons [5, 12, 9]. Meteorological agencies like ECMWF and NOAA have created frameworks like anemoi and NOAA-Eagle to develop in-house capabilities to generate and deploy AI emulators for weather forecasting applications. Therefore, the accuracy of AI emulators to predict general circulation and extreme weather events is crucial to support their transition to operation and promotion as a decision-making support system. However, training and testing of emulators have a large computational load that serves as a bottleneck to scaling AI emulators for (i) high-spatial resolution modeling, and (ii) out-of-the-box solutions on resource-constrained environments. Therefore, improvements in model memory footprint, inference time, and power consumption improve the feasibility of scaling the emulators.

To achieve accelerated inference with lower memory footprint and energy usage, a principled methodology is to reduce the precision of the operands in a machine learning model to a representation requiring less number of bits. This is known as quantization, where 32-bit floating-point (FP32) or 16-bit Brain Floating Point (BF16) parameters are mapped to lower-bit representations, reducing model memory and energy requirements [13]. For example, FP4 provides approximately 8×8\times lower memory usage than FP32 while retaining floating-point dynamic range [14, 15]. Well-designed FP4 quantization schemes can achieve accuracy comparable to BF16 [16]. While quantization can reduce the memory footprint and energy requirements, it also increases the throughput since the arithmetic operations for matrix multiplications can be performed with a lesser amount of operations per bit. As a result, recent state-of-the-art GPUs such as the NVIDIA Blackwell and Rubin natively support computations with FP4 weights.

Quantization of DL models can be categorized into two forms, namely Post-Training Quantization (PTQ), and Quantization Aware Training (QAT). PTQ performs the mapping of full-precision model parameters to lower precision after the model has been trained in full-precision. QAT quantizes and dequantizes the model parameters while during the optimization steps in training to address the effect of quantization errors. At the system-deployment level, PTQ is preferred since it is fast, cheap, and requires no access to the original heavy training pipeline or large datasets. While QAT can yield higher accuracy, PTQ allows a finished, pre-trained model to be instantly compressed using only a tiny calibration set.

The representation of bits of input values, weights, and activations within a DL architecture governs the precision and accuracy of all output values. However, the quantization of different components can benefit DL models by reducing memory footprint and accelerating matrix multiplications, leading to high-throughput computations. Reducing precision in physics-based models has improved computational efficiency with insignificant degradation in forecast skill score [17]. In the case of GCMs like OpenIFS and non-linear systems like the Lorenz 1963 and 1996 models [18, 19], single floating-point precision contains sufficient information to overcome the uncertainties with precision loss and unresolved subgrid-scale processes. Quantization has been widely studied in computer vision and LLMs, focused on hardware acceleration and edge computing applications. Most PTQ and QAT training applications have focused on single-step inference. In this study, we implement PTQ algorithms to two different DL architectures to investigate the model optimization for weather forecasting applications.

The contributions of this work are as follows:

• Post-training quantization (PTQ) is implemented in pre-trained AI emulators to optimize matrix multiplication for deterministic forecasting, spanning multiple weight and activation bit quantization across two different architectures: a convolutional U-Net (DLWP) and an AFNO-based vision transformer (FCN)

• We characterize quantization error under autoregressive inference. Prior PTQ studies in vision and language evaluate single-step prediction; we show how quantization error compounds across recursive steps in a non-linear system.

In Section 2, we describe the methodology to implement PTQ using NVIDIA Earth2Studio, forecast skill evaluation, and a list of bit representations and quantization algorithms. In Section 3, we discuss the results of inference runs including spatial maps and NWP skill scores. Section 4 provides a summary of the study followed by appendices describing the implementation.

References (28)