Denoising Diffusion Probabilistic Models to Predict the Density of Molecular Clouds

Duo Xu, Jonathan C. Tan, Chia‐Jung Hsu, Ye Zhu

Abstract

Accurately determining the 3D volume density ($n_H$) of Giant Molecular Clouds (GMCs) is fundamental to understanding the physics of star formation. However, observations typically only provide 2D column density ($N_H$) maps. This work introduces a deep learning approach using Denoising Diffusion Probabilistic Models (DDPMs) to reconstruct 3D density structures from 2D projections. Our results demonstrate that DDPMs outperform traditional power-law fits and standard convolutional neural networks by an order of magnitude, effectively capturing the complex, turbulent morphology of molecular clouds with minimal systematic bias.

Introduction: The Dimensionality Gap in GMCs

Giant Molecular Clouds serve as the primary sites for star formation in the universe. A critical challenge in studying these regions is the "flat" nature of observational data. While column density—the integrated mass along the line of sight—is readily measurable, the local volume density is the parameter that governs gravitational collapse, magnetic field interactions, and chemical evolution.

Historically, astronomers have relied on simplified geometric assumptions or empirical power-law relationships to estimate volume density. Given the chaotic, turbulent nature of the interstellar medium (ISM), these approximations often fail to capture the true structural complexity of GMCs, leading to significant errors in star formation rate estimates.

Methodology: Denoising Diffusion for Density Reconstruction

To bridge the gap between 2D observations and 3D physical properties, we utilize Denoising Diffusion Probabilistic Models (DDPMs). Unlike traditional discriminative models that map inputs directly to outputs, DDPMs are generative models that learn the underlying probability distribution of the data.

The process involves two phases: a forward diffusion process that gradually adds Gaussian noise to a clear density map until it becomes pure noise, and a reverse process where the model learns to remove this noise iteratively. In this application, the reverse process is conditioned on the 2D column density map ($N_H$). This conditioning guides the model to "reconstruct" a physically plausible 3D volume density field that is consistent with the observed 2D projection.

The DDPM architecture iteratively reconstructs the 3D volume density ($n_H$) from Gaussian noise, guided by the 2D column density ($N_H$) condition.

The model was trained on high-resolution Magnetohydrodynamic (MHD) simulations generated using the Enzo code, encompassing various magnetic field strengths and cloud dynamics. This ensures the model learns the morphological patterns associated with different physical regimes.

Results and Performance Analysis

The DDPM approach demonstrates a significant leap in performance over existing methods. We compared the diffusion model against traditional two-component and three-component power-law fits (2PL, 3PL) and a CNN-based autoencoder (casi-2d).

Statistical performance comparison between the Diffusion model and baseline methods. The Diffusion model achieves the lowest bias ($\mu_b \approx 0.10$) and the tightest correlation with ground truth ($\sigma_t \approx 0.38$).

Quantitatively, the DDPM achieved an order of magnitude improvement in accuracy. While power-law methods exhibited substantial systematic biases—underestimating low-density regions and overestimating moderate ones—the diffusion model showed near-zero mean offset ($\mu_b \approx 0.10$). Furthermore, the standard deviation of the residuals for the diffusion model ($\sigma_t \approx 0.38$) was drastically lower than that of the 2PL model ($\sigma_t \approx 4.72$).

A key insight is that DDPMs preserve the full dimensionality and structural integrity of the data. Unlike standard CNNs that may produce blurry outputs due to latent space compression, the diffusion process maintains fine-grained details, such as filaments and dense clumps, which are vital for identifying star-forming cores.

Validation and Future Outlook

The model's robustness was validated using the Taurus B213 filament. The AI-predicted densities showed high consistency with independent estimates derived from chemical density probes (e.g., $HC_3N$ transitions), suggesting that the model has captured genuine astrophysical relationships rather than just simulation-specific artifacts.

Despite its success, the model faces limitations regarding resolution sensitivity; accuracy depends on the physical scale (parsecs per pixel) matching the training data. Future work will focus on developing scale-invariant architectures and incorporating more complex physics, such as stellar feedback, into the training simulations to create a truly universal tool for 3D cloud mapping.

Summary updated

Abstract

Abstract We introduce the state-of-the-art deep-learning denoising diffusion probabilistic model as a method to infer the volume or number density of giant molecular clouds (GMCs) from projected mass surface density maps. We adopt magnetohydrodynamic simulations with different global magnetic field strengths and large-scale dynamics, i.e., noncolliding and colliding GMCs. We train a diffusion model on both mass surface density maps and their corresponding mass-weighted number density maps from different viewing angles for all the simulations. We compare the diffusion model performance with a more traditional empirical two-component and three-component power-law fitting method and with a more traditional neural network machine-learning approach. We conclude that the diffusion model achieves an order-of-magnitude improvement on the accuracy of predicting number density compared to that by other methods. We apply the diffusion method to some example astronomical column density maps of Taurus and the infrared dark clouds G28.37+0.07 and G35.39-0.33 to produce maps of their mean volume densities.
BibTeX
@article{xu2023denoising,
  author = {Duo Xu and Jonathan C. Tan and Chia‐Jung Hsu and Ye Zhu},
  title = {{Denoising Diffusion Probabilistic Models to Predict the Density of Molecular Clouds}},
  journal = {The Astrophysical Journal},
  year = {2023},
  doi = {10.3847/1538-4357/accae5},
}
Figure