arXiv:2610.02452cs.AIOct 2026

Manuscript Offprint

arXiv:2610.02452

Reinforcement Learning Techniques for the Optimization of Target Polarization in Nuclear Physics Scattering Experiments

Armen Kasparian, Torri Jeske, Monibor Rahman, Chris Keith, James Maxwell, Thomas Britton, Malachi Schram, David Lawrence

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Armen Kasparian, 1^{1} Torri Jeske, 2^{2} Monibor Rahman, 1^{1} Chris Keith, 3^{3} James Maxwell, 3^{3} Thomas Britton, 2^{2} Malachi Schram, 4^{4} and David Lawrence 2^{2}

1^{1}Data Science Department, Thomas Jefferson National Accelerator Facility, Newport News, VA 23606 USA

2^{2}EPSCI, Thomas Jefferson National Accelerator Facility, Newport News, VA 23606 USA

3^{3}Target Group, Thomas Jefferson National Accelerator Facility, Newport News, VA 23606 USA

4^{4}Advanced Computing, Mathematics, and Data (ACMD) Division, Pacific Northwest National Lab, Richland, WA 99354 USA

(Dated: October 5, 2026)

The operation of dynamically polarized targets in nuclear physics experiments relies on continuous tuning of the microwave frequency to compensate for radiation damage and evolving material properties, a task that is traditionally performed through manual trial-and-error by expert operators. This work presents a data-driven control framework that combines surrogate modeling with reinforcement learning to optimize the target polarization. Using operational data from the APOLLO cryogenic target system, we train and evaluate multilayer perceptron and Gaussian process regression models to predict polarization as a function of microwave frequency, beam current, and accumulated radiation dose. We show that Gaussian process-based models provide calibrated uncertainty estimates and reliably identify regions outside the training distribution, while MLPs exhibit limited sensitivity to distributional shift. To enable learning and control across multiple target samples, we introduce a Gaussian process approximation and embed the surrogate model within a standardized simulation environment. A reinforcement learning agent is trained using a lower-confidence-bound reward formulation that balances performance maximization against uncertainty. We are able to show an almost 2x improvement on the operators actions utilizing our RL agent.

1 INTRODUCTION

Nuclear physics facilities increasingly depend on complex, tightly coupled experimental subsystems that must operate continuously and reliably over extended run periods. In experimental halls at the Thomas Jefferson National Accelerator Facility (Jefferson Lab), maintaining stable performance requires frequent low-level adjustments to compensate for environmental drift, radiation-induced degradation, and evolving material properties across these subsystems. These adjustments are traditionally performed manually by expert operators using experience-driven heuristics and continuous monitoring. While effective, this approach places significant cognitive and operational demands on a small number of specialists and becomes increasingly difficult to sustain as experiments grow in duration and complexity. This has motivated growing interest in control systems that can assist human operators by adapting to changing conditions in a consistent, reliable, and data-driven manner.

Despite significant progress in artificial intelligence and machine learning for control and optimization in accelerator facilities, the application of ML techniques for controlling nuclear physics experimental subsystems remains relatively limited. Machine learning has seen widespread adoption in offline data analysis tasks, including event reconstruction, classification, and simulation, [1][1], with comparatively little attention has been given to online or near real-time control of experimental subsystems. This gap is driven in part by the stringent reliability, safety, and interpretability requirements of scientific facilities, as well as the prevalence of legacy control systems. As a result, experimental halls represent a largely unexplored application space for applied machine learning, with substantial potential impact if these constraints can be properly addressed.

Jefferson Lab’s spin-polarized solid targets present one such attractive candidate for the application of machine learning methods. These targets provide large ensembles of protons or deuterons with their spins aligned, or polarized, in a particular direction; increasing the degree of polarization improves the statistical significance of spin-dependent scattering experiments. Using ML techniques to replace or augment the effort of human operators who are charged with optimizing the polarization would increase the impact of these experiments while reducing time, effort, and cost.

This paper is outlined as follows. In Section 2, we provide an overview of polarized target systems used at Jefferson Lab. Section 3 details previous work of ML for scientific controls. Section 4 gives a background of the data processing, models and algorithms used. Section 5 provides an overview of the trained and calibrated surrogate models used in the analysis as well as the simulated environment. Section 6 demonstrates the results and performance analysis. Conclusions and future work are outlined in Section 7.

2 POLARIZED TARGETS AT JEFFERSON LAB

Jefferson Lab operates the Continuous Electron Beam Accelerator Facility (CEBAF), a 12 GeV electron accelerator for performing basic nuclear and particle research in four experimental halls, A, B, C, and D. In these halls, high energy beams of electrons or photons are scattered from a variety of nuclear targets to probe the dynamics of nucleons and nuclei. Polarized targets, in which the nuclear spins of the material have a net alignment along a chosen direction, enable precision measurements of the spin and electromagnetic structure of nuclear matter [2]. Polarized bulk solid target material is produced at JLab via Dynamic Nuclear Polarization (DNP).

In DNP, low temperatures and high magnetic fields are used to create very high electron polarization in paramagnetic radicals within the material. Microwave radiation near the electrons' spin resonance (ESR) frequency is then applied to drive spin-flip transitions that transfer the electron polarization to nearby nuclei. The nuclear polarization can be made parallel or anti-parallel to the magnetic field by adjusting the microwave frequency slightly below or above the ESR frequency, with the optimum frequencies largely determined by the width of the ESR line.

The most commonly utilized DNP materials at JLab are solid ammonia (NH₃) and deuterated ammonia (ND₃), which can provide proton (deuteron) polarizations in excess of 95% (50%) at operational conditions of 5 T and 1 K. The paramagnetic radicals in these materials are produced in situ with ionizing radiation; an initial dose of approximately 10¹⁷e⁻/cm² at a temperature of 80 K yields an optimum concentration for DNP.

As additional radiation from the experimental electron beam produces an overabundance of free radicals, the width of the ESR line increases, and the target polarization decreases in a roughly exponential manner. The rate of this polarization loss can be reduced by regular adjustment of the microwave frequency. Failure to maintain the optimum frequency means the polarization will drop more rapidly.

Annealing the sample at temperatures around 100 K for several minutes can partially repair the radiation damage and recover much of the initial polarization. However, these results are diminishing, and the sample must be replaced after five to ten anneals. This behavior is illustrated in Fig. 1 which shows the increasingly rapid decay of polarization with cumulative dose. The small spikes in polarization are due to microwave frequency adjustments to counter the decay.

The exact microwave frequency needed at any given point in time depends on a number of hard-to-quantify factors, including the accumulated dose and annealing history of the sample. In practice the frequency is determined by adjusting the frequency until the polarization

Material 20-3 Polarization vs. Cumulative Dose Periods: P08, P09, P10, P11

Figure

FIG. 1: Proton polarization as a function of cumulative radiation dose for NH3NH_{3} sample #20-3, used during data taking periods P08 through P11. The blue points correspond to positive polarization, and the red points correspond to negative polarization. In general, the rate at which the polarization degrades increases with the cumulative dose the material has received. The spikes in polarization can be due to either sudden changes in beam current or microwave frequency adjustments.

is maximized. Likewise, the rate at which the microwave frequency must change with the accumulation of dose is not precisely known, so maintaining an optimal polarization throughout an experiment depends on regular trial-and-error adjustments from a human operator. Maintaining optimal polarization is critical for the success of these experiments, as poor polarization directly impacts the statistical significance of spin-dependent measurements. Currently, achieving and sustaining high polarization requires continuous monitoring and manual tuning by expert operators.

For this study, we used a set of polarization data from the recent Run Group C experiments performed by the CLAS12 collaboration in Hall B, using the ‘APOLLO’ (Ammonia POLarized LOngitudinally) target [3].