1. Introduction
Artificial intelligence (AI), particularly deep learning, is rapidly transforming astronomy by enabling the analysis of complex, large-scale datasets that are otherwise intractable with traditional approaches. In the context of star formation and the interstellar medium (ISM), AI offers powerful tools for handling high-dimensional data, linking simulations with observations, and uncovering the physical connections that drive the formation and evolution of cosmic gas structures.
Star formation is a fundamental process that connects the scales of planetary systems to galactic dynamics. Its interplay with the ISM, a turbulent reservoir of gas and dust that both forms and recycles stars, drives the baryonic cycle of the universe (Spitzer Reference Spitzer1978; Cox and Reynolds Reference Cox and Reynolds1987; McKee and Ostriker Reference McKee and Ostriker2007; Heyer and Dame Reference Heyer and Dame2015; Krumholz et al. Reference Krumholz, McKee and Bland-Hawthorn2019; Molinari et al. Reference Molinari, Bally, Glover, Moore, Noriega-Crespo, Plume, Testi, Vázquez-Semadeni, Zavagno, Bernard and Martin2014; Naab and Ostriker Reference Naab and Ostriker2017; Tacconi et al. Reference Tacconi, Genzel and Sternberg2020; Saintonge and Catinella Reference Saintonge and Catinella2022). Yet the underlying physics remains highly complex: turbulence, magnetic fields, gravity, and stellar feedback interact in nonlinear ways across multiple spatial and temporal scales.
Among these processes, stellar feedback plays a particularly important role by injecting energy and momentum into the surrounding medium (Krumholz et al. Reference Krumholz, Bate, Arce, Dale, Gutermuth, Klein, Li, Nakamura and Zhang2014), an effect thought to contribute to the inefficiency of star formation in the Milky Way (Krumholz et al. Reference Krumholz, McKee and Bland-Hawthorn2019). Detecting and quantifying feedback features in large molecular line datasets, however, is challenging. Here, AI has begun to make a decisive impact: three-dimensional convolutional neural networks trained on synthetic observations now enable the systematic identification of feedback structures, yielding new insights into how feedback regulates ISM dynamics (Xu et al. Reference Xu, Offner, Gutermuth and Van Oort2020a,b).
Beyond feedback detection, AI encompasses a broad suite of approaches for probing the ISM and star formation. Discriminative models can be used to infer properties such as protostellar outflow characteristics and magnetic field orientations (Xu et al. 2023a), while generative models, including diffusion-based methods (Xu et al. Reference Xu, Tan, Hsu and Zhu2023c,b, Reference Xu, Karcheski, Law, Zhu, Hsu and Tan2025) and Schrödinger bridge approaches (Zhu et al. Reference Zhu, Xu, Deng, Tan and Russakovsky2025), provide a pathway for recovering intrinsic physical quantities such as gas density, interstellar radiation fields, and magnetic field strengths. By leveraging magnetohydrodynamic (MHD) simulations as physical priors, these generative AI frameworks connect highly degenerated observational data with the underlying physical state of molecular clouds.
In this proceeding, we present a brief overview of our work under the theme of AI4Astro, focusing on applications of AI to star formation and the ISM. The proceeding is organized into two main parts: (1) discriminative models applied to the segmentation of stellar feedback structures, and (2) generative models aimed at inferring the physical properties of the ISM from observational data, guided by MHD simulations.
2. Discriminative AI for Stellar Feedback and Outflow Detection
Studying the dynamical structures of stellar feedback requires analyzing molecular line data cubes in three dimensions. However, visually identifying feedback structures, such as bubbles and protostellar outflows, in these large and complex datasets is both challenging and inefficient. To address this, we developed casi-3d, a 3D convolutional neural network designed to identify stellar feedback structures in position-position-velocity (PPV) molecular line cubes (Xu et al. Reference Xu, Offner, Gutermuth and Van Oort2020a,b).
casi-3d is trained on synthetic observations generated from MHD simulations combined with radiative transfer calculations using radmc-3d. The model learns to recognize feedback signatures within the simulated data and can then be applied to real observations, predicting the locations of feedback features and estimating outflow mass fractions on a voxel-by-voxel basis. This pixel-level approach enables more accurate mass and energy estimates compared to traditional masking techniques. Figure 1 illustrates an example of casi-3d’s prediction of a bubble structure in CO line emission, highlighting its ability to delineate feedback at high fidelity.
Comparison of bubble identification using traditional circular masking and AI-based pixel-level masking at the location of a bubble structure.

Applying casi-3d to observations of the Ophiuchus, Taurus, Perseus, and Orion molecular clouds (Xu et al. Reference Xu, Offner, Gutermuth, Kong and Arce2022a), we demonstrated its robustness across diverse environments. The results reveal a linear scaling relation between outflow mass and the number of young stellar objects (YSOs), with each YSO contributing on average about one solar mass of outflow material. Furthermore, we found that protostellar outflow energy modifies the spatial power spectrum of CO integrated intensity maps, introducing a break at a physical scale of
$\sim$
0.5 pc. This characteristic scale matches the typical outflow size and may correspond to the dominant scale of mass and energy injection into molecular clouds.
In a follow-up study, we applied casi-3d to construct a sample of 200 protostellar outflows exhibiting blue- and redshifted CO emission in nearby molecular clouds (Xu et al. Reference Xu, Offner, Gutermuth and Tan2022b). We investigated the relationship between outflow orientations and magnetic field directions traced by Planck 353 GHz dust polarization. Our analysis reveals a highly significant correlation (
$p \sim 10^{-4}$
), ruling out a random distribution of relative orientations. Instead, the results show a preferred alignment, with relative position angles peaking at
$\sim 30^{\circ}$
and a broad dispersion of
$\sim 50^{\circ}$
. This alignment suggests that magnetic fields play a dynamical role in regulating the launching and propagation directions of protostellar outflows.
Together, these results demonstrate that discriminative AI models such as casi-3d provide a powerful and systematic framework for detecting stellar feedback and quantifying its physical impact on molecular clouds, offering insights that are otherwise inaccessible with traditional methods.
3. Generative AI for Inferring Physical Properties of Molecular Clouds
Generative AI, particularly diffusion-based models, provides a powerful framework for extracting hidden physical properties of molecular clouds from limited or projected observables. Unlike traditional empirical fitting or direct regression approaches, diffusion models leverage stochastic noise modeling to learn a robust generative mapping between observables and underlying physical fields.
We first implement the Denoising Diffusion Probabilistic Model (DDPM) to estimate the volume or number density of giant molecular clouds (GMCs) from projected mass surface density maps (Xu et al. Reference Xu, Tan, Hsu and Zhu2023c). The training dataset consists of MHD simulations covering diverse magnetic field strengths and dynamical scenarios, including both colliding and noncolliding GMCs. The diffusion model is trained on surface density maps paired with mass-weighted number density maps from multiple viewing angles. Compared with empirical power-law fits and conventional neural-network regressions (casi-3d), the DDPM achieves nearly an order-of-magnitude improvement in predicting number density. Figure 2 illustrates the principle of DDPM, where the model learns to denoise random Gaussian perturbations conditioned on physical observables, such as dust or molecular line emission, to recover the true physical field.
DDPM framework. The model is trained to extract underlying physical properties from noisy backgrounds represented by Gaussian distributions, while conditioning on observables such as dust emission or molecular line emission.

Building on this foundation, we extend DDPMs to quantify radiation feedback in star formation. Using synthetic dust emission maps (4.5, 24, and 250
$\mu$
m) from STARFORGE MHD simulations, we train DDPMs to predict the strength of the interstellar radiation field (ISRF). The models achieve excellent agreement with ground truth values, even under strong radiation fields (Xu et al. Reference Xu, Offner, Gutermuth, Grudić, Guszejnov and Hopkins2023b), offering a novel means to probe feedback distributions in environments strongly shaped by nearby clusters.
We further apply diffusion models to estimate magnetic field strength in GMCs (Xu et al. Reference Xu, Karcheski, Law, Zhu, Hsu and Tan2025). Three DDPM variants are trained using combinations of column density, dust polarization angles, and nonthermal velocity dispersion. The most comprehensive three-channel DDPM outperforms both traditional statistical methods (e.g., Davis-Chandrasekhar-Fermi) and simplified model variants, avoiding the systematic overestimations common in classical approaches.
Finally, we explore Diffusion Schrödinger Bridge (DSB) models for inverse inference in dynamical astrophysical systems (Zhu et al. Reference Zhu, Xu, Deng, Tan and Russakovsky2025). Our Astro-DSB variant incorporates pairwise domain assumptions tailored for GMC dynamics, applied to both simulated data and real observations of the Taurus B213 filament. Two key findings emerge: (1) Astro-DSB improves interpretability, learning efficiency, and predictive power over conventional astrostatistical and machine learning baselines; and (2) probabilistic generative modeling provides superior generalization in out-of-distribution cases, where unseen initial conditions or dominant physical processes diverge from the training set. This highlights the promise of physics-aware generative models in bridging the gap between simulations and observations, offering interpretable and robust tools for studying molecular cloud evolution and star formation.
4. Toward Interpretable and Physically Grounded AI in Star Formation Studies
In this proceeding, we highlighted recent advances in applying generative AI techniques to infer physical properties of molecular clouds, with a particular emphasis on diffusion-based models. Our results demonstrate that Denoising Diffusion Probabilistic Models can significantly outperform traditional empirical and machine learning approaches in estimating key quantities such as gas density, interstellar radiation field strength, and magnetic field properties. More recently, the introduction of Diffusion Schrödinger Bridge models offers a promising new direction. By explicitly modeling paired domains and bridging forward and backward dynamics, DSBs provide not only higher predictive accuracy but also improved interpretability in understanding astrophysical processes within GMCs.
Looking ahead, the interpretability of generative AI is likely to play a central role in its integration into astrophysics. Unlike conventional discriminative approaches that rely heavily on correlations within the training data, DSBs and related generative models can capture underlying physical symmetries and dynamics, making them more robust in out-of-distribution regimes and more aligned with physical intuition. This property opens opportunities for bridging the gap between machine learning inference and physics-driven modeling.
Future work will focus on extending generative AI frameworks to multi-modal observational inputs, combining dust extinction, molecular line spectra, and polarization maps within a unified modeling scheme. At the same time, developing physics-aware architectures that embed conservation laws and causal relations will be essential for making generative AI models not only predictive but also explanatory. Ultimately, these advances point toward a future where generative AI acts as a powerful tool for both discovery and interpretability in astrophysical research, helping to uncover the governing processes of star formation and molecular cloud evolution.

