More from DeepLearnPhysics
SPINEPoLAr-MAEPanda V1

Panda Diplomacy

Sensor-level Representation Learning across High-Energy and Nuclear Physics

Samuel Young1,2César Jesús-Valls3Omar A. Alterkait4Gregor Krzmanc1,2Kazuhiro Terao2

1Stanford University2SLAC National Accelerator Laboratory3CERN4Tufts University

PaperTraining codeInference codeModelsDataCite

Hover over an image to see the features that Panda V2 learns for each point.

Most experiments in high-energy and nuclear physics image particle interactions with detectors that record charge or light as 3D point clouds. Within this common format, the signature of a particle varies drastically across detectors: whereas a muon leaves a straight track in a liquid argon time projection chamber, it casts a sharp ring of light on the walls of a water Cherenkov detector. We take a step toward a general sensor-level foundation model, one that learns from raw detector hits rather than from reconstructed physics objects such as particles. We show that a single encoder architecture, pretraining recipe and fine-tuning recipe, which we name Panda V2, can be applied independently, with limited modifications, to four such detectors: a liquid argon TPC, the sPHENIX collider TPC, a water Cherenkov detector and the NEXT high-pressure xenon TPC. With frozen encoders and lightweight heads, the models match or exceed existing methods on most tasks, often with orders of magnitude fewer labeled images.

Method

Panda V2 pretraining: a student encodes local and masked views and matches the prototype assignments a teacher gives the global view.

Pretraining. The signature of a particle is, to good approximation, independent of where in the detector it travels, and what a small mask removes from an image can usually be inferred from its surroundings. Together, these properties provide a training signal that requires no labels. From each unlabeled image, we sample global, masked and local views; a student network encodes the masked and local views and learns to match, point by point, a teacher network's assignment of the global views to a learnable bank of prototypes, while the teacher follows an exponential moving average of the student. Starting from Panda V1, we change the encoder and the objective one component at a time, keeping the changes that both simplify the recipe and increase performance: a smaller encoder that moves its compute to finer resolutions, wider attention windows, hyperparameters held constant instead of scheduled, and a loss computed only on the points visible to the student, using features upcast through every stage. Together, these raise the linear-probe m$F_1$ from 94.2 to 96.8 on the liquid argon TPC and from 78.1 to 86.4 on sPHENIX.

Panda V2 fine-tuning: the frozen Panda Encoder feeds Panda Detector, which predicts particles, tracks or rings.

Fine-tuning. Pretraining a strong encoder is half the battle; we also need to make its features usable with task-specific heads that are small, simple to optimize and label efficient. With the encoder frozen, a linear layer or a small MLP classifies each point, and Panda Detector, a DETR-style query decoder, groups points into particles, tracks or rings. Such decoders are difficult to train with few labels, so we improve Panda Detector at 100 labeled images: we pretrain the decoder on synthetic point clouds drawn from Gaussian mixtures before it sees any detector data, mix a second labeled image into each training image, and decode with a rule that keeps low-confidence objects. At 100 labeled images, these changes raise particle clustering ARI by 9.7 on the liquid argon TPC and track finding ARI by 25.8 on sPHENIX.

Results

Transfer between detectors

We apply each pretrained encoder to the tasks of the other three detectors, training a task head on 1,000 labeled images while only the encoder's input projection and batch normalization layers adapt. Each row is the detector an encoder was pretrained on, each column the detector it is applied to, and each cell a percentage of the in-domain encoder's score. On the liquid argon TPC, sPHENIX and water Cherenkov detectors, a frozen encoder from another detector reaches 83–98% of the in-domain score, whereas on NEXT it reaches less than half.

Open models and data

Pretrained encoders, fine-tuned models and the four datasets are on the Hugging Face Hub, and load through pimm, the library we used to pretrain and fine-tune them.


    
  
InputLearned representationsObjects

Citation

@misc{young2026pandadiplomacyfoundationmodel,
      title={Panda Diplomacy: Sensor-level Representation Learning across High-Energy and Nuclear Physics}, 
      author={Samuel Young and César Jesús-Valls and Omar A. Alterkait and Gregor Krzmanc and Kazuhiro Terao},
      year={2026},
      eprint={2609.00611},
      archivePrefix={arXiv},
      primaryClass={hep-ex},
      url={https://arxiv.org/abs/2609.00611}, 
}