Introduction
The application of deep learning to astronomy is often hindered by the "domain gap"—the discrepancy between idealized computer simulations used for training and the complex, noisy observations obtained from telescopes. While simulations like Illustris-1 provide perfectly labeled datasets of merging galaxies, models trained on them often fail when applied to real-world data from surveys like the Sloan Digital Sky Survey (SDSS). This paper presents "DeepMerge II," a framework utilizing Domain Adaptation (DA) to bridge this gap and create robust classification tools for the next generation of sky surveys.
The Challenge of Domain Shift
In the context of galaxy merger identification, domain shift occurs because real telescope images contain instrument noise, varying point spread functions (PSF), and complex backgrounds that are absent or simplified in simulations. A standard convolutional neural network (CNN) tends to overfit to these simulation-specific artifacts. Consequently, a model that achieves high accuracy on "pristine" data may perform no better than random guessing when faced with the stochastic noise of real observations.
Methodology: Domain Adaptation Strategies
To overcome this, the authors implement two primary DA strategies designed to extract domain-invariant features—physical characteristics of galaxy mergers that remain consistent regardless of the image quality:
- Maximum Mean Discrepancy (MMD): This statistical approach introduces a "transfer loss" during training. By measuring and minimizing the distance between the feature distributions of the source (simulated) and target (real) domains, the network is penalized if it learns features that are unique to only one domain.
- Domain Adversarial Neural Networks (DANNs): This method employs an adversarial architecture. A domain classifier attempts to distinguish between simulated and real images, while the feature extractor is trained to "fool" this classifier. This competition forces the network to prioritize features that are indistinguishable between domains.
Beyond these core strategies, the researchers utilized Fisher Loss to increase class compactness in latent space and Entropy Minimization to encourage unlabeled target data to cluster around known classes from the source domain.
Experimental Setup and Datasets
The study utilized the Illustris-1 cosmological simulation for source data. Two distinct tasks were defined to test the models:
- Sim-to-Sim: Training on pristine simulated images and testing on the same images with added random sky shot noise.
- Sim-to-Real: Training on simulations modified with dust and noise, and testing on real SDSS observational data labeled by the Galaxy Zoo project.
Results and Interpretability
The results demonstrate the efficacy of DA. In the Sim-to-Sim task, the DeepMerge architecture's accuracy improved from 58% to 79% with the application of DA. In the more challenging Sim-to-Real task, a model that initially performed at 50% (random guessing) reached 69% accuracy when combining MMD with transfer learning.
A critical component of the study was the use of Grad-CAM (Gradient-weighted Class Activation Mapping) to visualize model focus. Without DA, models often focused on background noise to make classifications. With DA, the "heat maps" shifted to the physical centers of the galaxies, confirming that the model was learning structural physics rather than noise patterns.
Discussion and Future Work
The authors highlight that while larger architectures like ResNet18 are powerful, they are more prone to overfitting on source-specific details, making them harder to adapt than simpler custom CNNs like DeepMerge. They also caution against "negative transfer," where performance can degrade if the domains are too dissimilar.
Future research will focus on "class-aware domain adaptation" to ensure specific classes are aligned correctly across domains. Such robustness is essential for upcoming projects like the Vera C. Rubin Observatory, where automated, domain-resilient pipelines will be required to process petabytes of data.
Summary updated