arXiv:2611.02427cs.LGNov 2026

Manuscript Offprint

arXiv:2611.02427

Architecture-Aware Mixed Precision for Replica-Exchange Training of Geometry-Aware Neural Operators with Uncertainty Quantification

Ujin Jeon, Michael Penwarden, Wenqian Chen, Guang Lin

Abstract

Geometry-aware neural operators face substantial computational and memory demands when learning across complex physical domains. We introduce Architecture-Aware Mixed Precision (AA-MP), a replica-exchange training strategy that allocates numerical precision according to replica roles and architecture-specific operations. By retaining FP32 for refinement while selectively employing BF16 for exploration, AA-MP preserves predictive accuracy while improving training efficiency. Across fluid dynamics and three-dimensional structural mechanics benchmarks, AA-MP achieves comparable accuracy to full-precision training over an ensemble of runs, while reducing hot-replica peak GPU memory by 46.9% and training time by up to 25.8%. It also outperforms naive Automatic Mixed Precision (AMP) in memory efficiency and computational cost, with increasing memory advantages at larger model and geometry scales. Ablation studies show that retaining FP32 in the cold-replica is important for predictive accuracy, while additional FP32 operations in the exploratory replica provide limited benefits relative to their computational cost. Finally, conformal prediction for uncertainty calibration shows that AA-MP achieves near-nominal coverage with narrower prediction intervals than the alternatives. These results advance the scalability of geometry-aware scientific machine learning by reducing computational costs without compromising predictive accuracy or uncertainty quantification.

Keywords: Neural operator, Mixed precision, Replica exchange, Stochastic gradient Langevin dynamics, Uncertainty quantification

1. Introduction

Scientific machine learning (SciML) has become an important tool for accelerating simulation, inference, and prediction in computational physics. Methods such as physics-informed neural networks (PINNs), Deep Operator Networks (DeepONets), Fourier neural operators (FNOs), and related neural operator architectures have shown strong potential for learning parametric solution operators and constructing fast surrogate models for systems governed by partial differential equations (PDEs) [1, 2, 3, 4, 5]. These methods are especially useful in many-query settings, including design optimization, uncertainty quantification, inverse modeling, and real-time prediction, where repeated high-fidelity PDE solves are computationally expensive.

A central challenge is extending neural operators to complex and variable geometries. DeepONet supports evaluation at arbitrary spatial query locations, while conventional FNO formulations commonly use structured discretizations. Nevertheless, representing complex and varying geometries remains challenging and may require additional geometric encoding or architecture-specific treatment [6]. The Arbitrary Geometry-encoded Transformer (ArGenT) addresses this challenge by representing geometry through point-cloud coordinates and signed-distance information and using attention to construct geometry-conditioned solution features [7]. In this work, we use the cross-attention

∗^{*}Corresponding author

Email address: guanglin@purdue.edu (Guang Lin)

ArGENT formulation, in which sampled query locations form the query representation while a separate geometry point cloud provides the key and value representations. ArGENT is integrated as the geometry-aware trunk of a DeepONet-style architecture, while the branch network encodes the non-geometric physical and operating parameters.

This geometric flexibility introduces substantial computational cost. Geometry-aware Transformer operators repeatedly process sampled query locations and geometry point clouds through projection, attention, and feedforward operations, making GPU memory consumption and training throughput important practical constraints. Mixed-precision computation provides a natural mechanism for reducing these costs and has been studied extensively in deep learning, numerical linear algebra, scientific computing, and, more recently, neural operator learning [8, 9, 10].

Existing mixed-precision strategies often assign numerical precision according to operation type, numerical sensitivity, model component, or backend execution policy. In this work, we additionally use the algorithmic role of each replica in replica-exchange optimization to determine its precision policy. The low-temperature replica is responsible for refinement and final model evaluation, whereas the high-temperature replica is used to promote broader exploration of the optimization landscape. This asymmetry motivates treating numerical precision as a replica-dependent computational resource rather than applying the same precision policy to both chains.

Accordingly, we propose an architecture-aware mixed-precision (AA-MP) strategy for replica-exchange training of geometry-aware neural operators. The low-temperature cold replica uses 32-bit floating-point (FP32) computation for refinement and model evaluation, whereas the high-temperature exploratory replica uses a manually controlled bfloat16 (BF16) model representation for its forward and backward computation. The hot-replica preconditioned reSGLD update retains FP32 master parameters and first- and second-moment states, while the DeepONet latent reduction and scalar prediction-error and exchange-energy reductions are also evaluated in FP32. Replica-exchange proposals couple this reduced-precision exploratory replica to the full-precision refinement replica. AA-MP therefore incorporates mixed precision directly into the exploration-refinement structure of replica exchange rather than applying a uniform precision policy to both replicas. Throughout this work, the notation A/B denotes the precision policies of the cold and hot replicas, respectively.

The main contributions of this work are as follows.

  • Replica-dependent mixed-precision training. We introduce a mixed-precision replica-exchange strategy that assigns numerical precision according to replica role. The low-temperature cold replica is maintained entirely in FP32 for refinement and evaluation, whereas the high-temperature exploratory replica executes the ArGENT-DeepONet forward and backward computation using the proposed architecture-aware mixed-precision mechanism.

  • Explicit precision control for preconditioned reSGLD. We couple the BF16 exploratory model representation with FP32 master parameters and first- and second-moment optimizer states. The branch–trunk product is formed in BF16 and promoted to FP32 before the latent reduction, while the prediction error and exchange-energy reductions are evaluated in FP32. This explicit precision map separates reduced-precision neural-network computation from FP32 optimizer and reduction operations without relying on automatic mixed-precision (AMP) autocasting.

  • Controlled precision-allocation and protection ablations. We evaluate the proposed FP32/AA-MP configuration over 10 independent seeds on the AirFRANS fluid-dynamics and jet-engine bracket structural-mechanics benchmarks, comparing it with FP32/FP32, FP32/AMP, and FP32/Naive-BF16. We further examine alternative cold/hot replica allocations and progressively increased FP32 protection within the exploratory replica to determine how precision placement affects predictive accuracy and computational efficiency.

  • Computational efficiency and scaling. FP32/AA-MP reduces hot-phase peak allocated GPU memory by 46.9% on both benchmarks and hot-replica step time by 25.0% on AirFRANS and 25.8% on the bracket benchmark relative to FP32/FP32, while maintaining comparable predictive accuracy. Relative to FP32/AMP, the proposed configuration further reduces GPU memory by approximately 9.4% and hot-replica step time by 5.5% and 3.2% on AirFRANS and the bracket benchmark, respectively. Scaling experiments further show that AA-MP maintains lower GPU-memory requirements than standard AMP and the available FP32 reference as geometry point-cloud size and Transformer embedding dimension increase, with larger absolute savings at the highest tested workloads.

  • Uncertainty quantification under different precision strategies. Using predictions from retained cold-replica states, we evaluate post-training uncertainty quantification on AirfRANS for FP32/FP32, FP32/AMP, FP32/AA-MP, and FP32/Naive-BF16. We apply conformal risk control and compare empirical case-averaged spatial coverage, prediction-interval width, and interval scores to assess uncertainty calibration and interval sharpness under the different precision strategies.

The remainder of the paper is organized as follows. Section 2 reviews mixed-precision computation, ArGENT-DeepONet, and replica-exchange SGLD. Section 3 presents the proposed AA-MP replica-exchange framework and its precision-aware preconditioned reSGLD implementation. Section 4 presents the benchmark results, precision-allocation ablations, computational-efficiency studies, and post-training conformal-UQ evaluation. Section 5 summarizes the main findings and discusses future directions.

References (26)