Micro-Macro Consistency in Multiscale Modeling: Score-Based Model Assisted Sampling of Fast/Slow Dynamical Systems

Ellis R. Crabtree, Juan M. Bello-Rivas, Ioannis G. KevrekidisarXiv 2023 · DOI · arXiv

Abstract

Multiscale systems characterized by fast and slow dynamics often suffer from metastability, making traditional sampling computationally prohibitive. This paper presents a novel framework coupling Score-Based Generative Models (SGMs) with physics-based Umbrella Sampling. By leveraging SGMs to solve the "lifting" problem—generating high-dimensional microscopic configurations from low-dimensional macroscopic variables—the method provides informed initial conditions that significantly accelerate convergence. Validated on a 2D toy model and alanine dipeptide, the approach demonstrates robust extrapolation and improved efficiency in exploring complex energy landscapes.

Introduction

In fields ranging from molecular biology to materials science, researchers frequently encounter systems that exhibit multiscale behavior. These systems involve fast-moving microscopic components (e.g., atomic vibrations) that collectively drive slow, large-scale macroscopic transitions (e.g., protein folding). A primary challenge in simulating these systems is metastability, where the simulation becomes trapped in local energy minima, unable to cross high-energy barriers to explore the full state space.

To overcome this, "enhanced sampling" techniques are employed to force exploration. However, these methods often face the lifting problem: given a desired macroscopic state—defined by a Collective Variable (CV)—how does one generate a physically realistic, high-dimensional microscopic configuration to initialize the simulation? Traditional lifting methods are often inefficient, requiring long equilibration periods, or they produce configurations that violate underlying physical laws.

Methodology

Score-Based Generative Models (SGMs)

The authors utilize conditional Score-Based Generative Models (cSGMs) to bridge the gap between macro and micro scales. SGMs are trained to reverse a diffusion process, effectively learning to "denoise" random distributions into structured data. In this framework, the cSGM is trained on existing simulation data to generate microscopic configurations conditioned on specific CV values. This allows for the instantaneous generation of plausible starting points for physical simulations.

Coupling with Umbrella Sampling

The core innovation lies in the hybrid coupling of cSGMs with Umbrella Sampling (US). In traditional US, a biasing potential (often a harmonic restraint) is applied to pull the system toward a specific CV value. By using the cSGM to provide a "smart" initial configuration, the researchers provide a "warm start" for the US run. This bypasses the computationally expensive "burn-in" phase where the system would otherwise struggle to reach the biased region from a random starting point.

Automated CV Discovery

When the relevant macroscopic variables are not known a priori, the framework incorporates Manifold Learning via Diffusion Maps. This allows the model to automatically discover the slow, low-dimensional manifold from raw high-dimensional data, which then serves as the conditioning variable for the SGM.

Experimental Results

2D Stochastic Differential Equation (SDE)

The framework was first tested on a 2D toy model featuring a fast variable trapped in a double-well potential. The coupled SGM+US approach reached the true probability distribution significantly faster than standard Umbrella Sampling. Quantitative analysis using the $L^1$ norm demonstrated that the SGM-assisted method maintained high accuracy even when the number of simulation steps was drastically reduced.

Alanine Dipeptide

As a benchmark in computational chemistry, alanine dipeptide was used to evaluate the model's performance on complex molecular landscapes. The cSGM successfully generated molecular structures that captured the critical dihedral angles defining the molecule's conformations. These generated structures were found to be physically viable, requiring only minimal energy minimization to align with the system's underlying physics.

Key Insights

  • Extrapolation Capabilities: Remarkably, the cSGM demonstrated the ability to generate valid configurations for CV values outside the range of the training data. This suggests that the model learns the underlying physical "score" (the gradient of the density) rather than merely interpolating between known samples.
  • Theoretical Synergy: The paper highlights a formal parallel between the "score" in generative modeling and the forces in physical systems. This theoretical link justifies the use of ML gradients to guide physical sampling.
  • Efficiency Gains: By providing high-quality initial conditions, the framework reduces the reliance on long trajectories to reach equilibrium, making the exploration of rare events more computationally feasible.

Conclusion and Future Work

The integration of Score-Based Generative Models with traditional sampling techniques offers a powerful solution to the lifting problem in multiscale modeling. While the current method requires some initial data for training, it significantly optimizes the subsequent exploration of the state space. Future research will focus on applying this framework to systems with complex bifurcations and larger biomolecules where identifying optimal Collective Variables remains a significant challenge. Additionally, the authors aim to develop "on-the-fly" coupling mechanisms where the generative model and the physics engine can iteratively refine one another.

Summary updated

Abstract

A valuable step in the modeling of multiscale dynamical systems in fields such as computational chemistry, biology, materials science and more, is the representative sampling of the phase space over long timescales of interest; this task is not, however, without challenges. For example, the long term behavior of a system with many degrees of freedom often cannot be efficiently computationally explored by direct dynamical simulation; such systems can often become trapped in local free energy minima. In the study of physics-based multi-time-scale dynamical systems, techniques have been developed for enhancing sampling in order to accelerate exploration beyond free energy barriers. On the other hand, in the field of Machine Learning, a generic goal of generative models is to sample from a target density, after training on empirical samples from this density. Score based generative models (SGMs) have demonstrated state-of-the-art capabilities in generating plausible data from target training distributions. Conditional implementations of such generative models have been shown to exhibit significant parallels with long-established -- and physics based -- solutions to enhanced sampling. These physics-based methods can then be enhanced through coupling with the ML generative models, complementing the strengths and mitigating the weaknesses of each technique. In this work, we show that that SGMs can be used in such a coupling framework to improve sampling in multiscale dynamical systems.
BibTeX
@misc{crabtree2023micro,
  author = {Ellis R. Crabtree and Juan M. Bello-Rivas and Ioannis G. Kevrekidis},
  title = {{Micro-Macro Consistency in Multiscale Modeling: Score-Based Model Assisted Sampling of Fast/Slow Dynamical Systems}},
  year = {2023},
  eprint = {2312.05715},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2312.05715},
}
Figure