betaFeedback

WorksPhysics and Astronomy

UrQMD-Agent: An LLM-Assisted Framework for Microscopic Tracing of Proton Azimuthal Correlations

Abstract

We present an LLM-assisted framework for microscopic transport studies that connects a general-purpose large language model (LLM) to the UrQMD transport model through a model-specific Skill and a deterministic scientific tool layer. The LLM supports literature-guided scientific planning and interpretation, while numerical calculations, event-history reconstruction, and statistical analyses are performed by deterministic tools. As a demonstration, the framework is applied to proton azimuthal-partition fluctuations in Au+Au collisions at sNN=3.0\sqrt{s_{NN}}=3.0–39~GeV. In the 0–5% centrality class, the fluctuations are statistically resolved below zero from 3 to 27~GeV and consistent with zero at 39~GeV. An exact pair-kernel decomposition shows that the negative signal is carried mainly by proton pairs containing at least one decay-fed proton. A random-label null test further distinguishes the observed pair contributions from expectations based on pair abundance alone. Reaction-history tracing shows that, for pairs of two decay-fed protons, the negative pair-kernel contribution is already present in the parent momenta evaluated at their respective formation vertices. The modular architecture is designed to accommodate different general-purpose LLMs and can be extended to other microscopic transport models through dedicated Skills and tool interfaces. This provides a pathway toward systematic microscopic analyses and comparisons across transport models within a common LLM-assisted framework.

Introduction

Large language models (LLMs) are increasingly employed as scientific agents that integrate natural-language reasoning with literature retrieval, code execution, and domain-specific computational tools [1, 2, 3, 4, 5, 6, 7, 9] [8]. Recent applications in physics include automated Monte Carlo workflows in nuclear engineering, quantum many-body simulations and tensor-network algorithm development, collider phenomenology and analysis reproduction, experimental high-energy physics analyses, and relativistic heavy-ion hydrodynamics [10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24]. These studies illustrate the use of LLM agents in computational workflows involving model configuration, simulation, data processing, and interpretation.

Relativistic heavy-ion collisions provide an important means of investigating the properties and dynamical evolution of strongly interacting matter [25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36]. Microscopic transport models describe the collision dynamics at the particle level by following particle propagation, scattering, production, and decay processes on an event-by-event basis [37, 38, 39, 40, 41, 42]. Among these models, the Ultra-relativistic Quantum Molecular Dynamics (UrQMD) model has been widely used to study hadronic observables over a broad range of collision energies [43, 44, 45, 46, 47, 48, 49, 50, 51, 52]. When microscopic interactions and decays are recorded, UrQMD also allows final-state observables to be examined in relation to the underlying reaction history. Such analyses require detailed knowledge of the model implementation, reconstruction of particle histories, and dedicated statistical tools.

In this work, we construct an LLM-assisted environment by coupling a general-purpose LLM with a local UrQMD installation through the model-specific UrQMD Skill and a deterministic scientific tool layer. Guided by relevant literature and model documentation, the LLM plans the simulation and analysis workflow, while deterministic tools prepare inputs, execute UrQMD calculations, compute observables, and reconstruct microscopic event histories. Changes to the physics configuration and new production runs require user confirmation. The LLM interprets the validated results, whereas numerical evidence is obtained through deterministic operations on recorded UrQMD output. This framework enables final-state observables to be connected to microscopic reaction histories rather than treating UrQMD solely as an event generator.

We demonstrate the framework by studying proton azimuthal-partition fluctuations in Au+Au collisions. This observable measures the deviation of proton multiplicity fluctuations from an independent-binomial baseline within randomly oriented azimuthal windows, and negative values have been reported in transport calculations [53]. Using UrQMD simulations at sNN=3.0\sqrt{s_{NN}} = 3.0, 7.7, 11.5, 19.6, 27, and 39 GeV, we first examine the dependence of the observable on beam energy, centrality, proton multiplicity, and partition width using high-statistics samples. We then introduce an exact eventwise proton-pair representation to identify the pair populations contributing to the negative signal. For pairs of two decay-fed protons (DD), we further use the recorded reaction history to evaluate the pair correlation with the momenta of their parent resonances immediately before decay and at their respective formation vertices.

The remainder of this paper is organized as follows. Section II describes the UrQMD agent framework, simulation setup, observable, and microscopic history analysis. Section III presents the high-statistics benchmark tests and the proton-pair-level reaction-history results. Section IV summarizes the main conclusions and outlines future work.

Method

UrQMD Skill and agentic workflow

Figure 1 illustrates the LLM-assisted analysis framework employed in this work, which connects a general-purpose LLM to a local UrQMD installation through a model-specific UrQMD Skill and a deterministic scientific tool layer. Given a scientific question, the LLM consults relevant literature and model documentation and uses the UrQMD Skill to propose appropriate model settings and analysis procedures. The Skill provides model-specific knowledge and guidance, including simulation conventions, configuration options, analysis procedures, and validation rules grounded in the UrQMD source code and documentation. After the proposed physics configuration and computational plan are confirmed by the user, the LLM invokes the deterministic tools to prepare input files, execute UrQMD simulations, and process the resulting event records. These tools support the calculation of final-state observables, pair-level correlation decomposition, reconstruction of particle genealogies and microscopic reaction histories, statistical analyses and consistency checks, and controlled transport interventions. All numerical computations are performed by these tools rather than by the LLM itself, supporting the reproducibility and traceability of the analysis. The validated results are then returned to the LLM for scientific interpretation and the formulation of subsequent analyses. In the present study, this framework is first used to evaluate proton azimuthal-partition fluctuations with high-statistics UrQMD event samples and then to trace the observed negative correlation through the recorded microscopic reaction history.

Figure 1. The architecture of the LLM+UrQMD analysis framework. A general-purpose LLM formulates the analysis with model-specific guidance from the UrQMD Skill. Execution-changing actions pass through user confirmation before deterministic tools configure and run UrQMD, process the resulting event records, and return validated evidence to the LLM. All numerical results are produced by the deterministic tool layer.

UrQMD setup and event samples

We simulated Au+Au collisions at sNN=3.0\sqrt{s_{NN}} = 3.0, 7.7, 11.5, 19.6, 27, and 39 GeV using the UrQMD transport model in cascade mode. For the azimuthal-partition analysis, we generated 200,000 events at each energy. In addition, a separate set of 80,000 events per energy was generated with the full microscopic interaction history preserved, for pair decomposition and reaction history tracking. Protons were selected in the midrapidity region with ∣y∣<0.5|y| < 0.5 and 0.4<pT<20.4 < p_{\mathrm{T}} < 2 GeV/cc. Event activity is characterized by RefMult, defined as the number of final-state charged hadrons within ∣η∣<0.5|\eta| < 0.5. Unless otherwise stated, only interacting events—those in which at least one binary nucleon–nucleon collision occurs—are included in the analysis.

The 200,000-event benchmark analysis uses the original RefMult definition, while the microscopic analysis uses a proton-excluded reference multiplicity, RefMult3, defined by excluding protons and antiprotons from the charged-hadron count within ∣η∣<0.5|\eta| < 0.5. A cross-check within the history-rich sample shows that the total fluctuation in the 0–5% centrality class is statistically consistent between the two definitions.

Azimuthal-partition observable and statistical analysis

The normalized azimuthal-partition fluctuation is defined as

Δσ2(N,w)=σ2(Nw)−NP0(1−P0)N(N−1),P0=w2π,(1)\Delta\sigma^{2}(N,w) = \frac{\sigma^{2}(N_{w}) - N P_{0}(1-P_{0})}{N(N-1)}, \qquad P_{0} = \frac{w}{2\pi}, \tag*{(1)}

where NN is the accepted-proton multiplicity, ww is the azimuthal window width, and NwN_{w} is the number of accepted protons within a randomly oriented window of width ww. Here, σ2(Nw)\sigma^{2}(N_{w}) denotes the variance of NwN_{w} at fixed NN, and P0P_{0} is the probability for a proton to fall within the window under a uniform azimuthal distribution. Positive values of Δσ2\Delta\sigma^{2} indicate fluctuations above the independent-binomial baseline, while negative values indicate suppressed fluctuations.

For each event, 72 random azimuthal orientations are sampled. The physical event is taken as the statistical unit, with all orientations from the same event kept together in the bootstrap resampling. Statistical uncertainties are obtained with a Poisson event-block bootstrap and are quoted as one bootstrap standard error. Statistical resolution is assessed from the corresponding 95% bootstrap interval. For the microscopic history-rich analysis, an ordinary event-block bootstrap with 2000 replicas is used, and paired quantities evaluated at different genealogical levels share the same resampled event indices, so that stage-to-stage contrasts retain their event-level correlations.

Results are presented both at fixed NN and after averaging over the supported NN bins. The fixed-NN analysis is performed at w=120∘w = 120^\circ, while the event-activity dependence is shown as a function of RefMult. The width dependence is evaluated at w=60∘w = 60^\circ, 72∘72^\circ, 90∘90^\circ, 120∘120^\circ, 180∘180^\circ, 240∘240^\circ, 270∘270^\circ, 288∘288^\circ, and 300∘300^\circ, using a pairwise fixed-NN weighting defined at w=120∘w = 120^\circ. Only bins with at least 20 contributing events are included in the averaged results.

The width dependence is summarized with the empirical form [53]

⟨Δσ2⟩(w)=b[1−(w−180∘z)2],(2)\langle\Delta\sigma^2\rangle(w) = b\left[1-\left(\frac{w-180^\circ}{z}\right)^2\right], \tag*{(2)}

where bb characterizes the amplitude and zz the curvature of the width dependence.

For the microscopic analysis, an exact eventwise representation of the observable is used. Consider an event with NN accepted protons at azimuthal angles ϕ1,…,ϕN\phi_1,\ldots,\phi_N, while the partition orientation ψ\psi is uniformly sampled over [0,2π)[0,2\pi). Let Xi(ψ)∈{0,1}X_i(\psi)\in\{0,1\} indicate whether proton ii lies inside the azimuthal window WψW_\psi. Then Nw(ψ)=∑iXi(ψ)N_w(\psi)=\sum_i X_i(\psi), ⟨Xi⟩ψ=P0\langle X_i\rangle_\psi=P_0, and Var⁡ψ(Xi)=P0(1−P0)\operatorname{Var}_\psi(X_i)=P_0(1-P_0). For a proton pair (i,j)(i,j), the minimal circular separation is

dij=min⁡(∣ϕi−ϕj∣,2π−∣ϕi−ϕj∣).d_{ij}=\min\left(|\phi_i-\phi_j|,2\pi-|\phi_i-\phi_j|\right).

The probability that both protons lie inside the same window is purely geometrical,

q(w,d)={max⁡(w−d,0)/(2π),w≤π,1−[2ℓ−max⁡(ℓ−d,0)]/(2π),w>π,(3)q(w,d)= \begin{cases} \max(w-d,0)/(2\pi), & w\le\pi,\\ 1-[2\ell-\max(\ell-d,0)]/(2\pi), & w>\pi, \end{cases} \tag*{(3)}

where ℓ=2π−w\ell=2\pi-w. The corresponding pair covariance under random partition orientations is

K(w,d)≡Cov⁡ψ(Xi,Xj)=q(w,d)−P02.(4)K(w,d)\equiv\operatorname{Cov}_\psi(X_i,X_j)=q(w,d)-P_0^2. \tag*{(4)}

Here KK is a geometrical covariance associated with the random partition orientation, rather than a dynamical interaction between the two protons. Expanding Var⁡ψ(Nw)\operatorname{Var}_\psi(N_w) gives the exact eventwise identity

Δσevent2(w)=2N(N−1)∑i<jK(w,dij).(5)\Delta\sigma^2_{\mathrm{event}}(w)=\frac{2}{N(N-1)}\sum_{i<j}K(w,d_{ij}). \tag*{(5)}

Thus, Δσ2\Delta\sigma^2 can be written exactly as the mean pair-kernel contribution over all unordered proton pairs. At fixed NN, the ensemble average of Eq. (5) reproduces Eq. (1). We verified that the 72-orientation estimator agrees with the analytic pair-kernel evaluation within statistical uncertainties. Events with N<2N<2 are excluded from pair-level quantities because the pair normalization is undefined.

Because Eq. (5) is additive in proton pairs, the full pair sample can be divided into disjoint classes without changing the normalization. An accepted proton is classified as decay-fed (D) if it originates from a recorded decay vertex and as non-decay-fed (X) otherwise. A DD pair contains two decay-fed protons, a DX pair contains one decay-fed and one non-decay-fed proton, and an XX pair contains two non-decay-fed protons. Their contributions satisfy

Δσtotal2(w)=ΔσDD2(w)+ΔσDX2(w)+ΔσXX2(w).(6)\Delta\sigma^2_{\mathrm{total}}(w)=\Delta\sigma^2_{\mathrm{DD}}(w)+\Delta\sigma^2_{\mathrm{DX}}(w)+\Delta\sigma^2_{\mathrm{XX}}(w). \tag*{(6)}

The decomposition is evaluated at w=120∘w=120^\circ. All DD pairs in the history-rich sample are associated with two distinct parent resonances. No same-parent or unresolved-parent DD pairs are present.

An additive class contribution reflects both the abundance of pairs in that class and their mean correlation strength. For an event with NN accepted protons and M=N(N−1)/2M=N(N-1)/2 unordered pairs, we define the pair fraction Fa=na/MF_a=n_a/M of class a∈{DD,DX,XX}a\in\{\mathrm{DD},\mathrm{DX},\mathrm{XX}\} containing pair nan_a and its per-pair mean kernel K‾a=na−1∑(i,j)∈aK(120∘,dij)\overline{K}_a=n_a^{-1}\sum_{(i,j)\in a}K(120^\circ,d_{ij}), so that Δa=FaK‾a\Delta_a=F_a\overline{K}_a holds eventwise. This separation distinguishes whether a class contributes through pair abundance or through a more negative per-pair correlation. Ensemble averages are taken over the eventwise products; ⟨Δa⟩=⟨FaK‾a⟩\langle\Delta_a\rangle=\langle F_a\overline{K}_a\rangle is in general not equal to ⟨Fa⟩⟨K‾a⟩\langle F_a\rangle\langle\overline{K}_a\rangle.

To test whether the decay-fed identity is preferentially associated with the pair-kernel structure beyond pair abundance, we construct a random-label null test. For an event with NDN_D decay-fed and NX=N−NDN_X=N-N_D non-decay-fed accepted protons, the class pair counts are nDD=ND(ND−1)/2n_{\mathrm{DD}}=N_D(N_D-1)/2, nDX=NDNXn_{\mathrm{DX}}=N_DN_X, and nXX=NX(NX−1)/2n_{\mathrm{XX}}=N_X(N_X-1)/2. These counts determine the pair fractions FaF_a defined above. The null preserves the proton azimuthal configuration and the counts NDN_D and NXN_X while randomly reassigning the D/X labels among accepted protons. The exact conditional null expectation and the corresponding residual are defined as

Δa,enull=Fa,e Δtotal,e,Ra,e≡Δa,e−Δa,enull,(7)\Delta^{\mathrm{null}}_{a,e}=F_{a,e}\,\Delta_{\mathrm{total},e},\qquad R_{a,e}\equiv\Delta_{a,e}-\Delta^{\mathrm{null}}_{a,e}, \tag*{(7)}

The total pair contribution remains unchanged, and RDD,e+RDX,e+RXX,e=0R_{\mathrm{DD},e}+R_{\mathrm{DX},e}+R_{\mathrm{XX},e}=0 holds exactly for each event. A negative RaR_a indicates a more negative contribution than expected from pair abundance alone, while a positive RaR_a indicates a less negative or more positive contribution. Ensemble averages of RaR_a are evaluated using the same event aggregation and paired event-block bootstrap as the pair decomposition.

The recorded reaction histories allow the same DD pair population to be followed backward through the hadronic evolution. For each decay-fed proton, the decay record identifies the parent resonance and its four-momentum immediately before decay. The resonance is then traced backward through its unique particle identifier to the interaction in which it was formed. For the identical DD pair population, the exact pair kernel is evaluated at three genealogical levels ss,

ΔDDs(w)=2N(N−1)∑(i,j)∈DDK(w,dijs),(8)\Delta_{\mathrm{DD}}^{s}(w)=\frac{2}{N(N-1)}\sum_{(i,j)\in\mathrm{DD}}K(w,d_{ij}^{s}), \tag*{(8)}

where s∈{form,predecay,final}s\in\{\mathrm{form},\mathrm{predecay},\mathrm{final}\} labels the three genealogical levels corresponding to the parent momenta evaluated at their respective formation vertices, the parent momenta immediately before decay, and the final-state proton momenta, respectively, and dijsd_{ij}^{s} is the corresponding azimuthal separation of the pair. The final accepted-proton multiplicity NN is used in the normalization at all three levels, and the construction is evaluated at w=120∘w=120^\circ. The two parent resonances of a DD pair need not be formed at the same physical time; the formation-vertex quantity is therefore a genealogical construction rather than an equal-time pair observable.

The changes between successive levels are defined as

δDDtransport=ΔDDpredecay−ΔDDform,\delta_{\mathrm{DD}}^{\mathrm{transport}}=\Delta_{\mathrm{DD}}^{\mathrm{predecay}}-\Delta_{\mathrm{DD}}^{\mathrm{form}},
δDDdecay=ΔDDfinal−ΔDDpredecay,(9)\delta_{\mathrm{DD}}^{\mathrm{decay}}=\Delta_{\mathrm{DD}}^{\mathrm{final}}-\Delta_{\mathrm{DD}}^{\mathrm{predecay}}, \tag*{(9)}

so that ΔDDform+δDDtransport+δDDdecay=ΔDDfinal\Delta_{\mathrm{DD}}^{\mathrm{form}}+\delta_{\mathrm{DD}}^{\mathrm{transport}}+\delta_{\mathrm{DD}}^{\mathrm{decay}}=\Delta_{\mathrm{DD}}^{\mathrm{final}} holds exactly. The same event resampling is used at all three levels so that the correlations between the paired quantities are retained. The tracing uses the recorded decay ancestry and the survival of the particle identifier through elastic interactions. No parentage is assigned across generic multiparticle production vertices.

Results

Azimuthal-partition from UrQMD

Figure 2 shows Δσ2(N,w=120∘)\Delta\sigma^2(N,w=120^\circ) as a function of the accepted-proton multiplicity NN in interacting 0–5% events at the six beam energies. Negative values are observed over most of the statistically supported fixed-NN range. The negative correlation is most pronounced at 3 GeV and becomes substantially weaker toward higher energies, with the result at 39 GeV lying close to zero.

Proton azimuthal-partition fluctuation versus accepted-proton multiplicity

Figure 2. Proton azimuthal-partition fluctuation Δσ2(N,w=120∘)\Delta\sigma^2(N,w=120^\circ) versus the accepted-proton multiplicity NN in interacting 0–5% Au+Au collisions at sNN=3.0\sqrt{s_{NN}}=3.0–39 GeV.

Figure 3 shows ⟨Δσ2⟩\langle\Delta\sigma^2\rangle at w=120∘w=120^\circ as a function of the class-mean RefMult for centrality classes from 0–5% to 60–70%. At all six beam energies, the negative correlation becomes stronger toward smaller RefMult, corresponding to more peripheral collisions. Its magnitude increases from a few times 10−410^{-4} in the most central collisions to the 10−310^{-3} level in the peripheral region. In the 0–5% class, the signal is statistically resolved below zero from 3 to 27 GeV, while the 39 GeV result is consistent with zero. This centrality dependence is considerably stronger than the variation with fixed proton multiplicity NN shown in Figure 2.

Figure 3. NN-averaged ⟨Δσ2⟩\langle\Delta\sigma^2\rangle at w=120∘w=120^\circ versus the class-mean reference multiplicity RefMult (charged hadrons at ∣η∣<0.5|\eta|<0.5) for centrality classes from 0–5% to 60–70% at six beam energies.

Figure 4 displays ⟨Δσ2⟩\langle\Delta\sigma^2\rangle as a function of the partition width ww for the 0–5% centrality class. At all six beam energies, the negative correlation is strongest near w=180∘w=180^\circ, with a symmetric dependence about this angle, as expected from the mathematical structure of the observable. Following Ref. [53], the width dependence is fitted using the quadratic form of Eq. (2), with the resulting parameters presented in Fig. 5. The amplitude bb remains negative and becomes more negative with decreasing RefMult, consistent with Fig. 3. The parameter zz exhibits no clear systematic dependence on centrality or beam energy, remaining near 140–143° where well constrained, while its uncertainty increases substantially at 39 GeV due to the small amplitude.

The results in Figs. 2–5 establish that the UrQMD cascade produces a negative azimuthal-partition correlation with a weak dependence on fixed proton multiplicity, a pronounced centrality dependence, and a characteristic dependence on the partition width. The following analysis examines which proton-pair populations carry this correlation and where in the recorded reaction history its DD component is already present.

Final-state carriers of the negative correlation

Figure 6(a) shows the final-state pair decomposition at w=120∘w=120^\circ for the 0–5% proton-excluded RefMult selection of the 80,000-event history-rich samples, which matches the centrality of the benchmark results discussed above. The total pair contribution is resolved negative from 3 to 27 GeV and consistent with zero at 39 GeV, mirroring the beam-energy dependence of the benchmark result. The negative signal is carried by decay-involving pairs. At 3 GeV the DD and DX contributions are both resolved and of comparable magnitude, with DX slightly larger. From 7.7 to 27 GeV the negative signal is dominated by the DD component, while DX and XX remain small; a small positive XX contribution is resolved at 11.5 GeV, but its magnitude is an order of magnitude smaller than the DD term and it does not carry the negative signal.

Figure 6. Final-state pair decomposition at w=120∘w=120^\circ for the 0–5% proton-excluded RefMult class (80,000-event samples). (a) Additive DD, DX, and XX contributions and their total. (b) Mean pair fractions ⟨Fa⟩\langle F_a\rangle. (c) Pair-weighted mean kernel K120K_{120} on a symmetric-log scale, linear within ±10×10−4\pm10 \times10^{-4}.

At 39 GeV, the DD, DX, and XX contributions, as well as their total, are all individually consistent with zero. The weakening of the signal at this energy therefore does not result from a cancellation between large components of opposite sign.

Figure 6(b) and (c) separate the class abundance from the mean pair-kernel correlation. From 7.7 to 27 GeV, DD pairs constitute approximately 90% of the accepted-proton pairs and exhibit a negative per-pair kernel. However, these observations alone do not establish a preferential negative association beyond the large DD pair abundance. At 3 GeV, the DX class combines a substantial pair fraction (⟨FDX⟩≃0.40\langle F_{\mathrm{DX}}\rangle\simeq0.40) with a more negative per-pair kernel than DD, which explains why its additive contribution is comparable to, and slightly larger than, the DD contribution. For the XX class, the pair fraction stays below 0.5% above 3 GeV, so its per-pair kernel is only weakly constrained and its additive contribution remains small. The dominance of decay-involving pairs motivates tracing the DD population backward through the recorded reaction history to determine where its azimuthal correlation is already present.

Figure 7(a) follows the same distinct-parent DD pair population through the three genealogical levels defined in § 2 C, while Figure 7(b) shows the corresponding paired differences of Eq. (9). From 3 to 27 GeV, ΔDD\Delta_{\mathrm{DD}} is already resolved negative when the parent momenta are evaluated at their respective formation vertices and remains of similar magnitude before decay and in the final-state protons. At 39 GeV, the contribution is consistent with zero at all three levels.

Figure 7. Reaction-history tracing of distinct-parent DD pairs versus sNN\sqrt{s_{\mathrm{NN}}} for the 0–5% proton-excluded RefMult class (80,000-event samples). (a) Pair-kernel contributions ΔDDs\Delta_{\mathrm{DD}}^{s} at w=120∘w=120^\circ for formation-vertex, pre-decay, and final-state momenta. (b) Paired stage contrasts defined in Eq. (9).

From 7.7 to 39 GeV, both δDDtransport\delta_{\mathrm{DD}}^{\mathrm{transport}} and δDDdecay\delta_{\mathrm{DD}}^{\mathrm{decay}} are statistically consistent with zero, indicating no resolved modification of the DD pair-kernel correlation between the formation-vertex and pre-decay levels or by the decay itself. At 3 GeV, both contrasts are resolved negative, δDDtransport=(−0.16±0.07)×10−4\delta_{\mathrm{DD}}^{\mathrm{transport}}=(-0.16\pm0.07)\times10^{-4} and δDDdecay=(−0.57±0.18)×10−4\delta_{\mathrm{DD}}^{\mathrm{decay}}=(-0.57\pm0.18)\times10^{-4}, corresponding to small additional negative changes relative to the already-negative formation-vertex contribution.

Figure 4. ⟨Δσ2⟩\langle\Delta\sigma^2 \rangle in the 0–5% class as a function of the partition width ww at six beam energies.

Figure 5. Parameters of Eq. (2) versus the mean RefMult for eight centrality classes at six beam energies: (a) amplitude bb and (b) angular-scale parameter zz.

The reaction-history analysis therefore shows that for distinct-parent DD pairs, the negative pair-kernel correlation is already present in the parent momenta evaluated at their respective formation vertices over 3–27 GeV. No analogous formation-level statement is made for DX pairs, whose formation-level reconstruction is not supported by the persisted history records. At 39 GeV, both the formation-vertex contribution and the final-state carrier contributions are consistent with zero. These findings indicate that the final-state negative DD correlation is largely inherited from the angular correlations already present in the parent momenta at their formation vertices, providing an important constraint on its microscopic origin.

Figure 8 presents the residuals RaR_a from the random-label null test defined in § 2 C. At 3 GeV, the DX residual is significantly negative, RDX=(−0.80±0.19)×10−4R_{\mathrm{DX}}=(-0.80\pm0.19)\times10^{-4}, while the DD and XX residuals are positive and statistically resolved. This indicates that the negative DX contribution exceeds the expectation based on pair abundance alone, whereas the DD and XX contributions are less negative than expected from their pair fractions. From 7.7 to 39 GeV, neither the DD nor the DX residuals are differ significantly from zero, although the DD point estimates remain negative. Thus, the DD dominance at 7.7–27 GeV is consistent with its large pair fraction at the current statistical precision. At 11.5 GeV, the XX residual shows a small but significant positive deviation, RXX=(+0.10±0.04)×10−4R_{\mathrm{XX}}=(+0.10\pm0.04)\times10^{-4}. At 39 GeV, all three residuals are consistent with zero.

Figure 8. Residuals RaR_a from the random-label null test for DD, DX, and XX pairs at w=120∘w = 120^\circ in the 0–5% proton-excluded RefMult class. The null test preserves the proton azimuthal configuration and the numbers of decay-fed and non-decay-fed protons in each event.

Summary and Outlook

In this work, we developed an LLM-assisted analysis framework that connects a general-purpose large language model to the UrQMD microscopic transport model through a model-specific UrQMD Skill and a deterministic scientific tool layer. The framework separates the LLM’s role in scientific planning, workflow organization, and interpretation from numerical calculations, event-history reconstruction, and statistical analyses, which are performed by deterministic tools operating on recorded UrQMD output. This design enables the LLM to coordinate multi-step scientific analyses while ensuring that the underlying numerical procedures remain reproducible and traceable. We demonstrated the capabilities of this framework by investigating proton azimuthal-partition fluctuations in Au+Au collisions at sNN=3.0\sqrt{s_{\mathrm{NN}}}=3.0–39 GeV, combining final-state observable calculations with microscopic reaction-history tracing. The UrQMD calculations exhibit negative azimuthal-partition correlations from 3 to 27 GeV in the 0–5% centrality interval, while the signal is consistent with zero at 39 GeV. An exact pair decomposition reveals that the negative correlation is primarily associated with decay-fed protons, with DD pairs dominating at 7.7–27 GeV and both DD and DX contributions being important at 3 GeV. The random-label null test further identifies a nontrivial DX contribution at 3 GeV. Tracing the DD pairs through the recorded reaction history shows that their negative correlation is already present at the formation-vertex level from 3 to 27 GeV, with no statistically resolved modification during subsequent transport and decay at 7.7–39 GeV and small additional negative contributions at 3 GeV. These findings constrain the origin of the correlation without uniquely identifying its microscopic mechanism. The results demonstrate the potential of the LLM-assisted framework for reproducible microscopic transport analyses and reaction-history tracing. Future work will investigate the contributions of different reaction sources, extend the framework to other transport models for systematic comparisons, and explore applications to experimental physics analyses, including low-energy heavy-ion experiments such as CEE [54]. Incorporating detector acceptance and reconstruction effects would provide a pathway toward systematic comparisons between transport-model predictions and experimental observables.

Data Availability

The numerical data supporting the results of this study, along with the source code and instructions for reproducing the main analyses, are publicly available in Ref. [55].

AI Usage Statement

The Kimi CLI agent orchestrated the UrQMD simulations and data generation through the UrQMD Skill and deterministic scientific tools. ChatGPT and DeepSeek were used to review and improve the readability and language of the manuscript. The authors independently verified all derivations, numerical results, and scientific statements and take full responsibility for the content.

Acknowledgments

We thank Prof. Long-Gang Pang of Central China Normal University for valuable suggestions and discussions. Most of this work was completed during a visit to Central China Normal University. F.-P. Li acknowledges support from the National Natural Science Foundation of China (NSFC) under Grant Nos. 12325507, 12547102, and 12147101, and from the National Key Research and Development Program of China under Grant No. 2022YFA1604900. This work was also supported by the China Postdoctoral Science Foundation under Grant No. 2025M783370.

References

  1. [1]Team Kimi, Y. Bai, Y. Bao, Y. Charles, C. Chen, G. Chen, H. Chen, H. Chen, J. Chen, N. Chen, et al., Kimi: Open agentic intelligence (2025), arXiv:2507.20534 [cs.LG].
  2. [2]A. Liu, B. Feng, B. Xue, B. Wang, B. Wu, C. Lu, C. Zhao, C. Deng, C. Zhang, C. Ruan, et al., Deepseek-v3 technical report (2024), arXiv:2412.19437 [cs.CL].arxiv.org/abs/2412.19437
  3. [3]G. Ling, S. Zhong, and R. Huang, Agent skills: A data-driven analysis of claude skills for extending large language model functionality (2026), arXiv:2602.08004 [cs.SE].arxiv.org/abs/2602.08004
  4. [4]L. Wang, C. Ma, X. Feng, Z. Zhang, H. Yang, J. Zhang, Z. Chen, J. Tang, X. Chen, Y. Lin, et al., A survey on large language model based autonomous agents, Frontiers of computer science 18, 186345 (2024).DOI
  5. [5]K. I. Roumeliotis and N. D. Tselikas, Chatgpt and open-ai models: A preliminary review, Future Internet 15, 192 (2023).DOI
  6. [6]Y. Chang, X. Wang, J. Wang, Y. Wu, L. Yang, K. Zhu, H. Chen, X. Yi, C. Wang, Y. Wang, et al., A survey on evaluation of large language models, ACM transactions on intelligent systems and technology 15, 1 (2024).arxiv.org/abs/2307.03109
  7. [7]D. A. Boiko, R. MacKnight, B. Kline, and G. Gomes, Autonomous chemical research with large language models, Nature 624, 570 (2023). A. M. Bran, S. Cox, O. Schilter, C. Baldassari, A. D. White, and P. Schwalller, Augmenting large language models with chemistry tools, Nature Machine Intelligence 6, 525 (2024).
  8. [9]C. Lu, C. Lu, R. T. Lange, J. Foerster, J. Clune, and D. Ha, The ai scientist: Towards fully automated open-ended scientific discovery (2024), arXiv:2408.06292 [cs.AI].arxiv.org/abs/2408.06292
  9. [10]W. He, Q. Li, Y. Ma, Z. Niu, J. Pei, and Y. Zhang, Advancing Nuclear Physics with Machine Learning and Artificial Intelligence (2026), arXiv:2609.38711 [nucl-th].arxiv.org/abs/2609.38711
  10. [11]W. Esmail, A. Hammadi, and M. Nojiri, CollM: AI engineering toolbox for end-to-end deep learning in collider analyses (2026), arXiv:2602.06496 [hep-ph].arxiv.org/abs/2602.06496
  11. [12]T. Miao, J. Dai, J. Liu, J. Tan, M. Zhang, W. Jin, Y. Du, T. Jin, X. Pang, Z. Liu, T. Guo, Z. Zhang, Y. Huang, S. Chen, R. Ye, Y. Zhang, L. Zhang, K. Chen, W. Wang, W. E, and S. Chen, Physmastre: Building an autonomous ai physicist for theoretical and computational physics research (2025), arXiv:2512.19799 [cs.AI].arxiv.org/abs/2512.19799
  12. [13]Z. N. Ndum, J. Tao, J. Ford, and Y. Liu, Automating monte carlo simulations in nuclear engineering with domain knowledge-embedded large language model agents, Energy and AI 21, 100555 (2025).DOI
  13. [14]W. Li, J. Ren, L. Cheng, and C. Gong, Autonomous Quantum Simulation through Large Language Model Agents (2026), arXiv:2601.10194 [quant-ph].arxiv.org/abs/2601.10194
  14. [15]K. Deng, X. Wang, G. Duan, C. Mo, J. Huang, R. Zhang, L. Qian, Z. Huang, J. Han, and D. Luo, Towards Verifiable and Self-Correcting AI Physicists for Quantum Many-Body Simulations (2026), arXiv:2604.00149 [physics.comp-ph].arxiv.org/abs/2604.00149
  15. [16]Y. Zhou, From paper to program: Knowledge externalization and bottleneck diagnosis in ai-assisted quantum many-body programming (2026), arXiv:2604.04089 [physics.comp-ph].
  16. [17]S. Qiu, Z. Cai, J. Wei, Z. Li, Y. Yin, Q.-H. Cao, C. Liu, M.-x. Luo, X.-B. Yuan, and H. X. Zhu, An End-to-end Architecture for Collider Physics and Beyond (2026), arXiv:2603.14553 [hep-ph].arxiv.org/abs/2603.14553
  17. [18]D. A. Farroughy, S. Palacios Schweitzer, I. Pang, S. Mishra-Sharma, and D. Shih, Collider-Bench: Benchmarking AI Agents with Particle Physics Analysis Reproduction (2026), arXiv:2605.13950 [cs.LG].
  18. [19]E. Gendreau-Distler, J. Ho, D. Kim, L. T. Le Pottier, H. Wang, and C. Yang, Automating High Energy Physics Data Analysis with LLM-Powered Agents, in 39th Annual Conference on Neural Information Processing Systems: Includes Machine Learning and the Physical Sciences (ML4PS) (2025), arXiv:2512.07785 [physics.data-an].
  19. [20]E. A. Moreno, S. Bright-Thonney, A. Novak, D. Garcia, and P. Harris, AI Agents Can Already Autonomously Perform Experimental High Energy Physics (2026), arXiv:2603.20179 [hep-ex].arxiv.org/abs/2603.20179
  20. [21]M. He et al., Dr.Sai: An agent AI for real-world physics analysis at BESIII (2026), arXiv:2604.22541 [hep-ex].
  21. [22]Q. Wang, L.-G. Pang, S. Pu, and X.-N. Wang, CLVisc Agent for autonomous relativistic hydrodynamics studies (2026), arXiv:2607.27822 [nucl-th].arxiv.org/abs/2607.27822
  22. [23]T. Menzo, G. T. Fleming, K. T. Matchev, S. Mrenna, and A. Roman, Reining in an Agentic Harness for High Energy Physics (2026), arXiv:2609.00107 [hep-ph].arxiv.org/abs/2609.00107
  23. [24]A. Desai, RooAgent: An LLM Agent for Root-Based High Energy Physics Analysis (2026), arXiv:2605.17318 [hep-ph].arxiv.org/abs/2605.17318
  24. [25]P. Braun-Munzinger, V. Koch, T. Schäfer, and J. Stachel, Properties of hot and dense matter from relativistic heavy ion collisions, Phys. Rept. 621, 76 (2016), arXiv:1510.00442 [nucl-th].
  25. [26]U. Heinz and R. Snellings, Collective flow and viscosity in relativistic heavy-ion collisions, Ann. Rev. Nucl. Part. Sci. 63, 123 (2013), arXiv:1301.2826 [nucl-th].DOI
  26. [27]F. Gross et al., 50 Years of Quantum Chromodynamics, Eur. Phys. J. C 83, 1125 (2023), arXiv:2212.11107 [hep-ph].DOI
  27. [28]A. Sorensen et al., Dense nuclear matter equation of state from heavy-ion collisions, Prog. Part. Nucl. Phys. 134, 104080 (2024), arXiv:2301.13253 [nucl-th].DOI
  28. [29]L. Du, A. Sorensen, and M. Stephanov, The QCD phase diagram and Beam Energy Scan physics: A theory overview, Int. J. Mod. Phys. E 33, 2430008 (2024), arXiv:2402.10183 [nucl-th].DOI
  29. [30]W. Buszka, K. Rajagopal, and W. van der Schee, Heavy Ion Collisions: The Big Picture, and the Big Questions, Ann. Rev. Nucl. Part. Sci. 68, 339 (2018), arXiv:1802.04801 [hep-ph].
  30. [31]H. Elfner and B. Müller, The exploration of hot and dense nuclear matter: introduction to relativistic heavy-ion physics, J. Phys. G 50, 103001 (2023), arXiv:2210.12056 [nucl-th].arxiv.org/abs/2210.12056
  31. [32]J. Adam et al. (STAR), Nonmonotonic Energy Dependence of Net-Proton Number Fluctuations, Phys. Rev. Lett. 126, 092301 (2021), [Erratum: Phys.Rev.Lett. 134, 139902 (2025)], arXiv:2001.02852 [nucl-ex].DOI
  32. [33]M. Abdallah et al. (STAR), Cumulants and correlation functions of net-proton, proton, and antiproton multiplicity distributions in Au+Au collisions at energies available at the BNL Relativistic Heavy Ion Collider, Phys. Rev. C 104, 024902 (2021), [Erratum: Phys.Rev.C 111, 029902 (2025)], arXiv:2101.12413 [nucl-ex].DOI
  33. [34]J. Chen et al., Properties of the QCD matter: review of selected results from the relativistic heavy ion collider beam energy scan (RHIC BES) program, Nucl. Sci. Tech. 35, 214 (2024), arXiv:2407.02935 [nucl-ex].
  34. [35]L. Pang, Q. Wang, and X.-N. Wang, Effects of initial flow velocity fluctuation in event-by-event (3+1)D hydrodynamics, Phys. Rev. C 86, 024911 (2012), arXiv:1205.5019 [nucl-th].DOI
  35. [36]L.-G. Pang, H. Petersen, and X.-N. Wang, Pseudorapidity distribution and decorrelation of anisotropic flow within the open-computing-language implementation CLVisc hydrodynamics, Phys. Rev. C 97, 064918 (2018), arXiv:1802.04449 [nucl-th].DOI
  36. [37]S. A. Bass et al., Microscopic models for ultrarelativistic heavy ion collisions, Prog. Part. Nucl. Phys. 41, 255 (1998), arXiv:nucl-th/9803035.DOI
  37. [38]M. Bleicher et al., Relativistic hadron hadron collisions in the ultrarelativistic quantum molecular dynamics model, J. Phys. G 25, 1859 (1999), arXiv:hep-ph/9909407.DOI
  38. [39]W. Cassing and E. L. Bratkovskaya, Parton-Hadron-String Dynamics: an off-shell transport approach for relativistic energies, Nucl. Phys. A 831, 215 (2009), arXiv:0907.5331 [nucl-th].DOI
  39. [40]Z.-W. Lin, C. M. Ko, B.-A. Li, B. Zhang, and S. Pal, A Multi-phase transport model for relativistic heavy ion collisions, Phys. Rev. C 72, 064901 (2005), arXiv:nucl-th/0411110.DOI
  40. [41]J. Weil et al. (SMASH), Particle production and equilibrium properties within a new hadron transport approach for heavy-ion collisions, Phys. Rev. C 94, 054905 (2016), arXiv:1606.06642 [nucl-th].
  41. [42]Y.-X. Zhang et al. (TMEP), Comparison of heavy-ion transport simulations: Collision integral in a box, Phys. Rev. C 97, 034625 (2018), arXiv:1711.05950 [nucl-th].DOI
  42. [43]M. D. Cozma, Y. Leifels, W. Trautmann, Q. Li, and P. Russotto, Toward a model-independent constraint of the high-density dependence of the symmetry energy, Phys. Rev. C 88, 044912 (2013), arXiv:1305.5417 [nucl-th].
  43. [44]H. Petersen, Q. Li, X. Zhu, and M. Bleicher, Directed and elliptic flow in heavy ion collisions at GSI-FAIR and CERN-SPS, Phys. Rev. C 74, 064908 (2006), arXiv:hep-ph/0608189.
  44. [45]Y. Wang, C. Guo, Q. Li, H. Zhang, Z. Li, and W. Trautmann, Collective flows of light particles in the Au+Au collisions at intermediate energies, Phys. Rev. C 89, 034606 (2014), arXiv:1305.4730 [nucl-th].
  45. [46]Y. Wang, C. Guo, Q. Li, A. Le Fèvre, Y. Leifels, and W. Trautmann, Determination of the nuclear incompressibility from the rapidity-dependent elliptic flow in heavy-ion collisions at beam energies 0.4 A −1.0 A GeV, Phys. Lett. B 778, 207 (2018), arXiv:1804.04293 [nucl-th].
  46. [47]X. Zhang, Y. Zhang, X. Luo, and N. Xu, UrQMD simulations of higher-order cumulants in Au+Au collisions at high baryon density, Chin. Phys. C 50, 011003 (2026), arXiv:2506.18832 [nucl-ex].
  47. [48]M. Omana Kuttan, J. Steinheimer, K. Zhou, and H. Stoecker, QCD Equation of State of Dense Nuclear Matter from a Bayesian Analysis of Heavy-Ion Collision Data, Phys. Rev. Lett. 131, 202303 (2023), arXiv:2211.11670 [hep-ph].
  48. [49]F. Li, Y. Wang, Z. Gao, P. Li, H. Lü, H. Lv, Q. Li, C. Y. Tsang, and M. B. Tsang, Application of machine learning in the determination of impact parameter in the ¹³²Sn+¹²⁴Sn system, Phys. Rev. C 104, 034608 (2021), arXiv:2105.08912 [nucl-th].
  49. [50]P. Li, Y. Wang, Q. Li, and H. Zhang, Accessing the in-medium effects on nucleon-nucleon elastic cross section with collective flows and nuclear stopping, Phys. Lett. B 828, 137019 (2022), arXiv:2203.05855 [nucl-th].
  50. [51]P. Li, J. Steinheimer, T. Reichert, A. Kittiratpattana, M. Bleicher, and Q. Li, Effects of a phase transition on two-pion interferometry in heavy ion collisions at √sNN = 2.4 − 7.7 GeV, Sci. China Phys. Mech. Astron. 66, 232011 (2023), arXiv:2209.01413 [nucl-th].
  51. [52]M. Omana Kuttan, A. Motornenko, J. Steinheimer, H. Stoecker, Y. Nara, and M. Bleicher, A chiral mean-field equation-of-state in UrQMD: effects on the heavy ion compression stage, Eur. Phys. J. C 82, 427 (2022), arXiv:2201.01622 [nucl-th].
  52. [53]D. Neff, Z. Ji, R. Esha, G. Wang, and H. Z. Huang, Methodology for analyzing proton multiplicity fluctuations with azimuthal partitions in heavy-ion collisions, Phys. Rev. C 110, 064905 (2024), arXiv:2406.00072 [nucl-th].
  53. [54]L. Lü, H. Yi, Z. Xiao, M. Shao, S. Zhang, G. Xiao, and N. Xu, Conceptual design of the HIRFL-CSR external-target experiment, Sci. China Phys. Mech. Astron. 60, 012021 (2017).
  54. [55]F.-P. Li and Y. Huang, UrQMD-Agent: An LLM-Assisted Framework for Microscopic Tracing of Proton Azimuthal Correlations, https://github.com/fpli29/LLM4UrQMD (2026).

Paper details

vlnc:W_rspsfkf7
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Physics and Astronomy

Kimi CLI agent, ChatGPT, DeepSeek (multiple versions)

View statement
Looking for related papers…
Contents