A Real-time Single Pulse Detection Algorithm for GPUs

Karel Adámek, Wesley ArmourarXiv 2016 · DOI · arXiv

Abstract

The detection of non-repeating events in the radio spectrum has become an important area of study in radio astronomy over the last decade due to the discovery of fast radio bursts (FRBs). We have implemented a single pulse detection algorithm for NVIDIA GPUs which uses boxcar filters of varying widths. Our code performs the calculation of standard deviation, matched filtering by using boxcar filters, and thresholding based on the signal-to-noise ratio. We present our parallel implementation of our single pulse detection algorithm. Our GPU algorithm is approximately 17x faster than our current CPU OpenMP code (NVIDIA Titan XP vs Intel E5-2650v3). This code is part of the AstroAccelerate project, allowing single pulse searches on SKA-like data 4.3x faster than real-time.

Introduction

Radio telescopes generate massive data streams that must be processed in real-time to identify transient events like Fast Radio Bursts (FRBs). These signals are often dispersed by interstellar plasma, requiring a de-dispersion process followed by a search for pulses of unknown widths. This search, typically performed via matched filtering with "boxcar" filters, represents a significant computational bottleneck. As next-generation telescopes like the Square Kilometre Array (SKA) come online, traditional CPU-based processing is increasingly insufficient.

Methodology

The proposed algorithm leverages NVIDIA GPUs via CUDA to accelerate the single pulse detection pipeline. The implementation focuses on three primary stages:

Numerically Stable Statistics

To avoid floating-point errors in massive datasets, the authors implemented a parallel version of the Chan et al. updating formula for calculating mean ($\mu$) and standard deviation ($\sigma$). This approach uses pair-wise summation across two CUDA kernels—one for local block results and another for global aggregation—ensuring high precision over long observation durations.

Standard Deviation Approximation and Boxcar Filtering

Calculating the Signal-to-Noise Ratio (SNR) for every boxcar width is computationally expensive. To optimize this, the algorithm uses a linear approximation to estimate the standard deviation for wider filters based on a single "true" calculation at the maximum width. A highly optimized boxcar kernel then performs matched filtering, identifies the maximum SNR for each time sample, and applies a threshold to generate a list of candidates.

SNR response for a 1D pulse (width=5) across various boxcar filter widths (N).

Results and Discussion

The algorithm was evaluated using simulated SKA-like data with approximately 6,000 Dispersion Measure (DM) trials and a 64$\mu$s sampling rate.

Performance Benchmarks

Comparing an NVIDIA Titan XP GPU to an Intel E5-2650v3 CPU (using OpenMP), the GPU implementation achieved a 17x speedup. Crucially, the system processes SKA-scale data 4.3x faster than real-time, providing the necessary headroom for multi-beam processing or complex downstream analysis.

Sensitivity and Filter Width

The use of varying boxcar widths ensures high sensitivity to pulses of different durations. As illustrated in the matched filtering results, the highest SNR is achieved when the boxcar width matches the signal width. While the current study used widths up to 16 samples, the computational cost scales linearly with width, necessitating efficient approximation techniques.

Conclusion

This GPU-accelerated single pulse detection algorithm is a vital component of the AstroAccelerate project. By combining numerically stable statistics with efficient SNR approximations, the system meets the real-time processing demands of next-generation radio astronomy. Future work will explore "decimation in time" to handle wider pulses more efficiently and the integration of specialized filters for zero-DM data.

Summary updated

Abstract

The detection of non-repeating events in the radio spectrum has become an important area of study in radio astronomy over the last decade due to the discovery of fast radio bursts (FRBs). We have implemented a single pulse detection algorithm, for NVIDIA GPUs, which use boxcar filters of varying widths. Our code performs the calculation of standard deviation, matched filtering by using boxcar filters and thresholding based on the signal-to-noise ratio. We present our parallel implementation of our single pulse detection algorithm. Our GPU algorithm is approximately 17x faster than our current CPU OpenMP code (NVIDIA Titan XP vs Intel E5-2650v3). This code is part of the AstroAccelerate project which is a many-core accelerated time-domain signal processing code for radio astronomy. This work allows our AstroAccelerate code to perform a single pulse search on SKA-like data 4.3x faster than real-time.
BibTeX
@misc{adamek2016real,
  author = {Karel Adámek and Wesley Armour},
  title = {{A Real-time Single Pulse Detection Algorithm for GPUs}},
  year = {2016},
  eprint = {1611.09704},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1611.09704},
}

Loading related content...

Figure