Fast reconstruction-based ROI triggering via anomaly detection in the CYGNO optical TPC
F. D. Amaro, R. Antonietti, E. Baracchini, L. Benussi, C. Capoccia, M. Caponero, L. G. M. de Carvalho, G. Cavoto, I. A. Costa, A. Croce, M. D'Astolfo, G. D'Imperio, G. Dho, E. Di Marco, J. M. F. dos Santos, D. Fiorina, F. Iacoangeli, Z. Islam, E. Kemp, H. P. Lima, G. Maccarrone, R. D. P. Mano, D. J. G. Marques, G. Mazzitelli, P. Meloni, A. Messina, V. Monno, C. M. B. Monteiro, R. A. Nobrega, G. M. Oppedisano, I. F. Pains, E. Paoletti, F. Petrucci, S. Piacentini, D. Pierluigi, D. Pinci, F. Renga, A. Russo, G. Saviano, P. A. O. C. Silva, N. J. Spooner, R. Tesauro, S. Tomassini, D. Tozzi
TL;DR
The paper addresses real-time data reduction for optical-readout TPCs by introducing an unsupervised, reconstruction-based anomaly-detection pipeline trained on pedestal frames to model detector noise. Residual maps from a pedestal-trained convolutional autoencoder enable ROI extraction that preserves the majority of signal while discarding most background, achieving $93.0 \pm 0.2\%$ signal coverage and a $97.8 \pm 0.1\%$ area reduction, with about $25\ \mathrm{ms}$ per-frame latency. A key insight is that the training objective critically shapes ROI localization, with a refined objective that suppresses reconstruction of faint structured deviations outperforming a baseline hybrid loss and a simple Gaussian baseline. The approach is detector-agnostic, calibration-light, and suitable for online trigger pipelines, offering a practical baseline for ML-assisted data reduction in future CYGNO detectors and other optical TPCs.
Abstract
Optical-readout Time Projection Chambers (TPCs) produce megapixel-scale images whose fine-grained topological information is essential for rare-event searches, but whose size challenges real-time data selection. We present an unsupervised, reconstruction-based anomaly-detection strategy for fast Region-of-Interest (ROI) extraction that operates directly on minimally processed camera frames. A convolutional autoencoder trained exclusively on pedestal images learns the detector noise morphology without labels, simulation, or fine-grained calibration. Applied to standard data-taking frames, localized reconstruction residuals identify particle-induced structures, from which compact ROIs are extracted via thresholding and spatial clustering. Using real data from the CYGNO optical TPC prototype, we compare two pedestal-trained autoencoder configurations that differ only in their training objective, enabling a controlled study of its impact. The best configuration retains (93.0 +/- 0.2)% of reconstructed signal intensity while discarding (97.8 +/- 0.1)% of the image area, with an inference time of approximately 25 ms per frame on a consumer GPU. The results demonstrate that careful design of the training objective is critical for effective reconstruction-based anomaly detection and that pedestal-trained autoencoders provide a transparent and detector-agnostic baseline for online data reduction in optical TPCs.
