WorksPhysics and Astronomy
Geometry-conditioned differentiable surrogate with adjoint Monte Carlo sampling for scintillator detector co-design
Abstract
Optimizing light-guide geometries for scintillator-based imaging detectors requires repeated photon-transport evaluations, making direct Monte Carlo simulation computationally costly. Differentiable surrogates can accelerate these evaluations and support detector readout co-design aimed at improving information extraction from particle interactions. In this work we describe a surrogate model for photon transport. We develop it starting from a modular, event-driven Monte Carlo model for the generation and transport of scintillation photons, and a reciprocal Monte Carlo construction (an adjoint model) of a spatially and temporally resolved optical response field. The latter evaluates the collectible light output and its temporal structure from a scintillator volume by launching weighted photon trajectories from the light-guide readout face. We apply this approach to a scintillator cell with two mirrored, curved, single-clad light guides. We employ the adjoint model to train a geometry-conditioned neural surrogate that predicts collection probabilities and conditional transport-time distributions across a constrained guide-design family. The surrogate is natively differentiable, lending itself to be an element of a differentiable pipeline for gradient-based optimization. A forward-reciprocal benchmark and validation on held-out geometries establish the accuracy of the trained model and identify its limitations. The developed tools provide a foundation for rapid optical-response studies and detector readout co-design.
Introduction
Scintillation detectors convert the energy deposited in their volume by ionizing particles into optical photons. In typical particle detectors, the observable quantities one tries to estimate from the process include the number of collected photons at the sensor and their arrival time; wavelength and polarization are additional observable quantities that may be needed to better characterize the system performance in specific applications. The number of photons is then subjected to a calibration procedure that yields an estimate of the total energy deposited in the scintillator by ionizing particles, assuming the transport efficiency to the detection sensors is known. Additional information about the time structure as well as about the spatial topology of the ionization deposits can in principle be extracted from the arrival time distribution of the detected photons if the transport time and excitation-de-excitation processes are precisely accounted for.
The inference of the map of ionization energy distribution in the scintillation volume as a function of time, given the observable features mentioned above, constitutes a complex inverse problem. Its solution is important in modern calorimeter applications because the topology of energy depositions may give access to detailed properties of particle showers, and through those enable inference on the identity of the originating particles [1, 2]. In realistic setups, the problem requires the detailed accounting of all possible propagation trajectories of the detected photons inside light guides and scintillator volume, as well as all involved phenomena, including absorption, scattering, or reflection at boundaries. There is, in summary, much more to account for than a single position-independent light-collection coefficient.
The GEANT4 toolkit is widely used to model particle interactions and energy deposition in detector materials [3, 4, 5]. It also provides a detailed optical-photon physics package, including scintillation and Cherenkov photon production, absorption, scattering, wavelength shifting, and interactions at optical boundaries [6]. Because energetic interactions produce many photons, tracking the latter and their numerous surface interactions may dominate computing time for particular detector geometries. Consequently, an application may elect to stop detailed particle transport at the energy-deposit stage and handle optical response through precomputed maps, parameterizations, or separate specialized simulation. The development of GPU optical-photon tools is another indication of the computational importance of this problem [7].
Repeated simulation becomes even more demanding when the optical configuration is itself an optimization variable. Changing scintillator dimensions, guide width, curvature or path, optical interfaces, or readout location can alter the relationship between energy deposition and detectable signal. In a program of optimization of detector design such as those considered in Ref. [8], one wishes to evaluate a large number of such choices under a common model, and ideally to obtain an optical response that varies smoothly with design parameters. Differentiable rendering and inverse light-transport methods provide valuable examples of this broader trend [9]. Nevertheless, a model that can be differentiated does not necessarily predict the derivatives of the physical response correctly. Differentiating the transport itself is complicated by sharp boundaries, total-internal-reflection thresholds, and changes of ray-path topology; a smooth learned model need not follow the true response on small scales. We test this for our surrogate against finite differences of the adjoint model (Sec. VI D). The issues outlined above arise concretely in the PHINDER program [10]. The project considers scintillator cells coupled to light guides and optoelectronic readout, and aims to perform co-design of light transport and neuromorphic signal processing. The goal is to optimally yield topological information on energy deposition processes needed to infer more properties on the particle showers. The present work, developed within PHINDER, addresses the optical modeling problem of how to preserve the source-position-dependent collection and timing response of curved light guides while making repeated evaluations sufficiently economical for design studies.
We develop this approach in three stages, illustrated in Figure 1. First, a dedicated event-driven Monte Carlo simulator (§ 1.2) provides the physically interpretable forward optical reference; its agreement with Geant4 confirms the physics that the other two stages share. Second, an adjoint model (Sec. IV) uses reciprocity to transport weighted rays backward from the readout face. Every traced path scores all the voxels it crosses, correctly accounting for propagation time and transport probability; at equal accuracy on the information reaching the readout, the adjoint model proves to be three orders of magnitude faster to compute than the simulation of emitted photons of the forward model. Third, a geometry-conditioned neural surrogate (§ 1.4), trained on an atlas of adjoint fields, predicts the response of a new design in milliseconds and is differentiable with respect to the design parameters, so that hundreds of geometries can be screened per second, and the main design dimensions effectively optimized by gradient descent. Section VI validates the adjoint model and the surrogate against Geant4, quantifies the accuracy of the surrogate and of its derivatives, and compares the cost of all methods on matched tasks.

Figure 1. Overview. Photon transport from an emission point to the readout is computed with Geant4, with a dedicated forward engine, and with the adjoint model, which gives the response for all emission points at once. The adjoint model is validated against Geant4 and the forward engine and generates the training data of a differentiable neural surrogate.
Related approaches
Forward optical-photon simulation. While Geant4 can track optical photons in detail if the user configures it to do so [6], this step is often executed by custom-made, geometry-specific programs, which may be easier to inspect and modify. The PHOTON code [11], for example, was written for scintillation-detector optics and includes configurable boundaries, complex refractive indices and thin films. Because the transport of optical photons is an easy-to-parallelize task, this has become the method of choice when GPUs are available; e.g., Opticks couples Geant4 to GPU photon generation and propagation with hardware ray tracing [7]. GPU acceleration reduces the computational cost of forward optical transport by propagating many photons in parallel, but still requires each photon to be tracked individually. An alternative is to precompute the detector’s optical response as a function of emission position, allowing the same response field to be reused for different events without repeating photon transport [12].
Reverse and adjoint transport. Adjoint formulations are well established in neutron transport [13], radiative transfer, optical imaging, and computer graphics: when a detector subtends a small region of phase space, most photons launched from possible emission points miss it, making forward transport a very inefficient way to test acceptance and determine propagation properties. The adjoint view instead considers which emission points and directions can contribute to the measurement: trajectories launched from the detector end sample an importance field that can be combined with any source distribution. For example, a forward-adjoint fluorescence model using this concept was developed and tested experimentally by Crilly et al. [14], and coupled forward and adjoint fields were used to compute optical sensitivity in scattering media [15]. In graphics, Veach and Guibas [16] showed that a light path can be sampled from the light or from the camera with very different variance. In addition, inverse renderers such as Mitsuba 2 [9] differentiate light transport with respect to scene parameters.
Learned surrogates. Machine learning models have become an important alternative to computationally expensive Monte Carlo detector simulation for particle physics applications. Early applications, such as CaloGAN [17], demonstrated that generative neural networks could reproduce aspects of calorimeter shower development at a fraction of the cost of detailed simulation. More recent approaches employ normalizing flows, diffusion models and flow matching to improve the fidelity of simulated detector responses. The CaloChallenge benchmark [18] has provided a systematic comparison of these methods, highlighting both their progress and the importance of evaluating accuracy using physically relevant observables rather than aggregate statistical measures alone. Besides accelerating event simulation, differentiable generative surrogates have become the enabling tool to allow for gradient-based detector-design optimization [19, 20].
A related but distinct approach is to learn the detector response as a continuous function of the source coordinates or other physical parameters. Neural operators, including DeepONet [21], provide a general framework for approximating mappings between functions and have attracted considerable interest in scientific simulation and inverse design [22]. For optical detectors, neural representations can replace or compress conventional photon-visibility lookup tables. For example, sinusoidal representation networks have been investigated for modeling scintillation-photon propagation in liquid-argon time projection chambers [23]. More recently, a differentiable neural representation of photon propagation in the IceCube neutrino telescope has been developed to predict both photon yields and arrival-time distributions, allowing the optical response of complex events to be constructed by superposition [24]. Generative approaches have also been applied directly to optical photon transport in scintillator arrays [25].
These developments motivate the use of learned optical response functions as an alternative to repeatedly propagating individual photons. Existing optical surrogates, however, represent one fixed detector, such as a liquid-argon time projection chamber [23] or a neutrino telescope [24], and must be retrained when its geometry changes. Surrogates that take the design itself as input are used for inverse design in nanophotonics, including nanophotonic scintillators [26], and for shape optimization [27], but, to our knowledge, not for the light-collection and timing response of scintillator light guides. Likewise, adjoint Monte Carlo is standard in neutron and gamma transport, and Geant4 provides it for gamma rays, electrons and ions [28], but optical response maps of scintillators are usually obtained by forward simulation or by parameterizations fitted to it [12]. The approach pursued here combines the two. It learns the one-photon
response operator, separating collection probability from the conditional arrival-time distribution; the light-guide geometry is an input to the network; and its training data are produced by reciprocal Monte Carlo, which gives the response of every emission point of a design in one run. The aim is a compact representation of the optical response across a continuous family of detector designs, suitable both for fast event simulation and for studying the sensitivity of the response to changes in geometry.
Forward Monte Carlo transport
Photon production and transport
The forward simulator separates the generation of optical photons from their propagation and collection. Its input is a list of energy deposits with their positions and times, taken from a Geant4 simulation of incident particles or chosen by the user to probe specific paths. For a deposit and scintillation yield the number of photons is drawn as . The photons are emitted isotropically; their emission points can be spread along the track segment of the deposit, and each can be delayed by a time drawn from the scintillation profile. For the response fields of Sec. IV the delay is set to zero, so that the fields describe optical transport time only; the emission-time profile is applied afterwards by convolution, Eq. (3).
The simulation of a photon carries forward its position, direction, elapsed time, current material and status. At each step the nearest boundary along the ray is found and the photon moves there unless it is absorbed first; a path length in a medium of index adds to the elapsed time. We use geometrical optics with a constant refractive index per material, so dispersion and wavelength-dependent emission and absorption are not included in the present version of the software. Because photons jump from boundary to boundary, the computation cost is set by the number of surface interactions, which is large for photons trapped by total internal reflection.
For an absorption coefficient the absorption distance is drawn as , with a uniformly sampled ; re-emission is not modeled. At an interface the transmitted direction follows Snell’s law, , and the reflection probability is the average of the two Fresnel reflectances,
A Bernoulli draw selects reflection or transmission; total internal reflection occurs when Snell’s law has no solution. Averaging over polarization is an approximation whose effect we measure in Sec. VI A. A photon is followed until it is detected, absorbed, or escapes.
Detector geometry and readout
The detector is an EJ-204 plastic scintillator cell of dimensions read out by two light guides on its large faces (Figure 2). Guide 0 lies on the face; guide 1 is its mirror image under on the face, so that the response of channel 1 follows exactly from that of channel 0. Each guide has a rectangular cross-section of width and thickness 0.10 cm, with a core and a 10 m cladding on all sides. Its path is a polyline through six vertices (start, four turning points, terminal) whose corners are replaced by circular fillets of radius , built from 16 straight facets per . The guide extends 0.25 cm beyond the cell into a terminal core segment; photons reaching its end face, the readout port, are counted as detected with unit efficiency. Everything else is air; any photon transmitted into air is terminated (Sec. VI A measures the effect of this choice). Table I lists the optical constants.
| Material | Index | Absorption length [cm] |
| EJ-204 scintillator | 1.58 | 160 |
| Guide core | 1.59 | 200 |
| Guide cladding | 1.49 | 500 |
| Air | 1.00 | N/A |
Table I. Optical constants used by all models. Indices are wavelength independent; photons have 3.04 eV (408 nm).

Figure 2. An EJ-204 cell of the design family with its two mirrored curved guides (core and cladding) and their readout ends. Left: top view of the mirrored light guides, showing the start (S), exit (E), internal control vertices (T1–T4), guide width (), and common bend radius (). The dashed circle illustrates the centerline curvature of a bend. Right: three-dimensional view of the scintillator and guides, with scintillator dimensions , , and . Orange and teal denote the top and bottom guides, respectively; dark end faces indicate the readouts.
The design family we consider in this work has 13 continuous parameters: the cell dimensions , the guide width , the fillet radius through , and the and coordinates of the four turning points (12–88% of and 22–88% of , with ordered ). These parameters do not span the totality of imaginable configurations, yet they provide a useful baseline for the development and test of a full co-design pipeline.
The engine is written in JAX and vectorizes over photons. It serves here as an independent reference implementation of the optical model; Appendix B compares its run time with that of Geant4 on CPU and GPU. Dedicated GPU tools with hardware ray tracing, such as OptiX [7], can be faster still.
Adjoint response fields
The one-photon optical Green function
We seek the response to one photon emitted isotropically at position in a geometry . For readout channel ,
where is the detection probability and the arrival-time density given detection, normalized to unity; is then the density of detected arrivals per emitted photon. For an event with energy deposits at positions and times producing on average photons, independent photon transport gives the expected detected intensity
where is the normalized emission-time profile and denotes convolution. The computing cost of Eq. (3) depends on the number of deposits rather than on the number of photons, thus making a response field useful for event simulation (Sec. VI E).
Reverse launch and normalization
For a given channel, rays (“roots”) are launched from the readout face back into the guide, uniformly over the port area and with the cosine-weighted direction measure . The four numbers that set the start point on the port and the direction of each root (, ) are taken from a scrambled Halton sequence [30], which covers the port and the directions more evenly than independent random numbers and so reduces the noise for a given number of roots. The reverse field is converted to the forward detection probability by the phase-space factor
which follows from the invariance of the étendue . Here is the weighted reverse track length per unit voxel volume and per root, , where is the length of segment of root inside voxel , computed from exact voxel-plane crossings, and its weight. Binning the same contributions by total reverse travel time gives . Each root scores every voxel that is crossed by one of its branches, (Figure 3b), so that a single run gives the response for all possible emission points at once. Figure 3b follows one root through a side view of a test cell. It starts at the port with weight and travels back through the guide core. Where the guide lies on the scintillator, the core-cladding-scintillator interface splits it (Sec. IV C): 0.66 of the weight enters the scintillator and 0.34 stays in the guide, which splits again at its next contact (0.22 into the cell, 0.12 onward). The scintillator branch meets the bottom face beyond the 39° critical angle of the scintillator-air interface, so the reflection is total and nothing is lost. Then the branch meets the side wall at 21°, where 5.4% is reflected and 94.6% leaves into air and is dropped. The weak reflected branches ( and 0.012) reach the top face, where 82% of each enters the guide. Between interfaces the weight falls slowly through bulk absorption. Each scintillator voxel crossed by a branch receives in the bin of its travel time, one term of ; multiplied by the phase-space factor (0.0105 cm here) this is the one-root estimate of the detection probability shown in color in the figure. The map is the mean of these estimates over all roots, most of which never reach a given voxel.
Figure 3. Forward and reverse sampling. (a) A forward simulation emits photons from one point; about 1% reach the port. (b) One reverse root traced through a side view of a test cell (5.1 × 1.26 cm, voxels of 0.0085 cm), in two dimensions and without the second guide. Blue: the root in the guide core ( at the port); orange: the branch entering the scintillator; purple: the branch staying in the guide; teal: its second entry into the cell. Line width shows the branch weight; × marks branches that leave into air and are dropped. Color bar: the estimate of from this root alone.
Branching, absorption and limits
At an interface a reverse ray can continue as both a reflected and a transmitted branch, with weights and , or choose one with probabilities and (analog transport). We split when both children would carry at least a fraction of the parent weight and use the analog choice otherwise; both procedures are unbiased. One root is therefore a tree of branches. Figure 4 shows this in a test geometry, together with how the map builds up as roots accumulate: the first root scores 33 straight segments in the scintillator, with weights from 0.81 down to 0.006, bouncing between the two faces of the cell, and reaches 4% of the voxels; after roots the map covers the whole cell. Bulk absorption is a continuous weight . Random numbers are computed from the index of the root, branch and step rather than drawn in sequence, so that two slightly different geometries can be traced with the same random numbers. Their rays then follow the same paths until the change in geometry makes them differ, and much of the noise cancels in the difference of the collected light; for arrival times the paths separate too quickly for this to help much (Sec. VI D). A branch is followed until it escapes into air, leaves through the readout port, or reaches a maximum set to 5000 boundary interactions or a propagation time of 80 ns.
Figure 4. Detection probability of channel 0 in a test geometry (), estimated from the first 1, 30, 1000, and roots, seen from the top (averaged over depth) and from the side (averaged over ), with both guides drawn: guide 0 on the top face, guide 1 (hatched in the side view) on the bottom face. The single root has its own color scale, so that its weaker branches are visible; the other panels share the same color scale. Error: -weighted RMS of the relative difference to a -root map, over the voxels reached.
The geometry atlas
Designs are drawn from a 13-dimensional Sobol sequence [31] (one dimension per free parameter of the geometry), and are checked before transport: fillets must fit on their segments, consecutive segments must not fold back, and the guide must stay on the cell face. Only 2.0% of 139,012 candidates pass the selection; the valid designs are thinned by greedy maximin selection into three banks of 84, 250 and 350 geometries. For each geometry we compute the channel-0 field on a voxel grid with 240 arrival-time bins of 0.25 ns, using roots (3.6 per geometry on 14 cores; voxel error 2.4%, see Sec. VI B). Forty test and 16 validation geometries are set aside, and 40 further test geometries are drawn from an independent Sobol sequence. The 80 test geometries are traced with roots and independent seeds to serve as references.
Geometry-conditioned surrogate
The network maps a geometry and a normalized emission point to probabilities and arrival times of photons at the light guides end, (Figure 5, Table II). The six guide vertices, with their displacements from the emission point, are encoded by a bidirectional gated recurrent unit [32] (40 units per direction, averaged over vertices); the code is concatenated with the design scalars
| Layer | Size | Activation | Parameters |
| Guide vertices | 6 × 5 | – | – |
| BiGRU, mean over vertices | 80 | – | 11 280 |
| Concatenate design, | 89 | – | – |
| Dense | 128 | SiLU | 11 520 |
| Dense | 128 | SiLU | 16 512 |
| Dense | 64 | SiLU | 8 256 |
| Channel score | 1 | – | 65 |
| Mixture logits | 24 | softmax | 1 560 |
| Fate (loss, ch. 0, ch. 1) | 3 | softmax | – |
| Timing | 240 bins | log-normal mix | – |
| Total | 49 193 |
Table II. Surrogate layers for one evaluation; channel 1 reuses the same weights at the mirrored point.
Figure 5. Surrogate network. The shaded block is evaluated twice with the same weights: at the emission point for channel 0 and at its mirror image for channel 1. A softmax over gives the detection probabilities, and each channel’s arrival-time distribution is a mixture of 24 fixed log-normal components. Layer sizes in Table II.
and and passed through a perceptron with layers of 128, 128 and 64 SiLU units. Only two of , and are independent (the atlas samples and , § 1.2 B); the third is passed as a derived feature. Two heads give a channel score and 24 mixture weights. Channel 0 is evaluated at the emission point, giving and ; channel 1 is the same network, with the same weights, evaluated at the mirror image of the emission point, giving and , which makes the mirror symmetry exact. With a fixed score of 0 for loss, a softmax over gives , so that ; each is a mixture of 24 fixed log-normal components (medians 0.12–57.5 ns), so it is normalized by construction. The network has 49,193 parameters. We use a recurrent encoder because it accepts guides with any number …
The loss is
summed over the voxels of a batch, where hats denote network predictions, is the Huber function with unit threshold, the Kullback–Leibler divergence over the 240 time bins of 0.25 ns, and the mean arrival time. The weight , limited to , reduces the influence of voxels with a large relative standard error of the atlas value , and the timing terms use , so that voxels with little detected light, whose arrival-time distributions are noisy, count less. We train with AdamW [33] (learning rate with cosine decay, batch 512) for 240 epochs and keep the last-epoch weights; training on 628 geometries takes 23 min on the CPU.
Results
Unless stated otherwise, all computations and timings used an Intel Core Ultra 5 245 CPU (14 cores) without a GPU. Voxel-level accuracy is measured against the adjoint field with roots, which is itself validated against Geant4 below; a Geant4 map of the same precision would take hours per geometry. The voxel error of a map is the -weighted RMS of over all voxels of all test geometries, with the reference noise subtracted in quadrature; the same measure is used for the mean arrival time and the arrival-time spread . The reference noise (0.73% for , 0.54% for and 0.36% for ) is measured from pairs of independent replicate maps (Sec. VI B). The layer-wise RMS values displayed in Figure 8 instead describe the observed residuals, without subtraction of reference noise in quadrature.

Figure 8. Detection probability on guide 0 for a test geometry, in the top and bottom layers: adjoint reference ( roots), three-network ensemble, relative difference to the reference, surrogate residual normalized to the reference noise, and normalized difference between two independent -root adjoint maps. Solid and dashed lines show the projections of guides 0 and 1, respectively.
Agreement with Geant4
We implemented the cell in Geant4 11.4.1 through its Python bindings [34], using the same triangulated scene, the constants of Table I, and only optical absorption and boundary processes (Appendix A). To match our model, the polarization is redrawn before every interface, so that reflection occurs with probability , and photons entering air are terminated. In eight test geometries, photons were emitted uniformly in five regions: the whole cell ( photons) and four -voxel blocks ( each) next to guide 0, below it, at the center and in the far corner. The forward engine was run on four of these geometries with four to five times fewer photons. We compare channel 0. Geant4 simulates channel 1 independently, and the mirrored adjoint map agrees with it as well ( for 40 values), which confirms the mirror symmetry used by the adjoint and the network.
For each region, the ratio of a method’s captured fraction to that of Geant4 is compared with its uncertainty,
If the differences are explained by the uncertainties alone, each term is about one on average, and is close to the number of values , within about (40 ± 9 for 40 values). For Geant4 and the forward engine, can be approximated by the Wald approximation to the binomial error, of the captured fraction for emitted photons (median 1.7% and 3.6%); for the forward engine, the spread between batches of photons agrees with it. For the adjoint, is measured from three independent -root maps of each geometry: the differences of their region means, pooled over the eight geometries, are scaled by to the -root reference (median 0.3%). The network has no sampling noise, but its prediction depends on the random initialization and ordering of the training; we take as its uncertainty the spread between three networks trained with different seeds, pooled over all 40 values (1.8%). This does not include errors common to all three networks, such as noise in the training maps or limited model capacity.
Figure 6 and Table III summarize the result. The adjoint agrees with Geant4 in all regions: the ratio is 0.999 ± 0.003, the RMS deviation of 1.9% equals the Geant4 statistical error, and for 40 values. The forward engine agrees reasonably within its larger statistical error (0.986 ± 0.008, for 20 values).
The network yields no offset (1.002 ± 0.004), but its values scatter more, by 3.2% RMS. Independent errors add in quadrature, and this scatter splits into three parts, : the Geant4 counting noise (1.9%), the variation between networks trained with different seeds (1.8%), and an error common to all three networks (1.9%), which is the systematic error of the surrogate. Even with the seed variation counted as an uncertainty, for 40 values; the excess is this common error. Mean arrival times and arrival-time spreads agree to 2–3% RMS for the adjoint and the network and to 5–6% for the forward engine, without offset, and the arrival-time distributions agree over three decades (Fig. 6b,c). To compare the complete distributions , we normalize each over 0–60 ns, group it into 41 bins (0.25 ns wide up to 2 ns, 1 ns up to 10 ns and 2 ns up to 60 ns), and compute the Jensen-Shannon divergence
where ; JS is 0 for identical distributions and 1 bit for disjoint ones. Geant4 detects only to photons per region, so its counting noise alone makes JS a few bits even for an exact model; we estimate this floor by drawing samples of the actual Geant4 size (and, for the forward engine, of its own size) from each method’s distribution. The adjoint’s mean JS equals the floor ( bits; Table III), so its distributions cannot be distinguished from Geant4’s at this statistics, and the forward engine is close to its higher floor (12.2 against 11.3 × ). The network’s JS value is 2.2 times the floor, and 63% of it comes from the first 2 ns: its distributions are built from 24 log-normal components, each about 34% wide in time, which smooth the sub-nanosecond structure of the prompt peak. The fraction of light arriving within 1 ns differs from Geant4 by 1.5 percentage points RMS per region, against 0.7 for the adjoint, which includes the Geant4 noise. Measured by how far light is displaced in time (the Wasserstein distance), this shape error is small: 0.15 ns for the network against a counting floor of 0.13 ns. A finer test of the adjoint uses Geant4 photons emitted over the whole cell of two geometries and counted per voxel and channel: and 1.03 (6400 degrees of freedom each, binomial errors), and the total captured fractions agree within 0.4%.
Geant4 also tests the two approximations of the optical model. Tracking the polarization instead of averaging the Fresnel reflectances changes the captured fraction by −0.01 ± 0.26%, i.e. not measurably.
Precision and cost of the adjoint field
Tracing the 80 test geometries with to roots and independent seeds shows that the voxel error falls approximately as , without bias (Figure 7a); at roots it is 2.4% for and 1.8% for . Because the roots are quasi-random (a Halton sequence), the tracer’s own error estimate, which assumes independent roots, is too large, so reference errors are measured from independent replicate maps instead. A -root map takes 3.0–3.6 s for typical scenes and 13.8 s for the most complex one (Figure 7b). For these checks two settings matter. The first is a cap of 750 boundary interactions per root, which we used in earlier work; this cuts long totally reflected paths and biases by −10% and by −19%; we use 5000 as the cap here. The second is Fresnel splitting, which is unbiased but not efficient here: on four test geometries, pure analog reverse transport reaches nearly the same error (2.7% instead of 2.5%) in a fifth of the time, because most interfaces send nearly all the weight one way.
Figure 7. Adjoint field error and computing time versus number of roots . (a) Voxel error of and on the 80 test geometries. (b) Wall time per map on 14 cores for scenes of 57, 77, and 285 volumes.
Surrogate accuracy
Trained on 628 geometries, the network reaches a voxel error of 3.0% for , 1.9% for and 0.9% for on the 80 test geometries (mean of three training seeds), comparable to a -root adjoint map (2.4%, 1.8% and 1.2%).
The complete arrival-time distribution of each voxel is reproduced with a Jensen-Shannon divergence, Eq. (7), of bits (-weighted mean over voxels), against for a -root map, which is sampling noise; the reference’s own noise contributes about . For the whole-cell distribution the network’s divergence is bits, against for the -root map: as for , the network’s errors are correlated between voxels and do not average out.
The network’s error differs in kind from the one of the adjoint. Part of it is an offset: the whole map of a test geometry is too high or too low by about the same factor, and this factor is large for only a few of the geometries. This offset is an interpolation error between designs: on training geometries the networks reproduce the mean of each map to 0.3%, closer than the 0.6% statistical error of those maps, but on the test geometries only to 2.3% RMS, comparable to the common error of 1.9% found against Geant4.
Across the test set, neighboring-voxel errors have correlations of 0.6–0.8. Networks trained with different seeds also make largely the same errors (correlation 0.7), and averaging three networks reduces the error of only from 3.0% to 2.6%. These correlated errors do not average out when the response is summed over many voxels: along random straight particle tracks, the network’s error is 2.5%, against 1.4% for a -root map.
Figure 8 compares the three-network ensemble with the adjoint reference in a held-out geometry. Let be the ensemble prediction and , two independent adjoint estimates, each obtained with roots per geometry. For each depth layer , containing voxels, we define
For independent replicas with equal variances, estimates the layer-average variance of a single reference map. The normalized surrogate residual and replica control are
The control has unit RMS within each layer by construction. Since the normalization is shared by all voxels in a layer and excludes surrogate uncertainty, measures discrepancies relative to typical reference noise, rather than a voxel-specific statistical significance.
The geometry shown illustrates good agreement rather than median test-set performance. The observed -weighted RMS relative differences are 1.7% in the top layer and 1.9% in the bottom layer, without subtraction of reference noise in quadrature. The corresponding unweighted RMS values of are 2.54 and 2.48. Thus, small relative discrepancies still exceed the typical Monte Carlo noise of the reference. Their spatial structure can be compared with the independent adjoint-replica control, whose unit RMS follows from its normalization and is not an independent uncertainty-calibration test. This illustrative comparison uses a separate training and evaluation campaign with the same sample counts as the main study, but a newly generated split and three newly trained networks.
Pooled over the 80 test geometries, the error falls as with the number of training geometries , for both and (Figure 9), and has not leveled off at 628, so a larger atlas will improve the surrogate further. Replacing the recurrent guide encoder by a perceptron on the same vertex features gives the same accuracy, so for guides with a fixed number of vertices the recurrent encoder is not essential.
Figure 9. Network error versus number of training geometries for (a) detection probability and (b) mean arrival time, on the 80 test geometries; data points indicate the mean over three networks trained with different seeds on the same geometries. Dotted: scaling, shown for comparison. Dashed: values relative to the adjoint map computed with roots.
The surrogate also reproduces the difference between the early arrival times of the two readouts, , where is the time by which readout has received 10% of its light. Because the two guides are mirror images, the response of readout 1 at a point equals that of readout 0 at the mirrored point ; therefore changes sign under this mirroring and vanishes on its axis. Away from the axis the two readouts see an emission point from different distances and directions, and reaches ns (RMS 0.36 ns over the test geometries), which a two-ended readout can use to locate a deposit. Figure 10a shows it in the top and bottom layers of one test geometry, Figure 11 in a layer near mid-depth and Figure 12 in a vertical section. Near the side walls it is set by the horizontal position, while in the interior each readout receives its earliest light from the half of the cell away from its own guide: the top layer, next to guide 0, is mostly negative and the bottom layer mostly positive. Geant4, which simulates both readouts independently, shows the same dependence on depth: for uniform emission in each layer of this geometry, of readout 0 rises from 0.38 ns in the bottom layer to 0.43 ns in the top layer, against 0.39 and 0.43 ns for the adjoint. The network reproduces the regions of either sign and their boundaries in all three views, but smooths structures a few voxels wide that the reference is instead able to resolve; the -root map keeps that structure with added voxel noise. On the 80 test geometries the RMS error of is 67 ps for the network and 42 ps for a -root map, with no visible bias for either (Figure 10b).
Figure 10. Difference of the early arrival times of the two readouts, . (a) Top layer (next to guide 0) and bottom layer (next to guide 1) of one test geometry: reference ( roots), -root adjoint map and network. Solid line: guide 0, read out as channel 0; dashed: guide 1, channel 1; both readout ports lie beyond the upper edge of the maps. (b) Predicted versus reference for 8000 randomly chosen voxels of the 80 test geometries per method; legend: RMS difference over all voxels.
Figure 11. in layer 5 of 8, just above mid-depth, of the geometry of Figure 10; columns and guides as in Figure 10a.
Figure 12. in a vertical (-) section at cm (voxel row 11 of 20) of the geometry of Figure 10: reference, -root map and network, top to bottom. Filled bar: guide 0 on the top face; dashed outline: guide 1 on the bottom face, where they cross the section.
Ten further designs are used to test a guide shape that is absent from the training and testing sets: straight guides without bends. Their cell dimensions, guide widths and fillet ratios span the design ranges, and in parameter space they are no farther from the training designs than the test geometries are, but every training guide bends, by at least 17° at one vertex. Because start and end points are fixed fractions of the cell, a straight guide always runs along the same diagonal, and the two mirrored guides cross as an X in top view. On these designs the network reproduces the timing as well as on the test geometries ( 2.0%, 1.0%, 70 ps), and its error of is 3.5%. The network thus carries the arrival-time structure over to a guide shape it has not seen within a few percent accuracy.
Geometry derivatives
The fact that our surrogate can be differentiated does not in general guarantee that its geometry derivatives match those of the transport. In six test geometries we varied five design parameters (cell thickness, guide width, bend radius, and the and positions of a turning point) along a line, , and in units of the design range wherever the design stays valid, rebuilt the geometry at each point, and traced it with eight independent seeds of roots, sharing random numbers between the points. The adjoint derivative is the slope of a least-squares line through the symmetric points or, where the design range or the fillets exclude one side, of a quadratic through the valid points; for six derivatives near such a limit only a central difference with a step of 0.015 or 0.04 is available. A five-point stencil agrees with the central differences within their statistical error, so the truncation error is negligible; the remaining uncertainty is statistical, 0.017 RMS for and 0.09 ns for . From the whole-cell arrival-time distribution (uniform emission, transport only) we take as diagnostic metrics the mean of the arrival distribution, its standard deviation , and the 10% quantile , and differentiate the network in the same way. We report the agreement separately for the two parameter families: the main dimensions (cell thickness and guide width) and the guide path (bend radius and turning point).
For the logarithm of the collected light (Figure 13a) the correlation is 0.99, with an RMS difference of 0.05 against an RMS derivative of 0.39. For the main dimensions the derivatives agree in sign and to 9% RMS. The small sensitivities to the guide path (up to 0.08 per unit of the design range) are not reproduced: the correlation within this family is 0.1, and the network has the wrong sign for four of twelve.
Figure 13. Derivatives with respect to five design parameters in six test geometries, network versus adjoint finite differences: (a) logarithm of the whole-cell detection probability ; (b) mean , (c) standard deviation and (d) 10% quantile of the whole-cell arrival-time distribution (uniform emission over the cell, channel 0, 60-60 ns). : parameter in units of its design range. Orange: cell thickness and guide width; blue: guide path. Dashed line indicates equality of the two estimates.
Derivatives of the mean arrival time agree less well (correlation 0.94, RMS difference 0.15 ns against an RMS derivative of 0.44 ns), for two reasons. First, the reference is noisier: over the scanned range the mean arrival time changes by only a few hundredths of a nanosecond, and the statistical error of the reference accounts for about 0.09 ns of the difference. Second, the geometry changes the arrival time less, relative to the network’s error, than it changes the collected light: across the test geometries the whole-cell mean arrival time varies by 0.33 ns (s.d.)
against a network error of 0.04 ns, a ratio of 9, compared with 15 for . A derivative inherits the error of the function divided by the distance over which that error varies, so the timing derivatives suffer deviations first. For the main dimensions, which move the mean arrival time by up to 1.1 ns per unit of the design range, the network estimate has the right sign in all twelve cases and a median deviation of 17% (Figure 13b). The guide-path sensitivities of the reference are 0.15 ns per unit RMS and up to 0.30 ns; the network predicts 0.05 ns RMS, with a correlation of 0.15 and in some cases the opposite sign. The guide path affects the timing more than the yield, because the light travels along it.
The width of the distribution follows the mean: in the adjoint, and have a correlation of 0.99 and a slope of 1.0, because the design changes mainly stretch the late tail, and the network reproduces this (Figure 13c); its difference from the reference, 0.12 ns RMS, is comparable to the reference’s statistical error. The early edge hardly moves: the whole-cell is 0.3-0.45 ns, and its derivatives are about ten times smaller than those of (0.04 ns per unit RMS). The network has the right sign for all twelve derivatives with respect to the main dimensions, with a median deviation of 26%, but not for the guide path (correlation 0.89 overall; Figure 13d).
The network is seen to correctly account for the guide: across the 80 test geometries it reproduces how the mean arrival time grows with guide length (0.062-0.067 ns/cm, against 0.062 ns/cm for the adjoint). The network thus learns the trend between designs; however it struggles with the local slope at a given design. Its gradients can therefore steer the main design dimensions of the yield and, less precisely, of the timing; changes of the guide path and timing optimization should use the adjoint, with steps of several percent of the design range and more roots for timing derivatives than for yield derivatives. Overall, the discussed performance suggests that the surrogate provides a useful approximation of the system in the way of a full optimization by gradient descent; however, a confirmation will require its actual use in an optimization pipeline, which we defer to future work.
Cost of simulating events and maps
The relevant task for a detector simulation is, given the energy deposits of an event, to produce the arrival-time distribution at each readout. Forward transport follows every photon from generation to extinction, loss, or collection, so its cost grows with the number of photons . With a response field the task is summarized by Eq. (3): a weighted sum of the fields at the deposit positions, convolved with the emission profile of EJ-204 (0.7 ns rise, 1.8 ns decay), followed by one multinomial draw of the detected photons per time bin. Its cost depends on the number of deposits rather than on , but the field must first be generated. Which method is cheaper therefore depends on which costs are counted in the comparison. Here we distinguish three components. The one-time cost is that of building the network: producing an atlas of 628 adjoint maps (37 min) and running the training on those data (23 min) add up to 1.0 h of computing time; this shared by all geometries of the design family. The per-geometry cost is the one of computing one adjoint map, 3.6 s for roots; the network does not incur in that cost. The per-event cost, for a single charged particle crossing the cell (which for a minimum ionizing particle corresponds to approximately 26,500 photons), is 0.4 ms with an adjoint map and 2 ms with the network evaluated at the deposits. GEANT4 with the same optical model and a compiled photon loop tracks photons per second on the 14 cores, hence spends 0.16 s for such an event.
Figure Figure 14 compares the methods at the same accuracy, measured by the voxel error of the mean arrival time, which is harder to obtain by forward simulation than the detection probability. For one new geometry (Figure 14a), a forward map as accurate as a -root adjoint map or the network (about 1.9% in ) needs about emitted photons: 1.8 h with GEANT4 on 14 cores and 12 days with the forward engine on 3 cores, against 3.6 s for the adjoint; the network reaches the same accuracy in 12 ms once it is built. For a scan of geometries (Figure 14b), the network’s one-hour build pays off against the adjoint only beyond about 1000 geometries. For events in one geometry (Figure 14c), the adjoint map is cheaper than GEANT4 after just 23 events. Without counting its build, the network is cheaper than the adjoint for fewer than about 2200 events per geometry, because it needs no map, and more expensive beyond, because each event costs 2 ms instead of 0.4 ms; counting its build, the network is cheaper than GEANT4 only beyond about 23,000 events. The surrogate is therefore not always the faster option: it pays off when many geometries are evaluated with few events each, as in a design scan or an optimization, whereas for many events in a fixed geometry an adjoint map is cheaper. On a GPU the forward engine is faster than on a CPU (Figure 16), but its cost still grows with ; we have not run a matched GPU benchmark of all methods on one machine.
Figure 14. Cost of the methods on matched tasks, on the same 14-core CPU. Solid lines include the one-time costs (the adjoint map of each geometry, the network’s 1h build of atlas and training); dashed lines leave them out. (a) Wall time for one new geometry versus the voxel error of the mean arrival time (p-weighted RMS relative difference to the -root reference). Geant4: uniform emission, each detected photon assigned to the voxel where it was emitted; line: error from the number of detected photons per voxel at the measured photon rate (median of the test geometries); open circles: Geant4 runs for one geometry. Adjoint: measured runs of 1000 to roots. Filled circle: Geant4 at the accuracy of a -root map. (b) Estimated total time for multiple geometries at that accuracy; dash-dotted: break-even of network and adjoint. (c) Total time for multiple single-particle events (26,500 photons) in one geometry; open circles: the Geant4 runs of (a), placed at their photon number divided by 26,500. The Geant4 energy deposition, common to all, is not included.

Figure 16. Transport time of Geant4 and of the forward engine (JAX) on CPU and GPU for – photons emitted from a point in the scintillator, on a workstation with an AMD Ryzen 9950X CPU and an NVIDIA GeForce RTX 5090 GPU (not the machine used elsewhere in this paper). Times include the transfer of results to the host and exclude compilation and warm-up.
The per-event cost grows with the number of deposits rather than of photons. With the adjoint map it rises from 0.4 ms for one particle (11 active voxels) to 1.4 ms for 1000 particles crossing the cell together ( photons, 3036 active voxels), since deposits are first summed per voxel and at most 3200 voxels can be active. The network evaluated at every deposit grows from 2 ms to 0.29 s over the same range; evaluated once on the voxel grid (18 ms) and combined in the same way, its cost no longer depends on the event.
Figure Figure 15 shows an end-to-end test. A thousand charged particles in minimum ionizing regime cross a scintillator with a geometry not used in training; GEANT4 provides the energy deposits ( scintillation photons), and the light is transported by GEANT4 and predicted by the adjoint maps and the network. The arrival-time distributions summed over all events agree over three decades (Figure 15a). In total GEANT4 detects 244,107 photons in channel 0; the -root adjoint map predicts 0.15% more, the -root map 1.5% more, and the network 1.6% more, each with a statistical error of 0.2%. Event by event (Figure 15b), the detected counts scatter around the prediction as expected from photon statistics, and the mean arrival time of an event differs from GEANT4 by 0.54 ns RMS, i.e. no more than its own statistical fluctuation (0.53 ns). In this geometry the per-event differences are therefore set by photon statistics; the network’s 1.6% excess is within its per-geometry error (2.3% RMS, Sec. VIC).
Figure 15. Events simulated end to end: 1000 minimum ionizing particles cross a geometry not used in training; Geant4 gives the energy deposits ( scintillation photons in total) and the light is transported by Geant4, the -root adjoint map and the network. (a) Arrival-time distribution at readout 0, summed over all events, on 0.25-ns bins. (b) Detected photons per event and channel, Geant4 versus the prediction ; the diagonal indicates equality of the estimates.
The two approaches answer slightly different questions. A forward simulation produces one random realization of the event, including the correlations between photons from the same deposit. The response field gives the expected intensity, with a statistical precision set by the map (2.4% per voxel, 0.6% for the whole cell at roots); detector fluctuations are added by sampling from it; the sampling is included in the timing estimates discussed above.
Discussion
Tracing light backward from the readout face of a light guide coupled to a scintillator block turns the expensive part of optical simulation—finding the rare paths that reach a small port—into a much cheaper procedure. For the cell studied here, one adjoint run of roots gives the detection probability and arrival-time distribution of every emission point with 2.4% accuracy using 3.6 s of a 14-core CPU, and agrees with GEANT4 within the statistical precision of the comparison, both in the collected light and in its timing. Once such a field exists, simulation of the readout signal of an event costs the same computing time for or photons.
The optical model entails one approximation that matters at the few-percent level: photons that leave into air are terminated; allowing them to re-enter raises the collected light by 3.5%. Polarization has instead no measurable effect. Two practical points concern specifically the adjoint method. The first is that a step cap that is too short biases the timing distribution far more than it affects the overall yield. The second is that the analog reverse transport is more efficient than Fresnel splitting in this geometry.
The surrogate predicts the field of a new design in about 10 ms, to 3.0% per voxel for the detection probability (2.6% for an average of three networks) and 1.9% for the mean arrival time on 80 test geometries. It reproduces the full arrival-time distributions well, with minor discrepancies observed in the sub-nanosecond structure of the prompt peak. The surrogate also correctly models the early-arrival asymmetry between the channels to 67 ps; its main source of error is systematic rather than statistics-driven: this is partly traced back to a per-geometry offset, which anyway decreases with the size of the training atlas. Computed gradients follow the transport for the main design dimensions, cell thickness and guide width (to 9% RMS for the collected light, with a median deviation of 17% for the mean arrival time); these metrics do not show sensitivity to small details of the guide path, for either light or timing. After its one-hour build on the considered training geometries, the computed surrogate pays off over the adjoint model when many geometries are evaluated with few events each, as is typical in an optimization design scan; for many events in one geometry the adjoint map remains instead cheaper. The surrogate is therefore suited to fast exploration and coarse optimization of the main dimensions, while changes of the guide path, timing optimization and final designs should use the adjoint, which at a few seconds per geometry fits inside an optimization loop.
Future extensions of this work include the detailed modeling of photon re-entry through air in the fast models, a geometry-level term in the surrogate model to remove its offset, larger atlases for a more precise training of the surrogate model, a wider consideration of different guide topologies and surface models, and a GPU implementation of the adjoint tracer.
Acknowledgments
PV is supported by the “Ramón y Cajal” program under Project No. RYC2021-033305-I funded by the MCIN MCIN/AEI/10.13039/501100011033 and by the European Union NextGenerationEU/PRTR. All authors except LP are supported by the European Innovation Council (EIC) Pathfinder project PHINDER, grant agreement No. 101258353, funded by the European Union.
The authors gratefully acknowledge the computer resources at Artemisa and the technical support provided by the Instituto de Física Corpuscular, IFIC (CSIC-UV). Artemisa is co-funded by the European Union through the 2014-2020 ERDF Operative Programme of Comunitat Valenciana, project IDIFEDER/2018/048.
This work has benefited from activities carried out within the framework of the COST Action MLQC4FC (CA24146), supported by COST (European Cooperation in Science and Technology).

Figure 6.
Data and code availability
The data are archived on Zenodo under the Creative Commons Attribution 4.0 licence (doi:10.5281/zenodo.24459410).
The code is available in the PHINDER GitHub repository under the MIT licence. It contains the scripts that generate the data, train the networks and run the Geant4 validation, the analyses behind the reported numbers, and the scripts that produce the data figures and Table III from the archived data.
Geant4 configuration
Geant4 11.4.1 was used through geant4_pybind 0.1.3 [34]. Each geometry was exported from the geometry builder used by the forward engine and the adjoint tracer as closed triangle meshes (G4TessellatedSolid): the scintillator box; for each guide the union of its core segments and terminal; and a cladding shell made of the outer cladding surface, the core side faces with reversed orientation and two end rings. Core and cladding are touching volumes in an air world, so the core end faces meet air as in the original scene. The physics list contains only G4OpticalPhysics with Cherenkov, scintillation, wavelength shifting, Rayleigh and Mie processes disabled; boundaries carry no optical surface, so G4OpBoundaryProcess applies the Fresnel and Snell laws for polished dielectrics with polarization. Photons have 3.04 eV, isotropic directions and random linear polarization. A photon is detected when a step inside a core ends on that guide’s readout plane. In the matched configuration a photon that makes a step of non-zero length in air is killed (a reflected photon makes a zero-length step whose pre-step volume is the air and is kept), and the polarization is redrawn perpendicular to the direction after every boundary step. In the polarized configuration the latter is omitted, and in the re-entry configuration photons in air are also kept. For the events of Sec. VIE the same scene was built with real material compositions (polyvinyl-toluene, polystyrene core, PMMA cladding, G4_AIR) and the standard electromagnetic physics constructor (G4EmStandardPhysics, data set G4EMLOW 8.8) with 0.7-mm production cuts; the particle definitions were created in the physics list itself, because the particle set of the standard constructors fails to initialize in this build. Steps with energy loss inside the scintillator were written out (pre- and post-step position and time, deposited energy, step length, particle) and the scintillation photons generated from them were tracked by a separate optical run of the matched configuration above.
Run time of the forward engine on GPU
Figure 16 compares the run time of the forward engine with that of Geant4 for photons emitted from one point. For small runs both JAX versions are dominated by a fixed overhead, about 1 s on the GPU and 6 s on the CPU. For large runs all three times grow roughly in proportion to the number of photons: on the CPU the forward engine is about six times slower than Geant4, whereas on the GPU it is faster than Geant4 above about photons, by a factor of four to five at – photons. These timings were made on a different machine from all other results and are not used in the cost comparison of Sec. VIE.
References
- [1]A. De Vita et al., Hadron identification prospects with granular calorimeters, Particles 8, 58 (2025), arXiv:2502.10817.DOI
- [2]A. De Vita et al., Exploring the limits of high-energy proton-pion separation in granular calorimeters (2026), arXiv:2608.19064.arxiv.org/abs/2608.19064
- [3]S. Agostinelli et al., Geant4—a simulation toolkit, Nucl. Instrum. Methods Phys. Res. A 506, 250 (2003).DOI
- [4]J. Allison et al., Geant4 developments and applications, IEEE Transactions on Nuclear Science 53, 270 (2006).
- [5]J. Allison et al., Recent developments in Geant4, Nucl. Instrum. Methods Phys. Res. A 835, 186 (2016).
- [6]Geant4 Collaboration, Book for application developers: Optical photon processes (2026), geant4 online documentation, accessed October 2026.
- [7]S. C. Blyth, Opticks: GPU optical photon simulation for particle physics using NVIDIA OptiX, J. Phys. Conf. Ser. 898, 042001 (2017).
- [8]T. Dorigo et al., Toward the end-to-end optimization of particle physics instruments with differentiable programming, Rev. Phys. 10, 100085 (2023).
- [9]M. Nimier-David, D. Vicini, T. Zeltner, and W. Jakob, Mitsuba 2: A retargetable forward and inverse renderer, ACM Trans. Graph. 38, 203:1 (2019).
- [10]F. Sandin et al., PHINDER project (2026), check URL before submission.
- [11]J. Tickner and G. Roach, PHOTON—an optical Monte Carlo code for simulating scintillation detector responses, Nucl. Instrum. Methods Phys. Res. B 263, 149 (2007).DOI
- [12]D. Garcia-Gamez, P. Green, and A. M. Szleic, Predicting transport effects of scintillation light signals in large-scale liquid argon detectors, Eur. Phys. J. C 81, 349 (2021).
- [13]J. Spanier and E. M. Gelbard, Monte Carlo Principles and Neutron Transport Problems (Addison-Wesley, Reading, MA, 1969).
- [14]R. J. Crilly et al., Forward–adjoint fluorescence model: Monte Carlo integration and experimental validation, Appl. Opt. 36, 6513 (1997).pubmed.ncbi.nlm.nih.gov/18259512
- [15]A. R. Gardner et al., Coupled forward-adjoint Monte Carlo simulation of spatial-angular light fields to determine optical sensitivity in turbid media, J. Biomed. Opt. 19, 065003 (2014).DOI
- [16]E. Veach and L. J. Guibas, Bidirectional estimators for light transport, in Photorealistic Rendering Techniques (Springer, 1995).DOI
- [17]M. Paganini, L. de Oliveira, and B. Nachman, CaloGAN: Simulating 3D high energy particle showers in multilayer electromagnetic calorimeters with generative adversarial networks, Phys. Rev. D 97, 014021 (2018).DOI
- [18]C. Krause et al., CaloChallenge 2022: A community challenge for fast calorimeter simulation, Rep. Prog. Phys. 88, 116201 (2025), arXiv:2410.21611.DOI
- [19]K. Schmidt et al., End-to-end detector optimization with diffusion models: A case study in sampling calorimeters, Particles 8, 47 (2025), arXiv:2502.02152.arxiv.org/abs/2502.02152
- [20]X. T. Nguyen et al., Differentiable surrogate for detector simulation and design with diffusion models, Mach. Learn. Sci. Tech. 7, 025061 (2026), arXiv:2607.017859.
- [21]L. Lu, P. Jin, G. Pang, Z. Zhang, and G. E. Karniadakis, Learning nonlinear operators via DeepONet based on the universal approximation theorem of operators, Nat. Mach. Intell. 3, 218 (2021).
- [22]K. Azizzadenesheli, N. Kovachki, Z. Li, M. Liu-Schiaffini, J. Kossaifi, and A. Anandkumar, Neural operators for accelerating scientific simulations and design, Nat. Rev. Phys. 6, 320 (2024).arxiv.org/abs/2309.15325
- [23]S. Gasiorowski, Y. Chen, Y. Nashed, P. Granger, C. Mironov, K. Vang Tsang, D. Ratner, and K. Terao, Differentiable simulation of a liquid argon time projection chamber, Machine Learning: Science and Technology 5, 025012 (2024).arxiv.org/abs/2309.04639
- [24]F. Yu, K. Feng, N. Kamp, and C. A. Argüelles. A differentiable neural surrogate for photon propagation in neutrino telescopes (2026), arXiv:2609.04695.arxiv.org/abs/2609.04695
- [25]S. Naunheim et al., OptiGAN for crystal arrays: Physics-informed generative modeling of optical photon transport in PET detector arrays (2026), arXiv:2601.18780.DOI
- [26]N. Regev, A. Shultzman, F. Loignon-Houle, C. Roques-Carmes, and I. Kaminer, Neural network inverse design of nanophotonic scintillators (2026), arXiv:2606.16309.arxiv.org/abs/2606.16309
- [27]G. Sun et al., Geometry-aware neural optimizer for shape optimization and inversion (2026), arXiv:2605.04474.arxiv.org/abs/2605.04474
- [28]L. Desorgher, F. Lei, and G. Santin, Implementation of the reverse/adjoint Monte Carlo method into Geant4, Nucl. Instrum. Methods Phys. Res. A 621, 247 (2010).DOI
- [30]J. H. Halton, On the efficiency of certain quasi-random sequences of points in evaluating multi-dimensional integrals, Numer. Math. 2, 84 (1960).DOI
- [31]I. M. Sobol’, On the distribution of points in a cube and the approximate evaluation of integrals, USSR Comput. Math. Math. Phys. 7, 86 (1967).DOI
- [32]K. Cho et al., Learning phrase representations using RNN encoder–decoder for statistical machine translation, in Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (2014) pp. 1724–1734, arXiv:1406.1078.arxiv.org/abs/1406.1078
- [33]I. Loshchilov and F. Hutter, Decoupled weight decay regularization, in International Conference on Learning Representations (2019) arXiv:1711.05101.arxiv.org/abs/1711.05101
- [34]geant4_pybind: alternative Python bindings for Geant4 via pybind11 (2026), version 0.1.3 (Geant4 11.4.1).










