AGNFormer. I: Reconstruction of active galactic nucleus spectra using a probabilistic transformer model

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

Authors

Publication Details

Journal
Astronomy and Astrophysics
Published
2026-11-24
DOI
https://doi.org/10.1051/0004-6361/202662107
Primary Topic
Galaxies: Formation, Evolution, Phenomena
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

AGNFormer. I: Reconstruction of active galactic nucleus spectra using a probabilistic transformer model

Ezequiel Treister, Pavlos Protopapas, G. Cabrera-Vives, P. Arévalo et al.
4 links
Astronomy and Astrophysics
Galaxies: Formation, Evolution, Phenomena
article

AGNFormer. I: Reconstruction of active galactic nucleus spectra using a probabilistic transformer model

Ezequiel Treister, Pavlos Protopapas, G. Cabrera-Vives, P. Arévalo, Gordon T. Richards, Tomasz Różański, C. Donoso-Oliva, Benedict L. Rouse, Franz E. Bauer, Paula Sánchez-Sáez, Christian Wolf
article en

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

Astronomy and Astrophysics
National Computational Infrastructure, Australian Government, Agencia Nacional de Investigación y Desarrollo, National Cancer Institute
Galaxies: Formation, Evolution, Phenomena
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon