Publication:

Spectromer: a Visual Transformer-Based Model for Spectral Data

dash.author.emailluis.strano@gmail.com
dash.depositing.authorStrano Moraes, Luis Felipe
dash.licenseLAA
dc.contributor.advisorProtopapas, Pavlos
dc.contributor.advisorWang, Hongming
dc.contributor.authorStrano Moraes, Luis Felipe
dc.contributor.committeeMemberBecker, Ignacio
dc.date.accessioned2025-09-18T02:11:43Z
dc.date.available2025-09-18T02:11:41Z
dc.date.created2025
dc.date.issued2025-06-12
dc.date.submitted2025
dc.description.abstractWe present Spectromer, a novel framework leveraging Vision Transformers (ViTs), a class of deep learning models originally developed for image recognition, for the analysis of astronomical spectral data. By converting traditional one-dimensional spectral data, where each spectrum is represented as a sequence of intensity values over wavelength, into two-dimensional image-like representations, Spectromer enables Vision Transformers to leverage their spatial self-attention mechanism for capturing both local and global spectral features. We fine-tune a base model, pretrained on ImageNet, using images constructed from SDSS and LAMOST spectral data, which together encompass several million spectra from diverse astronomical objects. These images are generated by transforming one-dimensional spectral data into two-dimensional image representations suitable for vision transformer architectures. We then validate this model on key downstream tasks including stellar object classification and redshift estimation, demonstrating strong performance and scalability. Spectromer has provided either comparable or better results depending on downstream tasks with other models, showing similar R^2 to AstroCLIP’s spectrum encoder even when including data from different astronomical objects as well as showing higher classification accuracy versus solutions based on Support Vector Machine and Random Forests. Our results highlight Spectromer’s potential to advance spectral analysis by leveraging pretrained vision models to enable precise interpretation of large-scale astronomical datasets beyond their original design. To our knowledge, this is the first application of ViTs to spectroscopic data and among the first to demonstrate results on a large-scale, real observational dataset without relying on synthetic data.
dc.description.sponsorshipExtension Studies
dc.format.mimetypeapplication/pdf
dc.identifier.citationStrano Moraes, Luis Felipe. 2025. Spectromer: a Visual Transformer-Based Model for Spectral Data. Masters Thesis, Harvard University Division of Continuing Education.
dc.identifier.other32046883
dc.identifier.urihttps://p2p8-sa-zuvru-a9vusux.re-cotta.com/handle/1/42719364
dc.language.isoen
dc.subjectDeep learning
dc.subjectLarge scale spectral data
dc.subjectMachine learning
dc.subjectRedshift estimation
dc.subjectStellar classification
dc.subjectVision Transformers
dc.subjectComputer science
dc.subjectArtificial intelligence
dc.subjectAstronomy
dc.titleSpectromer: a Visual Transformer-Based Model for Spectral Data
dc.typeThesis or Dissertation
dc.type.materialtext
dspace.entity.typePublication
oaire.licenseConditionLAA
thesis.degree.date2025
thesis.degree.departmentExtension Studies
thesis.degree.grantorHarvard University Division of Continuing Education
thesis.degree.levelMasters
thesis.degree.levelMasters

Open/View Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
STRANOMORAES-DOCUMENT-2025.pdf
Size:
1.05 MB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license_Strano Moraes.pdf
Size:
72.19 KB
Format:
Adobe Portable Document Format
Description: