Search NASA⌕ Search

SEARCH · Search NASA

Results for “normalizing flow”

Search indexed NASA NTRS and DOE OSTI research on propulsion, heat transfer, battery materials and energy systems. Follow report and document links to the original sources.

Quote a phrase for an exact phrase match. Source license links do not imply unrestricted reuse.

At least 55 records · Page 3

High-dimensional maximum-entropy phase space tomography using normalizing flows

Particle accelerators generate charged-particle beams with tailored distributions in six-dimensional position-momentum space (phase space). Knowledge of the phase space distribution enables model-based beam optimization and control. In the absence of direct measurements, the distribution must be tomographically reconstructed from its projections. In this paper, we highlight that such problems can be severely underdetermined and that entropy maximization is the most conservative solution strategy. We leverage —invertible generative models—to extend maximum-entropy tomography to six-dimensional phase space and perform numerical experiments to validate the model's performance. Our numerical experiments demonstrate consistency with exact two-dimensional maximum-entropy solutions and the ability to fit complicated six-dimensional distributions to large measurement sets in reasonable time. Published by the American Physical Society 2024

43 PARTICLE ACCELERATORS↗

Multiscale Flow for robust and optimal cosmological analysis

We propose Multiscale Flow, a generative Normalizing Flow that creates samples and models the field-level likelihood of two-dimensional cosmological data such as weak lensing. Multiscale Flow uses hierarchical decomposition of cosmological fields via a wavelet basis and then models different wavelet components separately as Normalizing Flows. The log-likelihood of the original cosmological field can be recovered by summing over the log-likelihood of each wavelet term. This decomposition allows us to separate the information from different scales and identify distribution shifts in the data such as unknown scale-dependent systematics. The resulting likelihood analysis can not only identify these types of systematics, but can also be made optimal, in the sense that the Multiscale Flow can learn the full likelihood at the field without any dimensionality reduction. We apply Multiscale Flow to weak lensing mock datasets for cosmological inference and show that it significantly outperforms traditional summary statistics such as power spectrum and peak counts, as well as machine learning–based summary statistics such as scattering transform and convolutional neural networks. We further show that Multiscale Flow is able to identify distribution shifts not in the training data such as baryonic effects. Finally, we demonstrate that Multiscale Flow can be used to generate realistic samples of weak lensing data.

79 ASTRONOMY AND ASTROPHYSICS↗

Solving high-dimensional inverse problems using amortized likelihood-free inference with noisy and incomplete data

Here, we present a likelihood-free probabilistic inversion method based on normalizing flows for high-dimensional inverse problems. The proposed method is composed of two complementary networks: a summary network for data compression and an inference network for parameter estimation. The summary network encodes raw observations into a fixed-size vector of summary features, while the inference network generates samples of the approximate posterior distribution of the model parameters based on these summary features. The posterior samples are produced in a deep generative fashion by sampling from a latent Gaussian distribution and passing these samples through an invertible transformation. We construct this invertible transformation by sequentially alternating conditional invertible neural network and conditional neural spline flow layers. The summary and inference networks are trained simultaneously. We apply the proposed method to an inversion problem in groundwater hydrology to estimate the posterior distribution of the log-conductivity field conditioned on spatially sparse time-series observations of the system’s hydraulic head responses. The conductivity field is represented with 706 degrees of freedom in the considered problem. Comparison with the likelihood-based iterative ensemble smoother PEST-IES method demonstrates that the proposed method accurately estimates the parameter posterior distribution and the observations’ predictive posterior distribution at a fraction of the inference time of PEST-IES.

conditional invertible neural network↗

Neural posterior unfolding

Differential cross section measurements are the currency of scientific exchange in particle and nuclear physics. A key challenge for these analyses is the correction for detector distortions, known as deconvolution or unfolding. Binned unfolding of cross section measurements traditionally rely on the regularized inversion of the response matrix that represents the detector response, mapping pre-detector (`particle level') observables to post-detector (`detector level') observables. In this paper we introduce Neural Posterior Unfolding, a modern, Bayesian approach that leverages normalizing flows for unfolding. By using normalizing flows for neural posterior estimation, NPU offers several key advantages including implicit regularization through the neural network architecture, fast amortized inference that eliminates the need for repeated retraining, and direct access to the full uncertainty in the unfolded result. In addition to introducing NPU, we implement a classical Bayesian unfolding method called Fully Bayesian Unfolding (FBU) in modern Python so it can also be studied. These tools are validated on simple Gaussian examples and then tested on simulated jet substructure examples from the Large Hadron Collider (LHC). We find that the Bayesian methods are effective and worth additional development to be analysis ready for cross section measurements at the LHC and beyond.

Analysis and statistical methods↗

Observation of Nearly Perfect Irrotational Flow in Normal and Superfluid Strongly Interacting Fermi Gases

We study the hydrodynamic expansion of a rotating strongly interacting Fermi gas by releasing a cigar-shaped cloud with a known angular momentum from an optical trap. As the aspect ratio of the expanding cloud approaches unity, the angular velocity increases, indicating quenching of the moment of inertia I to as low as 0.05 of the rigid body value I{sub rig}. Remarkably, we observe this behavior in both the superfluid and collisional normal fluid regimes, which obey nearly identical zero-viscosity irrotational hydrodynamics. We attribute irrotational flow in the normal fluid to a decay of the rotational part of the stream velocity during expansion, which occurs when the shear viscosity is negligible. Using conservation of angular momentum, we directly observe a fundamental result of irrotational hydrodynamics, I/I{sub rig}={delta}{sup 2}, where {delta} is the deformation parameter of the cloud.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

Practical applications of machine-learned flows on gauge fields

Normalizing flows are machine-learned maps between different lattice theories which can be used as components in exact sampling and inference schemes. Ongoing work yields increasingly expressive flows on gauge fields, but it remains an open question how flows can improve lattice QCD at state-of-the-art scales. We discuss and demonstrate two applications of flows in replica exchange (parallel tempering) sampling, aimed at improving topological mixing, which are viable with iterative improvements upon presently available flows.

Abbott, Ryan↗

An examination of effects of solidification parameters on permeability of a mushy zone in castings

A model describing the development of dendritic structure and the resulting gradient of flow resistance to interdendritic liquid is presented. The Hagen–Pousielle version of D’Arcy’s equation for flow through a porous structure is developed as a function of cooling rate and liquid volume fraction. Applied to finite elements in a unidirectionally cooled casting model, permeability gradient, feeding flow-rate required to prevent porosity, and mushy-zone liquid pressure drop at this flow rate are evaluated for the simple Fe–2Cr–0.5C and Al–5Cu castings exhibiting asymptotic and linear temperature profiles, respectively. The model shows permeability of the dendritic structure in the mushy zone dropping sharply, approaching the root of solidification front (solidus). Also shown is the effect of relative magnitude of primary and secondary arm spacing. If secondary dendrite arm spacing approaches primary arm spacing, the permeability for flow normal to primary dendrite arms approaches or even surpasses the permeability for flow parallel to primary dendrite arms.

36 MATERIALS SCIENCE↗

Hamiltonian discontinuous Galerkin FEM for linear, rotating incompressible Euler equations: Inertial waves

A discontinuous Galerkin finite element method (DGFEM) has been developed and tested for the linear, three-dimensional, rotating incompressible Euler equations. These equations admit complicated wave solutions, which poses numerical challenges. These challenges concern: (i) discretisation of a divergence-free velocity field; (ii) discretisation of geostrophic boundary conditions combined with no-normal flow at solid walls; (iii) discretisation of the conserved, Hamiltonian dynamics of the inertial-waves; and, (iv) large-scale computational demands owing to the three-dimensional nature of inertial-wave dynamics and possibly its narrow zones of chaotic attraction. These issues have been resolved, for example: (i) by employing Dirac’s method of constrained Hamiltonian dynamics to our DGFEM for linear, compressible flows, thus enforcing the incompressibility constraints; (ii) by enforcing no-normal flow at solid walls in a weak form and geostrophic tangential flow along the wall; and, (iii) by applying a symplectic time discretisation. We compared our simulations with exact solutions of three-dimensional incompressible flows, in (non) rotating periodic and partly periodic cuboids (Poincaré waves). Additional verifications concerned semi-analytical eigenmode solutions in rotating cuboids with solid walls. Finally, a simulation in a tilted rotating tank, yielding more complicated wave dynamics, demonstrates the potential of our new method.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

Sequential Kalman tuning of the t -preconditioned Crank-Nicolson algorithm: efficient, adaptive and gradient-free inference for Bayesian inverse problems

Ensemble Kalman Inversion (EKI) has been proposed as an efficient method for the approximate solution of Bayesian inverse problems with expensive forward models. However, when applied to the Bayesian inverse problem EKI is only exact in the regime of Gaussian target measures and linear forward models. Here, in this work we propose embedding EKI and Flow Annealed Kalman Inversion, its normalizing flow (NF) preconditioned variant, within a Bayesian annealing scheme as part of an adaptive implementation of the t-preconditioned Crank-Nicolson (tpCN) sampler. The tpCN sampler differs from standard pCN in that its proposal is reversible with respect to the multivariate t-distribution. The more flexible tail behaviour allows for better adaptation to sampling from non-Gaussian targets. Within our Sequential Kalman Tuning (SKT) adaptation scheme, EKI is used to initialize and precondition the tpCN sampler for each annealed target. The subsequent tpCN iterations ensure particles are correctly distributed according to each annealed target, avoiding the accumulation of errors that would otherwise impact EKI. We demonstrate the performance of SKT for tpCN on three challenging numerical benchmarks, showing significant improvements in the rate of convergence compared to adaptation within standard SMC with importance weighted resampling at each temperature level, and compared to similar adaptive implementations of standard pCN. The SKT scheme applied to tpCN offers an efficient, practical solution for solving the Bayesian inverse problem when gradients of the forward model are not available. Code implementing the SKT schemes for tpCN is available at https://github.com/RichardGrumitt/KalmanMC.

97 MATHEMATICS AND COMPUTING↗

Next Generation Nuclear Plant Phenomena Identification and Ranking Tables (PIRTs) Volume 2: Accident and Thermal Fluids Analysis PIRTs

An accident, thermal fluids, and reactor physics phenomena identification and ranking process was conducted by a panel of experts on the next generation nuclear plant (NGNP) design (consideration given to both pebble-bed and prismatic gas-cooled reactor configurations). Safety-relevant phenomena, importance, and knowledge base were assessed for the following event classes: (1) normal operation (including some reactor physics aspects), (2) general loss of forced circulation (G-LOFC), (3) pressurized loss-of-forced circulation (P-LOFC), (4) depressurized loss-of-forced circulation (D-LOFC), (5) air ingress (following D-LOFC), (6) reactivity transients - including anticipated transients without scram (ATWS), (7) processes coupled via intermediate heat exchanger (IHX) (IHX failure with molten salt), and (8) steam/water ingress. The panel's judgment of the importance ranking of a given phenomenon (or process) was based on the effect it had on one or more figures of merit or evaluation criteria. These included public and worker dose, fuel failure, and primary (and other safety) system integrity. The major phenomena of concern that were identified and categorized as high importance combined with medium to low knowledge follow: (1) core coolant bypass flows (normal operation), (2) power/flux profiles (normal operation), (3) outlet plenum flows (normal operation), (4) reactivity-temperature feedback coefficients for high-plutonium-content cores (normal operation and accidents), (5) fission product release related to the transport of silver (normal operation), (6)emissivity aspects for the vessel and reactor cavity cooling system (G-LOFC), (7) reactor vessel cavity air circulation and heat transfer (G-LOFC), and (8)convection/radiation heating of upper vessel area (P-LOFC).

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

Efficient many-jet event generation with flow matching

We apply for the first time, to the best of our knowledge, the flow matching method to the problem of phase-space sampling for event generation in high-energy collider physics. By training the model to remap the random numbers used to generate the momenta and helicities of the scattering matrix elements as implemented in the portable partonic event generator pepper, we find substantial efficiency improvements in the studied processes. We focus our study on the highest final-state multiplicities in Drell-Yan and top-antitop pair production used in simulated samples for the Large Hadron Collider, which computationally are the most relevant ones. We find that the unweighting efficiencies improve by factors of 184 and 25, respectively, when compared to the standard approach of using a vegas-based optimization. We also compare continuous normalizing flows trained with flow matching against the previously studied normalizing flows based on coupling layers and find that the former leads to better results, faster training and a better scaling behavior across the studied multiplicity range, while the latter evaluate faster. When combining the advantages of both methods using the regflow approach, we find parton-level unweighted event generation walltime gains of about a factor of 10 at the highest final-state multiplicities.

Bothmann, E. [CERN; Gottingen U.] (ORCID:000000016↗

Elsa: enhanced latent spaces for improved collider simulations

Abstract Simulations play a key role for inference in collider physics. We explore various approaches for enhancing the precision of simulations using machine learning, including interventions at the end of the simulation chain (reweighting), at the beginning of the simulation chain (pre-processing), and connections between the end and beginning (latent space refinement). To clearly illustrate our approaches, we use W + jets matrix element surrogate simulations based on normalizing flows as a prototypical example. First, weights in the data space are derived using machine learning classifiers. Then, we pull back the data-space weights to the latent space to produce unweighted examples and employ the Latent Space Refinement ( Laser ) protocol using Hamiltonian Monte Carlo. An alternative approach is an augmented normalizing flow, which allows for different dimensions in the latent and target spaces. These methods are studied for various pre-processing strategies, including a new and general method for massive particles at hadron colliders that is a tweak on the widely-used RamboOnDiet mapping. We find that modified simulations can achieve sub-percent precision across a wide range of phase space.

Nachman, Benjamin (ORCID:0000000310240932)↗

Diffusion-Model-Assisted Supervised Learning of Generative Models for Density Estimation

Here, we present a supervised learning framework of training generative models for density estimation. Generative models, including generative adversarial networks (GANs), normalizing flows, and variational auto-encoders (VAEs), are usually considered as unsupervised learning models, because labeled data are usually unavailable for training. Despite the success of the generative models, there are several issues with the unsupervised training, e.g., requirement of reversible architectures, vanishing gradients, and training instability. To enable supervised learning in generative models, we utilize the score-based diffusion model to generate labeled data. Unlike existing diffusion models that train neural networks to learn the score function, we develop a training-free score estimation method. This approach uses mini-batch-based Monte Carlo estimators to directly approximate the score function at any spatial-temporal location in solving an ordinary differential equation (ODE), corresponding to the reverse-time stochastic differential equation (SDE). This approach can offer both high accuracy and substantial time savings in neural network training. Once the labeled data are generated, we can train a simple, fully connected neural network to learn the generative model in the supervised manner. Compared with existing normalizing flow models, our method does not require the use of reversible neural networks and avoids the computation of the Jacobian matrix. Compared with existing diffusion models, our method does not need to solve the reverse-time SDE to generate new samples. As a result, the sampling efficiency is significantly improved. We demonstrate the performance of our method by applying it to a set of 2D datasets as well as real data from the University of California Irvine (UCI) repository.

97 MATHEMATICS AND COMPUTING↗

B-PINNs: Bayesian Physics-informal Neural Networks for Forward and Inverse PDE Problems with Noisy Data

We propose a Bayesian physics-informed neural network (B-PINN) to solve both forward and inverse nonlinear problems described by partial differential equations (PDEs) and noisy data. In this Bayesian framework, the Bayesian neural network (BNN) combined with a PINN for PDEs serves as the prior while the Hamiltonian Monte Carlo (HMC) or the variational inference (VI) could serve as an estimator of the posterior. B-PINNs make use of both physical laws and scattered noisy measurements to provide predictions and quantify the aleatoric uncertainty arising from the noisy data in the Bayesian framework. Compared with PINNs, in addition to uncertainty quantification, B-PINNs obtain more accurate predictions in scenarios with large noise due to their capability of avoiding overfitting. We conduct a systematic comparison between the two different approaches for the B-PINNs posterior estimation (i.e., HMC or VI), along with dropout used for quantifying uncertainty in deep neural networks. Our experiments show that HMC is more suitable than VI with mean field Gaussian approximation for the B-PINNs posterior estimation, while dropout employed in PINNs can hardly provide accurate predictions with reasonable uncertainty. Finally, we replace the BNN in the prior with a truncated Karhunen-Loève (KL) expansion combined with HMC or a deep normalizing flow (DNF) model as posterior estimators. The KL is as accurate as BNN and much faster but this framework cannot be easily extended to high-dimensional problems unlike the BNN based framework.

Non linear PDEs, Noisy data, Bysian physics inform↗

Mechanisms of Flame Stabilization and Blowout in a Reacting Turbulent Hydrogen Jet in Cross-Flow

The mechanisms contributing to flame stabilization and blowout in a nitrogen-diluted hydrogen transverse jet in a turbulent boundary layer cross-flow (JICF) are investigated using three-dimensional direct numerical simulation (DNS) with detailed chemistry. Non-reacting JICF DNS were performed to understand the relative magnitude and physical location of low velocity regions on the leeward side of the fuel jet where a flame can potentially anchor. As the injection angle is reduced from 90{sup o} to 70{sup o}, the low velocity region was found to diminish significantly, both in terms of physical extent and magnitude, and hence, its ability to provide favorable conditions for flame anchoring and stabilization are greatly reduced. In the reacting JICF DNS a stable flame is observed for 90{sup o} injection angle and, on average, the flame root is in the vicinity of low velocity magnitude and stoichiometric mixture. When the injection angle is smoothly transitioned to 75{sup o} a transient flame blowout is observed. Ensemble averaged quantities on the flame base reveal two phases of the blowout characterized by a kinematic imbalance between flame propagation speed and flow normal velocity. In the first phase dominant flow structures repeatedly draw the flame base closer to the jet centerline resulting in richer-than-stoichiometric mixtures and high velocity magnitudes. In the second phase, in spite of low velocity magnitudes and a return to stoichiometry, due to jet bending and flame alignment normal to the cross-flow, the flow velocity normal to the flame base increases dramatically perpetuating the blowout.

08 HYDROGEN↗

LWRS Fuels Pathway: Engineering Design and Fuels Pathway - Initial Testing of the Hot Water Corrosion System

The Advanced LWR Nuclear Fuel Development R&D pathway performs strategic research focused on cladding designs leading to improved reactor core economics and safety margins. The research performed is to demonstrate the nuclear fuel technology advancements while satisfying safety and regulatory limits. These goals are met through rigorous testing and analysis. The nuclear fuel technology developed will assist in moving existing nuclear fuel technology to an improved level that would not be practical by industry acting independently. Strategic mission goals are to improve the scientific knowledge basis for understanding and predicting fundamental nuclear fuel and cladding performance in nuclear power plants, and to apply this information in the development of high-performance, high burn-up fuels. These will result in improved safety, cladding, integrity, and nuclear fuel cycle economics. To achieve these goals various methods for non-irradiated characterization testing of advanced cladding systems are needed. One such new test system is the Hot Water Corrosion System (HWCS) designed to develop new data for cladding performance assessment and material behavior under simulated off-normal reactor conditions. The HWCS is capable of exposing prototype rodlets to heated, high velocity water at elevated pressure for long periods of time (days, weeks, months). Water chemistry (dissolved oxygen, conductivity and pH) is continuously monitored. In addition, internal rodlet heaters inserted into cladding tubes are used to evaluate repeated thermal stressing and heat transfer characteristics of the prototype rodlets. In summary, the HWCS provides rapid ex-reactor evaluation of cladding designs in normal (flowing hot water) and off-normal (induced cladding stress), enabling engineering and manufacturing improvements to cladding designs before initiation of the more expensive and time consuming in-reactor irradiation testing.

11 NUCLEAR FUEL CYCLE AND FUEL MATERIALS↗

Flow annealed importance sampling bootstrap meets differentiable particle physics

High-energy physics requires the generation of large numbers of simulated data samples from complex but analytically tractable distributions called matrix elements. Surrogate models, such as normalizing flows, are gaining popularity for this task due to their computational efficiency. We adopt an approach based on flow annealed importance sampling bootstrap (FAB) that evaluates the differentiable target density during training and helps avoid the costly generation of training data in advance. We show that FAB reaches higher sampling efficiency with fewer target evaluations in high dimensions in comparison to other methods.

72 PHYSICS OF ELEMENTARY PARTICLES AND FIELDS↗