Manuscript Offprint
arXiv:2608.27077Learning Transverse Momentum Distributions from Raw Scattering Events via Conditional Diffusion
Abstract
Extracting transverse momentum dependent parton distribution functions (TMD PDFs) from semi-inclusive deep inelastic scattering (SIDIS) data is a central goal of the nucleon structure program at Jefferson Lab and the future Electron-Ion Collider. Traditional extraction methods rely on parameterized functional forms and iterative fitting, which can limit the flexibility of the resulting distributions and make uncertainty quantification cumbersome. We present a conditional diffusion model that learns to map raw SIDIS event kinematics directly to TMD PDFs, bypassing explicit functional assumptions. Evaluated on simulated SIDIS data at CLAS12 kinematics, the model recovers the underlying TMD with informative uncertainties that narrow steadily with increasing event statistics, and produces reliable estimates even with as few as 1,000 conditioning events, a statistics-limited regime directly relevant to ongoing and planned experiments.
1 Introduction
Transverse momentum dependent parton distribution functions (TMD PDFs) describe the joint distribution of quarks and gluons in longitudinal momentum fraction x and transverse momentum inside the proton, providing a three-dimensional picture of nucleon structure in momentum space [Collins, 2011]. Semi-inclusive deep inelastic scattering (SIDIS) is one of the primary channels for accessing TMDs experimentally. With the CLAS12 detector at Jefferson Lab already collecting high-statistics SIDIS data [Burkert et al., 2020] and the Electron-Ion Collider on the horizon [Abdul Khalek et al., 2022], the volume and kinematic reach of available measurements will grow substantially over the coming decade.
Standard TMD extractions parameterize the non-perturbative component of the distribution, then fit the parameters to binned cross-section data by minimization [Collins, 2011]. This strategy has produced reliable global fits, but the results depend on the chosen functional form, and propagating uncertainties through the full theory chain, where Sudakov evolution, matching corrections, and Fourier–Bessel transforms, remains expensive.
Motivated by these limitations, we explore an alternative extraction strategy based on conditional diffusion models [Ho et al., 2020, Alghamdi et al., 2025]. The idea is to learn the map from raw SIDIS event kinematics directly to the TMD, bypassing explicit parameterization. Specifically, the model represents the TMD on a discretized grid (here is the Fourier conjugate of ; the two carry the same information) and learns to denoise it conditioned on a variable-size set of observed events, which are encoded using a permutation-invariant PointNet-Pool architecture [Qi et al., 2017] followed by a transformer encoder. Because the diffusion process is inherently stochastic,
Conference on Physics and AI at Stanford University (PAI 2026).

Figure 1: Overview of the proposed framework. A variable-size set of raw SIDIS events is first mapped to per-point features by a shared PointNet convolution layer, then aggregated through six-way global pooling and refined by a lightweight Transformer encoder to produce a fixed-dimensional conditioning vector. This vector, together with a sinusoidal timestep embedding, guides a 2D UNet that iteratively denoises Gaussian noise into a predicted TMD image .
posterior uncertainty is obtained simply by drawing multiple samples, with no additional inference step required.
We test the framework on simulated SIDIS data at CLAS12 kinematics. The extracted TMDs agree well with the ground truth, and the uncertainty bands narrow as the number of conditioning events increases, consistent with the expected statistical scaling.
To enable efficient evaluation and learning of the SIDIS cross section, we adopt a discretized representation of the underlying TMDs using a localized basis expansion. Specifically, functions such as and are expressed as linear combinations of basis functions defined on a grid in space. This representation allows all subsequent operations in the SIDIS pipeline—including evolution, convolution, and Fourier–Bessel transforms—to act linearly on the basis functions rather than directly on the unknown coefficients. As a result, computationally expensive operators can be precomputed and reused, reducing the full pipeline to a sequence of tensor contractions in coefficient space. This structure is particularly well-suited for generative modeling, where the diffusion model learns to produce physically consistent coefficient configurations that are subsequently mapped to observable distributions through the fixed physics pipeline. Importantly, because the diffusion model interfaces with the theory solely through simulated events, the pipeline is not required to be differentiable or written in the same programming language [Braga et al., 2025], which makes the framework readily applicable to other physics pipelines.
Conditional diffusion model. The overall model architecture is illustrated in Figure 1. We employ a DDPM [Ho et al., 2020] with a 2D UNet backbone [Ronneberger et al., 2015] to model the distribution of TMD images. The UNet operates on images with base channel width 96 and multipliers , using a cosine noise schedule [Nichol and Dhariwal, 2021] with diffusion steps. The input TMD is transformed via to compress the dynamic range before diffusion. During training, a clean TMD image is corrupted by Gaussian noise according to
where is the cumulative noise schedule. The model is trained to predict the added noise by minimizing
(2) where denotes the conditioning embedding from the event encoder. At inference, new TMD samples are generated by iteratively denoising from .
Event conditioning. To condition on a variable-size set of observed events, we use a PointNet-Pool encoder [Qi et al., 2017]. Each 5D event is processed by shared 1D convolutions ( ), followed by six-way global pooling that produces a fixed 641-dimensional summary vector:
where are the per-point features and N is the number of events. This vector is projected to 128 dimensions via a residual MLP. The event embedding is added to the sinusoidal timestep embedding and injected into each UNet residual block.
3 Experiments
3.1 Setup
(a) Theory
(b) Model,

(c) Model,
(d) Model,
Figure 2: Evolved TMD on the full grid at a representative slice. (a) Theory ground truth. (b–d) Diffusion model predictions (ensemble mean over 128 noise replicas) conditioned on , 10,000, and 100,000 events, respectively.
We evaluate the conditional diffusion model on SIDIS at , matching CLAS12 kinematics at Jefferson Lab [Burkert et al., 2020]. The TMD PDF is parameterized on a grid in with (log-spaced) and GeV . The SIDIS theory module evolves the input TMD through perturbative Sudakov resummation, operator product expansion (OPE) corrections, and non-perturbative modeling, then computes differential cross section via Fourier transform from -space to -space. Events are sampled from the resulting cross section using an inverse transform sampler.
Training uses a pre-generated parametric dataset of 50,000 TMD images with randomized non-perturbative parameters, optimized with Adam [Kingma and Ba, 2015] (learning rate , batch size 128) for 1,000 epochs. To study the dependence on the number of conditioning events, we train three models with , all other hyperparameters held fixed.
3.2 Results
Figure 2 shows the evolved TMD on the full grid, comparing the theory ground truth to the model predictions at each conditioning event count. The model progressively recovers the two-dimensional structure of the distribution as increases.

Figure 3: This figure shows one-dimensional slices of the two-dimensional TMD in Figure 2, at fixed x as a function of . Evolved TMD slices at epoch 1,000 for three conditioning event counts. Dark gray: theory ground truth. Blue line and band: diffusion model mean over 128 noise replicas. Bottom panels: absolute model standard deviation . As increases, the prediction converges to the true TMD with narrowing uncertainty.
Figure 3 shows evolved TMD slices vs. at two representative values, comparing the theory ground truth (dark gray) to the diffusion model prediction (blue) with model uncertainty bands from 128 independent diffusion samples.
We summarize the spread of the diffusion posterior by , the standard deviation across 128 independent samples averaged over all grid points. With events, the model captures the overall shape of the TMD but exhibits a broad uncertainty band , reflecting the limited statistical information in a small event sample. At , the mean closely tracks the theory curve across the full range with uncertainty narrowing to . At , model and theory are nearly indistinguishable, with .
This scaling behavior is physically expected: the statistical precision of the conditioning events improves as , and the diffusion model faithfully translates this into correspondingly tighter posterior predictions. Crucially, even at —an event count accessible in sparse kinematic bins or early-phase experiments—the model produces a reasonable TMD estimate with informative uncertainty. This demonstrates that the conditional diffusion framework can operate in data-scarce regimes relevant to upcoming EIC measurements [Abdul Khalek et al., 2022], where many bins will have limited statistics.
4 Discussion and Conclusion
We have demonstrated that a conditional DDPM can extract TMD PDFs from raw SIDIS event kinematics with informative uncertainties. The PointNet-Pool encoder provides an effective, permutation-invariant interface between variable-size event sets and the diffusion model, enabling natural uncertainty quantification through repeated stochastic sampling. The model's performance scales gracefully with the number of conditioning events, producing informative posteriors even in low-statistics regimes.
Several directions remain for future work: extending to next-to-leading order (NLO) theory, incorporating polarized observables, training on real experimental data from CLAS12, scaling to large-scale multi-GPU training, and applying the framework to projected Electron-Ion Collider pseudo-data with realistic detector effects.
Acknowledgments and Disclosure of Funding
This work is partially supported by the U.S. Department of Energy, Office of Science, Office of Nuclear Physics, Office of Advanced Scientific Computing Research through the Scientific Discovery through Advanced Computing (SciDAC) program, under contracts DE-AC02-06CH11357, DE-AC05-06OR23177, and DE-SC0023472.
References
J. Collins. Foundations of Perturbative QCD. Cambridge University Press, 2011.
V D Burkert et al. The CLAS12 spectrometer at Jefferson Laboratory. Nuclear Instruments and Methods in Physics Research Section A, 959:163419, 2020.
R Abdul Khalek et al. Science requirements and detector concepts for the Electron-Ion Collider: EIC yellow report. Nuclear Physics A, 1026:122447, 2022.
J. Ho, A. Jain, and P. Abbeel. Denoising diffusion probabilistic models. In Advances in Neural Information Processing Systems, volume 33, pages 6840–6851, 2020.
T. Alghamdi, J. Xu, N. Ramachandra, N. Sato, and Y. Li. Towards an event-level analysis in hadronic physics using generative AI-based surrogates. In 2025 IEEE 37th International Conference on Tools with Artificial Intelligence (ICTAI), pages 445–452, 2025. doi: 10.1109/ICTAI66417.2025.00067.
C. R. Qi, H. Su, K. Mo, and L. J. Guibas. PointNet: Deep learning on point sets for 3D classification and segmentation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 652–660, 2017.
J. C. Collins, D. E. Soper, and G. Sterman. Transverse momentum distribution in Drell–Yan pair and W and Z boson production. Nuclear Physics B, 250:199–224, 1985.
K. Braga, M. Diefenthaler, S. Goldenberg, D. Lersch, Y. Li, J.-W. Qiu, K. Rajput, F. Ringer, N. Sato, and M. Schram. Toward an event-level analysis of hadron structure using differential programming. arXiv preprint arXiv:2507.15768, 2025.
O. Ronneberger, P. Fischer, and T. Brox. U-Net: Convolutional networks for biomedical image segmentation. In Medical Image Computing and Computer-Assisted Intervention – MICCAI 2015, pages 234–241. Springer, 2015.
A. Q. Nichol and P. Dhariwal. Improved denoising diffusion probabilistic models. In International Conference on Machine Learning, pages 8162–8171, 2021.
D. P. Kingma and J. Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2015. Published as a conference paper at ICLR 2015.