Leaving No Branches Behind: Predicting Baryonic Properties of Galaxies from Merger Trees

Chen-Yu Chuang, Christian Kragh Jespersen, Yen‐Ting Lin, Shirley Ho, Shy Genel

This paper presents a novel approach to a classic problem in computational astrophysics: how to quickly and accurately populate dark matter simulations with realistic galaxies. By leveraging Graph Neural Networks (GNNs), the authors demonstrate that the "merger tree"—the complex history of how a dark matter halo grows through accretion and collisions—contains nearly all the information needed to predict a galaxy's physical state.

TL;DR

Researchers developed a Graph Neural Network that predicts complex galaxy properties (like stellar mass, color, and metallicity) directly from dark matter merger trees. By capturing the full assembly history of halos, the model significantly outperforms traditional machine learning methods and approaches the theoretical limits of predictability set by the "chaos" of hydrodynamical simulations.

What Problem Does This Paper Address?

In our standard model of cosmology, galaxies form inside "halos" of invisible dark matter. To study the evolution of the universe, astronomers need massive "mock catalogs"—simulated maps of millions of galaxies.

There are two traditional ways to make these:

  1. Hydrodynamical Simulations: These model gas, stars, and black holes directly. They are highly accurate but computationally ruinous, requiring millions of CPU hours.
  2. Empirical Models (e.g., Abundance Matching): These use simple recipes to stick galaxies into dark matter halos based on current mass. They are fast but often ignore the history of how that mass was acquired, leading to inaccuracies.

The challenge is finding a "middle ground": a method as fast as empirical models but as accurate as full hydrodynamics. The authors argue that the missing link is the merger tree—the hierarchical "family tree" of a halo.

Methods

The authors treat the merger tree as a directed graph, where "nodes" are dark matter subhalos at different points in time and "edges" represent the links between progenitors and descendants.

  • Graph Neural Network (GNN): They utilize a "MetaLayer" architecture that updates information at the edge, node, and global levels. This allows the model to learn how a merger event at high redshift (the "past") influences a galaxy's properties today.
  • Edge Rearrangement: A key innovation is how they connect the graph. Standard merger trees can have 100+ snapshots. To prevent "over-smoothing" (where information gets lost as it passes through too many layers), they rewired the connections to emphasize significant merger events, providing a "strong inductive bias" that helps the network focus on what matters.
  • Hybrid Loss Function: The model performs two tasks simultaneously: classification (is there any gas/stars in this halo?) and regression (if so, how much?).

Datasets

The model was trained and tested using the IllustrisTNG (TNG300) simulation, one of the most sophisticated magnetohydrodynamical simulations available.

  • Input: Dark matter-only properties (mass, radius, spin, etc.) extracted from the TNG300-DMO run.
  • Ground Truth: Baryonic properties (stellar mass, SFR, color, gas mass, metallicity) from the full TNG300 physics run.
  • Scale: They focused on halos with a mass $\ge 10^{11} h^{-1} M_\odot$, covering a redshift range from $z=0$ to $z=5$.

Key Insights and Ideas

  • History is Destiny: For "integrated" properties like stellar mass ($M_\star$) and stellar metallicity ($Z_\star$), the assembly history is paramount. The GNN showed a 45% improvement in scatter for stellar mass compared to a standard Multi-Layer Perceptron (MLP) that only looks at the halo's current state.
  • The Chaotic Limit: The authors compared their results to the "chaotic uncertainty" of the IllustrisTNG model itself. Because galaxy formation is non-linear, tiny changes in initial conditions can lead to different outcomes. The GNN's performance is so high that it is essentially bumping up against this theoretical ceiling of predictability.
  • Stochasticity vs. Determinism: Properties that change rapidly, like Star Formation Rate (SFR) and color, are harder to predict. These depend on short-term "subgrid" physics (like a sudden burst of supernova feedback) that isn't fully captured by the dark matter backbone.

Key Results

  • High Fidelity: The model recovers stellar mass and gas mass with extremely high accuracy (Pearson correlation $\rho \approx 0.98$ and $0.88$ respectively).
  • Color and Metallicity: It successfully reproduces the "red sequence" and "blue cloud" of galaxy populations, though it struggles slightly with the "green valley" (the transition phase).
  • Efficiency: Once trained, the GNN can generate a realistic galaxy population for a massive dark matter simulation in a fraction of the time required for a hydrodynamical run.

Limitations and Future Work

  • Environmental Blindness: Currently, the model only looks at the merger tree of an individual halo. It doesn't "see" the large-scale environment (e.g., is the galaxy in a dense cluster or a lonely void?). Adding environmental features is a clear next step.
  • The "Green Valley" Gap: The model has difficulty predicting the exact timing of when a galaxy "quenches" (stops forming stars), likely because this process is driven by complex black hole feedback not perfectly reflected in the dark matter tree.
  • Resolution: The study is limited to relatively massive galaxies ($M_\star \gtrsim 10^9 M_\odot$). Extending this to dwarf galaxies would require higher-resolution simulations.

Summary updated

Abstract

Galaxies play a key role in our endeavor to understand how structure formation proceeds in the Universe. For any precision study of cosmology or galaxy formation, there is a strong demand for huge sets of realistic mock galaxy catalogs, spanning cosmologically significant volumes. For such a daunting task, methods that can produce a direct mapping between dark matter halos from dark matter-only simulations and galaxies are strongly preferred, as producing mocks from full-fledged hydrodynamical simulations or semi-analytical models is too expensive. Here we present a Graph Neural Network-based model that is able to accurately predict key properties of galaxies such as stellar mass, $g-r$ color, star formation rate, gas mass, stellar metallicity, and gas metallicity, purely from dark matter properties extracted from halos along the full assembly history of the galaxies. Tests based on the TNG300 simulation of the IllustrisTNG project show that our model can recover the baryonic properties of galaxies to high accuracy, over a wide redshift range ($z = 0-5$), for all galaxies with stellar masses more massive than $10^9\,M_\odot$ and their progenitors, with strong improvements over the state-of-the-art methods. We further show that our method makes substantial strides toward providing an understanding of the implications of the IllustrisTNG galaxy formation model.
BibTeX
@article{chuang2024leaving,
  author = {Chen-Yu Chuang and Christian Kragh Jespersen and Yen‐Ting Lin and Shirley Ho and Shy Genel},
  title = {{Leaving No Branches Behind: Predicting Baryonic Properties of Galaxies from Merger Trees}},
  journal = {The Astrophysical Journal},
  year = {2024},
  doi = {10.3847/1538-4357/ad2b6c},
}
Figure