Searcharxiv⌕ Search

arXiv subjects

Raffaele Ferrari

Publications and source records attributed to Raffaele Ferrari.

17 recordsLinked to original sources

A Hybrid Neural Network Emulator for M1 Neutrino Reaction Rates in Binary Neutron Star Merger Simulations

We present a neural network emulator for the bns_nurates library, which computes neutrino reaction rates used in binary neutron star merger simulations. Following a hybrid strategy, we emulate only the computationally dominant two-dimensional reactions---pair processes, bremsstrahlung, and inelastic neutrino-electron scattering---while evaluating the inexpensive one-dimensional processes still with bns_nurates. We find that the emulator reproduces the opacities to within a few percent across the relevant thermodynamic conditions and accelerates their evaluation by roughly an order of magnitude. When deployed in a global Athenak binary neutron star merger simulation, it recovers the remnant structure, neutrino luminosities, and ejecta composition of a reference run using the full bns_nurates library, at approximately half the overall cost

astro-ph.HE↗

High-level, efficient ocean modeling at all scales with Oceananigans

We describe the user interface, governing equations, and numerical methods underpinning the ocean modeling software called "Oceananigans". Oceananigans development has been led by the Climate Modeling Alliance as part of a larger effort to build a trainable climate model with quantifiable uncertainty. Notably, Oceananigans is written in the Julia programming language, is optimized for GPUs, and can efficiently simulate all scales of ocean motion ranging from millimeter-scale turbulence in a small box to planetary-scale ocean circulation. We argue that this combination of capabilities is enabled by a design that combines a basic, easy-to-optimize, GPU-friendly structured finite volume algorithm exposed behind a high-level, programmable user interface. This design negotiates a dual mandate for highest-possible performance (to support state-of-the-art applications) and enhanced accessibility (to facilitate adoption and development). The dual mandate aims ultimately to accelerate the progress of Earth system science.

physics.ao-ph↗

Radiative and Dynamical Controls on the Land-Ocean Warming Contrast in Climate Models

Surface air over land warms substantially more than over the ocean under greenhouse forcing, a phenomenon known as the land-ocean warming contrast. Current explanations for this contrast are commonly expressed either in terms of energetic constraints, from top-of-atmosphere and surface energy balance, or dynamical constraints, from large-scale atmospheric dynamics. We show that these perspectives are complementary when viewed through the lens of atmospheric moist static energy (MSE) transport, and that connecting them yields new insight into the controls of the warming contrast and the spread in climate models. We use this framework to construct an interpretable emulator that reproduces the land-ocean warming response across 22 models from the latest Coupled Model Intercomparison Project (CMIP6). We find that the strength of the land-ocean warming contrast emerges from the interplay between a model-dependent radiative baseline and a robust dynamical restoring mechanism that favors greater warming over land. This interplay leads to two broad model regimes that align with climate sensitivity. In low-climate-sensitivity models, more stabilizing radiative feedbacks over the ocean directly favor greater land warming. In high-climate-sensitivity models, radiative feedbacks alone would instead favor greater ocean warming, but a strong MSE-transport feedback (approximately 0.2 PW/K) more than compensates for this tendency. The intermodel spread in the land-ocean warming contrast is closely related to the ratio of radiative feedbacks over land and ocean, highlighting a broader connection between climate sensitivity and the land-ocean warming contrast.

physics.ao-ph↗

NORi: An ML-Augmented Ocean Boundary Layer Parameterization

NORi is a machine learning (ML) parameterization of ocean boundary layer turbulence that is physics-based and augmented with neural networks. NORi stands for neural ordinary differential equations (NODEs) Richardson number (Ri) closure. The physical parameterization is controlled by a Richardson number-dependent diffusivity and viscosity. The neural ODEs are trained to capture the entrainment through the base of the boundary layer, which cannot be represented with a local diffusive closure. The parameterization is trained using large-eddy simulations in an a posteriori fashion, where parameters are calibrated with a loss function that explicitly depends on the actual time-integrated variables of interest rather than the instantaneous subgrid fluxes, which are inherently noisy. NORi conserves tracers by design, uses realistic nonlinear thermodynamics, and demonstrates excellent prediction and generalization capabilities in capturing entrainment dynamics under different convective strengths, background stratifications, rotation, and wind forcings. NORi is shown to simulate the seasonal evolution of the boundary layer at Ocean Weather Station Papa with similar performance to the state-of-the-art two-equation k-epsilon closure. When implemented in a double-gyre simulation, it is numerically stable for at least 100 years, despite only being trained on two-day horizons, and can be run with time steps as long as one hour. Combining highly expressive neural networks with a physically grounded base closure proves to be a robust paradigm for designing parameterizations for climate models: data required and training cost are drastically reduced, inference performance can be directly optimized as a primary objective, and numerical stability is implicitly promoted through training.

physics.ao-ph↗

Score-based generative emulation of impact-relevant Earth system model outputs

Policy targets evolve faster than the Coupled Model Intercomparison Project cycles, complicating adaptation and mitigation planning that must often contend with outdated projections. Climate model output emulators address this gap by offering inexpensive surrogates that can rapidly explore alternative futures while staying close to Earth System Model (ESM) behavior. The focus is on emulators designed to provide inputs to impact models. Using monthly ESM fields of near-surface temperature, precipitation, relative humidity, and wind speed, it is shown that deep generative models have the potential to model the joint distribution of variables relevant for impacts. The specific model proposed uses score-based diffusion on a spherical mesh and runs on a single mid-range graphical processing unit. A thorough suite of diagnostics is introduced to compare emulator outputs with their parent ESMs, including their probability densities, cross-variable correlations, time of emergence, or tail behavior. The emulator performance is evaluated across three distinct ESMs in both pre-industrial and forced regimes. The results show that the emulator produces distributions that closely match the ESM outputs and captures key forced responses. They also reveal important failure cases, notably for variables with a strong regime shift in the seasonal cycle. Although not a perfect match to the ESM, the inaccuracies of the emulator are small relative to the magnitude of internal variability in ESM projections. This suggests that the generative emulators can be useful in supporting impact assessment. Priorities for future development toward daily resolution, finer spatial scales, and bias-aware training are discussed. Code is made available at https://github.com/shahineb/climemu.

physics.ao-ph↗

Surface to Seafloor: A Generative AI Framework for Decoding the Ocean Interior State

Understanding subsurface ocean dynamics is essential for quantifying oceanic heat and mass transport, but direct observations at depth remain sparse due to logistical and technological constraints. In contrast, satellite missions provide rich surface datasets-such as sea surface height, temperature, and salinity-that offer indirect but potentially powerful constraints on the ocean interior. Here, we present a probabilistic framework based on score-based diffusion models to reconstruct three-dimensional subsurface velocity and buoyancy fields, including the energetic ocean eddy field, from surface observations. Using a 15-level primitive equation simulation of an idealized double-gyre system, we evaluate the skill of the model in inferring the mean circulation and the mesoscale variability at depth under varying levels of surface information. We find that the generative model successfully recovers key dynamical structures and provides physically meaningful uncertainty estimates, with predictive skill diminishing systematically as the surface resolution decreases or the inference depth increases. These results demonstrate the potential of generative approaches for ocean state estimation and uncertainty quantification, particularly in regimes where traditional deterministic methods are underconstrained or ill-posed.

physics.geo-ph↗

Tidally Induced Turbulence in the Abyssal Ocean

It has been suggested that the upwelling branch of the abyssal overturning circulation is characterized by strong flows driven by turbulence along sloping topography. The Boundary Layer Turbulence field campaign has provided direct evidence for strong upslope flows along a deep submarine canyon of the Rockall Trough. Turbulent overturning events spanning 200 m in the vertical were observed every tidal cycle, suggesting that the strong tidal flows in the canyon periodically undergo some form of instability. However, it is shown that the flow never satisfied the classical instability condition for time-independent sheared flows in a stratified fluid commonly used in oceanographic studies to determine transition to turbulence. This study illustrates that the time dependence of the tidal flow changes the stability properties and explains the observed transition to a turbulent state. The findings suggest that turbulent mixing induced by oscillatory shear flow may be ubiquitous over sloping topography and play an important role in deep ocean mixing that supports the global overturning circulation.

physics.ao-ph↗

The impact of internal variability on benchmarking deep learning climate emulators

Full-complexity Earth system models (ESMs) are computationally very expensive, limiting their use in exploring the climate outcomes of multiple emission pathways. More efficient emulators that approximate ESMs can directly map emissions onto climate outcomes, and benchmarks are being used to evaluate their accuracy on standardized tasks and datasets. We investigate a popular benchmark in data-driven climate emulation, ClimateBench, on which deep learning-based emulators are currently achieving the best performance. We compare these deep learning emulators with a linear regression-based emulator, akin to pattern scaling, and show that it outperforms the incumbent 100M-parameter deep learning foundation model, ClimaX, on 3 out of 4 regionally-resolved climate variables, notably surface temperature and precipitation. While emulating surface temperature is expected to be predominantly linear, this result is surprising for emulating precipitation. Precipitation is a much more noisy variable, and we show that deep learning emulators can overfit to internal variability noise at low frequencies, degrading their performance in comparison to a linear emulator. We address the issue of overfitting by increasing the number of climate simulations per emission pathway (from 3 to 50) and updating the benchmark targets with the respective ensemble averages from the MPI-ESM1.2-LR model. Using the new targets, we show that linear pattern scaling continues to be more accurate on temperature, but can be outperformed by a deep learning-based technique for emulating precipitation. We publish our code and data at github.com/blutjens/climate-emulator.

cs.LG↗

Origin and Limits of Invariant Warming Patterns in Climate Models

Climate models exhibit an approximately invariant surface warming pattern in typical end-of-century projections. This observation has been used extensively in climate impact assessments for fast calculations of local temperature anomalies, with a linear procedure known as pattern scaling. At the same time, emerging research has also shown that time-varying warming patterns are necessary to explain the time evolution of effective climate sensitivity in coupled models, a mechanism that is known as the pattern effect and that seemingly challenges the pattern scaling understanding. Here we present a simple theory based on local energy balance arguments to reconcile this apparent contradiction. Specifically, we show that the pattern invariance is an inherent feature of exponential forcing, linear feedbacks, a constant forcing pattern and diffusive dynamics. These conditions are approximately met in most CMIP6 Shared Socioeconomic Pathways (SSP), except in the Arctic where nonlinear feedbacks are important and in regions where aerosols considerably alter the forcing pattern. In idealized experiments where concentrations of CO2 are abruptly increased, such as those used to study the pattern effect, the warming pattern can change considerably over time because of spatially inhomogeneous ocean heat uptake, even in the absence of nonlinear feedbacks. Our results illustrate why typical future projections are amenable to pattern scaling, and provide a plausible explanation of why more complicated approaches, such as nonlinear emulators, have only shown marginal improvements in accuracy over simple linear calculations.

physics.ao-ph↗

Oceananigans.jl: A Julia library that achieves breakthrough resolution, memory and energy efficiency in global ocean simulations

Climate models must simulate hundreds of future scenarios for hundreds of years at coarse resolutions, and a handful of high-resolution decadal simulations to resolve localized extreme events. Using Oceananigans.jl, written from scratch in Julia, we report several achievements: First, a global ocean simulation with breakthrough horizontal resolution -- 488m -- reaching 15 simulated days per day (0.04 simulated years per day; SYPD). Second, Oceananigans simulates the global ocean at 488m with breakthrough memory efficiency on just 768 Nvidia A100 GPUs, a fraction of the resources available on current and upcoming exascale supercomputers. Third, and arguably most significant for climate modeling, Oceananigans achieves breakthrough energy efficiency reaching 0.95 SYPD at 1.7 km on 576 A100s and 9.9 SYPD at 10 km on 68 A100s -- the latter representing the highest horizontal resolutions employed by current IPCC-class ocean models. Routine climate simulations with 10 km ocean components are within reach.

physics.ao-ph↗

Machine learning for climate physics and simulations

We discuss the emerging advances and opportunities at the intersection of machine learning (ML) and climate physics, highlighting the use of ML techniques, including supervised, unsupervised, and equation discovery, to accelerate climate knowledge discoveries and simulations. We delineate two distinct yet complementary aspects: (1) ML for climate physics and (2) ML for climate simulations. While physics-free ML-based models, such as ML-based weather forecasting, have demonstrated success when data is abundant and stationary, the physics knowledge and interpretability of ML models become crucial in the small-data/non-stationary regime to ensure generalizability. Given the absence of observations, the long-term future climate falls into the small-data regime. Therefore, ML for climate physics holds a critical role in addressing the challenges of ML for climate simulations. We emphasize the need for collaboration among climate physics, ML theory, and numerical analysis to achieve reliable ML-based models for climate applications.

physics.ao-ph↗

Formulation and calibration of CATKE, a one-equation parameterization for microscale ocean mixing

We describe CATKE, a parameterization for fluxes associated with small-scale or "microscale" ocean turbulent mixing on scales between 1 and 100 meters. CATKE uses a downgradient formulation that depends on a prognostic turbulent kinetic energy (TKE) variable and a diagnostic mixing length scale that includes a dynamic convective adjustment (CA) component. With its dynamic convective mixing length, CATKE predicts not just the depth spanned by convective plumes but also the characteristic convective mixing timescale, an important aspect of turbulent convection not captured by simpler static convective adjustment schemes. As a result, CATKE can describe the competition between convection and other processes such as shear-driven mixing and baroclinic restratification. To calibrate CATKE, we use Ensemble Kalman Inversion to minimize the error between 21 large eddy simulations (LES) and predictions of the LES data by CATKE-parameterized single column simulations at three different vertical resolutions. We find that CATKE makes accurate predictions of both idealized and realistic LES compared to microscale turbulence parameterizations commonly used in climate models.

physics.ao-ph↗

Capturing missing physics in climate model parameterizations using neural differential equations

We explore how neural differential equations (NDEs) may be trained on highly resolved fluid-dynamical models of unresolved scales providing an ideal framework for data-driven parameterizations in climate models. NDEs overcome some of the limitations of traditional neural networks (NNs) in fluid dynamical applications in that they can readily incorporate conservation laws and boundary conditions and are stable when integrated over time. We advocate a method that employs a 'residual' approach, in which the NN is used to improve upon an existing parameterization through the representation of residual fluxes which are not captured by the base parameterization. This reduces the amount of training required and providing a method for capturing up-gradient and nonlocal fluxes. As an illustrative example, we consider the parameterization of free convection of the oceanic boundary layer triggered by buoyancy loss at the surface. We demonstrate that a simple parameterization of the process - convective adjustment - can be improved upon by training a NDE against highly resolved explicit models, to capture entrainment fluxes at the base of the well-mixed layer, fluxes that convective adjustment itself cannot represent. The augmented parameterization outperforms existing commonly used parameterizations such as the K-Profile Parameterization (KPP). We showcase that the NDE performs well independent of the time-stepper and that an online training approach using differentiable simulation via the Julia scientific machine learning software stack improves accuracy by an order-of-magnitude. We conclude that NDEs provide an exciting route forward to the development of representations of sub-grid-scale processes for climate science, opening up myriad new opportunities.

physics.ao-ph↗

Transport and emergent stratification in the equilibrated Eady model: the vortex gas scaling regime

We numerically and theoretically investigate the Boussinesq Eady model, where a rapidly rotating density-stratified layer of fluid is subject to a meridional temperature gradient in thermal wind balance with a uniform vertically sheared zonal flow. Through a suite of numerical simulations, we show that the transport properties of the resulting turbulent flow are governed by quasi-geostrophic (QG) dynamics in the rapidly rotating strongly stratified regime. The 'vortex gas' scaling predictions put forward in the context of the two-layer QG model carry over to this fully 3D system: the functional dependence of the meridional flux on the control parameters is the same, the two ajustable parameters entering the theory taking slightly different values. In line with the QG prediction, the meridional buoyancy flux is depth-independent. The vertical buoyancy flux is such that turbulence transports buoyancy along isopycnals, except in narrow layers near the the top and bottom boundaries, the thickness of which decreases as the diffusivities go to zero. The emergent (re)stratification is set by a simple balance between the vertical buoyancy flux and diffusion along the vertical direction. Overall, this study demonstrates how the vortex-gas scaling theory can be adapted to quantitatively predict the magnitude and vertical structure of the meridional and vertical buoyancy fluxes, and of the emergent stratification, without additional fitting parameters.

physics.flu-dyn↗

Epidemic Management and Control Through Risk-Dependent Individual Contact Interventions

Testing, contact tracing, and isolation (TTI) is an epidemic management and control approach that is difficult to implement at scale because it relies on manual tracing of contacts. Exposure notification apps have been developed to digitally scale up TTI by harnessing contact data obtained from mobile devices; however, exposure notification apps provide users only with limited binary information when they have been directly exposed to a known infection source. Here we demonstrate a scalable improvement to TTI and exposure notification apps that uses data assimilation (DA) on a contact network. Network DA exploits diverse sources of health data together with the proximity data from mobile devices that exposure notification apps rely upon. It provides users with continuously assessed individual risks of exposure and infection, which can form the basis for targeting individual contact interventions. Simulations of the early COVID-19 epidemic in New York City prove the concepts. In the simulations, network DA identifies up to a factor 2 more infections than contact tracing when both harness the same contact data and diagnostic test data. This remains true even when only a relatively small fraction of the population uses network DA. When a sufficiently large fraction of the population ($\gtrsim 75\%$) uses network DA and complies with individual contact interventions, targeting contact interventions with network DA reduces deaths by up to a factor 4 relative to TTI. Network DA can be implemented by expanding the computational backend of existing exposure notification apps, thus greatly enhancing their capabilities. Implemented at scale, it has the potential to precisely and effectively control future epidemics while minimizing economic disruption.

stat.AP↗

A quantitative scaling theory for meridional heat transport in planetary atmospheres and oceans

The meridional temperature profile of the upper layers of planetary atmospheres is set through a balance between differential radiative heating by a nearby star, or by intrinsic heat fluxes emanating from the deep interior, and the redistribution of that heat across latitudes by turbulent flows. These flows spontaneously arise through baroclinic instability of the meridional temperature gradients maintained by the forcing. When planetary curvature is neglected, this turbulence takes the form of coherent vortices that mix the meridional temperature profiles. However, the curvature of the planet favors the emergence of Rossby waves and zonal jets that restrict the meridional wandering of the fluid columns, thereby reducing the mixing efficiency across latitudes. A similar situation arises in the ocean, where the baroclinic instability of zonal currents leads to enhanced meridional heat transport by a turbulent flow consisting of vortices and zonal jets. A recent scaling theory for the turbulent heat transport by vortices is extended to include the impact of planetary curvature, in the framework of the two-layer quasigeostrophic beta-plane model. This leads to a quantitative parameterization providing the meridional temperature profile in terms of the externally imposed heat flux in an idealized model of planetary atmospheres and oceans. In addition, it provides a quantitative prediction for the emergent criticality, i.e., the degree of instability in a canonical model of planetary atmosphere or ocean.

physics.ao-ph↗

The vortex gas scaling regime of baroclinic turbulence

The mean state of the atmosphere and ocean is set through a balance between external forcing (winds, radiation, heat and freshwater fluxes) and the emergent turbulence, which transfers energy to dissipative structures. The forcing gives rise to jets in the atmosphere and currents in the ocean, which spontaneously develop turbulent eddies through the baroclinic instability. A critical step in the development of a theory of climate is to properly include the resulting eddy-induced turbulent transport of properties like heat, moisture, and carbon. The baroclinic instability generates flow structures at the Rossby deformation radius, a length scale of order 1000 km in the atmosphere and 100 km in the ocean, smaller than the planetary scale and the typical extent of ocean basins respectively. There is therefore a separation of scales between the large-scale temperature gradient and the smaller eddies that advect it randomly, inducing effective diffusion. Numerical solutions of the two-layer quasi-geostrophic model, the standard model for studies of eddy motions in the atmosphere and ocean, show that such scale separation remains in the strongly nonlinear turbulent regime, provided there is sufficient bottom drag. We compute the scaling-laws governing the eddy-driven transport associated with baroclinic turbulence. First, we provide a theoretical underpinning for empirical scaling-laws reported in previous studies, for different formulations of the bottom drag law. Second, these scaling-laws are shown to provide an important first step toward an accurate local closure to predict the impact of baroclinic turbulence in setting the large-scale temperature profiles in the atmosphere and ocean.

physics.flu-dyn↗