Planck-dust-allsky

PyTorchDIA: a flexible, GPU-accelerated numerical approach to Difference Image Analysis

July 2021 • 2021MNRAS.504.3561H

Authors • Hitchcock, James A. • Hundertmark, Markus • Foreman-Mackey, Daniel • Bachelet, Etienne • Dominik, Martin • Street, Rachel • Tsapras, Yiannis

Abstract • We present a GPU-accelerated numerical approach for fast kernel and differential background solutions. The model image proposed in the Bramich Difference Image Analysis (DIA) algorithm is analogous to a very simple convolutional neural network (CNN), with a single convolutional filter (i.e. the kernel) and an added scalar bias (i.e. the differential background). Here, we do not solve for the discrete pixel array in the classical, analytical linear least-squares sense. Instead, by making use of PyTorch tensors (GPU compatible multidimensional matrices) and associated deep learning tools, we solve for the kernel via an inherently massively parallel optimization. By casting the DIA problem as a GPU-accelerated optimization that utilizes automatic differentiation tools, our algorithm is both flexible to the choice of scalar objective function, and can perform DIA on astronomical data sets at least an order of magnitude faster than its classical analogue. More generally, we demonstrate that tools developed for machine learning can be used to address generic data analysis and modelling problems.

Links


IPAC Authors
(alphabetical)

Bachelet_23.11.22

Etienne Bachelet

Associate Research Scientist