# DeepMerge II: Building Robust Deep Learning Algorithms for Merging Galaxy Identification Across Domains

arXiv: https://arxiv.org/abs/2103.01373 · HTML: https://mlsanity.com/paper/2103.01373/

## Key facts

- Cited by 11 papers in the map (data through 14 Oct 2026).
- Builds on 12 of its 54 references that are in the map.
- First posted on arXiv 2 Mar 2021.

## Builds on (most cited first, 12 of 12)

- [Deep Residual Learning for Image Recognition](https://mlsanity.com/paper/1512.03385/) (2015)
- [Very Deep Convolutional Networks for Large-Scale Image Recognition](https://mlsanity.com/paper/1409.1556/) (2014)
- [Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localization](https://mlsanity.com/paper/1610.02391/) (2016)
- [Deep CORAL: Correlation Alignment for Deep Domain Adaptation](https://mlsanity.com/paper/1607.01719/) (2016)
- [Deep Visual Domain Adaptation: A Survey](https://mlsanity.com/paper/1802.03601/) (2018)
- [Contrastive Adaptation Network for Unsupervised Domain Adaptation](https://mlsanity.com/paper/1901.00976/) (2019)
- [A Survey of Unsupervised Deep Domain Adaptation](https://mlsanity.com/paper/1812.02849/) (2018)
- [Scatter Component Analysis: A Unified Framework for Domain Adaptation and Domain Generalization](https://mlsanity.com/paper/1510.04373/) (2015)
- [Using transfer learning to detect galaxy mergers](https://mlsanity.com/paper/1805.10289/) (2018)
- [Scalable Reinforcement-Learning-Based Neural Architecture Search for Cancer Deep Learning Research](https://mlsanity.com/paper/1909.00311/) (2019)
- [Fisher Deep Domain Adaptation](https://mlsanity.com/paper/2003.05636/) (2020)
- [DeepMerge: Classifying High-redshift Merging Galaxies with Deep Neural Networks](https://mlsanity.com/paper/2004.11981/) (2020)

## Built on by (most cited first, 11 of 11)

- [DeepAdversaries: Examining the Robustness of Deep Learning Models for Galaxy Morphology Classification](https://mlsanity.com/paper/2112.14299/) (2021)
- [DeepAstroUDA: Semi-Supervised Universal Domain Adaptation for Cross-Survey Galaxy Morphology Classification and Anomaly Detection](https://mlsanity.com/paper/2302.02005/) (2023)
- [Domain-Adaptive Neural Posterior Estimation for Strong Gravitational Lens Analysis](https://mlsanity.com/paper/2410.16347/) (2024)
- [Machine Learning and Cosmology](https://mlsanity.com/paper/2203.08056/) (2022)
- [Domain Adaptive Graph Neural Networks for Constraining Cosmological Parameters Across Multiple Data Sets](https://mlsanity.com/paper/2311.01588/) (2023)
- [Semi-Supervised Domain Adaptation for Cross-Survey Galaxy Morphology Classification and Anomaly Detection](https://mlsanity.com/paper/2211.00677/) (2022)
- [Neural Network Prediction of Strong Lensing Systems with Domain Adaptation and Uncertainty Quantification](https://mlsanity.com/paper/2411.03334/) (2024)
- [Target Detection Framework for Lobster Eye X-Ray Telescopes with Machine Learning Algorithms](https://mlsanity.com/paper/2212.05497/) (2022)
- [Estimating Dark Matter Halo Masses in Simulated Galaxy Clusters with Graph Neural Networks](https://mlsanity.com/paper/2411.12629/) (2024)
- [Category-based Galaxy Image Generation via Diffusion Models](https://mlsanity.com/paper/2506.16255/) (2025)
- [Shared Geometry Is Not Shared Physics: A Layerwise Test of the Platonic Representation Hypothesis in Astronomy](https://mlsanity.com/paper/2610.04130/) (2026)

## Abstract (arXiv)

In astronomy, neural networks are often trained on simulation data with the prospect of being used on telescope observations. Unfortunately, training a model on simulation data and then applying it to instrument data leads to a substantial and potentially even detrimental decrease in model accuracy on the new target dataset. Simulated and instrument data represent different data domains, and for an algorithm to work in both, domain-invariant learning is necessary. Here we employ domain adaptation techniques- Maximum Mean Discrepancy (MMD) as an additional transfer loss and Domain Adversarial Neural Networks (DANNs)- and demonstrate their viability to extract domain-invariant features within the astronomical context of classifying merging and non-merging galaxies. Additionally, we explore the use of Fisher loss and entropy minimization to enforce better in-domain class discriminability. We show that the addition of each domain adaptation technique improves the performance of a classifier when compared to conventional deep learning algorithms. We demonstrate this on two examples: between two Illustris-1 simulated datasets of distant merging galaxies, and between Illustris-1 simulated data of nearby merging galaxies and observed data from the Sloan Digital Sky Survey. The use of domain adaptation techniques in our experiments leads to an increase of target domain classification accuracy of up to ~20%. With further development, these techniques will allow astronomers to successfully implement neural network models trained on simulation data to efficiently detect and study astrophysical objects in current and future large-scale astronomical surveys.
