Flow Annealed Importance Sampling Bootstrap meets Differentiable Particle Physics

Annalena Kofler, Vincent Stimper, Mikhail Mikhasenko, Michael Kagan, Lukas Heinrich · DOI · OpenReview

TL;DR

This paper introduces a novel method called Flow Annealed Importance Sampling Bootstrap (FAB) for efficiently generating simulated data in high-energy physics. By leveraging differentiable matrix elements and a clever training strategy, FAB significantly improves sampling efficiency and reduces the computational cost compared to existing methods, particularly in high-dimensional scenarios.

What Problem Does This Paper Address?

High-energy physics experiments like those at the Large Hadron Collider (LHC) generate vast amounts of data. To understand the underlying physics, this measured data is compared to simulated data. A crucial step in simulation is generating "events" based on complex probability distributions known as matrix elements (MEs). These MEs, derived from quantum field theory, can be computationally very expensive to evaluate, especially when considering higher-order effects or a large number of particles. Traditional methods like adaptive Monte Carlo (e.g., VEGAS) are used, but more recently, machine learning models like normalizing flows have shown promise for faster event generation. However, training these flows often requires generating a large dataset of target samples beforehand, which is itself a costly process. This paper addresses the challenge of efficiently training normalizing flows for ME simulation without relying on pre-generated, expensive datasets.

Methods

The core of this work is the adaptation and application of the Flow Annealed Importance Sampling Bootstrap (FAB) method to particle physics event generation. FAB builds upon Annealed Importance Sampling (AIS) and Hamiltonian Monte Carlo (HMC) within a normalizing flow framework.

Here's a breakdown of the key methodological aspects:

  • Normalizing Flows: These are a class of generative models that learn to transform a simple base distribution (like a uniform distribution) into a complex target distribution (the ME). They are "differentiable," meaning their parameters can be updated using gradient-based optimization.
  • Differentiable Matrix Elements (MEs): A recent development in high-energy physics is the ability to compute gradients of MEs. This is crucial for methods that require backpropagating gradients through the target distribution.
  • Flow Annealed Importance Sampling Bootstrap (FAB):
    • Annealed Importance Sampling (AIS): This technique generates samples by passing them through a chain of intermediate distributions, gradually transitioning from a simple proposal distribution to the target distribution. HMC is used as a transition operator within this chain.
  • Bootstrap: FAB uses a prioritized replay buffer to store generated samples and their importance weights. This buffer allows for multiple gradient updates per iteration, improving training efficiency.
  • Differentiable Target Evaluation: Unlike methods that require pre-generated samples, FAB evaluates the differentiable target density (ME) and its gradient during training. This avoids the upfront cost of generating a large dataset.
  • Comparison Methods: The authors compare FAB against:
  • Forward Kullback-Leibler Divergence (fKLD): This method requires samples from the target distribution for training.
  • Reverse Kullback-Leibler Divergence (rKLD): This method samples from the flow and evaluates the target density, requiring a differentiable target.
  • VEGAS+: A standard physics-agnostic integral estimation method used as a baseline.

Datasets

The paper uses two examples of differentiable matrix elements for training and evaluation:

  • $\Lambda_c^+ \to pK^-\pi^+$ decay: A two-dimensional example from flavor physics, visualized using a Dalitz plot.
  • $e^+e^- \to t\bar{t}, t \to W^+b, \bar{t} \to W^-\bar{b}$: An eight-dimensional example from collider physics.

The training data for fKLD is generated using rejection sampling. For rKLD and FAB, the normalizing flows are trained directly by evaluating the ME. For comparison, samples from MadGraph are used as a reference for the $e^+e^- \to t\bar{t}$ process.

Key Insights and Ideas

  • Differentiable MEs are a Game Changer: The ability to compute gradients of MEs unlocks powerful new training strategies for generative models like normalizing flows, moving beyond relying solely on pre-generated datasets.
  • FAB's Efficiency in High Dimensions: The paper demonstrates that FAB's approach of using AIS with HMC and a replay buffer is particularly effective at achieving high sampling efficiency with fewer target evaluations, especially as the dimensionality of the problem increases.
  • Replay Buffer for Accelerated Learning: The prioritized replay buffer in FAB is key to its performance. It allows the model to learn from past experiences and make more informed gradient updates, leading to faster convergence and better sample quality.
  • Trade-offs in Training Strategies: The study highlights the inherent trade-offs between different training methods. fKLD is efficient if target samples are cheap, while rKLD and FAB are better suited when target evaluation is expensive but differentiable.
  • Visualizing Complex Distributions: The use of Dalitz plots and corner plots effectively visualizes the complexity of the MEs and how well the different methods capture these distributions.

Key Results

  • Higher Sampling Efficiency: FAB consistently achieves higher importance sampling efficiency compared to rKLD and fKLD, especially in the 8D $e^+e^- \to t\bar{t}$ process. For instance, FAB with a buffer achieves approximately 40% efficiency with an order of magnitude fewer samples than rKLD and FAB without a buffer.
  • Fewer Target Evaluations: FAB, particularly with the replay buffer, requires significantly fewer target evaluations to reach a comparable or better sampling efficiency than other methods.
  • Accurate Representation of ME Structure: Flows trained with rKLD and FAB produce histograms that exhibit all features of the ME structure, outperforming fKLD which shows blurred regions and larger deviations.
  • VEGAS+ Limitations: While VEGAS+ is a strong baseline for integral estimation, it struggles with high-dimensional problems and shows lower sampling efficiency compared to the normalizing flow methods.
  • FAB with Buffer Outperforms: The FAB approach with a prioritized replay buffer generally shows superior performance in terms of sampling efficiency and integral estimation accuracy.

Limitations and Future Work

  • Divergence in FAB: One of the three training runs of FAB with a buffer diverged, indicating potential instability that needs further investigation.
  • Multi-channeling Not Included: The study intentionally omits domain-specific physics information (multi-channeling) to compare the general performance of the training methods. Incorporating multi-channeling is expected to further improve performance for all methods.
  • Scaling to More Complex Processes: The authors plan to scale FAB to more complex particle-interaction processes and assess performance improvements.
  • Differentiable Parton Densities: Extending the approach to include differentiable implementations of parton densities would allow for application to proton-proton collisions.
  • Investigating Buffer Size: While the replay buffer size was not optimized, the paper notes its importance and suggests further investigation into its impact.

Summary updated

BibTeX
@article{kofler2025flow,
  author = {Annalena Kofler and Vincent Stimper and Mikhail Mikhasenko and Michael Kagan and Lukas Heinrich},
  title = {{Flow Annealed Importance Sampling Bootstrap meets Differentiable Particle Physics}},
  journal = {Mach. Learn. Sci. Technol.},
  year = {2025},
  doi = {10.1088/2632-2153/addbc1},
}
Figure