There's no difference: Convolutional Neural Networks for transient detection without template subtraction

Tatiana Acero-Cuellar, Federica B. Bianco, Gregory Dobler, Masao Sako, Helen QuarXiv 2022 · DOI

Abstract

Traditional astrophysical transient detection relies on Difference Image Analysis (DIA), a computationally intensive process of subtracting a template image from a new search image. This study investigates whether Convolutional Neural Networks (CNNs) can bypass this bottleneck by identifying transients directly from raw image pairs. We demonstrate that while removing the explicit subtraction step leads to a modest decrease in classification accuracy (from ~96% to ~91%), it offers a significant three-fold increase in processing speed. Saliency map analysis reveals that these models effectively reconstruct subtraction logic internally, suggesting a viable path for real-time processing in next-generation surveys like the Rubin Observatory’s LSST.

Introduction

In time-domain astronomy, identifying fleeting events such as supernovae or kilonovae is a primary objective. The standard methodology, Difference Image Analysis (DIA), involves aligning a new "search" image with a historical "template" image and performing Point Spread Function (PSF) matching before subtraction. Ideally, the resulting "difference" image isolates the transient signal. However, the computational overhead of DIA—specifically image alignment and PSF matching—accounts for approximately two-thirds of total processing time. With the upcoming Legacy Survey of Space and Time (LSST) expected to generate 20 terabytes of data nightly, the traditional DIA pipeline represents a critical scalability bottleneck. This research explores whether deep learning can perform "Real-Bogus" classification—separating true astrophysical events from artifacts—without the explicit calculation of a difference image.

Methods and Datasets

The researchers compared two CNN architectures based on the input data provided. The DIA-based model utilized an image triplet (template, search, and difference images), while the noDIA-based model was provided only with the template and search images. To facilitate the model's decision-making process, images were stacked horizontally, mimicking the visual inspection patterns of human experts.

The study utilized approximately 100,000 "postage stamp" image cutouts from the first year of the Dark Energy Survey (DES). The dataset included "Real" samples (simulated Type Ia supernovae injected into real images) and "Bogus" samples (human-labeled artifacts such as bad pixels or misalignment errors).

Figure 2: Examples of image triplets used in the study. Rows A and B show 'Real' transients (Label=1), while rows C and D show 'Bogus' artifacts (Label=0).

Results and Discussion

The DIA-based model achieved a classification accuracy of ~96%, matching existing Random Forest benchmarks. The noDIA model followed closely with an accuracy of ~91.1%. Crucially, the noDIA approach reduced prediction time from 1.0 ms to 0.3 ms per image. The authors estimate that this method could process an entire DES focal plane in roughly one minute.

To interpret the model's performance, the team employed saliency maps to visualize which pixels most influenced the classification. These maps indicated that the noDIA model effectively performs an internal reconstruction of the subtraction logic. It relies heavily on the template image to establish a background context (e.g., host galaxies), allowing it to distinguish new transients from known variable sources.

Figure 4: Saliency maps for the noDIA model. The green highlights indicate pixels that the model identified as most important for its classification, showing it focuses on the transient location in both search and template images.

The primary cause for the 5% accuracy drop in the noDIA model was identified as the loss of explicit PSF information. The difference image inherently encodes how atmospheric conditions blurred the light on a given night; without it, the network struggles more with distinguishing sharp transients from slightly smeared artifacts.

Conclusion and Future Work

This research demonstrates that CNNs can effectively identify transients without the need for pre-calculated difference images, trading a small margin of accuracy for a massive leap in processing efficiency. While the current study used pre-centered image stamps and focused on Type Ia supernovae, future work will aim to apply this method to un-centered full-frame images and a broader diversity of transient types, such as Tidal Disruption Events. Additionally, determining whether accurate photometry (brightness measurement) can be achieved without subtraction remains a key hurdle for full scientific implementation.

Summary updated

BibTeX
@misc{acerocuellar2022there,
  author = {Tatiana Acero-Cuellar and Federica B. Bianco and Gregory Dobler and Masao Sako and Helen Qu},
  title = {{There's no difference: Convolutional Neural Networks for transient detection without template subtraction}},
  year = {2022},
  eprint = {2203.07390},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2203.07390},
}
Figure