~/aixsci
weekly updates

astronomy/ai produced the result/RAS Techniques and Instruments 2025 · v3

Neural networks turn simulated dark matter maps into mock X-ray and microwave cluster images

Researchers trained U-Net neural networks on detailed cluster simulations to convert maps of a galaxy cluster's total mass into pictures of its hot gas, then applied them to simulations containing dark matter alone.

1. Select galaxy cluster halos from simulations2. Project and preprocess mass, SZ and X-ray maps3. Train U-Net models to map mass to observables4. Predict observable maps for held-out test clusters5. Predict observable maps from dark-matter-only simulations6. Score maps with metrics and fit scaling relations7. Embed final convolutional layer for interpretation

spectrum · one line per step, placed by what the step does · bright lines used AI

Deep learning generated observations of galaxy clusters from dark-matter-only simulations
RAS Techniques and Instruments, 2025

doi:10.1093/rasti/rzaf007 · record aix-00082 v3 · checked 2026-10-08

ai-resultrole of AI
AI was for
Simulation surrogate
Model family
Convolutional neural network, Dimensionality reduction
Checked by
Held-out
Code
not reported

The finding the paper is about came from the AI.

read as

The science is explained before the AI appears. Switch to field specialist to go straight to the method.

Assumes the discipline and goes straight to the method.

The diagram, the record and what the paper did not report are identical in both modes. Only the framing changes, never the evidence.

Introduction by AIxSci · plain language

What this research was about

Galaxy clusters are the largest objects held together by gravity: hundreds or thousands of galaxies, plus a vast cloud of thin, extremely hot gas, all sitting in a much heavier halo of dark matter. Astronomers mostly see clusters through that gas. It glows in X-rays, and it leaves a faint imprint on the microwave background light passing through it, known as the Sunyaev-Zeldovich or SZ effect. To compare theory with telescopes, researchers run computer simulations of clusters. Simulations that follow only gravity and dark matter are comparatively cheap. Simulations that also follow the gas, its heating, cooling and radiation, are far more costly to run.

That leaves a gap. There are many large dark-matter-only simulations, but they contain no gas, so they produce no X-ray or SZ images to compare with observations. The researchers set out to bridge that gap by learning the link between a cluster's projected total mass and its observable gas signals from the expensive simulations, and then using that learned link on cheaper dark-matter-only ones.

Where AI came in

The researchers used a U-Net, a type of convolutional neural network built to turn one image into another image of the same size. They trained six of these networks on the Three Hundred set of gas-and-gravity simulations, feeding each one a flat 80 by 80 pixel map of a cluster's total mass and asking it to produce the matching SZ or X-ray map. The networks were then run on clusters held back from training, and on mass maps from two dark-matter-only simulations. In effect, the trained network stands in for the costly gas physics simulation, producing the observable maps that the cheaper simulations cannot supply.

The generated maps were then scored against the simulated ground truth using several similarity measures and by fitting the standard relations between a cluster's mass and its gas signal. The team also took the activity inside the network's final layer and squeezed it down to two dimensions using t-SNE and UMAP, two methods for laying out complicated data on a flat plot, to see how the network grouped inputs from the different simulations.

Written by AIxSci from the checked record below, to give context for readers outside the field. It is not part of the record.

The work

Technical · from the record

U-Net convolutional networks were trained on The Three Hundred hydrodynamical cluster simulations to convert projected total mass maps into Compton-y (SZ) and bolometric X-ray surface brightness maps, and were then applied to total mass maps from dark-matter-only simulations. The generated maps were compared with ground-truth simulated maps using maximum mean discrepancy, mean relative difference and structural similarity, and through fits of the Y-M and LX-M scaling relations. For clusters above the pivot mass of 2x10^14 h^-1 M_sun, the percentage errors of the scaling-law parameters averaged (0.5+-0.1)%, while predictions for lower-mass clusters deviated more from the ground-truth datasets. Dimensionality reduction of the final convolutional layer with t-SNE and UMAP showed the Gadget_dm and Music_dm inputs lying close to Gadget_hy and the Gizmo_hy inputs separated from the rest.

How AI was used

Halos with M200 above 10^13.5 h^-1 M_sun were selected from The Three Hundred hydrodynamical runs (Gadget-X, Gizmo-Simba) and from Gadget-X DM-only and Music DM-only runs, and particle data were projected into 80x80 pixel total mass, SZ and X-ray maps after Gaussian smoothing and downsampling. Maps were normalised by a log10 transform followed by standardisation, chosen after testing five normalisation schemes. A U-Net with an encoder of 32-256 filters, a 512-filter bottleneck with dropout, and a transposed-convolution decoder, with about 7.8x10^6 trainable parameters, was trained with the ADAM optimizer and a mean absolute error loss for 100 epochs, with the learning rate halved after five epochs without improvement, using an 80/20 train-test split. Six such models were trained, one per observable for each of the Gizmo+Gadget, Gizmo and Gadget training sets. The trained networks were then run on held-out hydrodynamical mass maps and on mass maps from the two dark-matter-only simulations to produce observable maps, which were compared to ground truth with MMD, MRD and SSIM and through least-squares broken power-law fits of the observable-mass scaling relations. Activations of the final convolutional layer were embedded in two dimensions with t-SNE and UMAP to inspect how the network separated the input simulations.

The shape of the work

Structural · the record, drawn

ACQUISITIONPREPARATIONTRAININGINFERENCEINFERENCEVALIDATIONINTERPRETATION1234567AIAIAIAISelect galaxycluster halosfrom simulationsProject andpreprocess mass,SZ and X-ray mapsTrain U-Netmodels to mapmass to observab…Predictobservable mapsfor held-out tes…Predictobservable mapsfrom dark-matter…Score maps withmetrics and fitscaling relationsEmbed finalconvolutionallayer for interp…↤ simulation↤ simulation↤ simulation
AI stepNo AI↤ what the AI stood in for

Select galaxy cluster halos from simulations

Obtaining raw data, whether by measurement, download or retrieval.

the criteria include selecting halos with a mass M200>1013.5​h−1​M⊙ at a redshift close to zerowhere the paper describes this · verbatim
in the paper

Project and preprocess mass, SZ and X-ray maps

Cleaning, filtering, normalising or labelling data already obtained.

The SZ maps are computed by using the publicly available library PYMSZ, that integrates the pressure field along the line of sightwhere the paper describes this · verbatim
in the paper

Train U-Net models to map mass to observables

Fitting model parameters, including fine-tuning an existing model. The AI stood in for simulation.

a total of six individual U-Net models (Table 3) were trained to predict observable maps in galaxy clusterswhere the paper describes this · verbatim
in the paper

Predict observable maps for held-out test clusters

Running a trained model over new data to predict, classify or score. The AI stood in for simulation.

We present the results obtained using the test dataset, which comprises 503 clusters from the Gadget simulationwhere the paper describes this · verbatim
in the paper

Predict observable maps from dark-matter-only simulations

Running a trained model over new data to predict, classify or score. The AI stood in for simulation.

we further assess its performance using the Gadget-X DM-only from the The300 projectwhere the paper describes this · verbatim
in the paper

Score maps with metrics and fit scaling relations

Testing outputs against ground truth.

The metrics considered are the Maximum Mean Discrepancy (MMD), the Mean Relative Difference (MRD), and Structural Similarity Index Measure (SSIM)where the paper describes this · verbatim
in the paper

Embed final convolutional layer for interpretation

Extracting understanding from model behaviour.

we applied a couple of dimensionality reduction algorithms and visualized the results in a two-dimensional planewhere the paper describes this · verbatim
in the paper

What the record says

Technical · every part carries its own basis

+ in the paper~ our reading− not reported

How to read the quotations. A quotation shows where the paper describes something. It does not quote every value beside it: one passage locates a part of the work, and values without their own quotation are our reading of that passage.

~Role of AI
AI produced the resultour reading

The paper's object of study is the observable maps produced by the U-Net models; every reported result is a property of those generated maps

+What the AI was for
we specifically utilize U-Net convolutional neural networks, a widely used deep learning architecturewhere the paper describes this · verbatim
+How it was taught
+Models named
U-Net · Trained from scratcht-SNE (Scikit-Learn) · Trained from scratchUMAP (UMAP-learn) · Trained from scratchin the paper
+How results were checked
Held-outin the paper
For data splitting, the training dataset comprises 80% of the samples, while 20% is allocated to the testingwhere the paper describes this · verbatim
+Code · weights · data
code not reportedweights not reporteddata availablein the paper
The data is freely available upon request following the guidelines of The Three Hundred collaborationwhere the paper describes this · verbatim
+Compute
Approximately 2-3 hours of training per model on an NVIDIA A100-SXM4-40GB GPU; model has approximately 7.8x10^6 trainable parametersin the paper

What this paper did not report

Technical · absence is published deliberately

Reported as not stated: 7 items
  • CodeWhether the code is available is not stated.
  • Trained model weightsWhether the trained model is available is not stated.
  • How many were testedThe paper gives no count of what was tested.
  • Version of U-NetWhich version of the model was used is not stated.
  • Version of t-SNE (Scikit-Learn)Which version of the model was used is not stated.
  • Version of UMAP (UMAP-learn)Which version of the model was used is not stated.
  • What step 7 replacedThe paper gives no basis for what the AI stood in for.

About this article

Record aix-00082, version 3, checked by a person on 2026-10-08. The record describes the paper; it does not assess whether the paper's findings are right. The paper is published under CC-BY; quotations are at most 25 words. How we work · Report an error

Cite this record: AIxSci (2026). Neural networks turn simulated dark matter maps into mock X-ray and microwave cluster images. Record aix-00082, version 3, checked 2026-10-08. https://aixsci.org/articles/aix-00082/