From nested soft-collinear subtraction to NNLO QCD predictions with large language models
Listen
Radio episode about this paper
Transcript
Introduction to the show: ident: High Energy Physics: Phenomenology. The day in particle phenomenology: models, signatures and constraints.
Kai: We're looking at the paper: "From nested soft-collinear subtraction to NNLO QCD predictions with large language models".
Title and authors: Kai: So we're looking at this paper titled "From nested soft-collinear subtraction to NNLO QCD predictions with large language models". It’s about whether large language models can actually build reliable and efficient computer codes for calculating those next-to-next-to-leading order QCD corrections for collider processes, starting from a general formula they developed in the nested soft-collinear subtraction scheme.
Mira: That sounds like a big question because NNLO QCD calculations are notoriously difficult, especially when you get to the next level of precision. It seems like the authors are testing if this new AI approach can take over the heavy lifting of setting up these complex numerical computations.
Lev: From my side, I'm thinking about what that means for real hardware. If an AI can construct a working code, we need to know how much overhead that introduces on actual computation, you know?
Kai: Right, so the core idea is taking this general formula and turning it into something functional for calculating those NNLO corrections across different complex processes. The paper shows they used coding agents to do this implementation work that used to take human experts about a year.
Mira: It sounds like the main motivation is speed and accessibility; they want to see if we can automate the subtraction aspect of these calculations much faster than a person writing everything from scratch.
Lev: But you're talking about reliability here, right? When you’re dealing with something as sensitive as overlapping singularities at NNLO, just having the code run isn't enough; it has to be robust against those tricky mathematical issues.
Kai: Exactly. The paper details how they improved the agents to be more stable by having them analytically rewrite expressions that are usually numerically sensitive, which helps reduce precision loss from rounding errors when they are running on their system.
Mira: And I saw something interesting about their phase-space parametrization; they proposed a way for the agents to generate the Higgs rapidity directly from those VEGAS variables, which they claim is substantially more efficient than the original method used in human codes.
Title and authors: Lev: Efficiency matters when you're thinking about running things on real hardware, Mira. If that parametrization really cuts integration time by a factor of four or more at fixed statistical precision ranges, that’s a big deal for simulation throughput.
Kai: It seems they showed that even with this guidance, the agents can perform checks that human experts usually do on an expedited basis, like checking if the counterterms correctly remove non-integrable singularities in all those soft, collinear and overlapping limits.
Mira: That moves them past just generating code; it’s about the agents performing validation checks that are typically done by humans to ensure the math holds up across all those different singular limits.
Lev: If they can do that reliably, it means we have a path toward letting these agents handle more complex tasks without needing a massive human oversight team for every single implementation.
Kai: The paper also mentioned how the agents could achieve a further speedup by a factor of two to three for certain routines when evaluating matrix elements, and they made it straightforward to check those against independent implementations using tools like MadGraph5 aMC@NLO and GoSam.
Mira: So, we're looking at these codes not just as proofs of concept but as tools that can actually be compared against established numerical methods for validating the matrix element evaluation part of the process.
Lev: The overhead you mentioned earlier is important; if this speedup factor applies to the integration routines too, then we might see a significant reduction in the overall time needed for a full NNLO calculation on real hardware.
Kai: Ultimately, they concluded that these LLM coding agents can provide reliable numerical implementations of NNLO QCD corrections to specified processes, and they showed that this modular structure lets both groups extend their WBF codes to WBF plus jet production by reusing the same subtraction machinery.
Mira: The implication there is a framework for a shared repository of similarly structured, interconnected numerical codes specifically for describing NNLO QCD in different collider processes. That sounds like it could become a lasting computational resource for the community.
Title and authors: Lev: If you can share that modular structure, then you’re not just solving one problem; you’re creating a foundation where other researchers can build on these same subtraction methods without starting over on every process.
Kai: So, to wrap up the paper "From nested soft-collinear subtraction to NNLO QCD predictions with large language models", we see that coding agents can deliver reliable numerical implementations for NNLO QCD corrections across various processes.
Mira: The authors demonstrated that by using these agents, you can take a general formula from the nested soft-collinear subtraction scheme and turn it into a working code, and they showed improvements in stability and integration speed.
Lev: For me, the real value is seeing if this modular approach allows others to extend these WBF codes to include processes like WBF plus jet production efficiently without having to reinvent the wheel on the subtraction side.
Kai: That modularity is key because it suggests a pathway for a shared repository of interconnected numerical codes for describing NNLO QCD in different ways.
Mira: It’s interesting because they are proving that this approach isn't just theoretical; they showed concrete improvements in performance metrics like runtimes and integration efficiency when comparing their LLM-generated codes to human ones for WBF and WBF plus jet processes.
Lev: It seems like the paper suggests a way to accelerate the entire process of moving from a general theoretical formula to a practical, validated numerical tool for high-order calculations.
Kai: That’s where we are with this paper, showing how LLMs can handle the construction and initial validation steps of these complex numerical implementations for NNLO QCD corrections.
Mira: We'll be looking at how this framework could serve as a starting point for automating the subtraction aspect of NNLO calculations across many different processes in the future.
Lev: And I’m curious to see if that modularity translates into a way where the overhead lands acceptably when you try to run these codes on real, high-performance computing hardware.
The paper's summary: Kai: So, basically, this paper is about taking that super general formula for calculating those NNLO QCD corrections and actually making it work as a real computer code using AI coding agents.
Mira: Right, they're showing how these large language models can take that starting point from the nested soft-collinear subtraction scheme and build reliable working codes for complex processes.
Lev: So, they're not just writing some pseudocode; they’re building something that actually computes the finite NNLO QCD remainders for these hard collider processes.
Kai: Exactly. The big takeaway is that this AI coding approach can take the heavy lifting off human developers, turning what used to take a year into something much faster and more automated.
Mira: And they did some really smart work on making the agents better, too. They didn't just throw the formula at them; they guided them to analytically rewrite expressions that are usually numerically unstable.
Lev: That’s smart because numerical stability is everything when you’re dealing with those high-order calculations; you lose precision so fast with rounding errors if you aren't careful.
Kai: Plus, they found a way for the agents to propose a better phase-space parametrization, one that lets them generate things like the Higgs rapidity directly from the VEGAS variables.
Mira: And that parametrization is way more efficient than what was used before; it claims to give a gain in integration efficiency by about four times or more at fixed statistical precision levels.
Lev: If that's true, then for running these simulations on real hardware, that means less time spent integrating and more time actually getting useful statistics from the measurement record.
Kai: They also showed the agents could perform checks that human experts usually do—like verifying if counterterms correctly remove those tricky non-integrable singularities in all those different limits.
Mira: So, it's not just about generating a result; it's about having an AI system that can self-validate its own code against the kind of rigor we expect from a human expert.
Lev: That validation step is crucial, because if the AI gets one of those singular limits wrong and messes up the subtraction, you end up with garbage.
Kai: And they proved this modular structure works for more than just one process; they showed that both groups of agents could take their existing WBF codes and extend them to include things like WBF plus jet production just by reusing the same subtraction machinery.
Mira: That points toward a real future where we might have a shared repository of these similarly structured, interconnected numerical codes for describing different processes in NNLO QCD.
Lev: If that framework is robust, it could turn the generality of that initial formula into a lasting computational resource for the whole community to build on.
Kai: It’s really interesting because they took something incredibly dense and complex—the general formula—and showed that with the right AI tools, you can get a reliable numerical implementation out quickly.
Mira: So, we're looking at a way to significantly speed up the development of high-order calculations while maintaining the necessary mathematical soundness.
Lev: And I’m still thinking about how this modularity translates into actual overhead when you try to run these codes on real, high-performance computing hardware.
The paper's improvements: Tom: So, we're looking at how these agents actually improved their approach for calculating those NNLO QCD corrections across various processes.
Kai: Right, so they didn't just build a code; they showed how the AI could actively improve the numerical stability of the calculations themselves.
Mira: They focused on analytically rewriting those numerically sensitive expressions, which means they’re making sure that when rounding errors happen, they don't ruin the result by losing precision.
Lev: That’s important because when you move to these high orders, you have incredibly small numbers in the calculation; even tiny rounding errors can blow up if you aren't careful.
Kai: And they used their guidance to propose this better phase-space parametrization we talked about earlier, which generates things like the Higgs rapidity directly from those VEGAS variables.
Mira: That parametrization is what gives them that efficiency boost, so instead of spending a lot of time integrating over a huge region, the AI can focus its effort where it matters most.
Lev: If that parametrization really cuts down integration time by four times or more at fixed statistical precision ranges, that’s a real win for running these simulations on real hardware.
Kai: They also showed these agents could perform those validation checks—checking those counterterms against non-integrable singularities—on an expedited basis.
Mira: It means the agents can check the mathematical consistency across all those different singular limits without needing a human to manually review every single step of that complex subtraction scheme.
Lev: That’s a huge deal because it lets us trust the code more easily when we deploy it, instead of having to spend weeks debugging every potential singularity issue.
Kai: The overall result is that the agents can handle this entire process from the general formula to a reliable working code for specified processes.
Mira: And they showed this modular structure allows both groups of agents to reuse the same subtraction machinery when extending their WBF codes to include things like WBF plus jet production.
Lev: That reuse is key; it means we don't have to re-implement the subtraction logic from scratch for every new process, which saves a ton of effort down the line.
Kai: So, they’ve shown that this AI approach can deliver reliable numerical implementations and build a framework that could become a shared resource for describing NNLO QCD in different ways.
Mira: It’s about showing that this method isn't just theoretical; it has concrete improvements in performance metrics like runtimes and integration efficiency when compared to human-written codes.
Lev: I’m still curious if that modularity translates into a way where the overhead lands acceptably when you try to run these codes on real, high-performance computing hardware.
Conclusion: Kai: So to wrap up, we’re talking about this paper "From nested soft-collinear subtraction to NNLO QCD predictions with large language models" and what it means for how we calculate those high-order corrections in particle physics.
Mira: Basically, the core finding is that these AI coding agents can build reliable numerical implementations of NNLO QCD corrections to specified processes starting from a general formula.
Lev: It shows that the ease and speed of this development opens up exciting opportunities to automate the subtraction aspect of those calculations across many different processes.
Kai: The modular structure they found is really interesting because it suggests a framework for a shared, publicly accessible repository of similarly structured, interconnected numerical codes for NNLO QCD description.
Mira: Given our findings, one can speculate about broader implications of the fact that these coding agents are able to implement NNLO QCD corrections for arbitrary processes using that starting formula.
Lev: It suggests a path toward a standardized way to build and validate these complex numerical tools without having to start over on every single process from scratch.
Kai: They’ve shown this framework allows both the closely guided and largely autonomous groups of agents to extend their WBF codes to WBF plus jet production by reusing the same subtraction machinery.
Mira: That points toward a lasting computational resource for the community that we can all build on, which is pretty significant.
Lev: For me, if that framework is robust, it could turn the generality of that initial formula into a lasting computational resource for describing NNLO QCD in different ways.
Kai: So to sum up this paper "From nested soft-collinear subtraction to NNLO QCD predictions with large language models," the main point is that LLM coding agents provide reliable numerical implementations for NNLO QCD corrections.
Mira: They demonstrated that by using these agents, you can take a general formula and turn it into a working code, and they showed improvements in stability and integration speed when comparing their LLM-generated codes to human ones.
Lev: The real value is seeing if that modular approach allows others to extend these WBF codes to include processes like WBF plus jet production efficiently without having to reinvent the wheel on the subtraction side.
Kai: It’s really interesting because they took something incredibly dense and complex—the general formula—and showed that with the right AI tools, you can get a reliable numerical implementation out quickly.
Mira: We're looking at a way to significantly speed up the development of high-order calculations while maintaining the necessary mathematical soundness.
Lev: I’m still thinking about how this modularity translates into actual overhead when you try to run these codes on real, high-performance computing hardware.
SLAC National Accelerator Laboratory · Institute for Theoretical Particle Physics at KIT · Tif Lab, Dipartimento di Fisica, University of Milan and INFN Sezione di Milano, Theoretical Physics Department at CERN
hep-ph
Submitted: 2026-11-24
Updated: 2026-11-24
Comments: 19 pages, 2 figures, 3 tables
License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
Importance score: 100/100
The gist: We investigate whether large language models can construct reliable and efficient codes for computing NNLO QCD corrections to collider processes…
Key concepts
- NNLO QCD Corrections
- These are high-order corrections in Quantum Chromodynamics (QCD) used to improve the accuracy of predictions for particle collisions at colliders. Calculating them is extremely difficult because they involve overlapping mathematical singularities that must be carefully managed to ensure a physically meaningful and precise result.
- Nested Soft-Collinear Subtraction Scheme
- This is a specific mathematical method used in perturbative QCD to handle the complicated singularities that arise when calculating higher-order corrections. It involves introducing various partition functions, angular sectors, and parametrizations to systematically disentangle these overlapping singularities and avoid double counting.
- Coding Agents (LLMs)
- These are large language models specifically employed as 'coding agents' to translate a general mathematical formula into a reliable numerical computer program. They can perform complex tasks like enumerating partonic channels, assembling amplitudes, and performing necessary numerical checks with high speed and accuracy.
- Phase-Space Parametrization (VEGAS)
- This is a technique used in Monte Carlo integration to efficiently sample the continuous space of possible outcomes for a physical process. The agents proposed a specific parametrization that directly generates the Higgs rapidity from VEGAS variables, which significantly increased integration efficiency, leading to substantial gains at fixed statistical precision.
Terminology
Summary
We investigate whether large language models can construct reliable and efficient codes for computing NNLO QCD corrections to collider processes, starting from the general formula derived within the nested soft-collinear subtraction scheme. p. 0<ref:2611.33279#pg1, From nested soft-collinear subtraction to NNLO QCD predictions with large language models>. p. 0
The Underlying Problem
The computation of differential cross sections for collider processes in perturbative QCD becomes increasingly complex as one moves to higher perturbative orders.<ref:2611.33279#pg3, We briefly describe the computation of differential cross sections for collider processes in perturbative QCD, emphasizing the aspects relevant to the present study>. p. 2 Currently, leading-order (LO) and NLO computations in QCD are fully automated. p. 2<ref:2611.33279#pg3, Currently, leading-order (LO) and NLO computations in QCD are fully automated>. p. 2 There is a serious challenge at NNLO being the overlapping nature of different singular limits. p. 3<ref:2611.33279#pg4, A serious challenge at NNLO is the overlapping nature of different singular limits>. p. 3 The nested soft-collinear subtraction scheme introduces various partition functions and angular sectors to disentangle overlapping singularities. p. 3<ref:2611.33279#pg4, In the context of nested soft-collinear subtraction, to disentangle overlapping singularities we introduce various partition functions [13,14], angular sectors and a parametrization of the double-unresolved phase space [69, 71] which avoids the double counting of the singular limits>. p. 3
Implementations of the General Formula
The numerical implementation of the general formula for finite NNLO QCD remainders requires a large number of ingredients.<ref:2611.33279#pg4, The numerical implementation of the general formula for finite NNLO QCD remainders requires a large number of ingredients>. p. 3 This involves enumerating partonic channels, computing or assembling all double-virtual, real-virtual and double-real amplitudes. p. 3<ref:2611.33279#pg4, This involves enumerating partonic channels, computing or assembling all double-virtual, real-virtual and double-real amplitudes>. p. 3 Furthermore, one must perform a series of numerical checks to establish the validity of the code as thoroughly as possible. p. 3<ref:2611.33279#pg4, Furthermore, one has to perform a series of numerical checks to establish the validity of the code as thoroughly as possible>. p. 3 The human reference code took about a year to develop. p. 6<ref:2611.33279#pg7, The human reference code took about a year to develop>. p. 6
Where the Gains Come From
The main conclusion is that coding agents can turn the general formula of Ref. [1] into reliable working codes for computing NNLO QCD corrections to complex processes. p. 6<ref:2611.33279#pg7, Fast and reliable implementations are possible: The main conclusion of our experiment is that coding agents can turn the general formula of Ref. p. 6 [1] into reliable working codes for computing NNLO QCD corrections to complex processes>. p. 6 The ease and speed of this development open up exciting opportunities for automating the subtraction aspect of NNLO calculations. p. 6<ref:2611.33279#pg7, The ease and speed of this development open up exciting opportunities to automating the subtraction aspect of NNLO calculations>. p. 6
Numerical Stability and Efficiency
The agents in the Guided LLM implementation analytically rewrote numerically sensitive expressions to improve their stability.<ref:2611.33279#pg8, Under the guidance of a human expert, the agents analytically rewrote numerically sensitive expressions to improve their stability and reduce the loss of precision from rounding errors>. p. 7 The guided agents proposed a phase-space parametrization that generates the Higgs rapidity directly from the VEGAS variables, which proved to be substantially more efficient. p. 6<ref:2611.33279#pg8, The guided agents proposed a phase-space parametrization that generates the Higgs rapidity directly from the VEGAS variables, whereas the original parametrization in the human code generated the virtuality of the t-channel electroweak gauge bosons [9]>. p. 6 In terms of runtimes, at NNLO, all codes have similar runtimes and E values. p. 8<ref:2611.33279#pg10>.
Independent Validations
The agents in the autonomous group performed a range of checks to validate their implementation.<ref:2611.33279#pg8>. One agent identified a mistake by checking the renormalization-scale dependence of a cross section at NNLO. p. 6<ref:2611.33279#pg8, For example, one agent identified a mistake in one of the functions entering the finite remainders in Ref. p. 6 [1] by checking the renormalization-scale dependence of a cross section at NNLO>. p. 6 By explicitly guiding the agents to perform checks that human experts routinely employ, LLM-generated codes can be made as reliable as those produced by human experts. p. 6<ref:2611.33279#pg8>.
Conclusion
We have shown that LLM coding agents can provide reliable numerical implementations of NNLO QCD corrections to specified processes.<ref:2611.33279#pg12, In this paper, we have shown that LLM coding agents can provide reliable numerical implementations of NNLO QCD corrections to specified processes>. p. 6 The modular structure of the formula allowed both groups of coding agents to extend their WBF codes to WBF+j by reusing the same subtraction machinery. p. 1<ref:2611.33279#pg12, The modular structure of the formula allowed both the closely guided and largely autonomous groups of coding agents to extend their WBF codes to WBF+j by reusing the same subtraction machinery>. p. 4 This suggests a framework for a shared, publicly accessible repository of similarly structured, interconnected numerical codes for NNLO QCD description of different processes. p. 1<ref:2611.33279#pg12, Given our findings, one can speculate about broader implications of the fact that coding agents are able to implement NNLO QCD corrections for arbitrary processes using the formula in Ref. p. 6 [1] as a starting point>. p. 1
Acknowledgements
R.R. is grateful to the Institute for Theoretical Particle Physics at KIT for hospitality extended to him during the course of the work on this paper. p. 0<ref:2611.33279#pg13>. The research of K. p. 1M., I.N., and D.M.T. is supported by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) under grant no. p. 1 396021762 - TRR 257.<ref:2611.33279#pg13>. The research of M. p. 1T. is supported by “Karlsruhe School of Elementary and Astroparti12 Physics” (KSETA) through a grant from “Deutscher Akademischer Austauschdienst” (DAAD). p. 0<ref:2611.33279#pg13, The research of M. p. 1T. is supported by “Karlsruhe School of Elementary and Astroparti12 Physics” (KSETA) through a grant from “Deutscher Akademischer Austauschdienst” (DAAD)>
References
The references listed include foundational work on subtraction schemes, such as Catani–Seymour dipole subtraction [10].<ref:2611.33279#pg14, For example, Catani–Seymour dipole subtraction [10] was key to the construction of MCFM [11]>. p. 1 The paper references numerous works detailing NNLO QCD computations for various processes. p. 1<ref:2611.33279#pg14>. Specific examples include work on Higgs production in association with a jet at next-to-next-to-leading order [20]. p. 1<ref:2611.33279#pg15, For example, Higgs boson production in association with a jet at next-to-next-to-leading order [20]>. p. 1 The results compare the performance of human and LLM codes for WBF and WBF+j processes. p. 2<ref:2611.33279#pg9>. The paper also discusses numerical strategies like the adaptive Monte Carlo algorithm VEGAS [79]. p. 4<ref:2611.33279#pg8, We use the adaptive Monte Carlo algorithm VEGAS [79] as the common integrator and asked both groups to include histogramming routines for computing distributions of observables>. p. 4 The paper concludes that LLM coding agents can implement the subtraction formulas of Ref. p. 1 [1] in a working numerical code. p. 6<ref:2611.33279#pg6, This agreement confirms the conclusion of the previous section that LLM coding agents can implement the subtraction formulas of Ref. p. 6 [1] in a working numerical code>. p. 6 The paper also discusses runtimes and integration difficulty metrics. p. 4<ref:2611.33279#pg10>. The appendix specifies the input parameters used for the numerical comparisons. p. 8<ref:2611.33279#pg14>. The paper includes a comprehensive list of references covering topics from NLO to N3LO QCD corrections. p. 1<ref:2611.33279#pg15, References include foundational work on subtraction schemes, such as Catani–Seymour dipole subtraction [10]>. p. 1 The final section suggests that this framework could become a lasting computational resource for the community. p. 9<ref:2611.33279#pg12, Such a framework would turn the generality of the formula derived in Ref. p. 6
Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.
Improvements for AI systems
-
Automated implementation of NNLO QCD corrections can be achieved by using large language models to construct working codes starting from a general formula derived within the nested soft-collinear subtraction scheme. This allows LLMs to
carry out the implementation work described above, optimizing and standardizing human effort.
-
LLM coding agents can generate initial code for NNLO QCD corrections in a few days, with testing and validation completed within a few weeks, significantly reducing the development time compared to human-written codes which took about a year. This speed is due to the
few billion tokens per code across development, testing, validation, and revisions
used by the agents. -
Coding agents can perform reliability checks that are traditionally performed by human experts on an expedited basis, such as
checking that the counterterms remove non-integrable singularities in all soft, collinear and overlapping limits.
This demonstrates the usefulness of LLMs in carrying out validation checks when explicitly guided. -
Agents can propose more efficient phase-space parametrizations for integration, such as one that
generates the Higgs rapidity directly from the VEGAS variables,
which has been shown to yield again in integration efficiency at fixed statistical precision ranges from approximately four to more than twenty.
-
LLM agents can improve matrix element evaluation speed by achieving a
further speedup by a factor of two to three
for certain routines, and they can make itstraightforward to check our matrix elements against independent implementations by setting up and running numerical comparisons with MadGraph5 aMC@NLO [12] and GoSam [83].
Sources
- Integrated subtraction terms and finite remainders for arbitrary processes with massless partons at colliders in the nested soft-collinear subtraction scheme
- A fresh look at the nested soft-collinear subtraction scheme: NNLO QCD corrections to $N$-gluon final states in $q\bar{q}$ annihilation
- Nested soft-collinear subtractions in NNLO QCD computations
- Analytic results for color-singlet production at NNLO QCD with the nested soft-collinear subtraction scheme
- Analytic results for decays of color singlets to $gg$ and $q \bar q$ final states at NNLO QCD with the nested soft-collinear subtraction scheme
- The double-soft integral for an arbitrary angle between hard radiators
- Integrated triple-collinear counter-terms for the nested soft-collinear subtraction scheme
- NNLO QCD corrections to weak boson fusion Higgs boson production in the $H \to b\bar b$ and $H \to WW^* \to 4l$ decay channels
- The Dipole Formalism for the Calculation of QCD Jet Cross Sections at Next-to-Leading Order
- An update on vector boson pair production at hadron colliders
- The automated computation of tree-level and next-to-leading order differential cross sections, and their matching to parton shower simulations
- A general approach to jet cross sections in QCD
- Precision phenomenology with MCFM
- CutTools: a program implementing the OPP reduction method to compute one-loop amplitudes
- Helac-nlo
- Polarizing the Dipoles
- Precise QCD predictions for the production of Higgs+jet final states
- Higgs boson production in association with a jet at next-to-next-to-leading order
- Fiducial cross sections for Higgs boson production in association with a jet at next-to-next-to-leading order in QCD
- NNLO QCD corrections to Higgs boson production at large transverse momentum
Related papers
- Rational terms and UV counterterms of the SMEFT at next-to-leading order in QCD
- D 0 - D s+ Elliptic-Flow Splitting under Event-Shape Engineering: A Probe of Sequential Charm Hadronization
- Towards a general subtraction formula for NNLO QCD corrections to processes at hadron colliders: final states with quarks and gluons
- MadNIS at NLO
- Toward the minimal set of states in axion superradiance
- New Physics in Ultra-High-Energy Neutrino Flavor