Search NASA⌕ Search

SEARCH · Search NASA

Results for “tensor computations”

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 505 records · Page 28

Mixed-precision iterative refinement using tensor cores on GPUs to accelerate solution of linear systems

Double-precision floating-point arithmetic (FP64) has been the de facto standard for engineering and scientific simulations for several decades. Problem complexity and the sheer volume of data coming from various instruments and sensors motivate researchers to mix and match various approaches to optimize compute resources, including different levels of floating-point precision. In recent years, machine learning has motivated hardware support for half-precision floating-point arithmetic. A primary challenge in high-performance computing is to leverage reduced-precision and mixed-precision hardware. We show how the FP16/FP32 Tensor Cores on NVIDIA GPUs can be exploited to accelerate the solution of linear systems of equations Ax = b without sacrificing numerical stability. The techniques we employ include multiprecision LU factorization, the preconditioned generalized minimal residual algorithm (GMRES), and scaling and auto-adaptive rounding to avoid overflow. We also show how to efficiently handle systems with multiple right-hand sides. On the NVIDIA Quadro GV100 (Volta) GPU, we achieve a 4×-5× performance increase and 5× better energy efficiency versus the standard FP64 implementation while maintaining an FP64 level of numerical stability.

GMRES↗

The Limit Shape of a Probability Measure on a Tensor Product of Modules of the B{sub n} Algebra

We study a probability measure on the integral dominant weights in the decomposition of the Nth tensor power of the spinor representation of the Lie algebra so(2n + 1). The probability of a dominant weight λ is defined as the dimension of the irreducible component of λ divided by the total dimension 2{sup nN} of the tensor power. We prove that as N →∞, the measure weakly converges to the radial part of the SO(2n+1)-invariant measure on so(2n+1) induced by the Killing form. Thus, we generalize Kerov’s theorem for su(n) to so(2n + 1).

97 MATHEMATICS AND COMPUTING↗

A Galerkin method with two-dimensional Haar basis functions for the computation of the Karhunen–Loève expansion

We study the numerical approximation of a homogeneous Fredholm integral equation of second kind associated with the Karhunen–Loève expansion of Gaussian random fields. We develop, validate, and discuss an algorithm based on the Galerkin method with two-dimensional Haar wavelets as basis functions. The shape functions are constructed from the orthogonal decomposition of tensor-product spaces of one-dimensional Haar functions, and a recursive algorithm is employed to compute the matrix of the discrete eigenvalue system without the explicit calculation of integrals, allowing the implementation of a fast and efficient algorithm that provides considerable reduction in CPU time, when compared with classical Galerkin methods. Numerical experiments confirm the convergence rate of the method and assess the approximation error and the sparsity of the eigenvalue system when the wavelet expansion is truncated. We illustrate the numerical solution of a diffusion problem with random input data with the present method. In this problem, accuracy was retained after dropping the coefficients below a threshold value that was numerically determined. A similar method with scaling functions rather than wavelet functions does not need a discrete wavelet transform and leads to eigenvalue systems with better conditioning but lower sparsity.

97 MATHEMATICS AND COMPUTING↗

Cross-Feature Transfer Learning for Efficient Tensor Program Generation

Tuning tensor program generation involves navigating a vast search space to find optimal program transformations and measurements for a program on the target hardware. The complexity of this process is further amplified by the exponential combinations of transformations, especially in heterogeneous environments. This research addresses these challenges by introducing a novel approach that learns the joint neural network and hardware features space, facilitating knowledge transfer to new, unseen target hardware. A comprehensive analysis is conducted on the existing state-of-the-art dataset, TenSet, including a thorough examination of test split strategies and the proposal of methodologies for dataset pruning. Leveraging an attention-inspired technique, we tailor the tuning of tensor programs to embed both neural network and hardware-specific features. Notably, our approach substantially reduces the dataset size by up to 53% compared to the baseline without compromising Pairwise Comparison Accuracy (PCA). Furthermore, our proposed methodology demonstrates competitive or improved mean inference times with only 25–40% of the baseline tuning time across various networks and target hardware. The attention-based tuner can effectively utilize schedules learned from previous hardware program measurements to optimize tensor program tuning on previously unseen hardware, achieving a top-5 accuracy exceeding 90%. This research introduces a significant advancement in autotuning tensor program generation, addressing the complexities associated with heterogeneous environments and showcasing promising results regarding efficiency and accuracy.

97 MATHEMATICS AND COMPUTING↗

Viability of vector-tensor theories of gravity

We present a detailed study of the viability of general vector-tensor theories of gravity in the presence of an arbitrary temporal background vector field. We find that there are six different classes of theories which are indistinguishable from General Relativity by means of local gravity experiments. We study the propagation speeds of scalar, vector and tensor perturbations and obtain the conditions for classical stability of those models. We compute the energy density of the different modes and find the conditions for the absence of ghosts in the quantum theory. We conclude that the only theories which can pass all the viability conditions for arbitrary values of the background vector field are not only those of the pure Maxwell type, but also Maxwell theories supplemented with a (Lorentz type) gauge fixing term.

79 ASTRONOMY AND ASTROPHYSICS↗

On the role of the chaotic velocity in relativistic kinetic theory

In this paper we revisit the concept of chaotic velocity within the context of relativistic kinetic theory. Its importance as the key ingredient which allows to clearly distinguish convective and dissipative effects is discussed to some detail. Also, by addressing the case of the two component mixture, the relevance of the barycentric comoving frame is established and thus the convenience for the introduction of peculiar velocities for each species. The fact that the decomposition of molecular velocity in systematic and peculiar components does not alter the covariance of the theory is emphasized. Moreover, we show that within an equivalent decomposition into space-like and time-like tensors, based on a generalization of the relative velocity concept, the Lorentz factor for the chaotic velocity can be expressed explicitly as an invariant quantity. This idea, based on Ellis' theorem, allows to foresee a natural generalization to the general relativistic case.

97 MATHEMATICS AND COMPUTING↗

Bridging the gap between simulated and experimental ionic conductivities in lithium superionic conductors

Lithium superionic conductors (LSCs) are of major importance as solid electrolytes for next-generation all-solid-state lithium-ion batteries. While ab initio molecular dynamics have been extensively applied to study these materials, there are often large discrepancies between predicted and experimentally measured ionic conductivities and activation energies due to the high temperatures and short time scales of such simulations. Here, we present a strategy to bridge this gap using moment tensor potentials (MTPs). We show that MTPs trained on energies and forces computed using the van der Waals optB88 functional yield much more accurate lattice parameters, which in turn leads to accurate prediction of ionic conductivities and activation energies for the Li 0·33 La 0·56 TiO 3 , Li 3 YCl 6 and Li 7 P 3 S 11 LSCs. NPT MD simulations using the optB88 MTPs also reveal that all three LSCs undergo a transition between two quasi-linear Arrhenius regimes at relatively low temperatures. This transition can be traced to an increase in the number and diversity of diffusion pathways, in some cases with a change in the dimensionality of diffusion. Furthermore, this work presents not only an approach to develop high accuracy MTPs, but also outlines the diffusion characteristics for LSCs which is otherwise inaccessible through ab initio computation.

25 ENERGY STORAGE↗

Crystal and Electronic Structures of Complex Bismuth Iodides A 3 Bi 2 I 9 ( A = K, Rb, Cs) Related to Perovskite: Aiding the Rational Design of Photovoltaics

Ternary bismuth halides form an interesting functional materials class in the context of the closely related Pb halide perovskite photovoltaics, especially given the significantly reduced toxicity of Bi when compared with Pb. The compounds A 3 Bi 2 I 9 (A = K, Rb, Cs) examined here crystallize in two different structure types: the layered defect-perovskite K 3 Bi 2 I 9 type, and the Cs 3 Cr 2 Cl 9 type. The latter structure type features isolated Bi 2 I 9 3– anions. Here, the crystal structures of the ternary iodides are redetermined and a corrected structural model for Rb 3 Bi 2 I 9 , as established by single crystal X-ray diffraction and solid state 87Rb NMR spectroscopy and supported by density functional theory (DFT) calculations is presented. A variety of facile preparation techniques for single crystals, bulk materials, as well as solution-processed thin films are described. The optical properties and electronic structures are investigated experimentally by optical absorption and ultraviolet photoemission spectroscopy and computationally by DFT calculations. Absolute band positions of the valence and conduction bands of these semiconductors, with excellent agreement of experimental and calculated values, are reported, constituting a useful input for the rational interface design of efficient electronic and optoelectronic devices. The different structural connectivity in the two different structure types, somewhat surprisingly, appears to not impact band positions or band gaps in a significant manner. Computed dielectric properties, including the finding of anomalously large Born effective charge tensors on Bi 3+ , suggest proximal structural instabilities arising from the Bi 3+ 6s 2 lone pair. These anomalous Born effective charges are promising for defect screening and effective charge carrier transport. The structural, electronic, and optical properties of the complex bismuth iodides are to some extent similar to the related lead iodide perovskites. In conclusion, the deeper valence band positions in the complex bismuth iodides point to the need for different choices of hole transport materials for Bi-iodide based solar cell architectures.

37 INORGANIC, ORGANIC, PHYSICAL, AND ANALYTICAL CH↗

On-the-Fly Identification of Conformational Substates from Molecular Dynamics Simulations

We recently introduced a new method for discovering, characterizing, and monitoring spatiotemporal patterns in the conformational fluctuations in molecular dynamics simulation data ( J. Comput. Biol. 2010, 17 (3), 309 324). Significantly, our method, called Dynamic Tensor Analysis (DTA), can be performed as the simulation is progressing. It is therefore well-suited to analyzing long timescale simulations, which are critical for studying biologically relevant motions but may be too large for traditional analysis methods. In this paper, we demonstrate that the patterns discovered by DTA often correspond to functionally important conformational substates. In particular, we apply DTA to a 150 ns simulation of ubiquitin and discover patterns that provide unique insights into ubiquitin's ability to bind multiple substrates. Moreover, we take advantage of DTA's ability to identify patterns on different timescales and investigate how fast positional fluctuations may modulate slower, large-scale motions in functionally important regions. Our findings here suggest that DTA is well-suited to organizing, visualizing, and analyzing very large trajectories and discovering conformational substates.

37 INORGANIC, ORGANIC, PHYSICAL, AND ANALYTICAL CH↗

On the bounce-averaging of scattering rates and the calculation of bounce period

For many applications to planetary magnetospheres and elsewhere in the Universe, it is desirable to average physical quantities such as particle and plasma transport coefficients over a charged particle's bounce motion between magnetic mirror points along field lines. In this paper, we perform such bounce-averaging in a way that avoids singularities in the integrands of expressions that arise in calculations of this sort. Our method applies in principle to an almost arbitrary magnetic field model. We illustrate the advantage of using our method for removing the integrand's singularity through a change of variables (rather than by truncating the integral over latitude at points progressively nearer to the mirror point) by computing the component of the bounce-averaged momentum-space diffusion tensor in a dipolar magnetic field both ways for resonance interaction of geomagnetically trapped relativistic (1 MeV) electrons with field-aligned whistler-mode plasma waves at L = 6 (a field line that passes near synchronous altitude). Moreover, we develop improved analytical approximations for particle bounce periods in a dipolar magnetic field by minimizing mean square errors with respect to expansion coefficients in algebraic representations of the bounce period.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Relativistic theory of nuclear spin-rotation tensor with kinetically balanced rotational London orbitals

Both kinetically balanced (KB) and kinetically unbalanced (KU) rotational London orbitals (RLO) are proposed to resolve the slow basis set convergence in relativistic calculations of nuclear spin-rotation (NSR) coupling tensors of molecules containing heavy elements [Y. Xiao and W. Liu, J. Chem. Phys. 138, 134104 (2013)]. While they perform rather similarly, the KB-RLO Ansatz is clearly preferred as it ensures the correct nonrelativistic limit even with a finite basis. Moreover, it gives rise to the same “direct relativistic mapping” between nuclear magnetic resonance shielding and NSR coupling tensors as that without using the London orbitals [Y. Xiao, Y. Zhang, and W. Liu, J. Chem. Theory Comput. 10, 600 (2014)].

37 INORGANIC, ORGANIC, PHYSICAL, AND ANALYTICAL CH↗

ANALYTIC SOLUTIONS FOR CURRENT SHEET STRUCTURE DETERMINED BY SELF-CONSISTENT, ANISOTROPIC TRANSPORT PROCESSES IN A GRAVITATIONAL FIELD

A Harris sheet magnetic field with maximum magnitude B{sub 0} and length scale L is combined with the anisotropic electrical conductivity, viscosity, and thermoelectric tensors for an electron-proton plasma to define a magnetohydrodynamic model that determines the steady state of the plasma. The transport tensors are functions of temperature, density, and magnetic field strength, and are computed self-consistently as functions of position x normal to the current sheet. The flow velocity, magnetic field, and gravitational force lie along the z-axis. The plasma is supported against gravity by the viscous force. Analytic solutions are obtained for temperature, density, and velocity. They are valid over a broad range of temperature, density, and magnetic field strength, and so may be generally useful in astrophysical applications. Numerical examples of solutions in the parameter range of the solar atmosphere are presented. The objective is to compare Joule and viscous heating rates, determine the velocity shear that generates viscous forces that support the plasma and are self-consistent with a mean outward mass flux comparable to the solar wind mass flux, and compare the thermoelectric and conduction current contributions to the Joule heating rate. The ratio of the viscous to Joule heating rates per unit mass can exceed unity by orders of magnitude, and increases rapidly with L. The viscous heating rate can be concentrated outside the region where the current density is localized, corresponding to a resistively heated layer of plasma bounded by viscously heated plasma. The temperature gradient drives a thermoelectric current density that can have a magnitude greater than that of the electric-field-driven conduction current density, so thermoelectric effects are important in determining the Joule heating rate.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

Secondary graviton spectra and waterfall-like fields

The secondary spectra of the gravitons induced by a waterfall-like field are computed and the general bounds on the spectral energy density of the tensor modes of the geometry are translated into explicit constraints on the amplitude and slope of the waterfall spectrum. The obtained results are compared with the primary gravitational wave spectra of the concordance model and of its neighboring extensions as well as with the direct LIGO/Virgo bounds on stochastic backgrounds of relic gravitons. Space-borne interferometers [such as LISA (Laser Interferometer Space Antenna), BBO (Big Bang Observer), and DECIGO (Deci-hertz Interferometer Gravitational Wave Observatory)] seem to be less relevant but their potential implications are briefly outlined.

72 PHYSICS OF ELEMENTARY PARTICLES AND FIELDS↗

Propagation Pattern for Moment Representation of the Lattice Boltzmann Method

A propagation pattern for the moment representation of the regularized lattice Boltzmann method (LBM) in three dimensions is presented. Using effectively lossless compression, the simulation state is stored as a set of moments of the lattice Boltzmann distribution function, instead of the distribution function itself. An efficient cache-aware propagation pattern for this moment representation has the effect of substantially reducing both the storage and memory bandwidth required for LBM simulations. This article extends recent work with the moment representation by expanding the performance analysis on central processing unit (CPU) architectures, considering how boundary conditions are implemented, and demonstrating the effectiveness of the moment representation on a graphics processing unit (GPU) architecture.

42 ENGINEERING↗

A sequential DNN based Baseline Energy Prediction Framework with Long term Error Mitigation

In this paper,we aim to present a novel sequential framework containing two deep network architectures for baseline energy prediction, applied to a simulated commercial building dataset. We have observed that this sequential framework helps to improve long term prediction accuracy, there by mitigating prediction error accumulation over time. The proposed framework utilizes convolution layers to extract features from the input data space without changing spatial relations between variables. These features are memorized by tensor train based gated recurrent units for an accurate long-term prediction. Although, architecture comprising the amalgamation of convolution layers and memory cell have shown promising results in domains such as social media analysis, language modeling, video frame prediction and image recognition, this paper extends its scope to the context of energy applications. Furthermore, the addition of tensor train based gated recurrent units is motivated by the necessity of computational time reduction during the training process, there by making this framework more suitable for future in-field deployment. Lastly, results show the current framework outperforms other existing machine learning based methods, in both short-term and long-term prediction categories.

Chakraborty, Indrasis↗

HydraGNN_Predictive_GFM_2024 - Ensemble of predictive graph foundation models for ground state atomistic materials modeling

We provide the ensemble of fifteen pre-trained graph foundation models (GFMs) for atomistic materials modeling applications. Each one of the fifteen GFMs has been trained on five open-source datasets that (once aggregated) amount to over 154 million atomistic structures, which cover over two-thirds of the natural elements of the periodic table and that comprises a broad set of organic and inorganic compounds. This vast set of atomistic structures comprises ground state configurations that are dynamically stable (i.e., equilibrated structures with atomic forces approximately close to zero values) as well as dynamically unstable structures (i.e., non-equilibrium structures with non-negligible non-zero values of atomic forces). The ensemble of datasets aggregated does NOT include excited states. The datasets have been curated to remove atomistic structures with spectral norm of the force tensor above 100 eV/angstrom. Moreover, a linear term of the energy was computed for each dataset using a linear regression model that uses the chemical concentration of each natural element as regressor. The linear term predicted by the linear regression model has been subtracted from each original energy value to perform a re-alignment of the energy values across different electronic structures approximation theories performed to generate the diverse multi-source, multi-fidelity datasets. The folder "ADIOS_files" contains the set of pre-processed datasets in Adaptable I/O System (ADIOS) format (https://www.exascaleproject.org/research-project/adios/) that have been used for the development and training of GFMs in this work. The "ADIOS_files" directory contains 6 sub-directories named as follows: - ANI1x-v3.bp - MPTrj-v3.bp - OC2020-20M-v3.bp - OC2020-v3.bp - OC2022-v3.bp - qm7x-v3.bp Each sub-directory contains the pre-processed datasets converted in Adaptable I/O System (ADIOS) format (https://www.exascaleproject.org/research-project/adios/) that have been used to the development, training, and performance testing of the ensemble go predictive graph foundation models. Each GFM was developed using HydraGNN (https://github.com/ORNL/HydraGNN) as underlying graph neural network (GNN) architecture. The multi-task learning (MTL) capability of HydraGNN was used to simultaneously train the GFMs on labeled values for direct predictions of energy (a total system property of an atomistic structure that measures the chemical stability) and atomic forces (an atomic level property of an atomistic structure that measures the dynamical stability). The hyper parameters of the GFM have been tuned using scalable hyperparameter optimization (HPO) algorithms implemented in the software DeepHyper (https://github.com/deephyper/deephyper). The pre-training of each HPO trial was performed using distributed data parallelism (DDP) to scale the training across 128 compute nodes of the exascale OLCF supercomputer Frontier. Each HPO trial was trained only for 10 epochs and an early stopping was performed to avoid wasting significant computational resources on GNN architectures that were clearly underperforming. For each HPO trial, the 'omnistat' tool developed by (AMD Research - Advanced Micro Device) was used to measure the total energy consumption in kWh. The ensemble of GFMs was obtained by selecting the fifteen best performing HPO trials. Four models have been selected for their clear advantage in accuracy, and these are the GFMs with IDs 229, 156, 147, 260. Additional eleven models have been selected based on judicious balance between accuracy and energy consumption needed for training, and these are the GFMs with IDs 165, 78, 137, 1, 175, 171, 181, 67, 179, 167, 351. Each selected GFM of the ensemble was continued to cumulate a total of at most 30 epochs. In some cases, the total number of epochs actually performed was les than 30 due to two combined factors: (1) the size of the GFM (i.e., the number of model parameters to train) and (2) the total wall-clock time for which the computational resources could be allocated on OLCF-Frontier. The "Ensemble_of_models" directory contains 15 sub-directories named as follows: - gfm_0.229 - gfm_0.156 - gfm_0.147 - gfm_0.260 - gfm_0.165 - gfm_0.78 - gfm_0.137 - gfm_0.1 - gfm_0.175 - gfm_0.171 - gfm_0.181 - gfm_0.67 - gfm_0.179 - gfm_0.167 - gfm_0.351 Each one of these sub-directories refers to one of the fifteen HPO trials that have been selected to continue the pre-training with at most 30 epochs. With each sub-directory associated with a specific HPO trial, the following files can be found: - config.json: file for argument parsing to develop and train an HydraGNN architecture - gfm_0.ID_epoch_N.pk: file with model parameters for HPO ID trial after N epochs of training The ensemble of fifteen GFM architectures was used for (1) ensemble averaging to stabilize the predictions of energy and atomic forces after pre-training for post-processing analysis and (2) ensemble uncertainty quantification (UQ). The code used to develop, pre-train, and load the pre-trained models for post-processing analysis is available on the ORNL-GitHub at the following link: https://github.com/ORNL/HydraGNN/tree/Predictive_GFM_2024

36 MATERIALS SCIENCE↗

6D large charge and 2D Virasoro blocks

We compute observables in the interacting rank-one 6D 𝒩 =(2,0) superconformal field theory (SCFT) at large 𝑅-charge. We focus on correlators involving Φ 𝑛 , namely symmetric products of the bottom component of the supermultiplet containing the stress tensor. By using the moduli space effective action and methods from the large-charge expansion, we compute the operator product expansion coefficients ⟨Φ 𝑛 ⁢Φ 𝑚 ⁢Φ 𝑛+𝑚 ⟩ in an expansion in 1/𝑛. The coefficients of the expansion are only partially determined from the 6D perspective, but we manage to fix them order-by-order in 1/𝑛 numerically by utilizing the 6⁢D/2⁢D correspondence. This is made possible by the fact that this 6D observable can be extracted in 2D from a specific double-scaling limit of the vacuum Virasoro block, which can be efficiently computed numerically. We also extend the computation to higher-rank SCFTs, and discuss various applications of our results to 6D as well as 2D.

classical solutions in field theory↗

Numerical Methods for Large-Scale Data Factorization (Final Report (Milestone Date 9/30/11) for Subcontract No. B594099)

The following work has been performed by PI Hans De Sterck and graduate student Manda Winlaw for the required tasks 1-5 (as listed in the Statement of Work). Graduate student Manda Winlaw has visited LLNL January 31-March 11, 2011 and May 23-August 19, 2010, working with Van Henson and Mike O'Hara on non-negative matrix factorizations (NMF). She has investigated the dense subgraph clustering algorithm from 'Finding Dense Subgraphs for Sparse Undirected, Directed, and Bipartite Graphs' by Chen and Saad, testing this method on several term-document matrices and adapting it to cluster based on the rank of the subgraphs instead of the density. Manda Winlaw was awarded a first prize in the annual LLNL summer student poster competition for a poster on her NMF research. PI Hans De Sterck has developed a new adaptive algebraic multigrid algorithm for computing a few dominant or minimal singular triplets of sparse rectangular matrices. This work builds on adaptive algebraic multigrid methods that were further developed by the PI and collaborators (including Sanders and Henson) for Markov chains. The method also combines and extends existing multigrid algorithms for the symmetric eigenproblem. The PI has visited LLNL February 22-25, 2011, and has given a CASC seminar 'Algebraic Multigrid for the Singular Value Problem' on this work on February 23, 2011. During his visit, he has discussed this work and related topics with Van Henson, Geoffrey Sanders, Panayot Vassilevski, and others. He has tested the algorithm on PDE matrices and on a term-document matrix, with promising initial results. Manda Winlaw has also started to work, with O'Hara, on estimating probability distributions over undirected graph edges. The goal is to estimate probabilistic models from sets of undirected graph edges for the purpose of prediction, anomaly detection and support to supervised learning. Graduate student Manda Winlaw is writing a paper on the results obtained with O'Hara which will be submitted some time later in 2011 to a data mining conference. PI Hans De Sterck has developed a new optimization algorithm for canonical tensor approximation, formulating an extension of the nonlinear GMRES method to optimization problems. Numerical results for tensors with up to 8 modes show that this new method is efficient for sparse and dense tensors. He has written a paper on this which has been submitted to the SIAM Journal on Scientific Computing. PI Hans De Sterck has further developed his new optimization algorithm for canonical tensor approximation, formulating an extension in terms of steepest-descent preconditioning, which makes the approach generally applicable for nonlinear optimization. He has written a paper on this extension which has been submitted to Numerical Linear Algebra with Applications.

97 MATHEMATICS AND COMPUTING↗