Gamma Sky as an Orchestra: Weak Supervision Catches Anomalies ✛ ✦

Original: "Weakly supervised machine learning for model-agnostic searches of new phenomena in the $$\gamma$$-ray sky"
arXiv:2607.07158 · 2026-07-08 · CC BY 4.0 · 3 min
Comparing a pure orchestra with a recording where an uninvited soloist is hidden, weakly supervised learning fishes out anomalous gamma spectra without knowing what that soloist sounds like.

The gamma sky, captured by the Fermi telescope, is a grand symphony of thousands of sources. Here, the rhythmic pulsations of pulsars, the powerful chords of active galactic nuclei, but most of all — unidentified objects, whose part remains a mystery. Traditional methods of searching for new physics require a precise score: you need to know what the signal from dark matter annihilation or axion-photon oscillations sounds like. But nature may not play the tune we expect. So scientists turned to weakly supervised learning — a technique that catches dissonance even without knowing the notes.

The idea is as elegant as ear training. Imagine two audio recordings: the first is a flawless orchestra (pure background), the second is the same orchestra, but an uninvited soloist might have been in the hall, their voice weaving into the sound (mixed sample). The weakly supervised classifier learns to distinguish these recordings, revealing features uncharacteristic of the background. Just as an experienced listener unerringly senses a false note, the algorithm sharpens its sensitivity to the slightest deviations. The study used real and synthesized with normalizing flows spectra (methods of spectroscopy and photometry), and the classifier was an ensemble of decision trees with gradient boosting.

The Fermi-LAT catalog contains 2430 unidentified sources — more than any known class. It's as if in an orchestra every third musician played an unknown instrument.

The authors tested the method in three scenarios. In the first, separating pulsars from active galactic nuclei: with an anomaly class fraction of 10%, weak supervision achieved a true discovery rate of about 0.7, nearly matching the supervised counterpart. In the second, searching for dark matter subhalos of 80 GeV annihilating into b-quarks. Here the modest result (discovery fraction ~0.4 at a low false-alarm rate) highlighted the key point: the method does not require precise knowledge of the signal spectrum, and thus can see things that don't fit any model. The third scenario is even more subtle: the search for spectral distortions from axion-photon oscillations (idea of Roberto Peccei) in a galaxy. Even with a signal fraction of 3%, the algorithm caught anomalies, although the false-positive rate increased — an inevitable price for freedom from templates. To hear the quiet voice of a soloist, you have to amplify all sounds, risking taking hissing for a new part.

To amplify the 'background chorus,' the scientists generated synthetic spectra with normalizing flows — an advanced generative model. Like a composer writing variations on a theme of real data, so that the classifier's ear gets used to any shades of normality.

Such a strategy does not replace targeted searches, but gives astrophysicists an automatic unusualness detector. It ranks hundreds and thousands of sources, singling out the most suspicious candidates. In the future, the method will be applied to the entire Fermi dataset and data from new observatories. Deep neural networks, Bayesian analysis — all this will turn the blind hunt for anomalies into a discovery pipeline. It's noteworthy that similar approaches are already used at the Large Hadron Collider to search for new particles — anomalies do not recognize boundaries between the sky and the accelerator.

When Vera Rubin noticed peculiarities in the rotation of galaxies, she wasn't looking for dark matter: she saw an anomaly. When Jocelyn Bell Burnell discovered radio pulses, she didn't model a neutron star: she noticed disharmony. Weakly supervised algorithms continue this tradition: listening to the sky without knowing what you're looking for, and being surprised.

Nearly a third of the sources in the Fermi catalog remain unidentified, as if in an orchestra every third instrument is unknown and plays a mysterious melody.

It's reminiscent of Blake Crouch's novel 'Dark Matter': the search for an invisible substance by its gamma fingerprints leads to doors to parallel realities, and every anomalous spectrum could be such a door.

E_c \simeq 2.5\,\text{ГэВ}\,\left(\frac{|m_a^2 - \omega_{\rm pl}^2|}{1\,{\rm нэВ}}\right)\left(\frac{B_\perp}{\mu\text{Г}}\right)^{-1}\left(\frac{g_{a\gamma}}{10^{-11}\,\text{ГэВ}^{-1}}\right)^{-1}
Above this energy, oscillations become energy-independent, and near it characteristic 'wriggles' appear in the spectrum.
l_{\rm osc} = 32\,{\rm кпк}\,\sqrt{1+(E_c/E_\gamma)^2}\left(\frac{B_\perp}{\mu\text{Г}}\right)^{-1}\left(\frac{g_{a\gamma}}{10^{-11}\,\text{ГэВ}^{-1}}\right)^{-1}
Characteristic scale on which the conversion probability periodically changes, leading to modulation of the observed flux.
Scientists
Andrey Markov
Concepts
Weakly Supervised Learning self-supervised learning fermi telescope weak lensing ai astrophysics anomaly detection gamma ray spectroscopy classifier weak measurement training data symbolic regression labeled data spectral analysis ai false positive event selection astrophysical signal detection gamma ray telescope sky survey signal averaging noise reduction spectroscopy