Abstract
Traditional difference imaging relies on matching the point-spread function (PSF) between a reference and a target image—a process that is often numerically unstable and sensitive to noise. We present CPM Difference Imaging, a data-driven method that bypasses explicit PSF modeling. By employing the Causal Pixel Model (CPM), we predict pixel values using a linear combination of distant, "causally disconnected" pixels within the same frame. This approach effectively models telescope pointing, PSF variations, and detector effects, allowing for the detection of astronomical variability at nearly photon-noise precision. We demonstrate the efficacy of this method using simulated data and real K2 Campaign 9 microlensing data.
The Challenge of Difference Imaging
In time-domain astronomy, identifying transient phenomena like supernovae or microlensing events requires subtracting the static background of a star field. The classical workflow involves aligning a "target" image to a high-quality "reference" image and convolving them to match their respective PSFs. This process is notoriously difficult, especially with under-sampled data where stars occupy only a few pixels. Any mismatch in the PSF convolution results in artifacts that can be mistaken for real signals.
Methodology: The Causal Pixel Model (CPM)
CPM Difference Imaging shifts the focus from modeling the entire image to modeling individual pixels. The core idea is to predict the value of a specific pixel at any given epoch based on a set of "predictor pixels" from the same image frame.
- Causal Constraint: To ensure the model captures only systematic effects (like jitter or PSF changes) and not the astronomical signal of interest, predictor pixels are chosen from regions far enough away that they are not illuminated by the same source.
- Linear Prediction: The prediction is a linear combination of these predictor pixels, with weights determined via $\chi^2$ minimization and L2 regularization to prevent overfitting.
- Event Discovery: The "difference" is the residual between the actual pixel value and the CPM prediction. Because the model accounts for the "boring" systematics, the residuals highlight only the "interesting" astronomical variability.
Results and Performance
The method was validated using mock space-based data, ground-based data with atmospheric turbulence, and real data from the K2 mission. In simulations, the method achieved a precision of $10^{-4}$, approaching the theoretical limit of photon noise.
As shown in the figure above, the CPM fit successfully captures the complex structure of a crowded star field. When the fit is subtracted from the raw data, the constant stars are effectively cancelled out, leaving behind clear residuals that indicate transient events. The histograms on the right demonstrate that the residuals follow a near-Gaussian distribution, centered at zero, confirming the model's accuracy in capturing systematic noise.
Key Insights
- Implicit PSF Modeling: The correlations between pixels across a detector contain sufficient information to compensate for PSF and pointing changes without needing an explicit mathematical model of the telescope's optics.
- Robustness: CPM is more forgiving of registration errors than classical methods. As long as the alignment is within approximately one PSF width, the linear model can learn to compensate for the remaining shift.
- Detector-Agnostic: The data-driven nature of the model inherently handles hardware-level issues like flat-field variations without requiring separate calibration frames.
Limitations and Future Outlook
While powerful, CPM Difference Imaging is "data-hungry." It requires a campaign with many epochs to train the linear model, making it unsuitable for comparing just two isolated images. It also requires relatively stable telescope pointing over the duration of the campaign.
Future work will focus on optimizing predictor selection using techniques like Principal Component Analysis (PCA) or L1 regularization. The automated, pixel-level nature of this method makes it a promising candidate for large-scale upcoming surveys such as LSST and TESS, where the volume of data necessitates highly efficient and robust discovery pipelines.
Summary updated