English

HaloFlow II: Robust Galaxy Halo Mass Inference with Domain Adaptation

Astrophysics of Galaxies 2026-03-16 v1 Cosmology and Nongalactic Astrophysics

Abstract

Precise halo mass (MhM_h) measurements are crucial for cosmology and galaxy formation. HaloFlow introduced a simulation-based inference (SBI) framework that uses state-of-the-art simulated galaxy images to precisely infer MhM_h. However, for HaloFlow to be applied to observations, it must be generalizable even when the underlying galaxy formation physics differ from those in the simulations on which it was trained. Without this generalization, HaloFlow produces biased and overconfident MhM_h posteriors when applied to simulations with different physics. We introduce HaloFlowDA^{\rm DA}, an extension of HaloFlow that integrates domain adaptation (DA) with SBI to mitigate these cross-simulation shifts. Using synthetic galaxy images forward-modeled from the IllustrisTNG, EAGLE, and SIMBA simulations, we test two DA methods: Domain-Adversarial Neural Networks (DANN) and Maximum Mean Discrepancy (MMD). Incorporating DA significantly reduces bias and improves calibration, with MMD achieving the most stable performance, lowering the normalized residual metric, β\beta, by an average of 31% and up to 57% when trained and tested on different simulations. Overall, HaloFlowDA^{\rm DA} produces more robust, less biased with similar precision, MhM_h constraints than the standard approach using the stellar-to-halo mass relation. HaloFlowDA^{\rm DA} enables consistent, simulation-trained inference models to generalize across domains, establishing a foundation for robust MhM_h inference from real HSC-SSP observations.

Keywords

Cite

@article{arxiv.2603.12380,
  title  = {HaloFlow II: Robust Galaxy Halo Mass Inference with Domain Adaptation},
  author = {Nikhil Garuda and ChangHoon Hahn and Connor Bottrell and Khee-Gan Lee},
  journal= {arXiv preprint arXiv:2603.12380},
  year   = {2026}
}

Comments

Submitted to ApJ