Neural Network Sculptor: Reading a Gravitational Lens from Four Points ✛ ✎

Original: "Speeding up Gravitational Lens Mass Models with Machine Learning: Applications in X-ray Astronomy"
arXiv:2607.22812v1 · 2026-07-24 · arXiv non-exclusive · independent analysis · 2 min
Just four image coordinates let a neural network predict the structure of a gravitational lens in seconds, turning it into an ultra-precise X-ray telescope.

Four faint streaks on an image — that's all an astronomer sees. Like a sculptor reconstructing the shape of invisible glass from four shadows. About a hundred years ago, Albert Einstein predicted, and Fritz Zwicky proposed using gravitational lenses — natural telescopes made of dark matter, amplifying the light of distant active galactic nuclei by hundreds of times. But to apply such magnification, you need a precise map of the invisible mass.

Previously, astrophysicists manually tweaked parameters, spending days on a single system. The process was like sculpting by touch: each possible mass distribution was checked against the four image points. With upcoming sky surveys — Euclid, Rubin — the number of systems will reach thousands. Manual work became a bottleneck.

The solution came from machine learning. Researchers created a digital sculptor from shadows — two fully connected neural networks trained on six million computer simulations. The networks never saw sky images. They were fed only the coordinates of four images, and in return they predicted the mass distribution and ellipticity of the lens — like a sculptor deducing the curvature of glass from the arrangement of shadows.

0.5 milliarcseconds — that's the achieved positional accuracy. It's like spotting the edge of a coin on the lunar surface from Earth.

On a validation set of 200 simulated systems, 75% of models met this benchmark in an average time of 126 seconds. The method was also tested on real quasars — HE0435-1223, PG1115+080. Optimization took between 22 and 319 seconds, never relying on brightness data, which is distorted by microlensing from stars inside the lens.

Now the 'lens labeler' turns tedious tuning into a fast procedure. It opens systematic analysis of active galactic nuclei at high redshifts, searching for binary black holes after galaxy mergers, studying dark matter and the physics of gravitational waves. The sculptor, who once worked for days, now finishes in minutes — and is ready to process thousands of new shadows.

Both neural networks were trained only on synthetic data, never seeing real sky images. On actual quasars, they performed as if trained on them.

Both neural networks never saw real images during training: they were trained on synthetic data, but on real quasars they worked as reliably as if they were trained on real images.

Scientists
Fritz ZwickyAndrey Markov
Concepts
gravitational lensing modeling neural network galaxy mapping Large Language Models protein language model microlensing medical imaging ai gravitational lensing neural networks in spatial mapping Machine Learning deep learning in medical imaging generalization ai astrophysics maser parameter image classification xgboost training data dark matter detection methods cosmic distance ladder xrism