← The journal
Research / Machine Learning

Exoplanet Detection Using Machine Learning on JWST Images

A BRAC thesis I co-authored: contrastive and few-shot learning (ResNet18 Siamese nets, YOLO) to find faint exoplanets in JWST images, at 92.16% accuracy.

My undergraduate thesis at BRAC University, co-authored with fellow students, used contrastive and few-shot learning to find faint exoplanets in direct images of space, and reported 92.16% accuracy. The repository record is at BRAC University DSpace (handle 10361/25223). This post is the approach in plain English.

The problem: a faint planet next to a bright star

Most exoplanets are found indirectly, from the dip in a star's light as a planet passes in front of it. Direct imaging photographs the planet itself, and it has become far more practical since the James Webb Space Telescope, whose MIRI instrument carries a coronagraph that blocks most of the host star's light.

Even then, the planet is a faint smudge beside something far brighter, and labelled examples are scarce. Standard convolutional and graph neural networks struggle on both counts: they confuse the faint planet with the star's glare, and they need more labelled images than exist.

The approach

The thesis combines two ideas, each aimed at one of those problems:

  1. Contrastive learning teaches a network what makes an exoplanet different from a star in a noisy image, by training it to pull similar examples together and push different ones apart. We used a ResNet18 backbone inside a Siamese network.
  2. Few-shot learning makes that useful when only a handful of labelled exoplanet images exist.
  3. Object detection then locates the objects in the image. We tested two YOLO models on top of the learned representation.

The results

The thesis reports 92.16% accuracy. With YOLOv5 it reports:

MeasureStarsExoplanets
Dice coefficient1.00.9
Intersection over Union1.00.8

Dice and IoU measure how well a predicted region overlaps the true one, so they say how precisely the model outlines each object, not just whether it found it. The gap between stars and exoplanets is the expected one: the planet is the faint, small target.

Why it still matters to my work

The pattern in this thesis comes back in almost every AI product I build: the useful signal is small, labelled data is scarce, and the honest metric is the one that measures the hard case. That is as true for retrieval in Context Heavy as it was for a planet next to a star.

Cite it from the record

This is co-authored university work, so the repository record is the canonical source for the title, the full author list and the abstract. I am credited there as Antor, Shihab Shahriar.

Questions & answers

What method did the thesis use to detect exoplanets?

Contrastive learning with a ResNet18 Siamese network to separate exoplanets from stars in noisy direct images, few-shot learning for the scarce labelled examples, and YOLO object detection on top. It reports 92.16% accuracy.

Where can I read the thesis?

On BRAC University's DSpace repository, handle 10361/25223. The record is the canonical source for the full author list and abstract.

Keep reading
Shihab portraying Goku in an anime-inspired costume, keeping his own facial identity
The other lives of Shihab

01/ 08

The pursuit of better.

Goku / Dragon Ball

A training arc never really ends.

Personal cosplay artwork. Same face. A different world.Enter the six-form training arc ↗
A little energy from the whole world.
1 of 8