Discovering Gravitationally Lensed Galaxies Using a Vision Transformer Image Classification Model Trained on Synthetic and Real Data
ISEF · 2023 Physics and Astronomy
Overview
Gravitational lenses are rare but significant phenomena in astronomy, where a foreground galaxy magnifies and distorts the light of a distant galaxy. Each lens enables the study of dark matter and early galaxies, and collectively they are an independent method of calculating the Hubble Constant. Yet only a fraction of lenses that are estimated to exist have been found. My goal is to build an image classification model to find lenses in archival telescope data. Unlike conventional searches that use Convolutional Neural Networks operating on supercomputer GPU clusters, I use a Vision Transformer model trained on both real and simulated lenses and non-lenses, requiring forty minutes on one Nvidia GPU. Taking advantage of the characteristic that lenses have an image of both the source and lensing galaxies, I predicted self-attention would optimize the ability of the model to distinguish true lenses from artifacts. To train the model, I developed astrophysical parameter distributions that generate synthetic lens images of different configuration/distortion types. The training set consists of lenses and non-lenses from the Dark Energy Survey, Sloan Digital Sky Survey(SDSS), and synthetic images. Training with only real images resulted in an F1 accuracy score of ~96% on a control test set. Adding synthetic images to the training set increased the accuracy to ~98%. Finally, I applied the trained model on 60,000 images from the SDSS and identified thirteen undiscovered lens candidates. I created a website for researchers to use my model and find lenses in their image data.
Awards (1)
- University of Arizona: Renewal Tuition Scholarship
Competition history
- ISEF 2023
Resources
Related projects
ISEF · 2026
Curriculum Learning-Based Detection and Analysis of Dark Matter via Strong Gravitational Lensing
ISEF · 2022
Analysis of Ring Galaxies Detected Using Deep Learning With Real and Simulated Data
ISEF · 2017
A Linked Learning Approach to Automated Galaxy Morphology Classification
ISEF · 2026
Discovering Hidden Galaxy Populations in TNG100-1 With Unsupervised Autoencoder Learning
Closest projects by meaning, across every fair and year in the corpus.
Source: Regeneron International Science and Engineering Fair