astronomy/ai produced the result/The Astrophysical Journal 2025 · v2
Neural network turns galaxy shape distortions into maps of invisible cluster mass
Astronomers trained a convolutional neural network to convert noisy measurements of distorted galaxy shapes into maps of projected mass, using mock data matched to a coming wide-field survey, then applied it to real observations of the Coma cluster.
spectrum · one line per step, placed by what the step does · bright lines used AI
Weak-lensing Mass Reconstruction of Galaxy Clusters with a Convolutional Neural Network. II. Application to Next-generation Wide-field Surveys
The Astrophysical Journal, 2025
doi:10.3847/1538-4357/adb1b7 · record aix-00032 v2 · checked 2026-10-08
- AI was for
- Structure determination
- Model family
- Convolutional neural network
- Checked by
- Held-out200 tested
- Code
- not reported
The finding the paper is about came from the AI.
What this research was about
Most of the matter in the universe cannot be seen. It betrays itself only by its gravity, which bends the light of more distant galaxies passing nearby. That bending slightly stretches the apparent shape of each background galaxy, an effect known as weak gravitational lensing. By measuring the stretch of many galaxies at once, astronomers can work backwards to a map of how much mass lies along each line of sight. The difficulty is that each galaxy already has its own random shape and its own measurement errors, both far larger than the lensing stretch itself. The signal only emerges from averaging, and the averaging blurs the map.
The researchers set out to produce such mass maps, called convergence maps, from shear measurements of the kind expected from the Vera C. Rubin Observatory's forthcoming wide survey. They built mock catalogues of galaxy shapes from cosmological ray-tracing simulations, assuming that survey's field of view, depth, galaxy density and measurement errors, and kept the simulated true mass maps alongside them as a reference.
Where AI came in
The network, a convolutional neural network of eight layers trained from scratch, did the step from distorted shapes to mass map. Its input was three images of the sky patch: the two components of average galaxy stretch, plus the average measurement error in each pixel. Its output was the projected mass map. It learned by being shown 7,000 simulated fields together with their known true maps, with the loss function weighted to pay more attention to the densest pixels. This replaces the conventional algorithm that performs the same inversion by direct calculation, a method labelled KS93 here and used as a comparison.
Everything after the map was ordinary computation, not learning: locating peaks as cluster candidates, measuring masses, computing correlation functions and tracing filaments. The network was tested on 200 held-out simulated fields, on blank fields with the same noise, on fields masked to an irregular telescope footprint, and finally on a published shear catalogue of the Coma cluster from the Subaru telescope's Hyper Suprime-Cam.
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
The authors trained a convolutional neural network to turn noisy weak-lensing shear measurements into projected mass (convergence) maps, using mock catalogs built for the field of view and depth of the Vera C. Rubin Observatory's LSST. On 200 held-out test fields the reconstructed convergence correlated with the truth with a pixel-by-pixel regression slope of about 0.70, compared with about 0.47 for the earlier H21 CNN, and the kappa-kappa auto-correlation function was recovered except below about 2 pixels. Cluster detection from the CNN maps reached about 75 per cent completeness at about 10^14 solar masses, against about 35 per cent for the KS93 method, and all three methods reached 100 per cent completeness above about 3.5x10^14 solar masses. Applied to Subaru/Hyper Suprime-Cam observations of the Coma cluster, the reconstruction gave an NFW fit of M200 = 7.4 (+2.4/-3.1) x10^14 solar masses and showed three filament branches also found by earlier matched-filter and shear-peak analyses.
How AI was used
Publicly available MassiveNuS ray-tracing convergence maps for a source plane at z=2.5, covering a 3.5 by 3.5 degree field at 512x512 resolution, were used to simulate mock weak-lensing shear catalogs with a source density of about 33 per square arcminute, an intrinsic shape dispersion of 0.24 and magnitude-dependent measurement errors. Each mock field was reduced to a three-channel 512x512 input of mean ellipticity components and mean measurement error, with no Gaussian smoothing of the inputs. The 10,000 maps were split into 7,000 training, 2,800 validation and 200 test fields, with rotations and flips expanding the training set. A convolutional network of eight 2D convolutional layers, with differently sized filters in the initial layers concatenated together, skip connections, LReLU activations, dropout and constant 512x512 internal resolution (5.6x10^6 free parameters), was trained for 1,000 epochs with Adam at a learning rate of 1e-5 and gradient clipping, using a weighted mean-squared-error loss modified to raise the weighting of high-convergence pixels. The trained network was then run over the held-out test fields, over 1,000 mock null fields, over inputs masked with an irregular Subaru/HSC footprint, and over a published Subaru/Hyper Suprime-Cam shear catalog of the Coma field; peak finding, projected-mass measurement, TreeCorr correlation functions and DisPerSE filament extraction were applied to the resulting maps as non-learned post-processing, with KS93 and the earlier H21 CNN run as comparisons.
The shape of the work
Structural · the record, drawn
no AI
Obtain simulated convergence maps
Obtaining raw data, whether by measurement, download or retrieval.
We use the publicly available convergence map from the MassiveNuS cosmological simulation.where the paper describes this · verbatim
no AI
Simulate mock wide-field shear catalogs
Numerical or physics simulation, including where a learned surrogate replaces it.
we generated training datasets of mock shear catalogs with a source density of 33 arcmin-2 from cosmological simulation ray-tracing datawhere the paper describes this · verbatim
no AI
Split and augment the dataset
Cleaning, filtering, normalising or labelling data already obtained.
We divide the 10000 convergence maps into 7000 for training, 2800 for validation, and 200 for testing.where the paper describes this · verbatim
AI
Train the CNN with a reweighted loss
Fitting model parameters, including fine-tuning an existing model. The AI stood in for conventional algorithm.
For training our CNN model, the Adam optimizer was used with a learning rate of 10−5.where the paper describes this · verbatim
AI
Reconstruct convergence maps for test, null and masked inputs
Running a trained model over new data to predict, classify or score. The AI stood in for conventional algorithm.
we performed mass reconstruction using 200 test datasets that were not used either in training or validationwhere the paper describes this · verbatim
no AI
Compare reconstructions with truth and baselines
Testing outputs against ground truth.
To calculate the auto-correlation function, we used TreeCorr on 200 mass maps from the truth and the reconstruction.where the paper describes this · verbatim
no AI
Identify cluster peaks and measure completeness
Reducing a candidate set by filtering or ranking, in a single pass.
First, we identify cluster candidates as local peaks on both the truth and reconstructed maps.where the paper describes this · verbatim
AI
Apply the CNN to Subaru/HSC Coma observations
Running a trained model over new data to predict, classify or score. The AI stood in for conventional algorithm.
We present the mass reconstruction of the Coma cluster in the left panel of Figure 10.where the paper describes this · verbatim
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.
The convergence (mass) maps the paper reports on are the direct output of the trained CNN; all reported metrics describe those outputs.
Our CNN model is composed of 8 two-dimensional (2D) convolutional layerswhere the paper describes this · verbatim
we performed mass reconstruction using 200 test datasets that were not used either in training or validationwhere the paper describes this · verbatim
We use the publicly available convergence map from the MassiveNuS cosmological simulation.where the paper describes this · verbatim
What this paper did not report
Technical · absence is published deliberately
- CodeWhether the code is available is not stated.
- Trained model weightsWhether the trained model is available is not stated.
- ComputeThe hardware or time used is not stated.
- Version of Current CNN mass-reconstruction model (this work)Which version of the model was used is not stated.
- Version of H21 CNN model (Hong et al. 2021)Which version of the model was used is not stated.
About this article
Record aix-00032, version 2, 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