Long-Short-Range Message-Passing: A Physics-Informed Framework to Capture Non-Local Interaction for Scalable Molecular Dynamics Simulation

Yunyang Li, Yusong Wang, Lin Huang, Han Yang, Xinran Wei, Jia Zhang, Tong Wang, Zun Wang, Bin Shao, Tie‐Yan Liu · DOI

Abstract

Computational simulation of chemical and biological systems using ab initio molecular dynamics has been a challenge over decades. Researchers have attempted to address the problem with machine learning and fragmentation-based methods. However, the two approaches fail to give a satisfactory description of long-range and many-body interactions, respectively. Inspired by fragmentation-based methods, we propose the Long-Short-Range Message-Passing (LSR-MP) framework as a generalization of the existing equivariant graph neural networks (EGNNs) with the intent to incorporate long-range interactions efficiently and effectively. We apply the LSR-MP framework to the recently proposed ViSNet and demonstrate the state-of-the-art results with up to 40% MAE reduction for molecules in MD22 and Chignolin datasets. Consistent improvements to various EGNNs will also be discussed to illustrate the general applicability and robustness of our LSR-MP framework.

Introduction

Simulating atomic-level interactions through ab initio molecular dynamics (AIMD) is critical for fields like drug discovery and materials science. While traditional quantum mechanical methods offer high accuracy, their computational cost scales poorly with system size. Equivariant Graph Neural Networks (EGNNs) have emerged as a faster alternative, yet they suffer from a "near-sightedness" limitation. To maintain efficiency, these models typically restrict their receptive field to a small local radius (4–5 Å), often failing to capture essential long-range forces like electrostatics and van der Waals interactions. Simply increasing the radius or depth often leads to "over-squashing," where critical signals are lost in background noise.

The LSR-MP Framework

To address these challenges, we introduce LSR-MP, a physics-informed framework that decomposes molecular information processing into two distinct scales.

Overview of the LSR-MP framework, illustrating the integration of short-range geometric modeling with a bipartite long-range message-passing scheme using molecular fragments.

The framework consists of three primary components:

  1. Short-Range Module: Utilizes standard EGNNs (e.g., ViSNet or PaiNN) to model local geometric features such as bond lengths, angles, and dihedrals.
  2. Fragmentation Module: Employs the BRICS algorithm to partition large molecules into chemically meaningful functional groups. This ensures that the graph's "shortcuts" align with established chemical motifs.
  3. Long-Range Module: Establishes a bipartite graph where individual atoms exchange messages directly with fragment nodes. This architecture allows information to traverse the molecule efficiently, bypassing the limitations of a fixed local search radius.

The final embeddings from both scales are fused to predict total system energy and atomic forces.

Evaluation and Results

The LSR-MP framework was benchmarked against challenging datasets including MD22 (large biomolecules), Chignolin (protein folding), and PubChem (for zero-shot transferability).

Comparison of Forces MAE across different model depths. ViSNet-LSRM consistently outperforms baselines and avoids the performance degradation seen in deeper standard GNNs.

Key findings include:

  • Superior Accuracy: Implementing LSR-MP within the ViSNet architecture (ViSNet-LSRM) resulted in up to a 40% reduction in Mean Absolute Error (MAE) on MD22 and Chignolin compared to the baseline.
  • Mitigating Over-squashing: As shown in the results, increasing the number of layers in standard GNNs often leads to diminishing returns or performance drops. LSR-MP maintains high accuracy even with shallower networks by providing efficient long-range communication channels.
  • Efficiency: ViSNet-LSRM achieved state-of-the-art results while being up to 2.3x faster than original implementations, demonstrating that capturing long-range interactions doesn't necessitate extreme model depth.

Discussion and Future Work

A core insight of this work is that chemical intuition—specifically using fragments as "hubs"—effectively alleviates the "Jacobian obstruction" that hampers gradient flow in dense graphs. While the current BRICS-based fragmentation is highly effective for organic molecules, it relies on predefined rules. Future research will focus on developing differentiable fragmentation methods, allowing the model to learn optimal partitioning dynamically. This would extend the framework's applicability to a broader range of systems, such as inorganic catalysts and complex supramolecular structures.

The code and trained weights are available at https://github.com/liyy2/LSR-MP.

Summary updated

BibTeX
@inproceedings{li2024long,
  author = {Yunyang Li and Yusong Wang and Lin Huang and Han Yang and Xinran Wei and Jia Zhang and Tong Wang and Zun Wang and Bin Shao and Tie‐Yan Liu},
  title = {{Long-Short-Range Message-Passing: A Physics-Informed Framework to Capture Non-Local Interaction for Scalable Molecular Dynamics Simulation}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=rvDQtdMnOl},
}
Figure