Sampling <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline"><mml:mi>U</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false">)</mml:mo></mml:math> gauge theory using a retrainable conditional flow-based model

Ankur Singha, Dipankar Chakrabarti, Vipul Arora

TL;DR

This paper introduces a novel conditional normalizing flow (C-NF) model to tackle the "topological freezing" problem in lattice U(1) gauge theory simulations, particularly near the continuum limit. By training on configurations from regions with low autocorrelation and then extrapolating, their model significantly reduces simulation costs and enables sampling in previously inaccessible parameter regimes.

What Problem Does This Paper Address?

Simulating lattice gauge theories, especially as they approach the continuum limit (where the lattice spacing becomes very small), presents a significant computational challenge. One major hurdle is "topological freezing," where standard Monte Carlo methods like Hybrid Monte Carlo (HMC) get stuck in a few topological sectors, leading to highly correlated samples and an inability to explore the full phase space. This is particularly problematic for quantities like the topological charge. The authors aim to overcome this by developing a machine learning approach that can efficiently sample configurations even in regions where traditional methods struggle.

Methods

The core of the paper is the development and application of a Conditional Normalizing Flow (C-NF) model. Here's a breakdown of their approach:

  • Conditional Normalizing Flow: This is a type of generative model that learns a complex probability distribution by transforming a simple base distribution (like a Gaussian) through a series of invertible functions. The "conditional" aspect means the model's output distribution depends on an input parameter, in this case, the lattice coupling parameter $\beta$.
  • Equivariant Flow: To ensure the generated configurations respect the gauge symmetry of the theory, they employ an "equivariant" flow. This means the flow transformation commutes with the gauge transformation, ensuring that the output distribution also possesses gauge symmetry. They achieve this by focusing on gauge-invariant quantities like the plaquette variable.
  • Training Strategy: The C-NF model is trained using samples generated by HMC from regions of the parameter space where topological freezing is not a significant issue (low $\beta$ values, denoted $\beta_s$). This ensures the training data is well-behaved and has low autocorrelation.
  • Extrapolation and Re-training: The trained C-NF model is then used to generate samples for parameter values where HMC struggles (high $\beta$ values, denoted $\beta_L$). This extrapolation is made more robust by a proposed "re-training" method: if the acceptance rate in the extrapolated region drops too low, the model can be re-trained using its own generated samples from intermediate $\beta$ values, thereby improving generalization.
  • Mode Collapse Detection: The paper also delves into identifying "mode collapse" in flow-based models, a phenomenon where the model fails to capture all modes of a multi-modal distribution. They propose using Negative Log-Likelihood (NLL) metrics, specifically $L_1$, as a reliable indicator for detecting this issue, contrasting it with $L_2$.

Datasets

The paper does not introduce new benchmark datasets. Instead, it utilizes:

  • HMC-generated ensembles: For training the C-NF model, they generate configurations for U(1) gauge theory in 2D using the Hybrid Monte Carlo (HMC) method. These ensembles are specifically chosen from parameter regimes ($\beta_s$) where HMC simulations are efficient and free from topological freezing.
  • Extrapolated samples: For evaluation and further re-training, samples are generated for parameter regimes ($\beta_L$) where HMC is known to suffer from topological freezing.

Key Insights and Ideas

  • Bridging the Gap with ML: The paper demonstrates that ML, specifically conditional normalizing flows, can effectively bridge the gap between well-behaved simulation regimes and challenging ones (like those near critical points or in the continuum limit) in lattice field theory.
  • Topological Freezing Mitigation: The C-NF model offers a significant improvement over traditional HMC by drastically reducing the integrated autocorrelation time for topological quantities, effectively mitigating topological freezing.
  • Re-trainability for Robustness: The proposed re-training mechanism is a crucial innovation, allowing the model to adapt and maintain good sampling quality even when extrapolating far beyond its initial training data. This enhances the practical applicability of flow-based models.
  • Equivariance for Symmetry: The explicit use of equivariant flow ensures that the generated samples respect the fundamental symmetries of the physical theory, a critical requirement for reliable simulations.
  • NLL for Mode Collapse: The clear exposition on using $L_1$ NLL for mode collapse detection provides a valuable diagnostic tool for researchers working with flow-based generative models.

Key Results

  • Reduced Autocorrelation: The C-NF model significantly reduces the integrated autocorrelation time for topological charge compared to HMC, especially at higher $\beta$ values. For instance, at $\beta=7$, the C-NF model shows a drastically lower autocorrelation time than HMC.
  • High Acceptance Rate in Extrapolation: The extrapolated C-NF model achieves acceptance rates of 50-60% in the Metropolis-Hastings step for parameter values not included in the training set, demonstrating good generalization.
  • Efficient Sampling: The flow-based model enables efficient generation of large ensembles of configurations, a task that would be computationally prohibitive with HMC in the challenging parameter regimes.
  • Mode Collapse Identification: The study confirms that the $L_1$ NLL metric is effective in identifying mode collapse in flow-based models, showing a large discrepancy between $L_1$ and $L_2$ for RKL-trained models, indicative of mode collapse.

Limitations and Future Work

  • Scalability to High Dimensions: The authors acknowledge that while their conditional flow model is effective for 2D U(1) gauge theory, it is "generally not scalable for sampling high-dimensional distributions." This is a significant limitation for more complex lattice gauge theories.
  • Future Direction: High-Dimensional Sampling: The paper explicitly suggests tackling the "challenging task of constructing a conditional flow model for sampling high-dimensional lattice gauge theory" as a key future research direction. This would involve developing more sophisticated network architectures and potentially new equivariant flow techniques.
  • Acceptance Rate Decline: While the re-training method helps, the acceptance rate in the MH step can still decrease as one extrapolates further from the training region. Further optimization of the re-training process or alternative extrapolation strategies might be needed.

Summary updated

BibTeX
@inproceedings{singha2023sampling,
  author = {Ankur Singha and Dipankar Chakrabarti and Vipul Arora},
  title = {{Sampling <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline"><mml:mi>U</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false">)</mml:mo></mml:math> gauge theory using a retrainable conditional flow-based model}},
  booktitle = {Physical},
  year = {2023},
  doi = {10.1103/physrevd.108.074518},
}
Figure