AGNFormer. I: Reconstruction of active galactic nucleus spectra using a probabilistic transformer model
Benedict L. Rouse, Franz E. Bauer, Tomasz Różański, Guillermo Cabrera-Vives, Patricia Arévalo, Cristóbal Rodrigo Donoso Oliva, Pavlos Protopapas, Gordon T. Richards,
Key points
From the paper's conclusion- We explore how an uncertainty-aware transformer-based architecture can leverage information embedded across the entire observed optical spectra of active galactic nuclei (AGNs), focussing on the algorithm's ability to predict unseen or masked parts of luminous AGN spectra, providing a direct probe of the learnable correlations between AGN continua and broad lines.
Abstract
When analysing spectroscopic data to extract physical properties, emphasis is often placed on small portions of a spectrum (e.g. ionisation diagnostic diagrams, broad Hβ or Mg ii emission lines, etc.), potentially discarding a wealth of useful information. We explore how an uncertainty-aware transformer-based architecture can leverage information embedded across the entire observed optical spectra of active galactic nuclei (AGNs), focussing on the algorithm's ability to predict unseen or masked parts of luminous AGN spectra, providing a direct probe of the learnable correlations between AGN continua and broad lines. We introduce AGNFormer -1 $; missing halves), inputting rest-frame spectral fluxes and uncertainties across the entire redshift range of the SDSS DR16 Quasar Catalogue. We evaluate the performance of the model on both full (no S/N limit) and high-quality (S/N $> 10) spectral samples using the negative-log likelihood and via comparisons with existing ̧iv and łyman reconstruction algorithms. The model successfully reconstructs unseen AGN broad lines up to an error floor of ≈2-6% of the flux at S/N ≈ 40, while the predictive power for larger unseen halves diminishes with distance from the cut-off wavelength of the input spectrum. Predictions faithfully reproduce the broad AGN spectral diversity across the entire optical and UV quasi-stellar object (QSO) main sequence parameter spaces, including both Gaussian and Lorentzian profile regimes, complexes, and narrow emission lines. The performance is found to be similar or better compared to previous spectral reconstruction algorithms. The high precision of the broad-line region reconstruction demonstrates that the method successfully aggregates information across the spectrum and highlights how the AGN continuum as well as weaker lines and complexes have the potential to assist astronomers in the extraction of the entire wealth of information embedded in AGN spectra. 's underlying model could be a valuable tool for processing the spectra of many other classes of astrophysical objects. AGNFormer
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Modeling Multi-band Active Galactic Nuclei Lightcurves Using an Self-supervised Attentive Neural Process NetworkarXiv · 2026
- Metalearning and AI for Time-Domain Astrophysics of AGNs in the Era of Large Scale SurveysProceedings of the International Astronomical Union · 2026
- QUEST: Quasar unsupervised encoder and synthesis toolAstronomy and Astrophysics · 2026
- The Optical and Infrared Are ConnectedThe Astrophysical Journal · 2026
- Probabilistic Interpolation of Sagittarius A*’s Multi-Wavelength Light Curves Using Machine LearningProceedings of the International Astronomical Union · 2026
- Detection of metal absorption lines in quasar spectra. A neural network approach using U-NetAstronomy & Astrophysics · 2026