[Paper Review] Molecular Energy Learning Using Alternative Blackbox Matrix-Matrix Multiplication Algorithm for Exact Gaussian Process
This paper introduces an alternative blackbox matrix-matrix multiplication (AltBBMM) algorithm to accelerate exact Gaussian process (GP) training in molecular-orbital-based machine learning (MOB-ML), enabling scalable training on over 6,500 molecules (more than a million pair energies) with four-fold speedup over the original BBMM while preserving state-of-the-art accuracy and transferability. The method achieves the best reported performance on QM7b-T and GDB-13-T datasets, setting new benchmarks in molecular energy prediction.
We present an application of the blackbox matrix-matrix multiplication (BBMM) algorithm to scale up the Gaussian Process (GP) training of molecular energies in the molecular-orbital based machine learning (MOB-ML) framework. An alternative implementation of BBMM (AltBBMM) is also proposed to train more efficiently (over four-fold speedup) with the same accuracy and transferability as the original BBMM implementation. The training of MOB-ML was limited to 220 molecules, and BBMM and AltBBMM scale the training of MOB-ML up by over 30 times to 6500 molecules (more than a million pair energies). The accuracy and transferability of both algorithms are examined on the benchmark datasets of organic molecules with 7 and 13 heavy atoms. These lower-scaling implementations of the GP preserve the state-of-the-art learning efficiency in the low-data regime while extending it to the large-data regime with better accuracy than other available machine learning works on molecular energies.
Motivation & Objective
- To overcome the O(N³) computational bottleneck of exact Gaussian process regression in MOB-ML, which previously limited training to ~220 molecules.
- To scale MOB-ML to large datasets—specifically over 1 million pair energies—while maintaining exact GP inference and high predictive accuracy.
- To develop an alternative BBMM implementation (AltBBMM) that improves training efficiency without sacrificing model accuracy or transferability.
- To demonstrate that AltBBMM enables state-of-the-art performance in molecular energy prediction across diverse chemical systems, including larger molecules.
Proposed method
- The paper employs the blackbox matrix-matrix multiplication (BBMM) algorithm to reduce GP training complexity from O(N³) to O(N²), enabling multi-GPU acceleration and exact inference.
- An alternative BBMM implementation (AltBBMM) is proposed, which restructures matrix operations to improve memory access patterns and reduce computational overhead, achieving faster convergence.
- Conjugate gradient (CG) and block CG (BCG) methods are used to solve the linear systems in GP inference, with preconditioning to accelerate convergence.
- The method separates training of diagonal and off-diagonal pair energies in MOB-ML, using distinct models for each, and applies kernel-based GP regression with learned hyperparameters via log marginal likelihood maximization.
- Regularization via additive white noise (σ²_add) is used to reduce matrix singularity, with σ²_add = 10⁻⁵ selected to balance accuracy and training speed.
- The framework is evaluated on QM7b-T and GDB-13-T datasets, with model performance measured by mean absolute error (MAE) and MAE per 7 heavy atoms (MAE/7HA).
Experimental results
Research questions
- RQ1Can the BBMM algorithm be effectively applied to scale exact GP training in MOB-ML beyond the previous limit of ~220 molecules?
- RQ2Does the proposed AltBBMM implementation achieve significant speedup over the original BBMM while maintaining the same level of predictive accuracy and transferability?
- RQ3Can MOB-ML with AltBBMM achieve state-of-the-art accuracy on benchmark datasets like QM7b-T and GDB-13-T, especially in the large-data regime?
- RQ4How does the performance of AltBBMM compare to existing SOTA methods such as MOB-ML/Full GP and DeePHF/extended NN in terms of accuracy and generalization across molecular sizes?
Key findings
- AltBBMM achieves a four-fold speedup in training time (6.24 hours vs. 26.52 hours) when training on 6,500 QM7b-T molecules, with only a 1% increase in test MAE on GDB-13-T.
- The model trained with AltBBMM achieves a test MAE of 0.193 kcal/mol on QM7b-T and 0.493 kcal/mol MAE/7HA on GDB-13-T, matching or exceeding the performance of prior SOTA methods.
- BBMM and AltBBMM scale MOB-ML training to over 1 million pair energies (1,152,157 off-diagonal and 124,973 diagonal), a 30-fold increase over the prior limit of ~220 molecules.
- The use of σ²_add = 10⁻⁵ ensures optimal accuracy, as higher values (e.g., 10⁻¹) double the prediction MAE despite halving training time.
- AltBBMM maintains high transferability, achieving the best reported MAE/7HA of 0.493 kcal/mol on GDB-13-T, outperforming the DeePHF/extended NN method.
- The learning curves in Figure 1 show that AltBBMM enables MOB-ML to reach chemical accuracy (1 kcal/mol) faster and with better generalization than previous methods in both low- and large-data regimes.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.