Neuralizing Efficient Higher-order Belief Propagation

Mohammed Haroon Dupty, Wee Sun LeearXiv 2020

Introduction

Standard Graph Neural Networks (GNNs) have revolutionized the study of structured data, yet they often fall short when modeling complex systems like molecules. Most GNNs rely on "first-order" message passing, which primarily captures pairwise interactions between adjacent nodes. However, molecular properties are frequently governed by higher-order constraints involving functional groups and valence configurations that span multiple atoms simultaneously.

While Probabilistic Graphical Models (PGMs) are theoretically equipped to handle these multi-node relationships through higher-order factors, they face significant computational hurdles. Exact inference is NP-hard, and approximate methods like Loopy Belief Propagation (LBP) scale exponentially with the size of the factors. This paper introduces LRBP-net, a hybrid architecture that "neuralizes" higher-order LBP, making it both computationally efficient and end-to-end trainable.

Methodology: Neuralizing Higher-Order Inference

The core innovation of LRBP-net lies in transforming the mathematically rigorous but computationally expensive LBP algorithm into a scalable neural network component. The authors address two primary challenges: complexity and numerical stability.

Low-Rank Tensor Decomposition

To overcome the exponential complexity of higher-order factors, the authors employ Canonical Polyadic (CP) decomposition. By assuming that higher-order potential functions can be represented as a sum of a small number of rank-1 tensors, the computational cost of message passing is reduced from exponential to linear relative to the number of variables in a factor. This allows the model to consider much larger neighborhoods without a prohibitive increase in runtime.

Architecture and Stability

Instead of traditional LBP, LRBP-net "unrolls" message-passing updates into a neural network structure. Traditional LBP constraints, such as the requirement for positive probability messages, are relaxed. Messages are instead treated as latent real-valued vectors. To ensure training stability, the authors replace the numerically sensitive multiplication operations of LBP with a combination of summations and Multi-Layer Perceptrons (MLPs).

Figure 1: (a) A factor graph representing higher-order relations. (b) The neuralized message passing architecture of LRBP-net, showing the integration of MLPs and summation for stable updates.

For molecular applications, factors are centered around each atom and its neighbors. A parameter-sharing scheme based on Central Atom Type (CAT) and Bond Type (BT) is implemented to ensure the model generalizes effectively across diverse molecular structures.

Experimental Results

The performance of LRBP-net was evaluated across three benchmarks: Handwriting Character Recognition (for scaling studies), QM9, and Alchemy.

State-of-the-Art Performance on QM9

On the QM9 dataset, which consists of approximately 134,000 small organic molecules, LRBP-net demonstrated a significant leap over existing $k$-order GNNs. As shown in the table below, the model achieved massive reductions in error across various quantum-chemical properties.

Figure 6: Performance comparison on the QM9 dataset. LRBP-net significantly outperforms MPNN, 123-GNN, and PPGNN, achieving over 60% gain on several targets.

Specifically, for targets like internal energy ($U_0$), enthalpy ($H$), and Gibbs free energy ($G$), LRBP-net reduced Mean Absolute Error (MAE) by over 60% compared to the next best model.

Generalization and Efficiency

The model's robustness was further tested on the Alchemy dataset, which contains larger and more complex molecules. LRBP-net achieved a 21% improvement in MAE over the standard Message Passing Neural Network (MPNN) baseline. Remarkably, despite the added complexity of higher-order logic, the training overhead remains manageable, with LRBP-net requiring only about twice the training time of a standard MPNN.

Discussion and Future Directions

The success of LRBP-net highlights the value of incorporating strong inductive biases from classical inference algorithms into deep learning architectures. By structuring the network to mimic LBP, the model inherently "understands" how to aggregate information across complex sub-structures.

However, some trade-offs were made for the sake of stability. The current summation-based update is a numerical approximation of the product-based logic in pure LBP. Future research could explore methods to implement exact product-form updates without sacrificing training stability. Additionally, while the current focus is on molecular chemistry, the authors suggest that this "neuralized" higher-order approach could be extended to other domains involving sparse graphs, such as social network analysis or community detection.

In conclusion, LRBP-net provides a powerful and efficient framework for capturing the multi-node dependencies essential for high-fidelity graph modeling, setting a new standard for molecular property prediction.

Summary updated

BibTeX
@misc{dupty2020neuralizing,
  author = {Mohammed Haroon Dupty and Wee Sun Lee},
  title = {{Neuralizing Efficient Higher-order Belief Propagation}},
  year = {2020},
  eprint = {2010.09283},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2010.09283},
}
Figure