How a neural network tells black holes from neutron stars ✎ express

Original: "Neuro-Parametric Spectral Classification of Black Hole and Neutron Star X-ray Binary Systems"
arXiv:2601.18139 · 2026-01-26 · arXiv non-exclusive · independent analysis · 2 min
A neural network learned to distinguish black holes from neutron stars by their X-ray glow, and it turned out that just five simple numbers are enough.

For years, an X-ray telescope in orbit recorded how binary systems shine, where an ordinary star orbits a black hole or a neutron star. Matter from the companion falls onto the compact object, heats up to millions of degrees, and emits X-rays. The archive accumulated thousands of spectra — graphs of how much light arrives at each energy. An experienced astronomer can tell a black hole from a neutron star by such a graph, but going through the archive by hand would take far too long.

The researchers trained a neural network on these spectra. The first version received only the brightnesses at different energies — hundreds of numbers. The second received the same brightnesses plus measurement uncertainties. Both learned to guess the type of object with 90–94% accuracy. But how exactly the network makes its decision remained a mystery: to it, a spectrum is just a long string of digits.

To peek inside the neural network's "head," the physicists used a good old trick: they fitted each spectrum with a simple model made of two components — a hot disk and a power-law tail. That gave five numbers for each object.

The first is the disk temperature: how strongly the infalling matter is heated. The second is the slope of the power-law tail: it shows how quickly the brightness drops with increasing energy. The third is the ratio of the disk and tail contributions: which one dominates the glow. The fourth is how well the model describes the data. The fifth is the scatter in brightness from observation to observation. These five parameters reflect the physics of accretion — the process by which matter spirals in and falls onto the compact object.

Then they built a third neural network that saw not the spectra but only these five numbers. The accuracy stayed at the same level. This means the networks really do rely on understandable astrophysical signatures, not on random noise in the data. The method is not tied to a specific satellite: the same five parameters can be extracted from data from other X-ray telescopes, current and future. So the machine not only makes a diagnosis but also explains it in a language familiar to astronomers.

The archive of the RXTE satellite used in the study contains observations spanning 16 years — from 1995 to 2012. Over that time, it recorded X-ray flares from hundreds of binary systems, and now these old data have found a second life thanks to neural networks.

In Carl Sagan's novel Contact, a signal from an extraterrestrial civilization hides in the noise of radio data. Here the idea is similar: among thousands of X-ray spectra, a neural network fishes out hidden information about the nature of compact objects.

Scientists
Stephen HawkingJacob BekensteinFritz ZwickyBernhard RiemannJoseph WeberKarl Schwarzschild
Concepts
x ray binary deep neural network deep learning in medical imaging spectral fitting neural network x ray spectrum spectral pattern NMR spectroscopy binary black hole X-ray radiation image classification black box nustar classification medical image analysis chandra brain cancer detection nuclear spin spectroscopy xmm newton molecular property prediction