Detection of asteroid trails in Hubble Space Telescope images using Deep Learning

Li Lyna Zhang, Andrei A. Parfeni, Laurentiu I. Caramete, Andreea M. Dobre, Nguyen Tran BacharXiv 2020

Abstract

Automating the detection of asteroid trails in astronomical archives is crucial for solar system research. This paper presents a Deep Learning pipeline utilizing Convolutional Neural Networks (CNNs) to identify these faint linear features in Hubble Space Telescope (HST) images. By leveraging data augmentation to expand a core dataset of 2,000 images to over 50,000, the model achieved a validation accuracy of 82% and a high recall of 91.74%. These results demonstrate the potential for automated systems to augment or replace manual crowdsourced efforts in processing massive astronomical datasets.

Introduction

The Hubble Space Telescope (HST) has amassed a vast archive of deep-space imagery over several decades. While primarily designed for distant galactic observations, these long-exposure photos frequently capture "photobombing" asteroids within our solar system. These objects appear as thin, faint, linear streaks due to their motion relative to the telescope. Identifying these trails is essential for tracking Near-Earth Objects (NEOs) and refining dynamical models of the solar system.

Traditionally, this task has relied on manual inspection through citizen science projects like "Hubble Asteroid Hunter" on Zooniverse. However, as data volumes continue to grow, manual classification becomes an unsustainable bottleneck. The primary challenge for automation is the "needle in a haystack" nature of the data: asteroid trails are often extremely subtle and easily confused with image noise, cosmic rays, or the edges of distant galaxies.

A typical Hubble Space Telescope image featuring a faint, linear asteroid trail.

Methodology

The researchers developed a supervised learning pipeline centered on Convolutional Neural Networks (CNNs), the state-of-the-art for image recognition tasks.

Dataset and Preprocessing

The study utilized a curated dataset of 2,000 images (1,036 with confirmed trails and 964 without) sourced from the Zooniverse project and the European Space Agency (ESA). To prepare the data for the CNN, images were resized to 256x256 pixels, converted to grayscale, and normalized to a [0, 1] pixel value range.

Data Augmentation

Given the relatively small size of the initial dataset, data augmentation was critical to prevent overfitting. Using the Keras ImageDataGenerator, the authors applied random rotations, zooms, shifts, and shears, expanding the training set from 1,600 to 51,200 samples. This 25-fold increase in data volume was instrumental in achieving stable model performance.

Model Architecture

The CNN architecture consisted of two pairs of Convolutional and Max Pooling layers (using 2x2 filters) to extract spatial features. These were followed by a dense, fully connected layer with a sigmoid activation function for binary classification (trail vs. no trail). The network was trained for 500 epochs using Stochastic Gradient Descent (SGD) with a learning rate of 0.001.

Results and Discussion

The best-performing model achieved a validation accuracy of 82% and an F1 score of 0.84. Notably, the model exhibited a high recall of 91.74%, meaning it successfully identified the vast majority of actual asteroid trails. However, precision was lower at 77.45%, indicating a tendency toward false positives—a "trigger-happy" behavior that is often preferable in initial screening tools to ensure no potential candidates are missed.

A collection of image crops used for training, demonstrating the subtle nature of asteroid streaks against cosmic noise.

A key insight from the study is the "subtlety paradox": CNNs often find complex, multi-featured shapes easier to classify than simple geometric ones. Because asteroid trails are essentially thin, straight lines, the model occasionally struggled to distinguish them from other linear artifacts or background noise. The success of the model relied heavily on the massive augmentation of the training data, which allowed the network to learn the subtle variations of these streaks across different backgrounds.

Conclusion and Future Work

While the 82% accuracy mark represents a significant step toward automation, several hurdles remain for reaching the 90%+ range. Future research will focus on:

  • Star Masking: Implementing a preprocessing step to identify and remove bright stars, which often create diffraction spikes or noise that mimics trails.
  • Advanced Pooling: Exploring Average Pooling or dilated convolutions to better capture the thin, faint nature of the streaks.
  • Hybrid Architectures: Combining CNNs with Support Vector Machines (SVMs), which are historically effective at identifying simple geometric shapes like lines.

By refining these automated techniques, researchers can more efficiently mine the HST archives, providing a scalable solution for solar system object detection in the era of big data astronomy.

Summary updated

BibTeX
@misc{zhang2020detection,
  author = {Li Lyna Zhang and Andrei A. Parfeni and Laurentiu I. Caramete and Andreea M. Dobre and Nguyen Tran Bach},
  title = {{Detection of asteroid trails in Hubble Space Telescope images using Deep Learning}},
  year = {2020},
  eprint = {2010.15425},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2010.15425},
}
Figure