Search NASA⌕ Search

SEARCH · Search NASA

Results for “inference accelerators”

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

Scaling Inference Using Triton to Accelerate Particle Physics at the LHC and DUNE

DUNE and the LHC experiments consist of unique and cutting-edge particle detectors that create massive, complex, and rich datasets with billions of events. They require sophisticated algorithms to reconstruct and interpret the data. Modern machine learning algorithms provide a powerful toolset to detect and classify particles, from familiar image processing convolutional neural networks to newer graph neural network architectures. A full reconstruction of these particle collisions requires novel approaches to handle the computing challenge of processing so much raw data. In a series of studies, physicists from Fermilab, CERN, and university groups explored how to accelerate their data processing using the Triton Inference Server.

46 INSTRUMENTATION RELATED TO NUCLEAR SCIENCE AND ↗

A GPU‐Accelerated Generative Adversarial Model for Causal Inference

We develop a GPU-accelerated machine learning generative adversarial model designed to facilitate causal inferences from observational data. Our model's theoretical framework is conceptualized in a manner that is amenable to being operable and scalable for high-performance computing platforms. We leverage GPU acceleration to develop a parallel evolutionary algorithm to achieve large-scale parallel computation of the model within a now widely accessible computing platform. This capability both enhances computational speedup and efficiency and also extends the use of the model to a broader range of substantive research domains while maintaining the underlying theoretical properties of the model.

GPU↗

Accelerating astronomical and cosmological inference with preconditioned Monte Carlo

ABSTRACT We introduce preconditioned Monte Carlo (PMC), a novel Monte Carlo method for Bayesian inference that facilitates efficient sampling of probability distributions with non-trivial geometry. PMC utilizes a Normalizing Flow (NF) in order to decorrelate the parameters of the distribution and then proceeds by sampling from the preconditioned target distribution using an adaptive Sequential Monte Carlo (SMC) scheme. The results produced by PMC include samples from the posterior distribution and an estimate of the model evidence that can be used for parameter inference and model comparison, respectively. The aforementioned framework has been thoroughly tested in a variety of challenging target distributions achieving state-of-the-art sampling performance. In the cases of primordial feature analysis and gravitational wave inference, PMC is approximately 50 and 25 times faster, respectively, than nested sampling (NS). We found that in higher dimensional applications, the acceleration is even greater. Finally, PMC is directly parallelisable, manifesting linear scaling up to thousands of CPUs.

79 ASTRONOMY AND ASTROPHYSICS↗

Hypersonic rarefied-flow aerodynamics inferred from Shuttle Orbiter acceleration measurements

Data obtained from multiple flights of sensitive accelerometers on the Space Shuttle Orbiter during reentry have been used to develop an improved aerodynamic model for the Orbiter normal- and axial-force coefficients in hypersonic rarefied flow. The lack of simultaneous atmospheric density measurements was overcome in part by using the ratio of normal-to-axial acceleration, in which density cancels, as a constraint. Differences between the preflight model and the flight-acceleration-derived model in the continuum regime are attributed primarily to real gas effects. New insights are gained into the variation of the force coefficients in the transition between the continuum regime and free molecule flow.

Blanchard, R. C.↗

Optimizing inference of segmentation on high-resolution images in MLExchange

MLExchange is a machine learning (ML) operations platform providing web user-interfaces (UIs) for data visualization and analysis pipelines at synchrotron facilities. Among these UIs is the segmentation app which helps synchrotron users utilize ML algorithms to automatically segment high-resolution scientific images with minimal manual annotation effort. In this work, we share code optimizations that significantly speed up the segmentation inference workflow of large data in short time. By optimizing the sequence of CPU-GPU data transfers and introducing CPU parallelization to key operations, we improve the per-device, per-image frame computational efficiency and observe close to 3×$$\times$$ speedup over the original segmentation inference workflow run time when utilizing a single GPU. Further adaptations enabling multi-GPU inference yield more than 40×$$\times$$ speedup with 100 GPUs compared to the optimized single GPU inference workflow. This acceleration of the segmentation inference workflow will provide MLExchange users with easy access to segmentation results with little wait time.

Lu, Shizhao↗

Inferring the Energy Distribution of Accelerated Electrons in Solar Flares from X-ray Observations

Knowledge of the energy distribution of electrons accelerated in solar flares is important for constraining possible acceleration mechanisms and for understanding the relationships between flare X-ray sources, radio sources, and particles observed in space. Solar flare hard X-rays are primarily emitted from dense, thick-target regions in the lower atmosphere, but the electrons are understood to be accelerated higher in the corona. Various processes can distort the X-ray spectrum or the energy distribution of electrons before they reach the thick-target region. After briefly reviewing the processes that affect the X-ray spectrum and the electron distribution, I will describe recent results from a study of flare spectra from RHESSI to determine the importance of these processes in inferring the energy distribution of accelerated electrons.

Holman, Gordon D.↗

Virtual to Physical: Reinforcement Learning to Optimize SNS Particle Accelerator Controls

Complex accelerators must have control systems that can handle dynamic nonlinear environments. This makes traditional control methods unsuitable as they can struggle to adapt to these uncertainties. This provides an ideal environment for reinforcement learning algorithms as they are adaptable and generalizable. We present a reinforcement learning pipeline that can effectively handle the dynamics of a complex accelerator. We test and prove our pipelines capabilities on multiple environments including the Spallation Neutron Source (SNS) and the Beam Test Facility (BTF) at Oakridge National Lab (ORNL). Due to the limited time available to train an online algorithm like reinforcement learning on a real accelerator, we utilize a virtual twin accelerator (VIRAC) developed by ORNL to pretrain the policy and show its ability to converge in the virtual environment. We then test the adaptability of the pretrained RL model by applying it on the real accelerator and comparing the results. Utilizing our Scientific Optimization and Controls Toolkit (SOCT) and open-source standards such as Gymnasium we create and solve for a MEBT orbit correction problem in the SNS and an emittance maximization problem in the BTF. We show how Twin Delayed Deep Deterministic Policy Gradient (TD3) can solve this optimization environment in the virtual accelerator and transfer this policy onto the real accelerator for inference and model retraining. We show how reinforcement learning can be utilized as a control system for complex accelerators and provide a model pipeline for how an implementation performs and can be adapted to new accelerator control problems.

Kasparian, Armen [Thomas Jefferson National Accele↗

Heliocentric Distance of Coronal Mass Ejections at the Time of Energetic Particle Release: Revisiting the Ground Level Enhancement Events of Solar Cycle 23

Using the kinematics of coronal mass ejections (CMEs), onset time of soft X-ray flares, and the finite size of the pre-eruption CME structure, we derive the heliocentric distan~e at which the energetic particles during the ground level enhancement (GLE) events of Solar Cycle 23. We find that the GLE particles are released when the CMEs reach an average heliocentric distance of approx.3.25 solar radii (Rs). From this we infer that the shocks accelerating the particles are located at similar heights. Type II radio burst observations indicate that the CMEs are at much lower distances (average approx.1.4 Rs) when the CME-driven shock first forms. The shock seems to travel approx.1.8 Rs over a period of approox.30 min on the average before releasing the GLE particles. In deriving these results, we made three assumptions that have observational support: (i) the CME lift off occurs from an initial distance of about 1.25 Rs; (ii) the flare onset and CME onset are one and the same because these are two different manifestations of the same eruption; and (iii) the CME has positive acceleration from the onset to the first appearance in the coronagraphic field of view (2.5 to 6 Rs). Observations of coronal cavities in eclipse pictures and in coronagraphic images justify the assumption (i). The close relationship between the flare reconnection magnetic flux and the azimuthal flux of interplanetary magnetic clouds justify assumption (ii) consistent with the standard model (CSHKP) of solar eruption. Coronagraphic observations made close to the solar surface indicate a large positive acceleration of CMEs to a heliocentric distance of approx.3 Rs before they start slowing down due to the drag force. The inferred acceleration (approx.1.5 km/s/s) is consistent with reported values in the literature.

Gopalswamy, Natchimuthuk↗

A Taxonomy for Classification and Comparison of Dataflows for GNN Accelerators

Recently, Graph Neural Networks (GNNs) have received a lot of interest because of their success in learning representations from graph structured data. However, GNNs exhibit different compute and memory characteristics compared to traditional Deep Neural Networks (DNNs). Graph convolutions require feature aggregations from neighboring nodes (known as the aggregation phase), which leads to highly irregular data accesses. GNNs also have a very regular compute phase that can be broken down to matrix multiplications (known as the combination phase). All recently proposed GNN accelerators utilize different dataflows and microarchitecture optimizations for these two phases. Different communication strategies between the two phases have been also used. However, as more custom GNN accelerators are proposed, the harder it is to qualitatively classify them and quantitatively contrast them. In this work, we present a taxonomy to describe several diverse dataflows for running GNN inference on accelerators. This provides a structured way to describe and compare the design-space of GNN accelerators.

97 MATHEMATICS AND COMPUTING↗

Rapid Inverse Parameter Inference Using Physics-Informed Neural Network

As Li-ion batteries become more essential in today's economy, tools need to be developed to accurately and rapidly diagnose a battery's internal state-of-health. Using a Li-ion battery's (high-rate) voltage response, it is proposed to determine a battery's internal state through Bayesian calibration. However, Bayesian calibration is notoriously slow and requires thousands of model runs. To accelerate parameter inference using Bayesian calibration, a surrogate model is developed to replace the underlying physics-based Li-ion model. Developing a surrogate model for rapid Bayesian calibration analysis is discussed for both the single particle model (SPM) and the pseudo two-dimensional (P2D) model. Surrogate models are constructed using physics-informed neural networks (PINNs) that encode the influence of internal properties on observed voltage responses. In practice, a neural network can be trained by: 1) using simulation results of the physics-based model (i.e., a data-loss approach); 2) using the residuals of the governing equations themselves (i.e., a physics-loss approach); or 3) using a combination of simulation results and governing equation residuals. In the present work, PINNs are developed using a variety of training losses and neural network architectures. In this analysis, it is shown that a PINN surrogate model can be reliably trained with only physics-informed loss. However, using a coupled data-informed and physics-loss approach produced the most accurate PINNs.

Bayesian calibration↗

Measurements of the Electron Cloud Density in the PEP-II Low Energy Ring

Clouds of low energy electrons in the vacuum beam pipes of accelerators of positively charged particle beams present a serious limitation for operation of these machines at high currents. Because of the size of these accelerators, it is difficult to probe the low energy electron clouds over substantial lengths of the beam pipe. We have developed a novel technique to directly measure the electron cloud density via the phase shift induced in a TE wave that is independently excited and transmitted over a section of the accelerator. We infer the absolute phase shift with relatively high accuracy from the phase modulation of the transmission due to the modulation of the electron cloud density from a gap in the positively charged beam. We have used this technique for the first time to measure the average electron cloud density over a 50 m straight section in the positron ring of the PEP-II collider at the Stanford Linear Accelerator Center. We have also measured the variation of the density by using low field solenoid magnets to control the electrons.

43 PARTICLE ACCELERATORS↗

Measurements of the Electron Cloud Density in the PEP-II Low Energy Ring

Clouds of low energy electronsin the vacuum beam pipes of accelerators of positively charged particle beams present a serious limitation for operation of these machines at high currents. Because of the size of these accelerators, it is difficult to probe the low energyelectron clouds over substantial lengths of the beam pipe. We have developed a novel technique to directly measure the electron cloud density via the phase shift induced in a TE wave that is independently excited and transmitted over a section of the accelerator. We infer the absolute phase shift with relatively high accuracy from the phase modulation of the transmission due to the modulation of the electron cloud density from a gap in the positively charged beam. We have used this technique for the first time to measure the average electron cloud density over a 50 m straight section in the positron ring of the PEP-II collider at the Stanford Linear Accelerator Center. We have also measured the variation of the density by using low field solenoid magnets to control the electrons.

43 PARTICLE ACCELERATORS↗

Final project report

The proposed overarching goal for this project was the following: Data integration, simulation and visualization will facilitate metabolic and regulatory network prediction, exploration, and formulation of hypotheses. We stated three specific aims to achieve the overarching goal of this project: (1) Integration of multiple levels of information such as mRNA and protein levels, predicted protein-protein interactions/associations and gene function will enable construction of models describing environmental response and dynamic behavior. (2) Flexible tools for network inference will accelerate our understanding of biological systems. (3) Flexible exploration and queries of model hypotheses will provide focus and reveal novel dependencies. The underlying philosophy of these proposed aims is that an iterative cycle of experiments, experimental design, and verification will lead to a comprehensive and predictive model that will shed light on systems level mechanisms involved in responses elicited by living systems upon sensing a change in their environment. In the previous years report we demonstrated considerable progress in development of data standards, regulatory network inference and data visualization and exploration. We are pleased to report that several manuscripts describing these procedures have been published in top international peer reviewed journals including Genome Biology, PNAS, and Cell. The abstracts of these manuscripts are given and they summarize our accomplishments in this project.

59 BASIC BIOLOGICAL SCIENCES↗

An Efficient Bayesian Approach to Learning Droplet Collision Kernels: Proof of Concept Using “Cloudy,” a New n -Moment Bulk Microphysics Scheme

The small-scale microphysical processes governing the formation of precipitation particles cannot be resolved explicitly by cloud resolving and climate models. Instead, they are represented by microphysics schemes that are based on a combination of theoretical knowledge, statistical assumptions, and fitting to data (“tuning”). Historically, tuning was done in an ad hoc fashion, leading to parameter choices that are not explainable or repeatable. Recent work has treated it as an inverse problem that can be solved by Bayesian inference. The posterior distribution of the parameters given the data—the solution of Bayesian inference—is found through computationally expensive sampling methods, which require over $\mathcal{O}$(10 5 ) evaluations of the forward model; this is prohibitive for many models. We present a proof of concept of Bayesian learning applied to a new bulk microphysics scheme named “Cloudy,” using the recently developed Calibrate-Emulate-Sample (CES) algorithm. Cloudy models collision-coalescence and collisional breakup of cloud droplets with an adjustable number of prognostic moments and with easily modifiable assumptions for the cloud droplet mass distribution and the collision kernel. The CES algorithm uses machine learning tools to accelerate Bayesian inference by reducing the number of forward evaluations needed to $\mathcal{O}$(10 2 ). It also exhibits a smoothing effect when forward evaluations are polluted by noise. In a suite of perfect-model experiments, we show that CES enables computationally efficient Bayesian inference of parameters in Cloudy from noisy observations of moments of the droplet mass distribution. In an additional imperfect-model experiment, a collision kernel parameter is successfully learned from output generated by a Lagrangian particle-based microphysics model.

54 ENVIRONMENTAL SCIENCES↗

An estimate of the momentum deposition in the lower thermosphere by the observed diurnal tide

This paper reports a calculation of the acceleration of the zonal mean flow induced by dissipating tides in the equatorial lower thermosphere. Estimates of the gravest symmetric gravitiational Hough mode (1,1) of the migrating diurnal tide are obtained from monthly composites of global winds observed by the Upper Atmosphere Research Satellite (UARS) High Resolution Doppler Imager (HRDI). Using the principles of classical tidal theory, the tidal momentum flux divergence is computed for a series of monthly mean (1,1) fields from January 1992 to May 1993. The contribution to the mean flow by the leading mode of the migrating tide ranges between -5 and -20 (easterly) m/s/day in the equatorial lower thermosphere. A semiannual variation is noted in the tidal amplitudes and the inferred tidal accelerations. These variations are consistent with observed trends in the zonal mean flow of the lower thermosphere.

Lieberman, Ruth S.↗

Impacts of floating-point non-associativity on reproducibility for HPC and deep learning applications

Run to run variability in parallel programs caused by floating-point non-associativity has been known to significantly affect reproducibility in iterative algorithms, due to accumulating errors. Non-reproducibility can critically affect the efficiency and effectiveness of correctness testing for stochastic programs. Recently, the sensitivity of deep learning training and inference pipelines to floating-point non-associativity has been found to sometimes be extreme. It can prevent certification for commercial applications, accurate assessment of robustness and sensitivity, and bug detection. New approaches in scientific computing applications have coupled deep learning models with high-performance computing, leading to an aggravation of debugging and testing challenges. Here we perform an investigation of the statistical properties of floating-point non-associativity within modern parallel programming models, and analyze performance and productivity impacts of replacing atomic operations with deterministic alternatives on GPUs. We examine the recently-added deterministic options in PyTorch within the context of GPU deployment for deep learning, uncovering and quantifying the impacts of input parameters triggering run to run variability and reporting on the reliability and completeness of the documentation. Finally, we evaluate the strategy of exploiting automatic determinism that could be provided by deterministic hardware, using the Groq LPUTM accelerator for inference portions of the deep learning pipeline. We demonstrate the benefits that a hardware-based strategy can provide within reproducibility and correctness efforts.

Shanmugavelu, Sanjif↗

Electronic structure prediction of medium and high entropy alloys across composition space

We propose machine learning (ML) models to predict the electron density — the fundamental unknown of a material’s ground state — across the composition space of concentrated alloys. From this, other physical properties can be inferred, enabling accelerated exploration. A significant challenge is that the number of descriptors and sampled compositions required for accurate prediction grows rapidly with species. To address this, we employ Bayesian Active Learning (AL), which minimizes training data requirements by leveraging uncertainty quantification capabilities of Bayesian Neural Networks. Compared to the strategic tessellation of the composition space, Bayesian-AL reduces the number of training data points by a factor of 2.5 for ternary (SiGeSn) and 1.7 for quaternary (CrFeCoNi) systems. We also introduce easy-to-optimize, body-attached-frame descriptors, which respect physical symmetries while keeping descriptor-vector size nearly constant as alloy complexity increases. Our ML models demonstrate high accuracy and generalizability in predicting both electron density and energy across composition space.

materials science↗