Teaching a PET scanner to see depth, with no answer key
PET scanners find cancer by catching pairs of gamma rays, but they blur the picture because they can’t tell how deep inside each detector crystal a ray stopped. This team trained a neural network to work out that depth using nothing but a radioactive dot placed at a few known spots, then calibrated all 144 detectors of a real scanner in under an hour.
Why it matters
Sharp PET images need every detector to know how deep each gamma ray hit, but today that calibration takes collimators, motorised stages and hours per detector, which doesn’t scale to new total-body scanners with hundreds or thousands of modules. Using only a point source placed by hand at 11 spots for 55 minutes, this label-free method calibrated a whole 144-module scanner and sharpened its radial resolution from 4.99 to 2.90 mm (42 %), enough to separate 1.2 mm rods that stayed merged without it.
The paper
PhysiCal-PET: Physics-driven neural networks for the rapid position Calibration of PET Scanners
Mojahed Abushawish, Pablo Galve, Iván Colmenarejo Allavena, Carlos Galindo Morata, Sara Gaitan Dominguez & Jose Manuel Udias (Grupo de Física Nuclear, Universidad Complutense de Madrid). arXiv:2610.24193 [physics.med-ph], submitted 16 Oct 2026. Read on arXiv · PDF
In plain language: in a PET scan, each radioactive decay in the body sends two gamma rays flying in opposite directions. The scanner draws a straight line, the line of response (LOR), between the two detector crystals that caught them, and builds the image from millions of such lines. The crystals are 15 mm deep, though, and a ray can stop anywhere along that depth. If the scanner just guesses the same depth every time, lines from points away from the centre come out shifted. This “parallax error” smears the image outwards (radially).
Detectors can sense depth from how the light splits between their two ends, but turning that signal into millimetres normally needs a lab calibration with a narrow, collimated beam. PhysiCal-PET skips that step. It puts an ordinary point source at a few known spots inside the assembled scanner and trains a neural network to predict each ray’s depth so that every line passes as close as possible to the known spot. No one ever tells the network the true depth. In simulation it reached a depth error of 0.98 mm, almost the same as a network trained on perfect answers (0.96 mm). On the real scanner it improved every image measure the team checked.
Try it
This is a 2-D toy version of the paper’s method. The scanner geometry comes from the paper: 24 blocks around a 166 mm ring, 22 mm wide and 15 mm deep, 1.375 mm crystals, LYSO attenuation 0.087 /mm, ±0.5 mm source blurring and the 20 % trimmed loss. The detector’s depth signal and its noise are illustrative, tuned so the best possible depth error is about 1 mm as in the paper. A straight-line rule per block stands in for the paper’s neural network. The toy’s output numbers are not the paper’s results. Those are in the table below.
1 · Teach the depth without labels
Try moving the calibration source to the centre (0 mm) and press Reset then Train. From the centre almost every line hits the crystals head-on, so a wrong depth barely moves the line and the loss has little to learn from. That is why the paper put its sources 50 mm off-centre.
2 · See what calibration does to the image
Dots show where each ray was placed in the crystal. The inset zooms in 6× on a 14 mm square around the source (marked with a cross).
Blur = full width at half maximum of the miss distance, measured along the radius, for the lines that cross the radius within 30° of a right angle. These are the lines that pin down a point’s radial position. It uses 6,000 simulated pairs in this 2-D toy. It is not a reconstructed image, so compare it with the paper’s numbers by trend only. Panel 2 uses whatever Panel 1 has learned so far.
What the paper measured
| Measure (real preclinical scanner unless noted) | Fixed depth 5 mm | PhysiCal-PET | Change |
|---|---|---|---|
| Trimmed mean source-to-line distance | 1.49 mm | 1.14 mm | −24 % |
| Untrimmed mean source-to-line distance | 2.23 mm | 1.92 mm | −14 % |
| Point-source FWHM, radial | 4.99 ± 0.16 mm | 2.90 ± 0.09 mm | −42 % |
| Point-source FWHM, axial | 2.03 ± 0.34 mm | 1.60 ± 0.10 mm | −21 % |
| Point-source FWHM, tangential | 1.57 ± 0.12 mm | 1.50 ± 0.06 mm | ≈ same |
| Derenzo 1.7 mm rods, peak-to-valley ratio | 1.28 ± 0.04 | 1.88 ± 0.33 | +47 % |
| Derenzo 1.2 mm rods, valleys resolved | 1 of 5 | 4 of 5 | |
| Simulation: depth error (MAE), label-free vs supervised floor | 0.96 mm (supervised) | 0.98 mm | +0.02 mm |
Calibration: a 22Na point source (≈ 281 kBq) at 11 positions, 50 mm off-axis, 5 min each (≈ 55 min, 5.3 × 10⁷ coincidences) on a scanner with 144 LYSO modules in 6 rings of 24 blocks. Source: Sections III-A to III-F of the paper.
The maths
Each ray’s position is the crystal’s known spot on the block face plus the predicted depth ẑ along the block’s normal (Eq. 3):
The loss is the perpendicular distance from the known source to the line through the two predicted positions (Eqs. 4–5), with the source position jittered by up to Δs = 0.5 mm in each direction (Eq. 6):
To ignore randoms and scattered events, each batch of 500 keeps only the 80 % of events with the smallest distances (α = 0.2) and averages them (Eqs. 7–8):
The depth signal is the share of light reaching the back of the crystal, R = SDPC/(SDPC+Sfront) (Eq. 9). Deeper hits send more light to the back.
In this toy, ẑ = ab + wb(R − 0.4) for each block b, starting from a = 5 mm and w = 0 (the paper’s fixed-depth baseline). It is trained with Adam using numerical gradients of the trimmed loss. The toy detector’s true response, R = ob + kb·z/15 + noise (σ = 0.03), with a different made-up ob and kb for each block, is illustrative. The paper used a FiLM-conditioned residual network with per-module and per-crystal embeddings, trained in two stages (Δs = 1 mm, then 0.5 mm). Photons stop at a random depth drawn from e−μl with μ = 0.087 /mm, so the mean depth over 15 mm is about 5.9 mm, as the paper states.
How to use it
- Panel 1: press Train. The blue curve is the only thing the method can see, the distance between lines and the known source. The orange curve is the true depth error, which it never sees, and it falls in step. The green dashed line is the best you could do if you knew every true depth.
- Move the calibration source slider to 0 mm, press Reset, then Train again. Learning is slower and stops short, because head-on lines carry little depth information. Fewer source positions also leave some blocks with fewer oblique hits.
- Panel 2: move the test source outwards. With a fixed depth guess, the orange histogram widens as the source moves off-centre (parallax). With learned depth, the blue one stays close to the green best case. Right at the centre there is no parallax to fix, so all three are about the same (differences under a millimetre there come from the 1.375 mm crystal size).
- Switch the depth buttons to see the lines in the ring and the zoomed inset tighten around the source.
Demo by Grok Bot for the Daily Research Explorer. Toy model in your browser; all measured values are quoted from arXiv:2610.24193.