Knodle: A Support Vector Machines-Based Automatic Perception of Organic Molecules from 3D Coordinates

Maria Kadukova, Sergei GrudininJournal of Chemical Information and Modeling 2016 · DOI

Abstract

Here we address the problem of the assignment of atom types and bond orders in low molecular weight compounds. For this purpose, we have developed a prediction model based on nonlinear Support Vector Machines (SVM), implemented in a KNOwledge-Driven Ligand Extractor called Knodle, a software library for the recognition of atomic types, hybridization states, and bond orders in the structures of small molecules. We trained the model using an excessive amount of structural data collected from the PDBbindCN database. Accuracy of the results and the running time of our method is comparable with other popular methods, such as NAOMI, fconv, and I-interpret. On the popular Labute's benchmark set consisting of 179 protein-ligand complexes, Knodle makes five to six perception errors, NAOMI makes seven errors, I-interpret makes nine errors, and fconv makes 13 errors. On a larger set of 3,000 protein-ligand structures collected from the PDBBindCN general data set (v2014), Knodle and NAOMI have a comparable accuracy of approximately 3.9% and 4.7% of errors, I-interpret made 6.0% of errors, while fconv produced approximately 12.8% of errors. On a more general set of 332,974 entries collected from the Ligand Expo database, Knodle made 4.5% of errors. Overall, our study demonstrates the efficiency and robustness of nonlinear SVM in structure perception tasks.

Introduction

In structural biology and drug design, experimental techniques like X-ray crystallography provide the 3D coordinates $(x, y, z)$ of atoms. However, these raw coordinates do not explicitly define chemical properties such as bond orders or hybridization states. While straightforward for standard amino acids, this "perception" is notoriously difficult for ligands—low molecular weight organic compounds with diverse configurations. Accurate perception is vital for virtual screening, docking, and molecular dynamics. Existing tools often rely on rigid geometric rules that can lead to errors; Knodle addresses this by treating chemical perception as a machine learning classification problem.

Methodology: The Knodle Workflow

Knodle utilizes nonlinear Support Vector Machines (SVM) to recognize patterns in molecular geometry, moving away from manually coded rule sets. The perception process follows a structured pipeline to transform raw coordinates into a complete chemical model.

Step-by-Step Perception

  1. Connectivity & Rings: A molecular graph is built using distance cutoffs, and rings are identified via the Smallest Set of Smallest Rings (SSSR) algorithm.
  2. Classification & Feature Space: Atoms and bonds are partitioned into groups. For each, the SVM analyzes geometric descriptors including bond lengths, valence angles, torsion angles, and "triple products."
  3. Hybridization Prediction: The model first predicts hybridization states ($sp^1, sp^2, sp^3$), which serve as a stable scaffold for subsequent steps.
  4. Bond Order Prediction: Nonlinear SVMs with Radial Basis Function (RBF) kernels predict bond orders. To ensure high speed, these kernels are approximated using Maclaurin series expansions.
  5. Refinement: Finally, chemical logic—such as aromaticity detection—is applied to ensure consistency.
The Knodle workflow: from atomic coordinates to a full chemical solution.

Aromaticity Detection

A critical part of the refinement stage is the detection of aromatic cycles. Knodle employs a specific decision logic based on planarity, lone pair carriers, and the Hückel rule to classify rings accurately.

Decision flowchart for determining ring aromaticity within the Knodle library.

Benchmarking and Results

Knodle was validated against three major benchmarks: PDBbindCN (v2014), Labute’s Benchmark, and Ligand Expo.

  • Accuracy: On a test set of 3,000 ligands from PDBbindCN, Knodle achieved an error rate of 3.9%, outperforming NAOMI (4.7%), I-interpret (6.0%), and fconv (12.8%).
  • Robustness: On the massive Ligand Expo dataset (>330k molecules), Knodle maintained a low 4.5% error rate, demonstrating its reliability at scale.
  • Efficiency: Using optimized kernels, Knodle processed over 10,000 ligands in under a minute on a standard desktop, making it suitable for industrial-scale screening.

Discussion: Why SVMs?

The choice of SVMs provides several advantages over traditional rule-based methods. One of the biggest advantages is that they involve convex optimization, meaning they are guaranteed to find a unique, mathematically optimal solution for the given training data. Furthermore, by training on thousands of real-world experimental structures, the model learns to handle the "fuzziness" and geometric distortions inherent in crystallographic data that rigid rules might fail to accommodate.

Conclusion and Future Directions

Knodle demonstrates the power of machine learning in structural perception. While highly accurate, current limitations include the handling of diatomic molecules and metallic ligands. Future iterations may incorporate hydrogen atom positions and benefit from retraining as more high-quality structural data becomes available in databases like the PDB.

Knodle is available at: https://team.inria.fr/nano-d/software/Knodle

Summary updated

Abstract

Here we address the problem of the assignment of atom types and bond orders in low molecular weight compounds. For this purpose, we have developed a prediction model based on nonlinear Support Vector Machines (SVM), implemented in a KNOwledge-Driven Ligand Extractor called Knodle, a software library for the recognition of atomic types, hybridization states, and bond orders in the structures of small molecules. We trained the model using an excessive amount of structural data collected from the PDBbindCN database. Accuracy of the results and the running time of our method is comparable with other popular methods, such as NAOMI, fconv, and I-interpret. On the popular Labute's benchmark set consisting of 179 protein-ligand complexes, Knodle makes five to six perception errors, NAOMI makes seven errors, I-interpret makes nine errors, and fconv makes 13 errors. On a larger set of 3,000 protein-ligand structures collected from the PDBBindCN general data set (v2014), Knodle and NAOMI have a comparable accuracy of approximately 3.9% and 4.7% of errors, I-interpret made 6.0% of errors, while fconv produced approximately 12.8% of errors. On a more general set of 332,974 entries collected from the Ligand Expo database, Knodle made 4.5% of errors. Overall, our study demonstrates the efficiency and robustness of nonlinear SVM in structure perception tasks. Knodle is available at https://team.inria.fr/nano-d/software/Knodle .
BibTeX
@article{kadukova2016knodle,
  author = {Maria Kadukova and Sergei Grudinin},
  title = {{Knodle: A Support Vector Machines-Based Automatic Perception of Organic Molecules from 3D Coordinates}},
  journal = {Journal of Chemical Information and Modeling},
  year = {2016},
  doi = {10.1021/acs.jcim.5b00512},
}
Figure