SensOFormer: Foundation Models for Particle Accelerators

Mahindra Singh Rautela, Alexander ScheinkerNeurIPS 2026

TL;DR

Particle accelerators are towering achievements of engineering, monitored by thousands of noisy, asynchronous sensors that historically required bespoke machine learning models for every individual diagnostic task. SensOFormer introduces the first foundation model for accelerator telemetry: by treating sensor readings as unordered sets and pretraining on multi-facility archives, a single self-supervised backbone learns to fill in missing data, catch hardware anomalies early, and pinpoint faults—even on accelerators it has never seen before.

What Problem Does This Paper Address?

Imagine trying to keep a beam of subatomic particles—traveling near the speed of light—perfectly focused inside a miles-long vacuum tube. Doing so requires thousands of tightly coupled subsystems (magnets, radio-frequency cavities, cooling, power supplies) working in concert. Modern facilities log years of operational telemetry from these instruments, yet most of this rich archive sits unlabeled.

Historically, scientists have built narrow, task-specific ML models for individual problems at single facilities. Scaling these pipelines across facilities hits a wall because operational telemetry is famously messy:

  • No fixed layout: Available sensors, their ordering, and channel counts ($C$) vary wildly across sectors and eras—from a handful of waveforms to over 1,700 channels. Standard models expecting a rigid input matrix break if a sensor drops out or gets reordered, and padding to a global maximum wastes massive compute.
  • Asynchronous and drifting: Subsystems run on wildly different clocks (nanosecond beam events vs. slow thermal drifts), suffer dropouts, and shift distributions as components age or operating modes change.
  • Scarce fault labels: Annotating why a superconducting cavity tripped requires expensive post-hoc detective work by human experts.

Methods

To handle arbitrary sensor configurations without padding, the authors design SensOFormer, a Perceiver-inspired encoder–processor–decoder architecture paired with a self-supervised masked denoising objective.

SensOFormer architecture: a permutation-invariant set encoder, temporal latent transformer, and permutation-equivariant set decoder.
  1. Denoising Masked Pretraining: Instead of autoregressive next-step forecasting—ill-suited for systems with no single dominant timescale—SensOFormer plays fill-in-the-blank. During pretraining, a mask is sampled from a bank (point-wise, time-wise, channel-wise, or block-wise) to hide measurements, while random noise is injected into the remaining visible points. The model must reconstruct the clean hidden values. Structured masking strategies and noise injection used during pretraining.

  2. Set Encoder (Permutation-Invariant): At each time step, observed sensors are treated as an unordered set of tokens (containing the value and a binary mask indicator). A fixed number of learnable latent queries cross-attend to these channel tokens, compressing variable sensor counts into a fixed-width latent vector regardless of channel order.

  3. Latent Transformer & Set Decoder: A standard transformer processes the compressed sequence across time. Then, a permutation-equivariant set decoder uses the original channel tokens to query the latent memory, outputting reconstructions that match the exact sensors requested.
Structured masking strategies and noise injection used during pretraining.

For downstream tasks, the pretrained encoder and processor are frozen, and lightweight task-specific heads (like small 1D CNNs) are attached to classify anomalies or faults.

Datasets

The authors assemble a diverse multi-facility benchmark spanning six major accelerators:

  • Pretraining & Evaluation: Operational telemetry from LANSCE (2019–2024, variable channels up to 1,754), beam-loss time series from CERN's LHC, RF station waveforms from SLAC's LCLS, high-voltage converter modulator (HVCM) waveforms from ORNL's SNS, and extracted RF fault features from JLab's CEBAF.
  • Zero-Shot Holdouts: LANSCE (2025) tests generalization across temporal drift into a future operating year, while Fermilab's GMPS-Booster tests zero-shot transfer to a completely unseen accelerator facility.
Table 1: Datasets used for pretraining and downstream evaluation. The benchmark spans operational telemetry and subsystem-specific diagnostics from multiple accelerator facilities. Tensor shapes are reported as (N, T, C), where N is the number of examples, T is the number of time steps, and C is the number of sensors/channels. For SRF-CEBAF, the 192 entries represent extracted features (8 cavities × 4 signals × 6 features per signal), rather than temporal steps. MDI denotes missing-data imputation, and N ∗denotes a variable number of samples and C∗denotes a variable number of channels, with the bracketed range indicating the minimum and maximum number of channels across the dataset. LANSCE-2025 and GMPS-Booster-Fermilab are evaluation-only, not included in pretraining.

Key Insights and Ideas

  • Sensors belong in sets, not columns: Treating channels as an unordered set decouples representation learning from rigid hardware layouts. That is the magic key allowing a single model to ingest a 192-feature vector from CEBAF alongside a 1,754-channel stream from LANSCE.
  • Scaling laws hold for scientific telemetry: Scaling the model from 2.38M (XTi) to 80.54M (B) parameters alongside data volume steadily drives down reconstruction loss (fitted scaling exponents $\alpha = 0.715$ for model size, $\beta = 0.374$ for data). Compute-optimal scaling favors growing the multi-facility dataset even faster than parameter count.
  • Pretraining unlocks label efficiency: Because the frozen backbone already understands normal cross-channel physics, downstream diagnostic heads need far fewer expensive expert-annotated fault examples to beat specialist baselines trained from scratch.

Key Results

  • Zero-Shot Imputation: Across 28 dataset–mask combinations (5% to 50% missing data), the largest SensOFormer-B model achieves the lowest reconstruction error in 25 settings. Crucially, it transfers zero-shot to the unseen Fermilab GMPS-Booster facility, dropping Mean Absolute Error (MAE) at 15% masking from 154.46 (XTi) to 148.07 (B).
  • Early Anomaly Detection (HVCM-SNS): With a frozen backbone and a tiny CNN head, SensOFormer-B passes 21 out of 21 (100%) induced early-fault tests, outperforming 9 prior baselines including a specialized hierarchical voting ensemble (95.2%, 20/21).
  • Fault & Cavity Identification (SRF-CEBAF): SensOFormer-XTi matches top baselines on cavity identification (84.80% vs. 84.60%) and leaps ahead on fault type classification, boosting accuracy from 74.10% to 84.01%—and reaching 85.69% when scaled to the B backbone. Remarkably, it beats the 74.10% full-data baseline using only 25% of the labeled training data.

Limitations and Future Work

  • Compute & Latency: Pretraining incurs high upfront compute costs, and larger backbones increase inference latency. All evaluations here are offline; integrating SensOFormer into real-time, low-latency accelerator control loops remains future work.
  • Distribution Shifts: Reconstruction errors jump noticeably on the unseen LANSCE-2025 dataset due to year-over-year operational drift. The authors suggest exploring parameter-efficient fine-tuning and continual learning to keep the model sharp as hardware ages and operating modes evolve, noting that small specialist models may still make sense for static, well-labeled setups.

Summary updated

BibTeX
@inproceedings{rautela2026sensoformer,
  author = {Mahindra Singh Rautela and Alexander Scheinker},
  title = {{SensOFormer: Foundation Models for Particle Accelerators}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=eYVHMuJhwo},
}
Figure