On the performance of pre-trained vision transformers for supernova spectral classification using different spectral representations
summary
The gist
The spectroscopic classification of supernovae is a key component of time-domain astronomy and plays an important role in the identification of Type Ia events for cosmological…
In short
This study tested Transformer-based vision models for classifying supernova spectra using different visual representations of one-dimensional data. By comparing direct flux-wavelength plots against flux-difference heatmaps, and testing various fine-tuning strategies on different Transformer architectures, the researchers found that these models can achieve competitive performance. The best model reached an 86.3% macro-F1 score.
Key concepts
- Flux-Wavelength Plot
- This is a direct visualization of a supernova spectrum where the x-axis represents wavelength and the y-axis represents the measured flux (brightness) at that wavelength. The study found this representation generally performed best across all tested models, providing a clear view of spectral features.
- Flux-Difference Versus Wavelength-Difference Heatmap (dfdw)
- This is an alternative visual encoding for spectra. Instead of showing raw flux, it maps the difference in flux values between adjacent wavelengths against the difference in wavelength between those points. This representation is designed to emphasize subtle structural differences within the spectrum.
- Transformer-based Vision Models
- These are AI architectures originally designed for images, but adapted here to classify one-dimensional spectral data. The researchers used various versions, including ViT and Swin Transformers, showing that these complex models can effectively learn patterns in supernova spectra.
- Fine-Tuning Strategies
- This refers to how the AI model is trained on the data. The study compared three methods: freezing the entire model, training only the final classification layer, and fully fine-tuning all layers. Fully fine-tuning was shown to yield substantially larger performance improvements.
Terminology used across episodes
This episode discusses
- On the performance of pre-trained vision transformers for supernova spectral classification using different spectral representations · Paper Radio
- The Tiny Time-series Transformer: Low-latency High-throughput Classification of Astronomical Transients using Deep Model Compression
- An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- ABC-SN: Attention Based Classifier for Supernova Spectra
- Metrics for Multi-Class Classification: an Overview
- SuperNova IDentification spectral templates of 70 stripped-envelope core-collapse supernovae
- Decoupled Weight Decay Regularization
- Spectra as Language: Large Language Models for Scalable Stellar Parameter and Abundance Inference
- Deep-Learnt Classification of Light Curves
- Leveraging pre-trained vision Transformers for multi-band photometric light curve classification
- DINOv3
- Applying Vision Transformers on Spectral Analysis of Astronomical Objects
- Attention Is All You Need
- AppleCiDEr. II. SpectraNet: A Spectroscopic Neural Network Classifier for Transients Demonstrated on ZTF Follow-up Data · Paper Radio
The paper
On the performance of pre-trained vision transformers for supernova spectral classification using different spectral representations · Read on arXiv
J. Serrano Bell, P. Gálvez Molina, V. Contreras Rojas, W. Fox Fortino, M. Rojas, P. Protopapas, F. Bianco
Instituto de Ciencias Físicas (ICIFI-CONICET) · Instituto Tecnológico de Buenos Aires (ITBA) · University of Delaware · Departamento de Astronomđa, Universidad de La Serena · John A. Paulson School of Engineering and Applied Sciences, Harvard University · Joseph R. Biden, Jr. School of Public Policy and Administration, University of Delaware · Vera C. Rubin Observatory
Transcript
Introduction to the show: ident: Astrophysics. The day in astrophysics: observations, models and what the data forces.
Vera: I'm Vera.
Jocelyn: And I'm Jocelyn, here with Subrahmanyan.
Vera: We're looking at the paper: "On the performance of pre-trained vision transformers for supernova spectral classification using different spectral representations".
Title and authors: Vera: So we're looking at this paper today titled "On the performance of pre-trained vision transformers for supernova spectral classification using different spectral representations". It's about taking these large vision transformer models and seeing how well they do when classifying spectra, but it tests several different ways you can look at that data.
Jocelyn: Yeah, it really gets into how the visual representation matters when you apply these image-based architectures to data that is intrinsically one dimensional, which is a bit of a tricky spot. This paper explores how those different visual representations and the fine-tuning strategies change the final classification performance.
Subrahmanyan: From my side, I'm interested in how this affects our ability to reliably identify these Type Ia events for cosmology. If the classification is inconsistent because of how we visualize the spectrum, that uncertainty translates directly into our cosmological measurements.
Vera: Exactly what I mean. The authors are testing this on a dataset of four thousand eleven supernova spectra, which they've split into three astrophysically motivated classes: normal Type Ia, other Type Ia subtypes, and core-collapse supernovae <ref:2608.21520#pg3>. They show that they use two different visual encodings for the spectra: direct flux-wavelength visualizations and these heatmap representations called flux-difference versus wavelength-difference or dfdw.
Jocelyn: And what they found is that the direct flux-wavelength plot generally ranks as the top performer on average across all six model configurations they tested. That's a pretty concrete finding for us to start with.
Subrahmanyan: I wonder how much robustness that advantage holds when you move from a simple visualization to something more complex like those difference maps. The bigger picture is whether we can build models that are as robust as possible across different ways we present the same physical information.
The paper's summary: Vera: So, to summarize what they did, they took four different Transformer-based vision backbones—things like isotropic Vision Transformers and hierarchical Swin Transformers—and tried them on this dataset of spectra. They also looked at three distinct fine-tuning strategies for these models: freezing the backbone and only training the classifier head, partially fine-tuning by unfreezing the last four layers, or fully fine-tuning everything.
Jocelyn: And they compared these setups against each other across both visual representations we talked about earlier. They found that using those different backbones and tuning them differently led to a macro F1 score of eighty-six point three percent on the held-out test set for their best model, which was called vitb-p16.
Subrahmanyan: That's a solid number for a single-spectrum classification task. But what's important is how the error breaks down by class: they got ninety-four percent F1 for normal Type Ia, seventy-seven percent for other Type Ia subtypes, and eighty-eight percent for core-collapse supernovae. That tells us where the model is succeeding and where it still has trouble.
Vera: And then they pointed out a specific issue: the dominant misclassification they saw was confusion between Ia-91T and normal Ia spectra, which they say is a phase-dependent effect that matches what we already know about the spectral evolution of that subtype.
Jocelyn: So, it's not just a general classification problem; there's this specific confusion happening at certain phases. It sounds like the model is picking up on some subtle spectral changes but misinterpreting them when they happen in a specific way.
Subrahmanyan: That phase dependence is crucial because it means if we rely on this for cosmological applications, we need to be extremely careful about which phase of the supernova we are looking at and how that affects our results.
The paper's improvements: Vera: Now, looking at what the authors suggest as improvements, one key thing is that they showed how different visual encodings help. They found that using those direct flux-wavelength plots gives you the best average performance across all six model configurations they tested.
Jocelyn: And another improvement suggestion is about tuning the architecture itself. They compared using pre-trained backbones as fixed feature extractors against fully fine-tuning all backbone layers, and they found that fully fine-tuning gave substantially larger improvements in performance.
Subrahmanyan: That suggests that for a deep model like this, just training the top layer isn't enough; you need to train the whole thing to get those gains. That links back to my point about robustness—we need models that learn the underlying physics, not just memorize a few features at the output stage.
Vera: And they also highlighted leveraging pre-trained backbones, like that self-supervised DINOv3 backbone, which they showed can provide strong performance even when you're not doing any fine-tuning at all in certain settings.
Jocelyn: So it’s about using the right tools—the best visual input representation and the right training approach—to get a good result from these vision models, regardless of what specific backbone you choose.
Subrahmanyan: It's interesting how the paper focuses on that practical optimization rather than just building bigger models. It shows that optimizing the setup around a fixed architecture can yield significant gains in classification accuracy.
Conclusion: Vera: So, wrapping this up with this paper on "On the performance of pre-trained vision transformers for supernova spectral classification using different spectral representations," the main thing to take away is that Vision Transformer architectures can indeed achieve competitive performance for automatic single-spectrum supernova spectral classification.
Jocelyn: And the most persistent source of error they identified was definitely that confusion between Ia-91T and Ia-norm spectra, and how it changes based on the phase of the supernova, specifically when it rises to sixty-two point five percent at post maximum phases.
Subrahmanyan: That phase dependence is a major caveat for anyone using these models for cosmology; we have to be aware that only twenty-three point three percent of premaximum Ia-91T spectra are misclassified, but that number jumps up significantly by post-maximum phases.
Vera: So, the paper confirms that while these AI models can do this, they still need refinement before we can fully rely on them for precise cosmological tasks.
Jocelyn: It sounds like the next challenge in this area is figuring out how to make that subtype discrimination for Ia-91T better; that's where the real work is going to be.
Subrahmanyan: I agree, improving subtype discrimination for Ia-91T remains an open challenge for spectroscopic classifiers, and we need observational data that can probe those phase dependencies more thoroughly to confirm or deny these model predictions.
More episodes
- The day in conversation for 2026-12-05
- Daily Summary for 2026-12-05
- 2607.10983-Fast(er)PM and Moving Mesh: JAX-native Geometric Multigrid Methods
- 2604.22741-Describing the swdatatoolkit: A Space Weather Data Analysis Library
- 2411.08647-The Galactica database: an open, generic and versatile tool for the dissemination of simulation data in astrophysics
- 2410.02285-Deep Investigation of Neutral Gas Origins (DINGO): Options for the Processing and Storage of Radio Astronomy Data for robust Deep Spectral Line Imaging in the SKA-Era using uv-Grids
- 2510.25953-A Natural Language Interface for Efficient Data Retrieval in SDSS
- 2605.30761-Characterising and mitigating Bluetooth and WiFi radio frequency interference at the Parkes Observatory
- 2609.30183-Differential Double Blind Fourier Holography (diff-DBFH)
- The day in conversation for 2026-12-04