WorksPhysics and Astronomy
MadNIS, Ready for Production at LO
Abstract
We extend neural multi-channel importance sampling in MadNIS to full proton-proton processes in a production-ready event-generation setup. We benchmark a wide range of LHC processes, including multi-jet, vector-boson, top-quark, and Higgs production, and obtain event-generation speed-ups of up to a factor of 250 without process-specific hyperparameter tuning. We quantify how the speed-up scales with training time and final-state multiplicity, and when the training cost amortizes. MadNIS will become the default for phase-space integration and event generation at leading order in MadGraph.
Introduction
Event generators such as PYTHIA [1], Sherpa [2], Herwig [3], and MadGraph [4, 5, 6, 7, 8] turn a Lagrangian into simulated scattering events and provide the backbone of the LHC analysis chain [9, 10]. Their first step, the integration over parton-level phase space and the generation of unweighted events, already dominates the cost for high final-state multiplicities [11, 12]. For the HL-LHC, the required samples and process complexity will grow faster than the available computing budget, so this step risks becoming the bottleneck of the entire simulation pipeline.
Modern machine learning [13, 14] offers a way out, and by now accelerates essentially every step of the simulation chain [15, 16, 17]. For the evaluation of scattering amplitudes, neural surrogates [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31] replace the expensive exact evaluation, including a calibrated uncertainty estimate [32, 33, 34, 35, 36]. For phase-space integration, neural importance sampling [37, 38, 39, 40, 41, 42, 43, 44, 45] replaces or refines the classic adaptive mappings of VEGAS [46, 47, 48] with normalizing flows. For MadGraph, this is realized by the MadNIS framework [49, 50, 51], which refines the channel weights of the single-diagram-enhanced multi-channel decomposition [4, 52], and improves the phase-space sampling, while a first NLO version combines neural importance sampling with fast surrogates [53]. Neural control variates provide a complementary handle on the variance, reducing the spread of event weights and avoiding negative weights at LO and NLO [54].
Hardware acceleration is the second lever. GPU-based amplitude evaluation [55] has matured into full parton-level event generation with Pepper [56]. Within MadGraph, the CUDACPP plugin, now dubbed MadMatrix, provides substantial speed-ups for the matrix-element evaluation [57, 58, 59, 60, 61], and MadSpace [62] provides the corresponding GPU-native phase-space generation. Both levers combine naturally, because we train and evaluate the sampler on exactly the hardware that accelerates the matrix elements. For Pepper, an end-to-end GPU workflow with normalizing-flow proposals recently achieved speed-ups of up to two orders of magnitude for high-multiplicity processes, including the training cost [63].
So far, however, MadNIS has delivered these gains only for single partonic subprocesses of selected benchmark processes. In this paper, we extend MadNIS to generic proton-proton processes, and make neural importance sampling the default in MadGraph at leading order. All developments are publicly available in the alpha release of MadGraph7 [64]. We generalize MadNIS to include discrete degrees of freedom, allowing importance sampling of symmetry permutations and parton-flavor configurations. We merge matrix-element implementations, integration channels of similar topology, and entire subprocesses, which reduces the number of independent trainings. We extend buffered training to unweighted samples, which stabilizes the training and allows faster convergence, while a decoupling of training and event generation further improves the throughput of the overall pipeline. On top of these technical improvements, we define automated defaults, which set the hyperparameters from a short VEGAS survey of each process. Because every change of process, cuts, or model parameters requires a new training, the training time adds directly to the cost of event generation. We therefore quantify how the gain scales with training time and process multiplicity, and when the training cost amortizes against the faster event generation. Finally, we benchmark a broad range of LHC processes, from multi-jet and vector-boson production to top-quark and Higgs processes, vector-boson scattering, and decay chains, and we confirm that the automated setup still reproduces the correct reference cross sections and distributions.
This paper is organized as follows. In § 2 we briefly review multi-channel importance sampling and the MadNIS method. § 3 introduces the improvements that make MadNIS robust and scalable. In § 4 we study the training time and its amortization, validate the automated setup, and benchmark a broad range of LHC processes. We end with a conclusion and outlook in § 5.
Neural importance sampling with MadNIS
To be self-contained, we briefly review multi-channel Monte Carlo integration and the MadNIS method [49, 50, 51]. Readers already familiar with both topics can proceed directly to § 3. We start by considering the integral of a function over the -dimensional -body phase space,
Following the single-diagram-enhanced decomposition of MadGraph [4, 52], we split the integrand into channels with local channel weights ,
so each channel focuses on different integrand structures. Similar decompositions [65, 66] relying on global, i.e. non phase-space dependent, channel weights are used within Sherpa [2] and WHIZARD [67]. For details on the global- versus local-weight variants and their algorithmic differences, we refer to Ref. [62]. Within each channel, we introduce an invertible mapping between the physical phase space and the unit hypercube,
which defines a normalized channel density
The mappings are constructed from the analytic structure of the amplitude, for instance resonant propagators and soft or collinear limits, and implemented in MadSpace [62]. Evaluating each channel with its own sampling density turns Eq. (1) into the multi-channel importance-sampling estimator
Sampling from amounts to drawing uniformly and mapping onto phase space. It is therefore convenient to work directly on the unit hypercube and to absorb the analytic channel density into a reweighted channel integrand,
so that Eq. (5) becomes a plain integral over the unit hypercube,
Only the generation direction enters, so the analytic mappings never have to be inverted. MadNIS improves both ingredients of Eq. (7) with neural networks. It learns a correction to the channel weights , and it refines the analytic mappings by composing them with an additional learned transformation.
Neural channel weights
The channel-weight network (CWnet) encodes the local weights, with parameters . The normalization and positivity constraint of Eq. (2) is built into the architecture through a softmax, i.e. exponential normalization, over the unnormalized network output [49],
Because the weights vary strongly across phase space, we do not learn them from scratch but as a correction to a physics-motivated prior. Two well-motivated, normalized priors define the single-diagram-enhanced method of MadGraph [4, 52],
built either from single-diagram matrix elements or from products of propagator denominators. Relative to either prior we learn only a correction, i.e.
and initialize the parameters such that , so training starts exactly from the MadGraph prior. Note that is a proper function of the phase-space point , and not of the latent variable of channel to ensure correct normalization. Because the CWnet often concentrates the channel weights in a small number of channels, we drop the smallest integration channels when their cumulative contribution falls below a given threshold.
Neural importance sampling
The second step in the chain, from the unit hypercube to the latent space , is an additional trainable transformation that further flattens the integrand. Classically it is performed by VEGAS [46, 47, 48], which adapts a factorized grid and therefore cannot capture correlations between the integration variables. MadNIS instead uses a more expressive normalizing flow [68, 69]
with parameters and associated normalized Jacobian density
Events are generated by drawing uniformly and inverting the chain, followed by , so that now follows rather than the uniform distribution of Eq. (7). In terms of the physical phase space this corresponds to refining the analytic channel density of Eq. (4) into the trained density
which makes the importance-sampling interpretation explicit, but is never evaluated in this form. Instead, we only need the ratio following directly from Eq. (6),
i.e. we handle all densities on the hypercube. Since VEGAS converges quickly for factorizing integrands, we employ a VEGAS pre-training as a fast and stable starting point for the flow [50].
Variance loss
With both networks in place, Eq. (7) becomes
and we train MadNIS by minimizing the total variance. Encoding the optimal, stratified distribution of points across channels [66, 70] gives the multi-channel loss
where is the sampling density of the training sample. Its relation to the trained density depends on the training mode and is specified below.
Online and buffered training
The loss of Eq. (16) is evaluated on points drawn from a proposal which is deliberately kept distinct from the trained density . Since appears explicitly in the loss, any density that is non-zero wherever the integrand contributes gives an unbiased estimate of the same variance, and a mixture of several densities can for instance stabilize the training [54]. We use two choices, which define two training modes [49, 50],
In online training, the proposal is evaluated with the current parameters and is therefore numerically identical to , but detached from the gradient computation. In buffered training, denotes the network parameters at the time the point was generated. Both modes therefore estimate the same variance and can be interleaved freely. The two branches are illustrated in Figure 1 and described below:

Figure 1. Online and buffered training in MadNIS. Both branches minimize the same loss, Eq. (16), evaluated with the proposal of Eq. (17). The break in the sampling arrow marks where the gradient is detached, as the generation pass carries no gradients, so the flow is evaluated a second time in the forward direction to provide as a proper function of . Both networks are evaluated in either branch, so only the online branch calls MadSpace and MadMatrix.
Online training: We draw uniformly and invert the flow, , then call MadSpace and MadMatrix once to obtain the phase-space point , the integrand , and the channel-weight priors . This sampling pass has to run without gradients, as differentiating through it would require , which is not available for a generic matrix element [51]. We therefore evaluate the density in a second, forward pass , so that enters the loss as a proper function of [49], and the channel weights in a pass of the CWnet over . An online update thus costs one integrand evaluation and two flow passes.
Buffered training: We reuse points generated during earlier online steps and only perform the weight update. Of the ingredients of Eq. (16), we read and from the buffer, while we recompute and with the current parameters. We therefore store the hypercube point for the flow, the phase-space point for the CWnet, the integrand , the sampling density , the generating channel index , and the priors . A buffered update thus costs a single flow pass and no integrand evaluation, saving the MadSpace call and the costly matrix-element evaluation in MadMatrix.
The multi-channel weight priors dominate the memory footprint of the buffer and therefore limit the number of points it can hold. The softmax normalization of Eq. (8) couples all channels, so in principle the complete set is required for every buffered point, which amounts to several gigabytes for points and channels. In practice only a few channels contribute significantly to any given point, so we store the index-weight pairs of the largest contributions, always including the channel the point was generated in, and set the remaining weights to zero. We adjust the normalization accordingly to leave the result unbiased.
Improving robustness and scalability
Previous MadNIS studies [50] focused on the achievable gain in unweighting efficiency for single partonic subprocesses. There, a common set of hyperparameters was sufficient, and it did not matter if a network was larger or a training longer than necessary. As the default in MadGraph, MadNIS instead has to handle full proton-proton processes with many partonic subprocesses, run unattended across a wide range of processes and multiplicities, and stay efficient for the moderate event counts users typically request, where the training cost directly adds to the total cost. We therefore extend the method to discrete degrees of freedom, reduce the number of independent trainings, make buffered training more robust, and speed up the training itself, before we choose the hyperparameters through automated defaults that balance expressivity against throughput and training time. Most of these improvements also pay off when an expert tunes the setup. Combined with MadSpace and MadMatrix, MadNIS now provides complete event generation, which unweights the events and writes them out with their flavors, helicities, and color flows in addition to their four-momenta. The whole chain from random-number generation to unweighted events thereby runs on the GPU.
Sampling discrete degrees of freedom
The parton-level integrand generally depends on both the four-momenta and on discrete degrees of freedom, such as the helicity, color, and flavor configuration. On top of these physical quantum numbers, the phase-space construction introduces a further discrete label, which picks one of several equivalent orderings of the final-state momenta inside an integration channel. Whenever the integrand depends on such a label, an efficient sampler has to account for it, so in general we condition the sampling on all of them.
In default MadGraph, however, we sum over helicities and colors, so this dependence drops out of the cross section. We only assign a specific helicity and color configuration when we write out events, but this assignment leaves the integral unchanged. Other generators do sample these quantum numbers, for instance through the color-sampled recursion of Comix in Sherpa [71], the leading-color event generation with subsequent full-color reweighting of AmpliCol [72, 73], or the helicity-conditioned normalizing flows combined with Pepper [63]. Our setup can accommodate these cases, as we discuss at the end of this section. For MadGraph, we are therefore left with the symmetry and flavor configurations:
Symmetry configuration. It arises from the phase-space construction with single-diagram enhancement, in which Feynman diagrams with the same phase-space topology but different momentum orderings of the final-state particles are grouped into a single integration channel with the same phase-space mapping. After evaluating the mapping, we have to pick one specific permutation and apply it to the momenta. If only diagrams with the same physical structure, including propagator types and masses, are grouped, this is an exact symmetry and uniform sampling of the permutation is sufficient. More flexible channel grouping, as introduced in § 3.2, or the trainable channel weights from MadNIS break this symmetry, so adaptive importance sampling of the momentum permutations reduces the variance of the phase-space integral.
Flavor configuration. MadGraph merges multiple partonic processes into a single cross-section integral when they share similar physics, and determines the specific flavor configuration via importance sampling. The main difference among flavor configurations comes from the parton-density functions (PDFs), which depend only on the initial-state flavors. Matrix elements, in contrast, may depend on all flavors. They differ either through flavor-dependent couplings within a given diagram, for instance for the boson in electroweak processes, or
through the number of contributing diagrams. For example, receives both - and -channel contributions, whereas has only -channel diagrams and therefore fewer of them.
We combine continuous and discrete degrees of freedom using an autoregressive decomposition of the full sampling probability, , with indices and enumerating the symmetry and flavor configurations available in a given integration channel, respectively. We construct this sampling for each integration channel separately and omit the channel index in the following for readability. For MadNIS, we decompose the probability as
This results in a more expressive architecture compared to a setup with a flow conditioned on the discrete indices because the spline-coupling-based normalizing flows used for the continuous dimensions have a more restrictive architecture than the simple MLP networks predicting the discrete probabilities. The flows used with Pepper follow this conditional approach for the helicity configuration [63]. For the symmetry configurations, we use a fully connected network that predicts a vector of unnormalized log-probabilities. We then compute the probability using a softmax function,
For the flavor sampling we exploit that the PDFs dominate the flavor dependence of the differential cross section and are cheap to evaluate. Having sampled and first, we can evaluate the phase-space point to obtain the momentum fractions and , as well as the factorization scale . Using and to denote the flavors of the two incoming partons for the flavor configuration , this defines the unnormalized weight
Not every flavor configuration contributes for a given symmetry configuration, because certain combinations have no physical diagram, so their channel weight vanishes and they never contribute to the integral. We therefore restrict the flavor sampling to the set
and normalize the weights of Eq. (20) over this set,
For processes in which the matrix element does not depend on the flavor configuration, this prior distribution already yields the perfect importance-sampling distribution. To also account for the flavor dependence of the matrix element, we apply a learned multiplicative correction, exactly as for the MadGraph channel weights in Eq. (10),
where is a second fully connected network with an output for each flavor configuration. Our discrete sampling setup extends directly to more discrete dimensions, for example to perform helicity sampling instead of summing, or to sample FKS sectors in the NLO extension of MadNIS [53].
Merging matrix elements, channels and subprocesses
MadGraph organizes the phase-space integration and event generation of a full process into a two-level hierarchy.
A subprocess groups one or more partonic flavor configurations, where in the latter case flavor sampling as introduced in § 3.1 is applied. In MG5aMC a subprocess could bundle multiple independent matrix-element implementations whereas in MadMatrix there is a one-to-one correspondence between matrix element code and subprocesses.
Each subprocess is divided into integration channels using the channel weights introduced in Eq. (9). There is an independent MadNIS network or VEGAS grid for each channel. The integral remains unbiased as long as these channel weights are normalized to one at every phase-space point. Consequently there is a lot of freedom in the way the subprocess is decomposed into channels.
The construction of subprocesses and channels is a trade-off between many factors, including MadNIS and VEGAS training time, complexity of each individual integrand, memory usage and code size. As VEGAS integration grids converge relatively fast while only providing limited expressivity, event generators like MG5aMC or Sherpa use a large number of integration channels. However, even in a VEGAS setup, building a large number of integration channels leads to diminishing returns or even starts to complicate the phase-space integration going towards high-multiplicity processes. Neural importance sampling offers higher expressiveness at the cost of much longer training times. Therefore, it profits less from a large amount of integration channels. Indeed, we find that often a large fraction of the integration channels is dropped during the multi-channel MadNIS training [50]. Even with channel dropping, a large number of channels still leads to considerable computational cost and decreased training stability, especially during the early stages of the training when most channels are still active. Consequently, the MadNIS training can be improved by building fewer channels in the first place.
Orthogonal to these improvements, GPU-based or SIMD-vectorized setups favor processing samples in large batches with as little divergence between code paths as possible. Therefore, they profit from merging the matrix-element implementations for related partonic channels. To tackle these various challenges, we implement the following improvements:
Merging matrix-element implementations: A subprocess can contain several different matrix elements. For instance, the process has fewer Feynman diagrams compared to . In MG5aMC, these processes are grouped into the same subprocess, but have independent matrix-element codes that are called depending on the flavor index. However, this is not optimal for a GPU- or SIMD-vectorized implementation as it would require subdividing each batch of points. Instead, we merge all code paths in a subprocess and decide at the level of individual couplings whether they are present or zero for the current flavor configuration.
Merging integration channels of similar topology: In many cases, Feynman diagrams share the same initial- and final-state particles and the same diagram topology but differ in the type of propagator. For instance, as illustrated in Figure 2, has a -channel diagram with a gluon propagator and a -channel diagram with a quark propagator. Although both are massless propagators, their amplitudes differ, and MG5aMC therefore builds independent channels for them. However, because they share the same topology and propagator masses, these channels will have the same analytic phase-space mapping. Instead, we group these diagrams into the same channel and address the differences through the learnable symmetry sampling introduced in § 3.1.
Figure 2. Illustration of symmetry grouping as in MG5aMC, topology grouping and subprocess merging for the Feynman diagrams contributing to . Columns correspond to the eight subprocesses with an independent matrix-element implementation. Rows correspond to the -, -, and -channel topologies. We omit the diagram for with a quartic gluon coupling because it is not explicitly mapped out by a phase-space mapping.
Merging subprocesses: By default, we group partonic processes according to whether each external parton is a quark, an antiquark, or a gluon. This is similar to the grouping in the Pepper event generator that was studied in Ref. [63]. Going one step further, we can also merge diagrams of the same topology across subprocesses. For the example of , this results in only two integration channels, denoted as green boxes in Figure 2: one for the -channel and one for the - and -channel diagrams. The subprocess for a given event is then chosen at the learnable flavor-sampling level. While there can be a large variation in physics distributions for different subprocesses because of the large differences between the quark and gluon PDFs, most of this is addressed using the PDF prior imposed during the flavor sampling, see § 3.1, so it does not have to be learned by a neural network. However, the training task after merging subprocesses is still more complicated than per-subprocess training, and evaluating the matrix element requires subdividing the batch, which results in smaller batch sizes and potentially lower GPU throughput. For this reason, we make subprocess merging optional, and finding smart heuristics to decide when to enable it remains a challenge to be investigated in the future.
Further reduction of channel count: Even with all the improvements discussed above, the channel count can still be excessive for some processes. For example, some subprocesses of have 120 integration channels. We find that for massless QCD interactions, -channel mappings combined with expressive MadNIS sampling are usually sufficient to model the integrand features precisely. Consequently, we discard channels with -channel propagators if the number of channels would otherwise exceed a threshold of 16, and adjust the channel-weight normalization to keep the result unbiased. For , this reduces the number of channels to twelve, resulting in significantly faster and more stable MadNIS training. Additionally, MadSpace offers several alternative mappings, such as RamboOnDiet or Chili, that can be used as a single integration channel instead of the classic multi-channel approach.
Buffered training on unweighted events
Buffered training makes MadNIS training more efficient by reusing samples multiple times for optimization before replacing them with newly generated samples. In our previous work [50], we implemented this by storing all weighted events generated during online training that pass phase-space cuts. While this works well for simple processes, we find that for more complex tasks, it can lead to training instability and overfitting compared to pure online training. Moreover, as the effective sample size decreases with process complexity, less effective statistics can be stored with the same amount of memory. Ref. [74] proposes a prioritized replay buffer as a solution to the first problem. Training batches are sampled from the buffer with probabilities proportional to their event weights. While this improves training stability by increasing the effective sample size per batch, it does not solve the issue of reduced statistics across the entire buffer. A related sample replay supplements the online training of the Pepper flows [63].
We address both problems by performing a partial unweighting step before storing events into the buffer. To this end, for a batch of points generated in channel during online training, we compute the event weights
and use them to determine a batch-wise unweighting threshold as a quantile of the . Next, we draw uniformly distributed and perform a standard accept-reject step,
For a quantile of 0.95, this means that between 5% and 100% of the points are accepted, depending on how narrow the weight distribution is. Points failing the phase-space cuts have and are therefore always rejected.
Both training modes only use a subset of the generated points. Online training uses the points that pass the phase-space cuts, while buffered training only stores the points accepted by Eq. (25). To preserve the property that yields the integral of the integration channel, we rescale the sampling densities of the remaining points as
and use in place of in the loss. Online and buffered training batches then remain compatible with the multi-channel variance loss of Eq. (16), and their loss values stay consistent.
Even with partially unweighted points, buffered training can still overfit and reduce the training performance. We prevent this by choosing the buffered-training hyperparameters such that all points in the buffer are replaced frequently, and the weight distribution of the buffered points is stable enough not to destabilize the training. We do not store points from the first 1000 training iterations, as both the flow and the channel weights change too quickly in this initial phase. We start training on buffered batches only once the buffer holds points, and ramp up the fraction of buffered iterations, linearly as the buffer fills. We limit the buffer to points per channel and set the quantile for to 0.95, so the buffer content is replaced often enough to prevent overfitting.
Concurrent training and generation
In event generation with neural importance sampling, the trade-off between training time and unweighting efficiency is a key consideration for achieving overall speed-up. It is therefore crucial not only to optimize neural network architecture and training hyperparameters, but also to minimize the computational cost per training iteration.
Especially when training on GPUs, the optimal batch size to maximize GPU throughput (typically tens of thousands) differs from the batch size that optimizes training performance by ensuring stable gradients while remaining data-efficient (typically hundreds to thousands). Consequently, a naive training loop that generates and optimizes training samples sequentially with the same batch size results in slow training and uses only a fraction of the GPU’s capacity. We solve this problem by decoupling training data generation and optimization, and running them concurrently. To this end, we keep two copies of the neural network in memory. We use one copy to optimize the network by consuming events in small batches, either from a small first-in-first-out (FIFO) buffer during online training or by randomly selecting samples from the larger buffer of unweighted events during buffered training. We use the second copy to independently generate events in large batches, thereby optimizing GPU throughput. The generation becomes active when the FIFO buffer is drained, at which point it copies the latest trainable parameters, generates weighted events, and stores them in the FIFO buffer. This setup preserves the short feedback loop between optimization and generated events in online training while allowing generation and optimization to run in parallel at their optimal batch sizes to maximize GPU or CPU usage. We illustrate our training workflow in Figure 3.

Figure 3. Training workflow with decoupled generation and optimization. Networks denotes the normalizing flow, the channel-weight network, and the networks for the symmetry and flavor probabilities of § 3.1, and collectively denotes all their trainable parameters.
Moreover, we include a fast implementation of RQ-spline flows [75] directly within the MadSpace package that fuses the spline coupling blocks into a small number of compute kernels written in C++ and CUDA/HIP. They enable higher throughput than implementations in generic deep-learning frameworks such as PyTorch while removing overhead from interface and programming-language boundaries. This allows us to tightly interleave components such as normalizing flows, analytic phase-space mappings, and parton densities, making techniques like the PDF prior from § 3.1 computationally efficient.
Automated defaults
Selecting suitable hyperparameters for the MadNIS networks and training is critical to ensure good training and event-generation performance. The best choice of parameters depends strongly on the process of interest: for simple, low-multiplicity processes, small networks suffice, and larger networks do not improve unweighting efficiency while reducing throughput because of the higher computational cost of evaluating the network. Moreover, for very simple processes and low event counts, training a neural importance sampler might not be amortized at all. For a production-ready event generator, it is not feasible to require an expert to tune these parameters for every new process. Instead, we define an automated procedure to make these decisions in a process-dependent way:
Run a short VEGAS survey with three iterations on 1000, 2000, and 4000 weighted events after cuts for each integration channel, similar to the survey in MG5aMC.
Use the relative standard deviation (RSD) after the third survey iteration, i.e., the relative integration error after removing the scaling with sample count, as a metric for the complexity of each subprocess. Determine the values of hyperparameters based on this metric.
Use the VEGAS grid from the survey pass either as a starting point for the full VEGAS optimization, or for VEGAS initialization of the MadNIS flows.
Run the MadNIS or VEGAS optimization.
The most important hyperparameters to determine in a process-specific way are the width and depth of the flow sub-networks and the channel-weight network, to balance expressivity and throughput, and the batch size per integration channel, to balance training speed and convergence. Furthermore, we determine parameters such as the learning rate and the training iteration after which the learnable channel weights are frozen, as a function of the number of training iterations. Finally, choosing the training length is critical to achieve good unweighting efficiency while still amortizing training time, and we study it in detail in § 4.2. We show the full set of fixed and dynamic MadNIS default parameters in Table 2 in the appendix. While these defaults achieve good results across a wide range of physics processes, they still leave room for improvement and are likely to evolve.
| Hyperparameter | value |
| process-dependent | |
| Hidden nodes (flow, discrete flow, channel weights) | |
| Layers per flow subnet | 3 if RSD < 32, 4 otherwise |
| Batch size per channel | |
| Learning rate | |
| Fraction of iterations with frozen channel weights | |
| Coupling blocks | |
| Channel dropping threshold | |
| fixed | |
| Loss | stratified variance |
| Activation function | leaky ReLU |
| RQ spline bins | 10 |
| Layers (discrete flow, channel weight network) | 3 |
| Constant batch size offset | 512 |
| Fraction of points sampled uniformly across channels | 0.5 |
| Optimizer | Adam |
| Adam () | (0.9, 0.999, ) |
| Weight decay | |
| LR schedule | cosine annealing |
| Gradient clipping threshold | number of parameters |
| Softclip threshold for variance loss | 30 |
| Buffer capacity per channel | 60000 |
| Minimum buffer size before buffered training begins | 10000 |
| Fraction of buffered iterations | 0.8 |
| Initial iterations without saving samples to buffer | 1000 |
| Buffer unweighting quantile | 0.95 |
Table 2. Fixed and process-dependent MadNIS hyperparameters. RSD denotes the relative standard deviation determined in the VEGAS survey. denotes the number of training iterations, the current iteration, and the dimension of the phase space.
MadNIS in production
We now run MadNIS as a user of MadGraph7 would, with its default settings and without any process-specific tuning. We first validate the generated distributions against an independent baseline in § 4.1, then quantify the training cost and its amortization in § 4.2, and finally benchmark a broad range of LHC processes in § 4.6.
All results use the default settings of MadGraph7 v0.2.1 [64] for proton-proton collisions at TeV. We use the NNPDF4.0 LO PDF set with [76] provided by LHAPDF6 [77], and dynamical factorization and renormalization scales , where is the scalar sum of the transverse masses of all final-state particles. The default generation cuts are
where denotes gluons and the four light quark flavors. For the validation and the amortization study, we consider the processes
including all their allowed partonic subprocesses in the SM.
Validation
A faster sampler is only useful if it leaves the generated distributions unchanged. We therefore compare differential distributions from MadNIS with an independent MG5aMC baseline for and from Eq. (28), following the validation of MadSpace in Ref. [62]. We train MadNIS for iterations with otherwise default settings from MadGraph7, both with separate trainings for each subprocess and with a single merged training, as described in § 3.2. For each of them, we generate unweighted events while allowing for of the cross section to come from overweight events. As baseline, we use MG5aMC 3.8.1 with the same PDF set, scales, and cuts. To ensure sufficient statistics for the baseline, denoted as MG5 sliced, in both the bulk and the tails, we split each observable into ten slices and generate unweighted events in each of them.
As observables, we choose the partonic center-of-mass energy for top-pair production and the invariant mass of the lepton pair for Drell-Yan, as well as the transverse momentum of the leading jet and the angular separation between the two leading jets for both processes. To compare the distributions bin by bin, we compute the pull
where denotes the cross section in a given bin and its statistical uncertainty. For statistically compatible distributions, the pulls follow a standard normal distribution, so about 68% and 95% of the bins should lie within and , respectively. Figure 4 shows that the distributions from both the separate and the merged trainings meet this criterion, in the bulk as well as in the tails.
Figure 4. Differential distributions for (top) and (bottom). Shown are the partonic center-of-mass energy or the lepton-pair invariant mass (left), the transverse momentum of the leading jet (middle), and the angular separation of the two leading jets (right). We compare unweighted MadNIS events from separate and merged trainings with a sliced high-statistics MG5aMC run. The lower panels show the pull of Eq. (29).
Training time and amortization
Like a VEGAS grid, a trained MadNIS sampler is specific to one setup, and any change of process, cuts, or model parameters requires a new training. Because neural importance sampling needs much longer training than VEGAS, see § 3.2, its gain in unweighting efficiency only pays off once it amortizes this training time. Here, we measure how the event throughput scales with the training time and the final-state multiplicity, and determine the number of events beyond which MadNIS becomes faster than the VEGAS baseline.
Setup
We study with from Eq. (28), which consist of 4, 8, and 10 subprocesses, respectively. We either train a separate sampler for each subprocess or merge all subprocesses into a single training, as described in § 3.2. Apart from the training length and the merging strategy, we use the default settings of MadGraph7 from § 3.5, which fix the network size, the batch size, the buffered fraction, and the remaining hyperparameters during the VEGAS pre-training and survey. We vary the training length between 100 and iterations on the GPU and between 100 and iterations on the CPU, and repeat every run five times.
We run on an Nvidia A100 GPU and on 8 cores of an AMD EPYC 7452 CPU, which matches the core count of a typical LHC grid job. On the CPU, the matrix elements use AVX2 vectorization. Training and event generation run on the same hardware, even though our framework also supports mixed setups such as training on a GPU and generating events on a CPU. As figure of merit, we use the unweighted-event throughput , i.e. the number of unweighted events per second of generation while allowing for 0.1% of the cross-section to come from over-weight events. We compare it to the throughput of a VEGAS run with MadSpace on the same hardware and with otherwise identical settings. In the limit of a large number of generated events, , the training time becomes negligible and the speed-up reduces to
which we generalize to finite in Eq. (33). For both methods, we neglect the time of the common VEGAS survey, which is small compared to all other contributions.
Scaling with training time
Figure 5 shows the throughput and the speed-up as a function of the training time. For the separate trainings, every subprocess is trained with the full number of iterations, and the training time is the sum over all subprocesses. On the GPU, the throughput first rises steeply and then enters a regime in which it grows only slowly, but does not saturate within the probed range. We describe this behavior by two linear functions in the log-log plane, which are smoothly connected,
Figure 5. Unweighted-event throughput (upper) and speed-up relative to VEGAS on the same hardware (lower) as a function of the training time for with (left to right). We show separate trainings for all subprocesses and a single merged training, each on an A100 GPU and on 8 CPU cores. Points and vertical error bars give the mean and standard deviation over five independent runs, horizontal error bars the spread in wall-clock time. The gray line shows the fit of Eq. (31) to the merged GPU runs.
and fit it to the merged GPU runs. For the throughput scales as , and for as . The transition happens after s, 17 s, and 2 min of training for , and beyond it the throughput grows roughly as . MadNIS reaches the VEGAS throughput after 5 s, 7 s, and 1 min of GPU training for . For the longest trainings, the speed-up reaches 4.4, 28, and 130. The speed-up grows with the final-state multiplicity, because the integrand on the unit hypercube becomes increasingly correlated, while the factorized VEGAS grid cannot capture correlations between the integration variables, see § 2. The CPU runs follow the same pattern, but each iteration takes longer, which shifts them to longer training times by more than an order of magnitude. To keep the wall-clock time manageable, we train them for at most a tenth of the GPU iterations, so their longest trainings reach smaller speed-ups of 3, 16, and 70. For the same number of iterations, CPU and GPU trainings reach comparable speed-ups.
For similar total training times, separate and merged trainings perform comparably. For short trainings, merging can help substantially. This is most visible for , where the merged training reaches a speed-up of 9 after 40 s on the GPU, while the separate trainings stay at 2. For , the separate trainings are slightly ahead at intermediate training times. When to use which mode beyond production requires further study, in line with discussion in § 3.2.
Training time amortization
From the fit, we compute the speed-up including the training time. Generating unweighted events takes
so the speed-up including the training time is
For large , approaches of Eq. (30). For small and long trainings, the training dominates and . MadNIS breaks even at , i.e. starts gaining for
Figure 6 shows , and the cross marks the minimum of . MadNIS breaks even at , , and events for , after 8 s, 11 s, and 1.4 min of training. The higher the multiplicity, the earlier MadNIS pays off, and for a few thousand events suffice. For , VEGAS is already efficient, so only large samples benefit from using MadNIS. Beyond the break-even point, the optimal training time grows with . The training length therefore has to follow the requested number of events, which motivates the defaults of § 3.5.
Figure 6. Speed-up including the training time, Eq. (33), as a function of the training time and the number of generated events for with (left to right). It is derived from the fit of Eq. (31) to the merged GPU runs of Figure 5. The cross marks the minimal number of events for which MadNIS breaks even with VEGAS, and the dotted line indicates this number of events.
Table 1 summarizes three working points of the merged GPU and CPU trainings together with the VEGAS baseline. Here, denotes the unweighting efficiency. Already after iterations,
| unw./s | unw./s | unw./s | |||||||
| GPU, 1k it. | 17 s | 0.38 | 78 s | 0.14 | 200 s | 0.021 | |||
| CPU, 1k it. | 190 s | 0.42 | 18 min | 0.14 | 1.0 h | 0.019 | |||
| GPU, 47k it. | 10 min | 0.54 | 33 min | 0.25 | 1.4 h | 0.089 | |||
| CPU, 47k it. | 1.8 h | 0.64 | 9.8 h | 0.33 | 28 h | 0.096 | |||
| GPU, 470k it. | 1.7 h | 0.64 | 5.4 h | 0.38 | 12 h | 0.160 | |||
| GPU, VEGAS | – | 0.095 | – | 0.015 | – | 0.0016 | |||
| CPU, VEGAS | – | 0.10 | – | 0.013 | – | 0.0010 |
caption: Training time , unweighted-event throughput , and unweighting efficiency for with , after , , and training iterations on an A100 GPU and on 8 CPU cores. The last two rows show the VEGAS baseline on the same hardware. The unweighting efficiency allows for 0.1% of the cross section to come from overweight events.
:::
which take between 17 s and 200 s on the GPU to train, MadNIS generates unweighted events faster than VEGAS by factors of 2.9, 8.9, and 16 for . After iterations, the unweighting efficiency improves by factors of 6.7, 25, and 100, and the throughput by factors of 4.2, 28, and 130.
The process zoo
Finally, we run MadNIS with its default settings on a broad set of LHC processes,
For , , and , we only include purely electroweak diagrams, so these processes describe vector-boson scattering and vector-boson fusion, respectively. All particles are generated on-shell without decays unless written otherwise. For every process, we include all partonic subprocesses, use the setup of Eq. (27), and generate unweighted events. For the high-multiplicity processes and , we generate unweighted events to limit the computing time, which does not affect the speed-up since it excludes the training. We train MadNIS separately for each subprocess with iterations and otherwise use the defaults of § 3.5. This is much longer than necessary for the simpler processes, but it shows the speed-ups that are possible after a long training. We run both MadNIS and VEGAS on the same Nvidia H100 GPU, so the speed-up of Eq. (30) measures the gain from the sampling method alone and not from the hardware. For each process, we repeat the comparison for two or three pairs of random seeds.
Figure 7 shows the resulting speed-ups. In the median, MadNIS is faster than VEGAS for every process, with speed-ups between 1.27 and 247. The gain grows strongly with the final-state multiplicity. One additional jet increases it from 5.5 to 58 for multi-jet production, from 20 to 50 for plus jets, from 1.9 to 17 for plus jets, and from 2.1 to 247 for plus jets. For high multiplicities, the integrand becomes increasingly correlated, and the number of integration channels grows. MadNIS captures the correlations and drops channels that do not contribute, which makes the remaining training and sampling more efficient. Electroweak vector-boson scattering, , gains a factor 44. The smallest gains appear for processes in which the analytic phase-space mappings already describe the integrand well. For top-pair production with leptonic decays in the narrow-width approximation, the Breit-Wigner mappings capture the resonance structure, and VEGAS leaves little to improve, so MadNIS gains only a factor 1.27. The variation between seeds is small for most processes.
Figure 7. Speed-up of MadNIS relative to VEGAS, Eq. (30), for the processes of Eq. (35), with training and survey times excluded. Both methods run on the same Nvidia H100 GPU. Each dot corresponds to one of three pairs of random seeds. The boxes show the interquartile range, the horizontal lines and the numbers above the boxes the median, and the whiskers the full range.
Outlook
We have made neural importance sampling with MadNIS a production-ready default for leading-order event generation in MadGraph, applicable to generic proton-proton processes with all their partonic subprocesses. Importance sampling of symmetry permutations and flavor configurations with a PDF prior covers the discrete degrees of freedom of the integrand, and merging matrix elements, channels, and subprocesses reduces the number of independent trainings. Buffered training on partially unweighted events stabilizes the training, concurrent training and generation keep the hardware busy, and automated defaults derived from a short VEGAS survey remove the need for extensive process-specific tuning. All developments are publicly available in the alpha release of MadGraph7 [64], which will succeed MG5aMC as the production version of MadGraph.
With these defaults, MadNIS is faster than VEGAS by factors between 1.27 and 247 across a broad range of LHC processes, with the largest gains at high final-state multiplicities. The gain grows with the multiplicity, and for the training cost already amortizes after 6000 unweighted events. At the same time, the generated distributions agree with an independent high-statistics baseline, in the bulk as well as in the tails. Learning the flavor structure on top of the PDF prior gives an additional gain whenever the matrix element depends on the flavor configuration.
These gains are largest for intermediate final-state multiplicities, which is the regime targeted in this paper. For low multiplicities, VEGAS combined with the analytic mappings of MadSpace is already efficient, and the hardware acceleration of phase-space generation and matrix elements in MadSpace and MadMatrix [57, 62] becomes the dominant source of speed-up, which we leave to the full MadGraph7 release. For very high multiplicities, the evaluation of full-color matrix elements becomes the bottleneck, which leading-color event generation with AmpliCol [72, 73] addresses in a complementary way.
For the LHC, faster event generation can be spent in two ways. The same samples can be generated with a smaller computing footprint, which addresses the growing gap between the required simulation and the available budget for the HL-LHC. Alternatively, the same budget yields larger samples, in particular for high-multiplicity final states, which enter many background predictions at LO through multi-jet merging and where limited Monte Carlo statistics in the tails often restrict the sensitivity of an analysis. Because no tuning is required, this gain is available to every MadGraph user, from large production campaigns to smaller phenomenological studies, whenever the requested number of events is large enough to amortize the training.
Acknowledgments
We thank the full MadGraph team for their continuous support and valuable input throughout this work. TH is supported by the PDR-Weave grant FNRS-DFG numéro T019324F (40020485). OM, TH and the madgraph collaboration are supported by FRS-FNRS (Belgian National Scientific Research Fund) IISN projects 4.4503.16 (MaxLHC). The work done by DM is supported by the Eric & Wendy Schmidt Fund for Strategic Innovation through the CERN Next Generation Triggers project (grant agreement SIF-2023-004). Computational resources have been provided by the Consortium des Équipements de Calcul Intensif (CÉCI), funded by the Fonds de la Recherche Scientifique de Belgique (F.R.S.-FNRS) under Grant No. 2.5020.11 and by the Walloon Region. We also acknowledge the usage of computing resources hosted at CERN through the Next Generation Triggers project (grant agreement SIF-2023-004). This article/publication is based upon work from COST Actions MLQC4FC (CA24146) supported by COST (European Cooperation in Science and Technology). This project is partly funded by HADRON-2030 which receives funding from the European Union’s Horizon Europe research and innovation programme under Grant Agreement No. 101292522.
Disclaimer
Funded by the European Union. Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or the European Research Executive Agency (REA). Neither the European Union nor the granting authority can be held responsible for them.
Hyperparameters
Per-process generation performance
Table 3 shows the generation performance for each selected process. The speed-up is the mean VEGAS generation wall time divided by the mean MadNIS generation wall time, with the two methods treated as independent samples. The throughput is the number of target unweighted events divided by the generation wall time, and the unweighting efficiency is calculated as the target count divided by the unweighted event count after cuts. We report the arithmetic mean of each per-run MadNIS quantity. The timing comparison covers event generation only, with the training time shown separately.
| Process | Speedup | Throughput [unw./s] | ||
| 5.51 | 0.09 | 1.5 h | ||
| 58 | 0.00524 | 4.4 h | ||
| 2.14 | 0.0127 | 2.9 h | ||
| 247 | 0.0136 | 6.7 h | ||
| 1.9 | 0.0716 | 3.4 h | ||
| 17 | 0.0524 | 8.8 h | ||
| 20.6 | 0.291 | 2.3 h | ||
| 50.6 | 0.0462 | 4.1 h | ||
| 6.62 | 0.533 | 22 min | ||
| 1.27 | 0.415 | 14 min | ||
| 5.09 | 0.565 | 50 min | ||
| 7.68 | 0.241 | 86 min | ||
| 43.6 | 0.0645 | 3.7 h | ||
| 8.12 | 0.7 | 6.0 min |
Table 3. MadNIS performance for each process. Speed-up is the ratio in between the geometric means of VEGAS and MadNIS generation times using all completed runs for each method independently. The remaining columns are arithmetic means over completed MadNIS runs: generation throughput , unweighting efficiency , and training wall time. Throughput excludes training and survey time. Runs use NVIDIA H100 GPU and MadGraph7 v0.2.1.
References
References
References
- [1]C. Bierlich et al., A comprehensive guide to the physics and usage of PYTHIA 8.3, SciPost Phys. Codeb. 2022 (2022) 8, arXiv:2203.11601 [hep-ph].arxiv.org/abs/2203.11601
- [2]Sherpa, E. Bothmann et al., Event generation with Sherpa 3, JHEP 12 (2024) 156, arXiv:2410.22148 [hep-ph].
- [3]J. Bellm et al., The Physics of Herwig 7, arXiv:2512.16645 [hep-ph].arxiv.org/abs/2512.16645
- [4]F. Maltoni and T. Stelzer, MadEvent: Automatic event generation with MadGraph, JHEP 02 (2003) 027, arXiv:hep-ph/0208156.DOI
- [5]J. Alwall, P. Demin, S. de Visscher, R. Frederix, M. Herquet, F. Maltoni, T. Plehn, D. L. Rainwater, and T. Stelzer, MadGraph/MadEvent v4: The New Web Generation, JHEP 09 (2007) 028, arXiv:0706.2334 [hep-ph].DOI
- [6]J. Alwall, M. Herquet, F. Maltoni, O. Mattelaer, and T. Stelzer, MadGraph 5 : Going Beyond, JHEP 06 (2011) 128, arXiv:1106.0522 [hep-ph].DOI
- [7]J. Alwall, R. Frederix, S. Frixione, V. Hirschi, F. Maltoni, O. Mattelaer, H. S. Shao, T. Stelzer, P. Torrielli, and M. Zaro, The automated computation of tree-level and next-to-leading order differential cross sections, and their matching to parton shower simulations, JHEP 07 (2014) 079, arXiv:1405.0301 [hep-ph].DOI
- [8]R. Frederix, S. Frixione, V. Hirschi, D. Pagani, H. S. Shao, and M. Zaro, The automation of next-to-leading order electroweak calculations, JHEP 07 (2018) 185, arXiv:1804.10017 [hep-ph]. [Erratum: JHEP 11, 085 (2021)].DOI
- [9]J. M. Campbell et al., Event Generators for High-Energy Physics Experiments, in Snowmass 2021. 3, 2022. arXiv:2203.11110 [hep-ph].DOI
- [10]M. van Beekveld, E. Bothmann, A. Buckley, C. Gütschow, P. Skands, and R. Winterhalder, The Monte Carlo Ecosystem in High-Energy Physics: A Primer, arXiv:2605.16036 [hep-ph].
- [11]S. Höche, S. Prestel, and H. Schulz, Simulation of Vector Boson Plus Many Jet Final States at the High Luminosity LHC, Phys. Rev. D 100 (2019) 1, 014024, arXiv:1905.05120 [hep-ph].DOI
- [12]ATLAS Collaboration, ATLAS Software and Computing HL-LHC Roadmap, tech. rep., CERN, Geneva, 2022. https://cds.cern.ch/record/2802918.
- [13]S. Badger et al., Machine learning and LHC event generation, SciPost Phys. 14 (2023) 4, 079, arXiv:2203.07460 [hep-ph].DOI
- [14]T. Plehn, A. Butter, B. Dillon, T. Heimel, C. Krause, and R. Winterhalder, Modern Machine Learning for LHC Physicists, arXiv:2211.01421 [hep-ph].arxiv.org/abs/2211.01421
- [15]M. Feickert and B. Nachman, A Living Review of Machine Learning for Particle Physics, arXiv:2102.02770 [hep-ph].arxiv.org/abs/2102.02770
- [16]C. Krause, R. Winterhalder, M. Feickert, B. Nachman, J. Raine, and HEP-ML Community, “A living review of machine learning for particle physics.” Zenodo, July, 2026. https://doi.org/10.5281/zenodo.21626667. Version v2026.06.01.
- [17]C. Krause, R. Winterhalder, M. Feickert, and B. Nachman, The Living Guide of Machine Learning for Particle Physics, arXiv:2608.09531 [hep-ph].
- [18]F. Bishara and M. Montull, Machine learning amplitudes for faster event generation, Phys. Rev. D 107 (2023) 7, L071901, arXiv:1912.11055 [hep-ph].
- [19]S. Badger and J. Bullock, Using neural networks for efficient evaluation of high multiplicity scattering amplitudes, JHEP 06 (2020) 114, arXiv:2002.07516 [hep-ph].DOI
- [20]J. Aylett-Bullock, S. Badger, and R. Moodie, Optimising simulations for diphoton production at hadron colliders using amplitude neural networks, JHEP 08 (6, 2021) 066, arXiv:2106.09474 [hep-ph].
- [21]D. Maître and H. Truong, A factorisation-aware Matrix element emulator, JHEP 11 (2021) 066, arXiv:2107.06625 [hep-ph].DOI
- [22]K. Danziger, T. Janßen, S. Schumann, and F. Siegert, Accelerating Monte Carlo event generation – rejection sampling using neural network event-weight estimates, SciPost Phys. 12 (2022) 164, arXiv:2109.11964 [hep-ph].
- [23]R. Winterhalder, V. Magerya, E. Villa, S. P. Jones, M. Kerner, A. Butter, G. Heinrich, and T. Plehn, Targeting multi-loop integrals with neural networks, SciPost Phys. 12 (2022) 4, 129, arXiv:2112.09145 [hep-ph].DOI
- [24]T. Janßen, D. Maître, S. Schumann, F. Siegert, and H. Truong, Unweighting multijet event generation using factorisation-aware neural networks, SciPost Phys. 15 (2023) 107, arXiv:2301.13562 [hep-ph].
- [25]D. Maître and H. Truong, One-loop matrix element emulation with factorisation awareness, JHEP 5 (2023) 159, arXiv:2302.04005 [hep-ph].DOI
- [26]J. Brehmer, V. Bresó, P. de Haan, T. Plehn, H. Qu, J. Spinner, and J. Thaler, A Lorentz-Equivariant Transformer for All of the LHC, arXiv:2411.00446 [hep-ph].DOI
- [27]V. Bresó-Pla, G. Heinrich, V. Magerya, and A. Olsson, Interpolating amplitudes, SciPost Phys. 19 (2025) 5, 123, arXiv:2412.09534 [hep-ph].
- [28]T. Herrmann, T. Janßen, M. Schenker, S. Schumann, and F. Siegert, Accelerating multijet-merged event generation with neural network matrix element surrogates, arXiv:2506.06203 [hep-ph].arxiv.org/abs/2506.06203
- [29]L. Favaro, G. Gerhartz, F. A. Hamprecht, P. Lippmann, S. Pitz, T. Plehn, H. Qu, and J. Spinner, Lorentz-Equivariance without Limitations, arXiv:2508.14898 [hep-ph].DOI
- [30]J. M. Villadamigo, R. Frederix, T. Plehn, T. Vitos, and R. Winterhalder, FASTColor – Full-color Amplitude Surrogate Toolkit for QCD, SciPost Phys. 21 (2026) 001, arXiv:2509.07068 [hep-ph].DOI
- [31]H. Bahl, V. Bresó-Pla, A. Butter, and J. I. Ramirez, Scaling laws for amplitude surrogates, arXiv:2601.13308 [hep-ph].arxiv.org/abs/2601.13308
- [32]S. Badger, A. Butter, M. Luchmann, S. Pitz, and T. Plehn, Loop amplitudes from precision networks, SciPost Phys. Core 6 (2023) 034, arXiv:2206.14831 [hep-ph].arxiv.org/abs/2206.14831
- [33]H. Bahl, N. Elmer, L. Favaro, M. Haußmann, T. Plehn, and R. Winterhalder, Accurate Surrogate Amplitudes with Calibrated Uncertainties, arXiv:2412.12069 [hep-ph].DOI
- [34]H. Bahl, N. Elmer, T. Plehn, and R. Winterhalder, Amplitude Uncertainties Everywhere All at Once, SciPost Phys. 20 (2026) 083, arXiv:2509.00155 [hep-ph].arxiv.org/abs/2509.00155
- [35]H. Bahl, J. Braun, G. Heinrich, T. Plehn, and R. Revelli, How to Trust Learned Loop Amplitudes, arXiv:2601.00950 [hep-ph].arxiv.org/abs/2601.00950
- [36]L. Beccatini, F. Maltoni, O. Mattelaer, and R. Winterhalder, Amplitude Surrogates for Multi-Jet Processes, SciPost Phys. 20 (2026) 154, arXiv:2512.11036 [hep-ph].DOI
- [37]J. Bendavid, Efficient Monte Carlo Integration Using Boosted Decision Trees and Generative Deep Neural Networks, arXiv:1707.00028 [hep-ph].arxiv.org/abs/1707.00028
- [38]M. D. Klimek and M. Perelstein, Neural Network-Based Approach to Phase Space Integration, SciPost Phys. 9 (2020) 053, arXiv:1810.11509 [hep-ph].DOI
- [39]I.-K. Chen, M. D. Klimek, and M. Perelstein, Improved neural network Monte Carlo simulation, SciPost Phys. 10 (2021) 1, 023, arXiv:2009.07819 [hep-ph].DOI
- [40]C. Gao, J. Isaacson, and C. Krause, i-flow: High-dimensional Integration and Sampling with Normalizing Flows, Mach. Learn. Sci. Tech. 1 (2020) 4, 045023, arXiv:2001.05486 [physics.comp-ph].DOI
- [41]E. Bothmann, T. Janßen, M. Knobbe, T. Schmale, and S. Schumann, Exploring phase space with Neural Importance Sampling, SciPost Phys. 8 (2020) 4, 069, arXiv:2001.05478 [hep-ph].DOI
- [42]C. Gao, S. Höche, J. Isaacson, C. Krause, and H. Schulz, Event Generation with Normalizing Flows, Phys. Rev. D 101 (2020) 7, 076002, arXiv:2001.10028 [hep-ph].DOI
- [43]N. Deutschmann and N. Götz, Accelerating HEP simulations with Neural Importance Sampling, JHEP 03 (2024) 083, arXiv:2401.09069 [hep-ph].arxiv.org/abs/2401.09069
- [44]T. Janßen, R. Poncelet, and S. Schumann, Sampling NNLO QCD phase space with normalizing flows, arXiv:2505.13608 [hep-ph].
- [45]E. Bothmann, T. Janßen, M. Knobbe, B. Schmitzer, and F. Sinz, Efficient many-jet event generation with Flow Matching, arXiv:2506.18987 [hep-ph].arxiv.org/abs/2506.18987
- [46]G. P. Lepage, A New Algorithm for Adaptive Multidimensional Integration, J. Comput. Phys. 27 (1978) 192.DOI
- [47]G. P. Lepage, VEGAS: AN ADAPTIVE MULTIDIMENSIONAL INTEGRATION PROGRAM, .
- [48]G. P. Lepage, Adaptive multidimensional integration: VEGAS enhanced, J. Comput. Phys. 439 (2021) 110386, arXiv:2009.05112 [physics.comp-ph].DOI
- [49]T. Heimel, R. Winterhalder, A. Butter, J. Isaacson, C. Krause, F. Maltoni, O. Mattelaer, and T. Plehn, MadNIS - Neural multi-channel importance sampling, SciPost Phys. 15 (2023) 4, 141, arXiv:2212.06172 [hep-ph].DOI
- [50]T. Heimel, N. Huetsch, F. Maltoni, O. Mattelaer, T. Plehn, and R. Winterhalder, The MadNIS Reloaded, SciPost Phys. 17 (2024) 023, arXiv:2311.01548 [hep-ph].DOI
- [51]T. Heimel, O. Mattelaer, T. Plehn, and R. Winterhalder, Differentiable MadNIS-Lite, SciPost Phys. 18 (2025) 1, 017, arXiv:2408.01486 [hep-ph].DOI
- [52]O. Mattelaer and K. Ostrolenk, Speeding up MadGraph5_aMC@NLO, Eur. Phys. J. C 81 (2021) 5, 435, arXiv:2102.00773 [hep-ph].arxiv.org/abs/2102.00773
- [53]G. De Crescenzo, J. M. Villadamigo, N. Elmer, T. Heimel, T. Plehn, R. Winterhalder, and M. Zaro, MadNIS at NLO, arXiv:2603.22407 [hep-ph].arxiv.org/abs/2603.22407
- [54]T. Heimel, T. Plehn, R. Revelli, S. Vent, and R. Winterhalder, Neural Control Variates at LO and NLO, arXiv:2607.23591 [hep-ph].arxiv.org/abs/2607.23591
- [55]E. Bothmann, W. Giele, S. Hoeche, J. Isaacson, and M. Knobbe, Many-gluon tree amplitudes on modern GPUs: A case study for novel event generators, SciPost Phys. Codeb. 2022 (2022) 3, arXiv:2106.06507 [hep-ph].arxiv.org/abs/2106.06507
- [56]E. Bothmann, T. Childers, W. Giele, S. Höche, J. Isaacson, and M. Knobbe, A Portable Parton-Level Event Generator for the High-Luminosity LHC, SciPost Phys. 17 (2024) 081, arXiv:2311.06198 [hep-ph].DOI
- [57]A. Valassi et al., Speeding up Madgraph5 aMC@NLO through CPU Vectorization and GPU offloading: towards a first alpha release, in 21th International Workshop on Advanced Computing and Analysis Techniques in Physics Research: AI meets Reality. 3, 2023. arXiv:2303.18244 [physics.comp-ph].arxiv.org/abs/2303.18244
- [58]S. Hageboeck, T. Childers, W. Hopkins, O. Mattelaer, N. Nichols, S. Roiser, J. Teig, A. Valassi, C. Vuosalo, and Z. Wettersten, Madgraph5_aMC@NLO on GPUs and vector CPUs Experience with the first alpha release, EPJ Web Conf. 295 (2024) 11013, arXiv:2312.02898 [physics.comp-ph].arxiv.org/abs/2312.02898
- [59]Z. Wettersten, O. Mattelaer, S. Roiser, A. Valassi, and M. Zaro, Hardware acceleration for next-to-leading order event generation within MadGraph5_aMC@NLO, in 27th International Conference on Computing in High Energy and Nuclear Physics (CHEP 2024). 3, 2025. arXiv:2503.07439 [hep-ph].arxiv.org/abs/2503.07439
- [60]A. Valassi, T. Childers, S. Hageböck, D. Massaro, O. Mattelaer, N. Nichols, F. Optolowicz, S. Roiser, J. Teig, and Z. Wettersten, Madgraph on GPUs and vector CPUs: towards production (The 5-year journey to the first LO release CUDACPP v1.00.00), in 27th International Conference on Computing in High Energy and Nuclear Physics. 3, 2025. arXiv:2503.21935 [physics.comp-ph].
- [61]S. Hageböck, D. Massaro, O. Mattelaer, S. Roiser, A. Valassi, and Z. Wettersten, Data-parallel leading-order event generation in MadGraph5_aMC@NLO, arXiv:2507.21039 [hep-ph].arxiv.org/abs/2507.21039
- [62]T. Heimel, O. Mattelaer, and R. Winterhalder, MadSpace – Event Generation for the Era of GPUs and ML, arXiv:2602.06895 [hep-ph].arxiv.org/abs/2602.06895
- [63]E. Bothmann, J. Isaacson, C. Krause, C. J. López-Zurita, M. Spannring, and D. Wang, Efficient Event Generation for High-Multiplicity LHC Processes: An End-to-End GPU Workflow with Normalizing Flows, arXiv:2608.21338 [hep-ph].arxiv.org/abs/2608.21338
- [64]MadGraph Team, “MadGraph7, version 0.2.1 (alpha release).” https://github.com/MadGraphTeam/MadGraph7/releases/tag/v0.2.1, 2026.
- [65]R. Kleiss and R. Pittau, Weight optimization in multichannel Monte Carlo, Comput. Phys. Commun. 83 (1994) 141, arXiv:hep-ph/9405257.DOI
- [66]S. Weinzierl, Introduction to Monte Carlo methods, arXiv:hep-ph/0006269.DOI
- [67]W. Kilian, T. Ohl, and J. Reuter, WHIZARD: Simulating Multi-Particle Processes at LHC and ILC, Eur. Phys. J. C 71 (2011) 1742, arXiv:0708.4233 [hep-ph].
- [68]L. Ardizzone, J. Kruse, S. Wirkert, D. Rahner, E. W. Pellegrini, R. S. Klessen, L. Maier-Hein, C. Rother, and U. Köthe, Analyzing inverse problems with invertible neural networks, International Conference on Learning Representations (2018) , arXiv:1808.04730 [cs.LG].arxiv.org/abs/1808.04730
- [69]I. Kobzyev, S. Prince, and M. Brubaker, Normalizing flows: An introduction and review of current methods, IEEE Transactions on Pattern Analysis and Machine Intelligence (2020) 1–1, arXiv:1908.09257 [stat.ML].
- [70]W. H. Press and G. R. Farrar, Recursive stratified sampling for multidimensional monte carlo integration, Computers in Physics 4 (1990) 2, 190.DOI
- [71]T. Gleisberg and S. Hoeche, Comix, a new matrix element generator, JHEP 12 (2008) 039, arXiv:0808.3674 [hep-ph].DOI
- [72]R. Frederix and T. Vitos, Leading-colour-based unweighted event generation for multi-parton tree-level processes, JHEP 12 (2024) 201, arXiv:2409.12128 [hep-ph].arxiv.org/abs/2409.12128
- [73]R. Frederix and T. Vitos, Event generation with exponential scaling in multiplicity using AmpliCol, JHEP 04 (2026) 192, arXiv:2601.19483 [hep-ph].arxiv.org/abs/2601.19483
- [74]L. I. Midgley, V. Stimper, G. N. Simm, B. Schölkopf, and J. M. Hernández-Lobato, Flow annealed importance sampling bootstrap, arXiv preprint arXiv:2208.01893 (2022) .arxiv.org/abs/2208.01893
- [75]C. Durkan, A. Bekasov, I. Murray, and G. Papamakarios, Neural spline flows, Advances in Neural Information Processing Systems 32 (6, 2019) 7511, arXiv:1906.04032 [stat.ML].arxiv.org/abs/1906.04032
- [76]NNPDF, R. D. Ball et al., The path to proton structure at 1% accuracy, Eur. Phys. J. C 82 (2022) 5, 428, arXiv:2109.02653 [hep-ph].
- [77]A. Buckley, J. Ferrando, S. Lloyd, K. Nordström, B. Page, M. Rüfenacht, M. Schönherr, and G. Watt, LHAPDF6: parton density access in the LHC precision era, Eur. Phys. J. C 75 (2015) 132, arXiv:1412.7420 [hep-ph].DOI




