Search NASA⌕ Search

SEARCH · Search NASA

Results for “Diffusion maps”

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 271 records · Page 15

A Reactive Molecular Dynamics Algorithm for Proton Transport in Aqueous Systems

We present a model that incorporates the structural diffusion of a proton into a classical molecular dynamics simulation using a reactive molecular dynamics (RMD) algorithm. The transition state for proton transfer obtained from ab initio calculations is mapped onto a set of geometric and energetic triggers to describe the structural diffusion of the proton in the simulation. Numerical values of these triggers are parametrized to satisfy the experimental values of rate constant and activation energy in order to capture the molecular and macroscopic features of structural diffusion. The algorithm partitions the structural diffusion of a proton into three steps: (i) satisfaction of the triggers, (ii) instantaneous reaction, and (iii) local equilibration. The final step ensures that the ending point of the reaction provides the correct structure and heat of reaction. Hence, the reactivity is incorporated by the algorithm rather than through the development of a reactive potential. We have applied this scheme to study proton transport in bulk water and solutions of HCl. Total charge diffusion along with the structural and vehicular decomposition is studied as a function of temperature (280-320 K). The two components are found to be uncorrelated and the structural diffusion contributes 60-70% of the total charge diffusion in bulk water. The method is applied to HCl solutions (0.22-0.83 M) to study the effect of concentration on proton transport. The reduction in the total diffusivity of the charge with an increase in concentration is due to the reduction in structural diffusion.

Chemistry↗

A comprehensive modeling procedure for estimating statistical properties of forced ignition

In this work, a comprehensive modeling procedure for estimating the probability of ignition with application to high altitude relights of aircraft combustors is developed. In these configurations, an ignitor is used to introduce high-enthalpy discharge into a fuel-laden but stratified flow. Because of the inherent variabilities inflow conditions, kernel discharge process, and the chaotic turbulent flow, ignition cannot be described deterministically, but only as a probabilistic measure. The proposed modeling framework consists of three components. The turbulent flow is represented using the large eddy simulation (LES) framework. The ignition process is modeled using a manifold approach, where the initial kernel evolution is represented using a homogeneous reactor while the latter part of the evolution is represented as a competition between diffusion and chemical reactions using a flamelet-type mapping. A combined lookup table that can track the evolution of the kernel through these two distinct reaction stages is developed. The table lookup variables are solved within the LES framework. The resulting simulation tool is then embedded within an uncertainty quantification approach, where variations in the turbulent flow, as well as operating and kernel properties, are simulated using a Monte-Carlo-based sampling approach. Techniques to reduce computational cost are used to obtain a robust, numerically accurate, and physically representative model for engine relight. The method is validated using experimental data for ignition of methane/air mixtures. Due to the comprehensive nature of the modeling procedure, it is found that the simulation tool reproduces experimentally observed ignition probabilities over a wide range of operating conditions.

42 ENGINEERING↗

Parallel physics-informed neural networks via domain decomposition

Here we develop a distributed framework for the physics-informed neural networks (PINNs) based on two recent extensions, namely conservative PINNs (cPINNs) and extended PINNs (XPINNs), which employ domain decomposition in space and in time-space, respectively. This domain decomposition endows cPINNs and XPINNs with several advantages over the vanilla PINNs, such as parallelization capacity, large representation capacity, efficient hyperparameter tuning, and is particularly effective for multi-scale and multi-physics problems. Here, we present a parallel algorithm for cPINNs and XPINNs constructed with a hybrid programming model described by MPI + X, where X ∈ {CPUs, GPUs}. The main advantage of cPINN and XPINN over the more classical data and model parallel approaches is the flexibility of optimizing all hyperparameters of each neural network separately in each subdomain. We compare the performance of distributed cPINNs and XPINNs for various forward problems, using both weak and strong scalings. Our results indicate that for space domain decomposition, cPINNs are more efficient in terms of communication cost but XPINNs provide greater flexibility as they can also handle time-domain decomposition for any differential equations, and can deal with any arbitrarily shaped complex subdomains. To this end, we also present an application of the parallel XPINN method for solving an inverse diffusion problem with variable conductivity on the United States map, using ten regions as subdomains.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

Stratification of drying particle suspensions: Comparison of implicit and explicit solvent simulations

We report that large scale molecular dynamics simulations are used to study drying suspensions of a binary mixture of large and small particles in explicit and implicit solvents. The solvent is first modeled explicitly and then mapped to a uniform viscous medium by matching the diffusion coefficients and the pair correlation functions of the particles. “Small-on-top” stratification of the particles, with an enrichment of the smaller ones at the receding liquid-vapor interface during drying, is observed in both models under the same drying conditions. With the implicit solvent model, we are able to model much thicker films and study the effect of the initial film thickness on the final distribution of particles in the dry film. Laslty, our results show that the degree of stratification is controlled by the Péclet number defined using the initial film thickness as the characteristic length scale. When the Péclet numbers of large and small particles are much larger than 1, the degree of “small-on-top” stratification is first enhanced and then weakens as the Péclet numbers are increased.

37 INORGANIC, ORGANIC, PHYSICAL, AND ANALYTICAL CH↗

ADC response to radiation therapy correlates with induced changes in radiosensitivity

Purpose: Magnetic resonance imaging was used to compare the responses of human glioma tumor xenografts to a single fraction of radiation, where a change in radiosensitivity was induced by use of a suture-based ligature. Methods: Ischemia was induced by use of a suture-based ligature. Six mice were treated with 800 cGy of 200 kVp x rays while the ligature was applied. An additional six mice had the ligature applied for the same length of time but were not irradiated. Quantitative maps of each tumor were produced of water apparent diffusion coefficient (ADC) and transverse relaxation time (T2). Mice were imaged before and at multiple points after treatment. Volumetric, ADC, and T2 responses of the ligated groups were compared to previously measured responses of the same tumor model to the same radiation treatment, as well as those from an untreated control group. Results: Application of the ligature without irradiation did not affect tumor ADC values, but did produce a temporary decrease in tumor T2 values. Average tumor T2 was reduced by 6.2% 24 h after the ligature was applied. Average tumor ADC increased by 9.6% 7 days after irradiation with a ligature applied. This response was significantly less than that observed in the same tumor model when no ligature is present (21.8% at 7 days after irradiation). Conclusions: These observations indicate that the response of ADC to radiation therapy is not determined entirely by physical dose deposition, but at least in part by radiosensitivity and resultant biological response.

60 APPLIED LIFE SCIENCES↗

MATTER IN THE BEAM: WEAK LENSING, SUBSTRUCTURES, AND THE TEMPERATURE OF DARK MATTER

Warm dark matter (WDM) models offer an attractive alternative to the current cold dark matter (CDM) cosmological model. We present a novel method to differentiate between WDM and CDM cosmologies, namely, using weak lensing; this provides a unique probe as it is sensitive to all of the “matter in the beam,” not just dark matter haloes and the galaxies that reside in them, but also the diffuse material between haloes. We compare the weak lensing maps of CDM clusters to those in a WDM model corresponding to a thermally produced 0.5 keV dark matter particle. Our analysis clearly shows that the weak lensing magnification, convergence, and shear distributions can be used to distinguish between CDM and WDM models. WDM models increase the probability of weak magnifications, with the differences being significant to ≳5 σ , while leaving no significant imprint on the shear distribution. WDM clusters analyzed in this work are more homogeneous than CDM ones, and the fractional decrease in the amount of material in haloes is proportional to the average increase in the magnification. This difference arises from matter that would be bound in compact haloes in CDM being smoothly distributed over much larger volumes at lower densities in WDM. Moreover, the signature does not solely lie in the probability distribution function but in the full spatial distribution of the convergence field.

79 ASTRONOMY AND ASTROPHYSICS↗

Competitive autocatalytic reactions in chaotic flows with diffusion: Prediction using finite-time Lyapunov exponents

We investigate chaotic advection and diffusion in autocatalytic reactions for time-periodic sine flow computationally using a mapping method with operator splitting. We specifically consider three different autocatalytic reaction schemes: a single autocatalytic reaction, competitive autocatalytic reactions, which can provide insight into problems of chiral symmetry breaking and homochirality, and competitive autocatalytic reactions with recycling. In competitive autocatalytic reactions, species B and C both undergo an autocatalytic reaction with species A such that A+B→2B and A+C→2C. Small amounts of initially spatially localized B and C and a large amount of spatially homogeneous A are advected by the velocity field, diffuse, and react until A is completely consumed and only B and C remain. We find that local finite-time Lyapunov exponents (FTLEs) can accurately predict the final average concentrations of B and C after the reaction completes. The species that starts in the region with the larger FTLE has, with high probability, the larger average concentration at the end of the reaction. If B and C start in regions with similar FTLEs, their average concentrations at the end of the reaction will also be similar. When a recycling reaction is added, the system evolves towards a single species state, with the FTLE often being useful in predicting which species fills the entire domain and which is depleted. The FTLE approach is also demonstrated for competitive autocatalytic reactions in journal bearing flow, an experimentally realizable flow that generates chaotic dynamics.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

Rapid change of field line connectivity and reconnection in stochastic magnetic fields

Magnetic fields without a direction of continuous symmetry have the generic feature that neighboring field lines exponentiate away from each other and become stochastic, and hence the ideal constraint of preserving magnetic field line connectivity becomes exponentially sensitive to small deviations from ideal Ohm's law. The idea of breaking field line connectivity by stochasticity as a mechanism for fast reconnection is tested with numerical simulations based on reduced magnetohydrodynamics equations with a strong guide field line-tied to two perfectly conducting end plates. Starting from an ideally stable force-free equilibrium, the system is allowed to undergo resistive relaxation. Two distinct phases are found in the process of resistive relaxation. During the quasi-static phase, rapid change of field line connectivity and strong induced flow are found in regions of high field line exponentiation. However, although the field line connectivity of individual field lines can change rapidly, the overall pattern of field line mapping appears to deform gradually. From this perspective, field line exponentiation appears to cause enhanced diffusion rather than reconnection. In some cases, resistive quasi-static evolution can cause the ideally stable initial equilibrium to cross a stability threshold, leading to formation of intense current filaments and rapid change of field line mapping into a qualitatively different pattern. It is in this onset phase that the change of field line connectivity is more appropriately designated as magnetic reconnection. Our results show that rapid change of field line connectivity appears to be a necessary, but not a sufficient condition for fast reconnection.

79 ASTRONOMY AND ASTROPHYSICS↗

Radiative lifetimes of zincblende CdSe/CdS quantum dots

Recent synthetic advances have made available very monodisperse zincblende CdSe/CdS quantum dots having near-unity photoluminescence quantum yields. Because of the absence of nonradiative decay pathways, accurate values of the radiative lifetimes can be obtained from time-resolved PL measurements. Radiative lifetimes can also be obtained from the Einstein relations, using the static absorption spectra and the relative thermal populations in the angular momentum sublevels. We found that one of the inputs into these calculations is the shell thickness, and it is useful to be able to determine shell thickness from spectroscopic measurements. We use an empirically corrected effective mass model to produce a “map” of exciton wavelength as a function of core size and shell thickness. These calculations use an elastic continuum model and the known lattice and elastic constants to include the effect of lattice strain on the band gap energy. The map is in agreement with the known CdSe sizing curve and with the shell thicknesses of zincblende core/shell particles obtained from TEM images. Furthermore, if selenium–sulfur diffusion is included and lattice strain is omitted from the calculation then the resulting map is appropriate for wurtzite CdSe/CdS quantum dots synthesized at high temperatures, and this map is very similar to one previously reported (J. Am. Chem. Soc. 2009, 131, 14299). Radiative lifetimes determined from time-resolved measurements are compared to values obtained from the Einstein relations, and found to be in excellent agreement. For a specific core size (2.64 nm diameter, in the present case), radiative lifetimes are found to decrease with increasing shell thickness. Thus, this is similar to the size dependence of one-component CdSe quantum dots and in contrast to the size dependence in type-II quantum dots.

37 INORGANIC, ORGANIC, PHYSICAL, AND ANALYTICAL CH↗

The Optical–Mid-infrared Extinction Law of the l = 165° Sightline in the Galactic Plane: Diversity of the Extinction Law in the Diffuse Interstellar Medium

Understanding the effects of dust extinction is important to properly interpret observations. The optical total-to-selective extinction ratio, R{sub V}=A{sub V}/E(B−V), is widely used to describe extinction variations in ultraviolet and optical bands. Since the R{sub V}=3.1 extinction curve adequately represents the average extinction law of diffuse regions in the Milky Way, it is commonly used to correct observational measurements along sightlines toward diffuse regions in the interstellar medium. However, the R{sub V} value may vary even along different diffuse interstellar medium sightlines. In this paper, we investigate the optical–mid-infrared (mid-IR) extinction law toward a very diffuse region at l=165{sup ∘} in the Galactic plane, which was selected based on a CO emission map. Adopting red clump stars as extinction tracers, we determine the optical–mid-IR extinction law for our diffuse region in two APASS bands (B,V), three XSTPS-GAC bands (g,r,i), three 2MASS bands (J,H,K{sub s}), and two WISE bands (W1,W2). Specifically, 18 red clump stars were selected from the APOGEE–RC catalog based on spectroscopic data in order to explore the diversity of the extinction law. We find that the optical extinction curves exhibit appreciable diversity. The corresponding R{sub V} ranges from 1.7 to 3.8, while the mean R{sub V} value of 2.8 is consistent with the widely adopted average value of 3.1 for Galactic diffuse clouds. There is no apparent correlation between R{sub V} value and color excess E(B−V) in the range of interest, from 0.2 to 0.6 mag, or with specific visual extinction per kiloparsec, A{sub V}/d.

79 ASTRONOMY AND ASTROPHYSICS↗

MRI of Heterogeneous Hydrogenation Reactions Using Parahydrogen Polarization

The power of magnetic resonance imaging (MRI) is its ability to image the internal structure of optically opaque samples and provide detailed maps of a variety of important parameters, such as density, diffusion, velocity and temperature. However, one of the fundamental limitations of this technique is its inherent low sensitivity. For example, the low signal to noise ratio (SNR) is particularly problematic for imaging gases in porous materials due to the low density of the gas and the large volume occluded by the porous material. This is unfortunate, as many industrially relevant chemical reactions take place at gas-surface interfaces in porous media, such as packed catalyst beds. Because of this severe SNR problem, many techniques have been developed to directly increase the signal strength. These techniques work by manipulating the nuclear spin populations to produce polarized} (i.e., non-equilibrium) states with resulting signal strengths that are orders of magnitude larger than those available at thermal equilibrium. This dissertation is concerned with an extension of a polarization technique based on the properties of parahydrogen. Specifically, I report on the novel use of heterogeneous catalysis to produce parahydrogen induced polarization and applications of this new technique to gas phase MRI and the characterization of micro-reactors. First, I provide an overview of nuclear magnetic resonance (NMR) and how parahydrogen is used to improve the SNR of the NMR signal. I then present experimental results demonstrating that it is possible to use heterogeneous catalysis to produce parahydrogen-induced polarization. These results are extended to imaging void spaces using a parahydrogen polarized gas. In the second half of this dissertation, I demonstrate the use of parahydrogen-polarized gas-phase MRI for characterizing catalytic microreactors. Specifically, I show how the improved SNR allows one to map parameters important for characterizing the heat and mass transport in a heterogeneous catalyst bed. This is followed by appendices containing detailed information regarding the design and use of my experimental setup.

37 INORGANIC, ORGANIC, PHYSICAL, AND ANALYTICAL CH↗

THE HALO MASS FUNCTION FROM EXCURSION SET THEORY. II. THE DIFFUSING BARRIER

In excursion set theory, the computation of the halo mass function is mapped into a first-passage time process in the presence of a barrier, which in the spherical collapse model is a constant and in the ellipsoidal collapse model is a fixed function of the variance of the smoothed density field. However, N-body simulations show that dark matter halos grow through a mixture of smooth accretion, violent encounters, and fragmentations, and modeling halo collapse as spherical, or even as ellipsoidal, is a significant oversimplification. In addition, the very definition of what is a dark matter halo, both in N-body simulations and observationally, is a difficult problem. We propose that some of the physical complications inherent to a realistic description of halo formation can be included in the excursion set theory framework, at least at an effective level, by taking into account that the critical value for collapse is not a fixed constant {delta}{sub c}, as in the spherical collapse model, nor a fixed function of the variance {sigma} of the smoothed density field, as in the ellipsoidal collapse model, but rather is itself a stochastic variable, whose scatter reflects a number of complicated aspects of the underlying dynamics. Solving the first-passage time problem in the presence of a diffusing barrier we find that the exponential factor in the Press-Schechter mass function changes from exp{l_brace}-{delta}{sup 2}{sub c}/2{sigma}{sup 2{r_brace}} to exp{l_brace}-a{delta}{sup 2}{sub c}/2{sigma}{sup 2{r_brace}}, where a = 1/(1 + D{sub B}) and D{sub B} is the diffusion coefficient of the barrier. The numerical value of D{sub B} , and therefore the corresponding value of a, depends among other things on the algorithm used for identifying halos. We discuss the physical origin of the stochasticity of the barrier and, from recent N-body simulations that studied the properties of the collapse barrier, we deduce a value D{sub B} {approx_equal} 0.25. Our model then predicts a {approx_equal} 0.80, in excellent agreement with the exponential fall off of the mass function found in N-body simulations, for the same halo definition. Combining this result with the non-Markovian corrections computed in Paper I of this series, we derive an analytic expression for the halo mass function for Gaussian fluctuations and we compare it with N-body simulations.

79 ASTRONOMY AND ASTROPHYSICS↗

Diffuse X-ray scattering from tiny sample volumes

The emergence of intense synchrotron X-ray sources, efficient focusing optics and high-performance X-ray sensitive area detectors allows for measurements of diffuse scattering from cubic micron-scale sample volumes. Here we present an experiment that illustrates methods for studying the local structure and defect content of tiny sample volumes. In the experiment, an X-ray microbeam illuminating about {approx}5 {micro}m{sup 3} of a Ni-based superalloy single crystal, is used to collect Laue patterns and reciprocal space volume maps around fundamental and a superstructure reflections. This measurement illustrates how diffuse reciprocal-space distributions can be collected with good spatial and momentum-transfer resolution from a tiny real-space sample volume. This example demonstrates that emerging diffuse scattering techniques can provide fundamentally new information about crystallographic organization and defect content over many length scales.

36 MATERIALS SCIENCE↗

Hierarchical Fractional Advection-Dispersion Equation (FADE) to Quantify Anomalous Transport in River Corridor over a Broad Spectrum of Scales: Theory and Applications

Fractional calculus-based differential equations were found by previous studies to be promising tools in simulating local-scale anomalous diffusion for pollutants transport in natural geological media (geomedia), but efficient models are still needed for simulating anomalous transport over a broad spectrum of scales. This study proposed a hierarchical framework of fractional advection-dispersion equations (FADEs) for modeling pollutants moving in the river corridor at a full spectrum of scales. Applications showed that the fixed-index FADE could model bed sediment and manganese transport in streams at the geomorphologic unit scale, whereas the variable-index FADE well fitted bedload snapshots at the reach scale with spatially varying indices. Further analyses revealed that the selection of the FADEs depended on the scale, type of the geomedium (i.e., riverbed, aquifer, or soil), and the type of available observation dataset (i.e., the tracer snapshot or breakthrough curve (BTC)). When the pollutant BTC was used, a single-index FADE with scale-dependent parameters could fit the data by upscaling anomalous transport without mapping the sub-grid, intermediate multi-index anomalous diffusion. Pollutant transport in geomedia, therefore, may exhibit complex anomalous scaling in space (and/or time), and the identification of the FADE’s index for the reach-scale anomalous transport, which links the geomorphologic unit and watershed scales, is the core for reliable applications of fractional calculus in hydrology.

97 MATHEMATICS AND COMPUTING↗

Theory of activated penetrant diffusion in viscous fluids and colloidal suspensions

We heuristically formulate a microscopic, force level, self-consistent nonlinear Langevin equation theory for activated barrier hopping and non-hydrodynamic diffusion of a hard sphere penetrant in very dense hard sphere fluid matrices. Penetrant dynamics is controlled by a rich competition between force relaxation due to penetrant self-motion and collective matrix structural (alpha) relaxation. In the absence of penetrant-matrix attraction, three activated dynamical regimes are predicted as a function of penetrant-matrix size ratio which are physically distinguished by penetrant jump distance and the nature of matrix motion required to facilitate its hopping. The penetrant diffusion constant decreases the fastest with size ratio for relatively small penetrants where the matrix effectively acts as a vibrating amorphous solid. Increasing penetrant-matrix attraction strength reduces penetrant diffusivity due to physical bonding. For size ratios approaching unity, a distinct dynamical regime emerges associated with strong slaving of penetrant hopping to matrix structural relaxation. A crossover regime at intermediate penetrant-matrix size ratio connects the two limiting behaviors for hard penetrants, but essentially disappears if there are strong attractions with the matrix. Activated penetrant diffusivity decreases strongly with matrix volume fraction in a manner that intensifies as the size ratio increases. We propose and implement a quasi-universal approach for activated diffusion of a rigid atomic/molecular penetrant in a supercooled liquid based on a mapping between the hard sphere system and thermal liquids. Calculations for specific systems agree reasonably well with experiments over a wide range of temperature, covering more than 10 orders of magnitude of variation of the penetrant diffusion constant.

37 INORGANIC, ORGANIC, PHYSICAL, AND ANALYTICAL CH↗

Planck intermediate results

In this work, we describe an extension of the most recent version of the Planck Catalogue of Compact Sources (PCCS2), produced using a new multi-band Bayesian Extraction and Estimation Package (BeeP). BeeP assumes that the compact sources present in PCCS2 at 857 GHz have a dust-like spectral energy distribution (SED), which leads to emission at both lower and higher frequencies, and adjusts the parameters of the source and its SED to fit the emission observed in Planck’s three highest frequency channels at 353, 545, and 857 GHz, as well as the IRIS map at 3000 GHz. In order to reduce confusion regarding diffuse cirrus emission, BeeP’s data model includes a description of the background emission surrounding each source, and it adjusts the confidence in the source parameter extraction based on the statistical properties of the spatial distribution of the background emission. BeeP produces the following three new sets of parameters for each source: (a) fits to a modified blackbody (MBB) thermal emission model of the source; (b) SED-independent source flux densities at each frequency considered; and (c) fits to an MBB model of the background in which the source is embedded. BeeP also calculates, for each source, a reliability parameter, which takes into account confusion due to the surrounding cirrus. This parameter can be used to extract sub-samples of high-frequency sources with statistically well-understood properties. We define a high-reliability subset (BeeP/base), containing 26 083 sources (54.1% of the total PCCS2 catalogue), the majority of which have no information on reliability in the PCCS2. We describe the characteristics of this specific high-quality subset of PCCS2 and its validation against other data sets, specifically for: the sub-sample of PCCS2 located in low-cirrus areas; the Planck Catalogue of Galactic Cold Clumps; the Herschel GAMA15-field catalogue; and the temperature- and spectral-index-reconstructed dust maps obtained with Planck’s Generalized Needlet Internal Linear Combination method. The results of the BeeP extension of PCCS2, which are made publicly available via the Planck Legacy Archive, will enable the study of the thermal properties of well-defined samples of compact Galactic and extragalactic dusty sources.

79 ASTRONOMY AND ASTROPHYSICS↗

Mechanisms for the inversion of chirality: Global reaction route mapping of stereochemical pathways in a probable chiral extraterrestrial molecule, 2-aminopropionitrile

2-Aminopropionitrile (APN), a probable candidate as a chiral astrophysical molecule, is a precursor to amino-acid alanine. Stereochemical pathways in 2-APN are explored using Global Reaction Route Mapping (GRRM) method employing high-level quantum-mechanical computations. Besides predicting the conventional mechanism for chiral inversion that proceeds through an achiral intermediate, a counterintuitive flipping mechanism is revealed for 2-APN through chiral intermediates explored using the GRRM. The feasibility of the proposed stereochemical pathways, in terms of the Gibbs free-energy change, is analyzed at the temperature conditions akin to the interstellar medium. Notably, the stereoinversion in 2-APN is observed to be more feasible than the dissociation of 2-APN and intermediates involved along the stereochemical pathways, and the flipping barrier is observed to be as low as 3.68 kJ/mol along one of the pathways. The pathways proposed for the inversion of chirality in 2-APN may provide significant insight into the extraterrestrial origin of life.

37 INORGANIC, ORGANIC, PHYSICAL, AND ANALYTICAL CH↗

Code for the manuscript titled "Blackout Diffusion: Generative Diffusion Models in Discrete-State Spaces"

We would like to disclose two scripts, written in Jupyter notebook, in which we implement the "Blackout Diffusion Process" described in the manuscript "Blackout Diffusion: Generative Diffusion Models in Discrete-State Spaces" (LA-UR-23-20509), to be submitted to the International Conference of Machine Learning (ICML). The abstract of the manuscript is append below. == Typical generative diffusion models rely on a Gaussian diffusion process for training the backward transformations, which can then be used generate samples from Gaussian noise. However, real world data often takes place in discrete-state spaces, which occur in many scientific applications. Here, we develop a theoretical formulation for arbitrary discrete-state Markov processes in the forward diffusion process. We relate the theory to the existing continuous-state Gaussian diffusion and identify the corresponding reverse-time stochastic process and score function in the continuous-time setting, and the reverse-time mapping in the discrete-time setting. As an example of this framework, we introduce "Blackout Diffusion", which learns to produce samples from an empty image instead of from noise. Numerical experiments on the CIFAR-10 dataset confirm the feasibility of generative diffusion modeling in a discrete space. Generalizing from specific (Gaussian) forward processes to a more general framework also sheds light on how to interpret generative diffusion models and their mathematical structure, which we comment on.

Lin, Yen Ting↗