English

Accelerating Molecular Graph Neural Networks via Knowledge Distillation

Machine Learning 2023-10-31 v2 Chemical Physics

Abstract

Recent advances in graph neural networks (GNNs) have enabled more comprehensive modeling of molecules and molecular systems, thereby enhancing the precision of molecular property prediction and molecular simulations. Nonetheless, as the field has been progressing to bigger and more complex architectures, state-of-the-art GNNs have become largely prohibitive for many large-scale applications. In this paper, we explore the utility of knowledge distillation (KD) for accelerating molecular GNNs. To this end, we devise KD strategies that facilitate the distillation of hidden representations in directional and equivariant GNNs, and evaluate their performance on the regression task of energy and force prediction. We validate our protocols across different teacher-student configurations and datasets, and demonstrate that they can consistently boost the predictive accuracy of student models without any modifications to their architecture. Moreover, we conduct comprehensive optimization of various components of our framework, and investigate the potential of data augmentation to further enhance performance. All in all, we manage to close the gap in predictive accuracy between teacher and student models by as much as 96.7% and 62.5% for energy and force prediction respectively, while fully preserving the inference throughput of the more lightweight models.

Keywords

Cite

@article{arxiv.2306.14818,
  title  = {Accelerating Molecular Graph Neural Networks via Knowledge Distillation},
  author = {Filip Ekström Kelvinius and Dimitar Georgiev and Artur Petrov Toshev and Johannes Gasteiger},
  journal= {arXiv preprint arXiv:2306.14818},
  year   = {2023}
}

Comments

Accepted as a conference paper at NeurIPS 2023

R2 v1 2026-06-28T11:14:44.356Z