Machine learning methods for subpixel trajectory reconstruction in discretized position detectors
and JungHyun Bae · 2025
Read Machine learning methods for subpixel trajectory reconstruction in discretized position detectors by and JungHyun Bae (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2512-20645.txt.
Introduction
Matthew Mark Romano, Zhengzhi Liu, and JungHyun Bae sharpen particle tracking in a segmented detector. Cosmic ray muons crossing an eight-by-eight scintillator array deposit energy in blocks; the traditional centroid method estimates position from those deposits, wasting information. The team compares four reconstruction methods on Geant4-simulated data.
Transformer networks win outright. Their angular error and position error improve on the centroid method by factors of more than two and more than six in turn. Convolutional networks and linear regression fall between the two extremes. Finer positions mean finer angles, and finer angles mean better muon tomography, where scattered muons image the insides of containers, volcanoes, and structures. Learned methods squeeze resolution the hardware never provided.
Catalog record
| CREATOR | and JungHyun Bae |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 25 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2512-20645
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Machine learning methods for subpixel trajectory reconstruction in discretized position detectors and JungHyun Bae Abstract In this study, we demonstrate that compared with traditional centroid-based methods, machine learning methods (particularly transformer-based architectures) achieve superior subpixel position and therefore angular resolution in discretized particle detectors. Using Geant4 Monte Carlo simulated cosmic ray muon data from an 8×8 segmented scintillator detector array, we compare four reconstruction approaches: transformer neural networks, convolutional neural networks, linear regression, and energy-weighted centroids. The transformer architecture achieves the best angular reconstruction with a root mean square error of 1.14° and a position mean absolute error of 0.24 cm, representing improvements of 2.22× and 6.33×, respectively, over the centroid method. These results enable precise particle trajectory reconstruction for applications in muon tomography and cosmic ray detection. 0 0 footnotetext: Notice of Copyright This manuscript has been authored by UT-Battelle, LLC under Contract No. DE-AC05-00OR22725 with the U.S. Department of Energy. The United States Government retains and the publisher, by accepting the article for publication, acknowledges that the United States Government retains a non-exclusive, paid-up, irrevocable, world-wide license to publish or reproduce the published form of this manuscript, or allow others to do so, for United States Government purposes. The Department of Energy will provide public access to these results of federally sponsored research in accordance with the DOE Public Access Plan (http://energy.gov/downloads/doe-public-access-plan). 1 Introduction Muon tomography exploits the high penetration power of cosmic ray muons to image dense materials and large-scale structures [ 1 , 2 , 3 ] . Applications include nuclear safeguards for detecting shielded materials [ 4 , 5 , 6 ] , geological surveying of volcanic structures [ 7 , 8 ] , archaeological investigations of pyramids and ancient monuments [ 9 , 10 ] , and structural health monitoring of critical infrastructure [ 1 , 11 ] . These techniques have matured from proof-of-concept demonstrations to deployed systems, and tomographic resolution is now the primary limitation for expanding practical applications. Muon tomography relies on reconstructing particle trajectories from hit positions in multiple detector planes. However, pixelated scintillator detectors produce energy deposits distributed across several cells, creating ambiguity in determining the true muon crossing point and limiting the ultimate spatial resolution. When a high-energy particle traverses a scintillating medium, electronic excitations occur along its path, producing fluorescence as visible light [ 12 , 13 ] . This scintillation light spreads to neighboring pixels through optical transport, resulting in energy deposition patterns that must be decoded to extract the underlying particle position. The conventional solution is the centroid method [ 14 , 15 ] , which computes the energy-weighted average position across all pixels: \bar{x}=\frac{\sum_{i}E_{i}x_{i}}{\sum_{i}E_{i}}\,,\qquad\bar{y}=\frac{\sum_{i}E_{i}y_{i}}{\sum_{i}E_{i}}\,, (1.1) where E_{i} is the energy deposited in pixel i , and (x_{i},y_{i}) are the pixel coordinates. Although computationally trivial, this approach is fundamentally limited by pixel granularity. Systematic biases arise when trajectories pass near pixel boundaries, where charge sharing effects cause the energy-weighted average to deviate from the true particle position. Machine learning (ML) methods have shown promise for improving detector position reconstruction beyond classical algorithms. Convolutional neural networks (CNNs) have been successfully applied to medical imaging detectors [ 17 , 16 ] and particle physics applications [ 18 , 19 ] ; their ability to learn spatial features from 2D energy deposition patterns has been leveraged. More recently, transformer architectures [ 20 ] have begun entering high-energy physics for tasks like particle tracking [ 21 , 22 , 23 ] . However, prior work has focused primarily on CNN architectures or has applied transformers to fundamentally different detector geometries and physics processes. For pixelated scintillator arrays in muon tomography [ 24 ] , the optimal architecture remains an open question. In this work, we developed a hybrid transformer architecture that explicitly decomposes position reconstruction into coarse cell classification and fine offset regression, mirroring this physical intuition. Using Geant4-simulated cosmic ray muon data from an 8×8 segmented detector array, we systematically compare transformer, CNN, linear regression, and centroid methods. 2 Detector simulation Figure 1 : Schematic of the full muon tomography detector simulated in this work. Each plane consists of an 8\times 8 pixelated PVT scintillator array. Muons traverse both planes, with trajectories reconstructed from energy depositions in the pixels. The green line represents the muon’s trajectory and the grey lines represent scintillation radiation. A blue scale bar that represents 30 cm is included. The complete tomography system shown in Figure 1 consists of four detector planes arranged in two pairs. For this study, we focus on analyzing a single representative pair, as the reconstruction methods developed here can be directly applied to any plane pair in the full system. This approach allows systematic comparison of algorithms while maintaining generalizability to the complete detector geometry. A two-plane muon tracking tomography device was simulated using Geant4 version 11.3.2 with the FTFP_BERT physics library, which is Geant4’s recommended setup for cosmic ray work [ 25 ] . Each detector plane consists of a 50\times 50 cm 2 polyvinyltoluene (PVT) scintillator segmented into an 8\times 8 grid (64 pixels total). Each pixel measures 6.25\times 6.25\times 2.0 cm 3 . The pair of planes is arranged vertically with 30 cm spacing between planes. Our muon source follows a Gaussian energy distribution centered at 4 GeV ( \sigma=2 GeV) with angular spread \sigma=0.1 rad. This simplified model captures the average cosmic muon energy [ 26 ] while providing controlled statistics for systematic comparison of reconstruction algorithms. We set a 1 GeV energy floor. The simulation includes optical physics to model scintillation light propagation and collection. We use a 10% quantum efficiency to represent realistic silicon photomultiplier (SiPM) photodetectors. For trajectory reconstruction, we require muons to pass through both the top and bottom detector planes. This approach defines a valid track with measurable entrance and exit points. The true muon angle \theta is computed from the Monte Carlo positions as \theta=\arctan\left(\frac{\sqrt{(x_{2}-x_{1})^{2}+(y_{2}-y_{1})^{2}}}{\Delta z}\right)\,, (2.1) where (x_{1},y_{1}) and (x_{2},y_{2}) are the true positions on the first and second planes, respectively, and \Delta z=30 cm is the plane separation. We generated 10,000 muon events total, of which 9,583 satisfied the two-plane intersection requirement. Muon positions were sampled uniformly across the detector surface to ensure representative coverage. The dataset was split 80/20 for training/test. Each event records the Monte Carlo true muon positions on each plane and the energy deposition pattern across all 64 pixels in each plane. 3 Reconstruction methods All neural network models use energy maps normalized by their total energy to ensure consistent scaling across events. The neural networks were trained using the Adam optimizer [ 27 ] with batch size 64 and L2 distance loss (Euclidean norm) between reconstructed and true positions. This choice of loss function directly optimizes the metric of interest for position reconstruction. 3.1 Centroid method The baseline centroid method applies Eq. ( 1.1 ) to compute energy-weighted positions on each detector plane independently. This approach implicitly assumes that energy deposition is symmetric around the true particle position. This assumption breaks down when particles traverse near pixel boundaries or at steep angles. The trajectory angle is then computed from the geometric relationship between the reconstructed positions on both planes. 3.2 Linear regression As a simple ML baseline, we implemented a multilayer perceptron