NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Pulsar-candidate Selection Using a Generative Adversarial Network and ResNeXt

Qian Yin, Yefan Li, Jiajie Li, Xin Zheng, Ping GuoThe Astrophysical Journal Supplement Series 2022

Abstract

Pulsar research has been a hot topic in the area of astronomy since they were first discovered. Pulsar discovery is fundamental for pulsar research. While pulsars are now visible across the electromagnetic spectrum, pulsar searches with modern radio telescopes are most promising. As the performance of astronomical instruments improves, the number of pulsar candidates detected by modern radio telescopes grows at an exponential rate. The application of artificial intelligence to the field of pulsar-candidate identification can automatically and efficiently address the identification problem with enormous amounts of data. However, there are still significant challenges in enhancing the accuracy of deep-learning-based pulsar-candidate identification. These problems result primarily from the fact that real pulsar data is scarce: the number of candidates that can be successfully identified as real pulsars (positive samples) is much smaller than those candidates that turn out to not be pulsars but instead radio-frequency interference or noise (negative samples). This makes it difficult to train a machine-learning model that can accurately select those candidates that are real pulsars. Therefore a novel pulsar-candidate identification framework is proposed that combines a deep convolutional generative adversarial neural network (DCGAN) and a deep aggregation residual network (ResNeXt). To overcome sample imbalance, the DCGAN is utilized to generate images that approximate real pulsars, while observed and generated candidates are employed together to train the pulsar-candidate identification model ResNeXt. Experiments on the HTRU Medlat data set back up the framework’s performance. The precision, recall, and F1-score of the framework are 100%.

Introduction: The Challenge of Pulsar Discovery

Pulsars—rapidly rotating, highly magnetized neutron stars—serve as unique laboratories for testing general relativity and studying extreme states of matter. However, identifying them is a "needle in a cosmic haystack" problem. Modern radio telescopes like the Five-hundred-meter Aperture Spherical Telescope (FAST) generate millions of candidates nightly.

The core challenge is extreme class imbalance. In typical surveys, the ratio of real pulsars (positive samples) to radio-frequency interference (RFI) or noise (negative samples) can be as lopsided as 1:75. Standard machine learning models trained on such skewed data often suffer from low recall, meaning they frequently miss the very pulsars they are designed to find. Historically, this required human experts to manually screen thousands of diagnostic plots—a process that is no longer scalable.

Methodology: A Two-Stage Framework

To address these challenges, this paper proposes a robust deep-learning framework combining a Deep Convolutional Generative Adversarial Network (DCGAN) for data augmentation and a ResNeXt architecture for high-precision classification.

Data Augmentation via DCGAN

The first stage involves training a DCGAN to "dream up" new pulsar candidates to fix the data imbalance. The DCGAN consists of a Generator and a Discriminator. The Generator transforms a 100-dimensional noise vector into 48x48 grayscale images that mimic the frequency-vs-phase (FPP) and time-vs-phase (TPP) plots of real pulsars.

Architecture of the DCGAN Generator used to synthesize pulsar candidate images.

By training the Generator to fool the Discriminator, the model learns to produce high-quality synthetic samples. In this study, the Generator produced 9,304 synthetic positive samples, which were combined with real observations to create a balanced training set of 10,000 positive and 10,000 negative samples. The Fréchet Inception Distance (FID) score of 45.18 indicated that these generated images were statistically very similar to real pulsar observations.

Classification via ResNeXt

The second stage utilizes ResNeXt for the final identification task. Unlike standard ResNet architectures, ResNeXt introduces the concept of "cardinality"—the size of the set of transformations. It uses parallel bottleneck branches to learn diverse feature representations more efficiently than simply increasing network depth or width.

The ResNeXt classification architecture featuring parallel bottleneck blocks.

This architecture is particularly effective at capturing the distinct "vertical stripe" features characteristic of pulsars in diagnostic plots while maintaining computational efficiency. The model processes FPP and TPP images to distinguish real astrophysical signals from RFI.

Experimental Results

The framework was evaluated using the HTRU Medlat (High-Time Resolution Universe Medium Latitude) dataset. The original dataset contained 1,196 positive samples (derived from 521 distinct pulsars) and 89,996 negative samples.

The impact of data augmentation was profound. When trained on the DCGAN-balanced dataset, the ResNeXt model achieved perfect scores across all primary metrics on the test set:

  • Precision: 100%
  • Recall: 100%
  • F1-Score: 100%

This performance surpassed previous state-of-the-art methods, such as oversampled ResNet (98% precision) and TIAGN+MICNN (96.8% precision). The jump in performance from unbalanced to balanced training sets demonstrated that balancing the data didn't just improve accuracy; it pushed the model to a state where it no longer missed any real pulsars.

Conclusion and Future Work

The combination of DCGAN and ResNeXt provides a powerful solution for automated pulsar candidate selection, effectively eliminating the need for manual human screening. While the results on the HTRU Medlat dataset are exceptional, future work will focus on testing the model's generalization across different telescopes, such as FAST or the SKA, which may have different RFI signatures. Additionally, future iterations could benefit from multi-input architectures that simultaneously consider Dispersion Measure (DM) curves and summed-profile histograms to handle even more complex, faint pulsars in real-time.

Summary updated

BibTeX
@article{yin2022pulsar,
  author = {Qian Yin and Yefan Li and Jiajie Li and Xin Zheng and Ping Guo},
  title = {{Pulsar-candidate Selection Using a Generative Adversarial Network and ResNeXt}},
  journal = {The Astrophysical Journal Supplement Series},
  year = {2022},
  doi = {10.3847/1538-4365/ac9e54},
}
Figure