Search NASA⌕ Search

SEARCH · Search NASA

Results for “Monte Carlo Sampling”

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 883 records · Page 49

Online MCMC Thinning with Kernelized Stein Discrepancy

A fundamental challenge in Bayesian inference is efficient representation of a target distribution. Many nonparametric approaches do so by sampling a large number of points using variants of Markov chain Monte Carlo (MCMC). Here, we propose an MCMC variant that retains only those posterior samples which exceed a kernelized Stein discrepancy (KSD) threshold, which we call KSD thinning. We establish the convergence and complexity trade-offs for several settings of KSD thinning as a function of the KSD threshold parameter, sample size, and other problem parameters. We provide experimental comparisons against other online nonparametric Bayesian methods that generate low-complexity posterior representations. We observe superior consistency/complexity trade-offs across a range of settings including MCMC sampling on two Bayesian inference problems from the biological sciences, and 10 × inference speedup and storage reduction for Bayesian neural networks with no loss of accuracy and no increase in training time. Our code is available at https://github.com/colehawkins/KSD-Thinning.

Bayesian inference↗

Prediction of tissue optical properties using the Monte Carlo modeling of photon transport in turbid media and integrating spheres

Monte Carlo methods are an established technique for simulating light transport in biological tissue. Integrating spheres make experimental measurements of the reflectance and transmittance of a sample straightforward and inexpensive. This work presents an extension to existing Monte Carlo photon transport methods to simulate integrating sphere experiments. Crosstalk between spheres in dual-sphere experiments is accounted for in the method. Analytical models, previous works on Monte Carlo photon transport, and experimental measurements of a synthetic tissue phantom validate this method. We present two approaches for using this method to back-calculate the optical properties of samples. Experimental and simulation uncertainties are propagated through both methods. Both back-calculation methods find the optical properties of a sample accurately and precisely. Our model is implemented in standard Python 3 and CUDA C++ [J. Nickolls, I. Buck, M. Garland, and K. Skadron, ACM Queue 6 , 40 ( 2008 ) ] and is publicly available in Code 1.

Cook, Patrick D. (ORCID:0000000279345428)↗

A new approach to importance sampling for the simulation of false alarms

In this paper a modified importance sampling technique for improving the convergence of Importance Sampling is given. By using this approach to estimate low false alarm rates in radar simulations, the number of Monte Carlo runs can be reduced significantly. For one-dimensional exponential, Weibull, and Rayleigh distributions, a uniformly minimum variance unbiased estimator is obtained. For Gaussian distribution the estimator in this approach is uniformly better than that of previously known Importance Sampling approach. For a cell averaging system, by combining this technique and group sampling, the reduction of Monte Carlo runs for a reference cell of 20 and false alarm rate of lE-6 is on the order of 170 as compared to the previously known Importance Sampling approach.

Lu, D.↗

Estimating Air Chemical Emissions from Research Activities Using Stack Measurement Data

Current methods of estimating air emissions from research and development (R&D) activities use a wide range of release fractions or emission factors with bases ranging from empirical to semi-empirical. Although considered conservative, the uncertainties and confidence levels of the existing methods have not been reported. Chemical emissions were estimated from sampling data taken from four research facilities over ten years. The approach was to use a Monte Carlo technique to create distributions of annual emission estimates for target compounds detected in source test samples. Distributions were created for each year and building sampled for compounds with sufficient detection frequency to qualify for the analysis. The results using the Monte Carlo technique without applying a filter to remove negative emission values showed almost all distributions spanning zero, and forty percent of the distributions having a negative mean. This indicates that emissions are so low as to be indistinguishable from building background. Application of a filter to allow only positive values in the distribution provided a more realistic value for emissions and increased the distribution mean by an average of sixteen percent. Release fractions were calculated by dividing the emission estimates by a building chemical inventory quantity. Two variations were used for this quantity: chemical usage, and chemical usage plus one-half standing inventory. Filters were applied so that only release fraction values from zero to one were included in the resulting distributions. Release fractions had a wide range among chemicals and among data sets for different buildings and/or years for a given chemical. Regressions of release fractions to molecular weight and vapor pressure showed weak correlations. Similarly, regressions of mean emissions to chemical usage, chemical inventory, molecular weight and vapor pressure also gave weak correlations. These results highlight the difficulties in estimating emissions from R&D facilities using chemical inventory data.

air chemical sampling, air emissions, research and↗

Small-Noise Analysis and Symmetrization of Implicit Monte Carlo Samplers

Implicit samplers are algorithms for producing independent, weighted samples from multivariate probability distributions. These are often applied in Bayesian data assimilation algorithms. We use Laplace asymptotic expansions to analyze two implicit samplers in the small noise regime. Our analysis suggests a symmetrization of the algorithms that leads to improved implicit sampling schemes at a relatively small additional cost. Here, computational experiments confirm the theory and show that symmetrization is effective for small noise sampling problems.

97 MATHEMATICS AND COMPUTING↗

A probabilistic perspective on thermodynamic parameter uncertainties: Understanding aqueous speciation of mercury

Speciation plays an important role in determining the fate and transport of metals in terrestrial surface and subsurface systems. Equilibrium speciation modeling in aqueous systems relies on thermodynamic constants (log K values) of complexes, which are subject to uncertainties. In this study, using Monte Carlo (MC) simulations with Latin hypercube sampling (LHS) we systematically analyze the propagation of thermodynamic constant uncertainty through speciation modeling of an inorganic mercury-sulfide-chloride-water system. We find that seemingly small variances of the input log K normal distributions can lead to output species concentrations spanning multiple orders of magnitude, with highly skewed probability distributions. When equilibrium with mineral metacinnabar (β-HgS(s)) is neglected, the relative uncertainty of each output species is strongly positively correlated with the skewness of its concentration probability distribution, i.e., the lowest uncertainty occurs when the species concentration probability distribution is the most negatively skewed as its concentration approaches the total element concentration limit. The highest uncertainty in the identity of dominant species is located around species equivalence points. For cases where the mineral equilibrium is included, we derive analytical probability density functions for the log concentrations of all major species in the system. The mineral log K uncertainty is found to be an important contributor to all output concentration uncertainties. The analysis of combined effects of both pH and total sulfide concentration on output concentration uncertainties shows that high concentration uncertainties occur under highly sulfidic alkaline conditions and low uncertainties at low pH and sulfide concentrations. Finally, an analysis as presented here can distinguish between conditions that require a full uncertainty analysis and those for which the classical deterministic speciation modeling suffices.

58 GEOSCIENCES↗

Coarse-Grained Models for Constant pH Simulations of Carboxylic Acids

A model for carboxylic acids, in both the protonated and deprotonated states, is developed in which hydrogen interaction sites are not used and all interactions are short-ranged. A method for constant pH simulations, which exploits these features of the model, is developed. Here, the constant pH method samples protonation states by making discrete Monte Carlo steps and is able to efficiently move between states in two steps. The method is applied to the polymer poly(methacrylic acid), a pH-responsive polymer that undergoes structural changes as a function of pH. The model is able to reproduce the structural changes induced by pH.

75 CONDENSED MATTER PHYSICS, SUPERCONDUCTIVITY AND↗

Sensitivity of Surface Flux Simulations to Hydrologic Parameters Based on an Uncertainty Quantification Framework Applied to the Community Land Model

Uncertainties in hydrologic parameters could have significant impacts on the simulated water and energy fluxes and land surface states, which will in turn affect atmospheric processes and the carbon cycle. Quantifying such uncertainties is an important step toward better understanding and quantification of uncertainty of integrated earth system models. In this paper, we introduce an uncertainty quantification (UQ) framework to analyze sensitivity of simulated surface fluxes to selected hydrologic parameters in the Community Land Model (CLM4) through forward modeling. Thirteen flux tower footprints spanning a wide range of climate and site conditions were selected to perform sensitivity analyses by perturbing the parameters identified. In the UQ framework, prior information about the parameters was used to quantify the input uncertainty using the Minimum-Relative-Entropy approach. The quasi-Monte Carlo approach was applied to generate samples of parameters on the basis of the prior pdfs. Simulations corresponding to sampled parameter sets were used to generate response curves and response surfaces and statistical tests were used to rank the significance of the parameters for output responses including latent (LH) and sensible heat (SH) fluxes. Overall, the CLM4 simulated LH and SH show the largest sensitivity to subsurface runoff generation parameters. However, study sites with deep root vegetation are also affected by surface runoff parameters, while sites with shallow root zones are also sensitive to the vadose zone soil water parameters. Generally, sites with finer soil texture and shallower rooting systems tend to have larger sensitivity of outputs to the parameters. Our results suggest the necessity of and possible ways for parameter inversion/calibration using available measurements of latent/sensible heat fluxes to obtain the optimal parameter set for CLM4. This study also provided guidance on reduction of parameter set dimensionality and parameter calibration framework design for CLM4 and other land surface models under different hydrologic and climatic regimes.

54 ENVIRONMENTAL SCIENCES↗

Fluctuations in induced charge introduced by Te inclusions within CdZnTe radiation detectors

Recently, homogenization theory based on a multiple-scale perturbation of the electron transport equation has been used to derive a mathematical framework for modeling the excess charge lost to Te inclusions within radiation detectors based on semi-insulating cadmium zinc telluride (CdZnTe). In that theory, the heterogeneous material is mathematically replaced by a homogenized CdZnTe crystal whose effective electron attenuation length incorporates the additional uniform electron trapping caused by the inclusions. In this paper, the homogenization theory is extended to incorporate fluctuations in the induced charge (i.e., charge collection nonuniformities) introduced by the random position and size distributions of a noncorrelated population of small (i.e, <20 {mu}m) Te inclusions. Analysis of the effective parameters derived within the homogenized framework is used to develop a probability distribution of effective electron attenuation lengths, and therefore effective mobility-lifetime products, as a function of both the position and size distribution of Te inclusions. Example distributions are detailed for the case of an exponential size distribution at various number densities. Further, it is demonstrated that the inclusion-induced material nonuniformities derived in this paper can be numerically sampled efficiently, making them applicable to Monte Carlo device simulation of realistic CdZnTe detectors. Simulated charge induction maps and pulse-height spectra are presented and compared to recently published measurements.

46 INSTRUMENTATION RELATED TO NUCLEAR SCIENCE AND ↗

Fast matrix algebra for Bayesian model calibration

In Bayesian model calibration, evaluation of the likelihood function usually involves finding the inverse and determinant of a covariance matrix. When Markov Chain Monte Carlo (MCMC) methods are used to sample from the posterior, hundreds of thousands of likelihood evaluations may be required. In this paper, we demonstrate that the structure of the covariance matrix can be exploited, leading to substantial time savings in practice. Here, we also derive two simple equations for approximating the inverse of the covariance matrix in this setting, which can be computed in near-quadratic time. The practical implications of these strategies are demonstrated using a simple numerical case study and the "quack" R package. For a covariance matrix with 1000 rows, application of these strategies for a million likelihood evaluations leads to a speedup of roughly 4000 compared to the naive implementation

97 MATHEMATICS AND COMPUTING↗

Component separation of a isotropic Gravitational Wave Background

A Gravitational Wave Background (GWB) is expected in the universe from the superposition of a large number of unresolved astrophysical sources and phenomena in the early universe. Each component of the background (e.g., from primordial metric perturbations, binary neutron stars, milli-second pulsars etc.) has its own spectral shape. Many ongoing experiments aim to probe GWB at a variety of frequency bands. In the last two decades, using data from ground-based laser interferometric gravitational wave (GW) observatories, upper limits on GWB were placed in the frequency range of 0∼ 50−100 Hz, considering one spectral shape at a time. However, one strong component can significantly enhance the estimated strength of another component. Hence, estimation of the amplitudes of the components with different spectral shapes should be done jointly. Here we propose a method for 'component separation' of a statistically isotropic background, that can, for the first time, jointly estimate the amplitudes of many components and place upper limits. The method is rather straightforward and needs negligible amount of computation. It utilises the linear relationship between the measurements and the amplitudes of the actual components, alleviating the need for a sampling based method, e.g., Markov Chain Monte Carlo (MCMC) or matched filtering, which are computationally intensive and cumbersome in a multi-dimensional parameter space. Using this formalism we could also study how many independent components can be separated using a given dataset from a network of current and upcoming ground based interferometric detectors.

79 ASTRONOMY AND ASTROPHYSICS↗

Magnetic multilayer edges in Bernal-stacked hexagonal boron nitride

Single-layer h-BN is known to have edges with unique magnetism; however, in the commonly fabricated multilayer AA'-h-BN, edge relaxations occur that create interlayer bonds and eliminate the unpaired electrons at the edge. Recently, a robust method of growing the unconventional Bernal-stacked h-BN (AB-h-BN) has been reported. Here, we use theoretical approaches to investigate the nitrogen-terminated zigzag edges in AB-h-BN that can be formed in a controlled fashion using a high-energy electron beam. We find that these "open"edges remain intact in bilayer and multilayer AB-h-BN, enabling researchers potentially to investigate these edge states experimentally. We also investigate the thermodynamics of the spin configurations at the edge by constructing a lattice model that is based on parameters extracted from a set of first-principles calculations. We find that the edge spins in neighboring layers interact very weakly, resulting in a sequence of independent spin chains in multilayer samples. By solving this model using Monte Carlo simulations, we can determine nm-scale correlation lengths at liquid-N 2 temperatures and lower. At low temperatures, these edges may be utilized in magnetoresistance and spintronics applications.

1-dimensional spin chains↗

Photoproduction of the Σ + hyperon using linearly polarized photons with CLAS

Measurements of the polarization observables Σ, P, T, O x , O z for the reaction $\vec{γ}$ p → $K^0_S$Σ + using a linearly polarized photon beam of energy 1.1 to 2.1 GeV are reported. The measured data provide information on a channel that has not been studied extensively, but is required for a full coupled-channel analysis in the nucleon resonance region. Observables have been simultaneously extracted using likelihood sampling with a Markov-Chain Monte Carlo process. Angular distributions in bins of photon energy E γ are produced for each polarization observable. T, O x , and O z are first time measurements of these observables in this reaction. The extraction of Σ extends the energy range beyond a previous measurement. The measurement of P, the recoil polarization, is consistent with previous measurements. The measured data are shown to be significant enough to affect the estimation of the nucleon resonance parameters when fitted within a coupled-channels model.

73 NUCLEAR PHYSICS AND RADIATION PHYSICS↗

Determining cosmological parameters with the latest observational data

In this paper, we combine the latest observational data, including the WMAP five-year data (WMAP5), BOOMERanG, CBI, VSA, ACBAR, as well as the baryon acoustic oscillations (BAO) and type Ia supernovae (SN) 'union' compilation (307 sample), and use the Markov Chain Monte Carlo method to determine the cosmological parameters, such as the equation of state (EoS) of dark energy, the curvature of the universe, the total neutrino mass, and the parameters associated with the power spectrum of primordial fluctuations. In a flat universe, we obtain the tight limit on the constant EoS of dark energy as w=-0.977{+-}0.056(stat){+-}0.057(sys). For the dynamical dark energy models with the time evolving EoS parametrized as w{sub de}(a)=w{sub 0}+w{sub 1}(1-a), we find that the best-fit values are w{sub 0}=-1.08 and w{sub 1}=0.368, while the {lambda}CDM model remains a good fit to the current data. For the curvature of the universe {omega}{sub k}, our results give -0.012<{omega}{sub k}<0.009 (95% C.L.) when fixing w{sub de}=-1. When considering the dynamics of dark energy, the flat universe is still a good fit to the current data, -0.015<{omega}{sub k}<0.018 (95% C.L.). Regarding the neutrino mass limit, we obtain the upper limits, (95% C.L.) within the framework of the flat {lambda}CDM model. When adding the Sloan Digital Sky Survey Lyman-{alpha} forest power spectrum data, the constraint on can be significantly improved, (95% C.L.). However, these limits can be weakened by a factor of 2 in the framework of dynamical dark energy models, due to the obvious degeneracy between neutrino mass and the EoS of the dark energy model. Assuming that the primordial fluctuations are adiabatic with a power law spectrum within the {lambda}CDM model, we find that the upper limit on the ratio of the tensor to scalar is r<0.200 (95% C.L.) and the inflationary models with the slope n{sub s}{>=}1 are excluded at more than 2{sigma} confidence level. However, in the framework of dynamical dark energy models, the allowed region in the parameter space of (n{sub s},r) is enlarged significantly. Finally, we find no strong evidence for the large running of the spectral index.

72 PHYSICS OF ELEMENTARY PARTICLES AND FIELDS↗

Implementing and evaluating a Gaussian mixture framework for identifying gene function from TnSeq data

The rapid acceleration of microbial genome sequencing increases opportunities to understand bacterial gene function. Unfortunately, only a small proportion of genes have been studied. Recently, TnSeq has been proposed as a cost-effective, highly reliable approach to predict gene functions as a response to changes in a cell’s fitness before-after genomic changes. However, major questions remain about how to best determine whether an observed quantitative change in fitness represents a meaningful change. To address the limitation, we develop a Gaussian mixture model framework for classifying gene function from TnSeq experiments. In order to implement the mixture model, we present the Expectation-Maximization algorithm and a hierarchical Bayesian model sampled using Stan’s Hamiltonian Monte-Carlo sampler. We compare these implementations against the frequentist method used in current TnSeq literature. From simulations and real data produced by E.coli TnSeq experiments, we show that the Bayesian implementation of the Gaussian mixture framework provides the most consistent classification results.

Li, Kevin↗

RAVEN and Dynamic Probabilistic Risk Assessment: Software overview

RAVEN is a generic software framework to perform parametric and probabilistic analysis based on the response of complex system codes. The initial development was aimed to provide dynamic risk analysis capabilities to the Thermo-Hydraulic code RELAP-7 [], currently under development at the Idaho National Laboratory. Although the initial goal has been fully accomplished, RAVEN is now a multi-purpose probabilistic and uncertainty quantification platform, capable to agnostically communicate with any system code. This agnosticism has been employed by providing Application Programming Interfaces (APIs). These interfaces are used to allow RAVEN to interact with any code as long as all the parameters that need to be perturbed are accessible by inputs files or via python interfaces. RAVEN is capable to investigate the system response, investigating the input space using Monte Carlo, Grid, or Latin Hyper Cube sampling schemes, but its strength is focused toward system feature discovery, such as limit surfaces, separating regions of the input space leading to system failure, using dynamic supervised learning techniques. The paper presents an overview of the software capabilities and their implementation schemes followed by some application examples.

99 GENERAL AND MISCELLANEOUS↗

SmoQyDQMC.jl: A flexible implementation of determinant quantum Monte Carlo for Hubbard and electron-phonon interactions

We introduce the SmoQyDQMC.jl package, a Julia implementation of the determinant quantum Monte Carlo algorithm. SmoQyDQMC.jl supports generalized tight-binding Hamiltonians with on-site Hubbard and generalized electron-phonon ( e e -ph) interactions, including non-linear e e -ph coupling and anharmonic lattice potentials. Our implementation uses hybrid Monte Carlo methods with exact forces for sampling the phonon fields, enabling efficient simulation of low-energy phonon branches, including acoustic phonons. The SmoQyDQMC.jl package also uses a flexible scripting interface, allowing users to adapt it to different workflows and interface with other software packages in the Julia ecosystem. The code for this package can be downloaded from our GitHub repository at https://github.com/SmoQySuite/SmoQyDQMC.jl or installed using the Julia package manager. The online documentation, including examples, can be obtained from our document page at https://smoqysuite.github.io/SmoQyDQMC.jl/stable/.

75 CONDENSED MATTER PHYSICS, SUPERCONDUCTIVITY AND↗