Deep transfer learning for the classification of variable sources

Dae Won Kim, Doyeob Yeo, Coryn A. L. Bailer‐Jones, Giyoung LeeAstronomy and Astrophysics 2021

Abstract

Ongoing or upcoming surveys such as Gaia, ZTF, or LSST will observe the light curves of billions or more astronomical sources. This presents new challenges for identifying interesting and important types of variability. Collecting a sufficient amount of labeled data for training is difficult, especially in the early stages of a new survey. Here we develop a single-band light-curve classifier based on deep neural networks and use transfer learning to address the training data paucity problem by conveying knowledge from one data set to another.

Conceptual diagram of a deep neural network with input, hidden, and output layers.

Introduction

We are entering the era of "Big Data" astronomy. Current and upcoming surveys are set to observe billions of sources, requiring robust automated classification of variable sources—stars or quasars whose brightness changes over time. The primary bottleneck is the scarcity of labeled data; deep learning models are data-hungry, but confirmed labels are rare in the early stages of a new survey. Furthermore, every survey has different noise characteristics, filters, and observation cadences, making it difficult to use a model trained on one survey directly on another. This paper presents UPSILoN-T, a deep learning framework that uses transfer learning to classify variable astronomical sources across different sky surveys.

Methodology

The researchers developed a Deep Neural Network (DNN) architecture, dubbed the U model, to bridge the gap between surveys using transfer learning.

Feature Engineering

Instead of feeding raw light curves into the network, the framework extracts 16 "survey-independent" variability features, such as period, amplitude, skewness, and the Stetson K index. This abstraction helps the model generalize across different telescopes and observation conditions.

The U Model Architecture

The network consists of three hidden layers with 64, 128, and 256 neurons, respectively. It utilizes modern deep learning techniques like Rectified Linear Units (ReLU) for activation and Batch Normalization (BN) to stabilize training. The final layer uses a Softmax function to output class probabilities.

The U model architecture features sequential linear units followed by ReLU activations and a final Softmax layer for classification.

Transfer Learning Strategies

When adapting to a new "target" survey, two approaches were evaluated:

  1. Last-layer transfer: Only the final classification layer is retrained, while the weights of the earlier layers (which capture general variability patterns) are frozen.
  2. Every-layer fine-tuning: The entire network is fine-tuned starting from the pre-trained weights.

Datasets

The model was pre-trained on a massive combined set from the OGLE and EROS-2 surveys, totaling 144,823 sources across 21 variable classes. It was then evaluated on several target datasets, including ASAS (10,779 sources), Hipparcos (1,570 sources), and ASAS-SN (288,698 sources).

Results and Discussion

Transfer learning provides a significant performance boost, especially when labeled data is limited. On the ASAS dataset, using only a 3% subset for training, the transfer model achieved a Matthews Correlation Coefficient (MCC) of ~0.89, compared to ~0.84 for a model trained from scratch. On the small Hipparcos dataset, transfer learning improved the MCC from 0.74 to 0.82.

Key insights include:

  • Efficiency: The U model is remarkably lightweight (~200 KB), making it thousands of times smaller than traditional Random Forest classifiers (~3 GB).
  • Convergence: Transferred models reach peak performance significantly faster than models trained from scratch, as pre-trained weights provide a superior starting point.
  • Feature Importance: Analysis using SHAP values confirmed that the period of variability is the most critical feature, though others are essential for distinguishing between complex sub-classes like eclipsing binaries.

Conclusion

Transfer learning allows for the creation of high-accuracy classifiers for new surveys using as little as 3–5% of the typically required labeled data. It is not necessary to train a neural network from scratch for every new survey; rather, knowledge can be successfully transferred between datasets, facilitating rapid scientific discovery in the era of large-scale time-domain astronomy.

Summary updated

BibTeX
@inproceedings{kim2021deep,
  author = {Dae Won Kim and Doyeob Yeo and Coryn A. L. Bailer‐Jones and Giyoung Lee},
  title = {{Deep transfer learning for the classification of variable sources}},
  booktitle = {Astronomy and Astrophysics},
  year = {2021},
  doi = {10.1051/0004-6361/202140369},
}
Figure