On the performance of pre-trained vision transformers for supernova spectral classification using different spectral representations
J. Serrano BellP. Gálvez MolinaV. Contreras RojasW. Fox FortinoM. RojasP. Protopapas
F. Bianco J. Serrano Bell
P. Gálvez Molina
V. Contreras Rojas
W. Fox Fortino
M. Rojas
P. Protopapas

F. Bianco
+7
This work evaluates pre-trained vision Transformers (ViT, Swin, and DINOv3-pretrained ViT) for supernova spectral classification, comparing how different spectral representations affect performance. On a dataset of 4,011 spectra augmented into three classes (normal Ia, other Ia subtypes, core-collapse), a plain flux-wavelength line plot generally outperforms a purpose-built heatmap representation. The best model achieves a macro-F1 of 86.3%, with 94% F1 for normal Ia, 77% for other Ia, and 88% for core-collapse, showing that Transformer-based vision models yield competitive single-spectrum classification.

arXiv ·
· August 21, 2026