Skip to main content
QUICK REVIEW

[Paper Review] Towards explainable message passing networks for predicting carbon dioxide adsorption in metal-organic frameworks

Ali Raza, Faaiq Waqar|arXiv (Cornell University)|Dec 2, 2020
Metal-Organic Frameworks: Synthesis and ApplicationsChemistry7 citations
TL;DR

This paper proposes a message passing neural network (MPNN) with a soft attention mechanism in the readout function to predict CO2 adsorption in metal-organic frameworks (MOFs), aiming to improve model interpretability by identifying key atomic substructures. The model achieves a mean absolute deviation (MAD) of 0.616 mmol/g on simulated CO2 uptake data, with sparse attention mechanisms enabling identification of relevant nodes, though attention scores show limited chemical interpretability due to message passing propagation and node similarity.

ABSTRACT

Metal-organic framework (MOFs) are nanoporous materials that could be used to capture carbon dioxide from the exhaust gas of fossil fuel power plants to mitigate climate change. In this work, we design and train a message passing neural network (MPNN) to predict simulated CO$_2$ adsorption in MOFs. Towards providing insights into what substructures of the MOFs are important for the prediction, we introduce a soft attention mechanism into the readout function that quantifies the contributions of the node representations towards the graph representations. We investigate different mechanisms for sparse attention to ensure only the most relevant substructures are identified.

Motivation & Objective

  • To develop a machine learning model that predicts CO2 adsorption in MOFs using graph neural networks without manual feature engineering.
  • To enhance model interpretability by identifying which atomic substructures contribute most to the prediction via attention mechanisms.
  • To investigate whether attention scores in MPNNs can reliably highlight chemically meaningful structural motifs in MOFs.
  • To evaluate different attention mechanisms—softmax, sparsemax, and L0.5 regularization—for balancing predictive accuracy and sparsity in attention scores.
  • To explore the limitations of attention mechanisms in MPNNs for explaining predictions in materials science applications.

Proposed method

  • The MPNN processes MOF crystal structures as undirected, node-labeled graphs, where nodes represent atoms and edges represent bonds formed based on covalent radii and Voronoi face sharing.
  • Node features are one-hot encodings of atomic elements, and message passing iteratively updates node representations by aggregating information from neighboring nodes over T=4 layers.
  • A soft attention mechanism is integrated into the readout function, where attention weights αv quantify the contribution of each node’s final representation to the final graph-level prediction.
  • The graph representation r is computed as a weighted sum of node representations using attention scores, followed by a softplus transformation to ensure positive adsorption predictions.
  • Three attention mechanisms are evaluated: standard softmax, sparsemax (inducing 94% sparsity), and L0.5 regularization (with λ=0.001 and λ=0.05) to control sparsity and trade-off accuracy.
  • Model training uses 10-fold cross-validation with mean absolute deviation (MAD) loss, and hyperparameters (r=10, k=70, T=4) are selected via hyperparameter search.

Experimental results

Research questions

  • RQ1Can attention mechanisms in MPNNs effectively highlight chemically relevant substructures in MOFs for CO2 adsorption prediction?
  • RQ2How do different attention mechanisms—softmax, sparsemax, and L0.5 regularization—affect the balance between predictive accuracy and attention sparsity?
  • RQ3To what extent do attention scores reflect the true importance of atomic nodes in determining CO2 adsorption, given message passing propagation?
  • RQ4Why do attention scores fail to consistently identify chemically meaningful motifs despite being designed for interpretability?
  • RQ5Can short-circuiting message passing improve the interpretability of node-level contributions in MPNNs for materials prediction?

Key findings

  • The MPNN with softmax attention achieves the best predictive performance, with a mean absolute deviation (MAD) of 0.616 mmol/g on test data, indicating strong regression capability.
  • The sparsemax mechanism induces high sparsity (94% of attention scores are zero), but results in a higher MAD (0.666 mmol/g), suggesting a trade-off between sparsity and accuracy.
  • L0.5 regularization with λ=0.001 reduces attention entropy to 0.72 and maintains a MAD of 0.645 mmol/g, showing controllable sparsity without severe accuracy loss.
  • Despite attention mechanisms, no consistent chemically meaningful patterns were observed in attention scores across MOFs, indicating limited interpretability for substructure identification.
  • The authors attribute the poor interpretability to message passing spreading information across neighboring nodes, causing similar representations and masking individual node importance.
  • The study concludes that current attention mechanisms in MPNNs are insufficient for reliable explanation in MOF property prediction, prompting future work on short-circuiting message passing to isolate node contributions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.