[Paper Review] Mapping chemical performance on molecular structures using locally interpretable explanations
This paper applies Locally Interpretable Machine-Agnostic Explanations (LIME) to map machine learning predictions of Research Octane Number (RON) onto 2D molecular structures, enabling chemists to interpret black-box model decisions through localized structural features. The method reveals that double bonds increase RON prediction while internal single bonds decrease it, with a Spearman correlation of 0.784 between LIME weights and RON classification probabilities.
In this work, we present an application of Locally Interpretable Machine-Agnostic Explanations to 2-D chemical structures. Using this framework we are able to provide a structural interpretation for an existing black-box model for classifying biologically produced fuel compounds with regard to Research Octane Number. This method of "painting" locally interpretable explanations onto 2-D chemical structures replicates the chemical intuition of synthetic chemists, allowing researchers in the field to directly accept, reject, inform and evaluate decisions underlying inscrutably complex quantitative structure-activity relationship models.
Motivation & Objective
- To address the lack of interpretability in black-box machine learning models used for predicting chemical properties like Research Octane Number (RON).
- To bridge the gap between complex model predictions and chemically intuitive structural features in molecular design.
- To enable synthetic chemists to validate, refine, or reject model decisions based on structural reasoning rather than opaque statistical outputs.
- To evaluate the reliability of a Random Forest RON classifier by linking its predictions to specific substructural motifs using LIME.
- To provide a tool for guiding retrosynthetic planning by identifying which structural features most influence RON prediction.
Proposed method
- Apply LIME to generate local, instance-specific explanations for a pre-trained Random Forest classifier predicting high vs. low RON in biologically produced compounds.
- Perturb the input molecular structure by masking substructures and re-evaluate the model’s prediction to estimate feature importance.
- Use a binary representation of molecular fragments (e.g., C-C-C-C-C, C=C) as interpretable features in the LIME framework.
- Compute local substructural weights via LIME’s optimization: minimize the unfaithfulness of a local linear surrogate model while maintaining low complexity.
- Aggregate LIME weights across 100 bootstrap iterations to improve stability and reliability of substructural importance scores.
- Visualize the resulting LIME weights directly on 2D chemical structures using color-coded substructures (red for high RON, blue for low RON).
Experimental results
Research questions
- RQ1Can LIME provide meaningful, chemically interpretable explanations for a black-box RON prediction model?
- RQ2Which substructural features in biologically produced compounds most strongly influence RON classification predictions?
- RQ3How well do LIME-derived local explanations correlate with the original model’s predictions and experimental RON values?
- RQ4Where do the model’s errors originate, and can LIME help identify structural misinterpretations (e.g., over-reliance on single vs. double bonds)?
- RQ5Can LIME explanations enhance chemist trust and guide synthetic design decisions in biofuel development?
Key findings
- LIME successfully mapped local feature importance to 2D molecular structures, revealing that double bonds (e.g., C=C) increase predicted RON, while internal single bonds (e.g., C-C-C) decrease it.
- The Spearman correlation between LIME substructural weights and the bcmlRON model’s probability of high RON classification was ρ = 0.784 (p < 0.01), indicating strong alignment.
- The correlation between LIME weights and experimental RON values was ρ = 0.711 (p < 0.01), and not significantly different from the original model’s correlation (p = 0.787).
- Ocimene (measured RON = 72.9) was overpredicted by the model due to high local importance of double bonds, highlighting a structural misinterpretation.
- Eucalyptol (measured RON = 99.2) was underpredicted due to high local importance of internal single bonds, indicating a model bias toward single bonds.
- The method enables direct visualization of model reasoning on molecular diagrams, allowing chemists to assess model decisions with chemical intuition.
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.