NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

QSPRpred: a Flexible Open-Source Quantitative Structure-Property Relationship Modelling Tool

Helle W. van den Maagdenberg, Martin Sícho, David Alencar Araripe, Sohvi Luukkonen, Linde Schoenmaker, Michiel Jespers, Olivier J. M. Béquignon, Marina Gorostiola González, Remco L. van den Broek, Andrius Bernatavicius, J. G. Coen van Hasselt, Piet H. Van Der Graaf, Gerard J. P. van Westen

Introduction

In drug discovery, Quantitative Structure-Property Relationship (QSPR) models are indispensable for predicting molecular behaviors such as solubility and toxicity before laboratory testing. However, the field currently faces a "fragmentation" crisis. Traditional workflows often involve a disjointed sequence of manual data curation, descriptor calculation, and algorithm tuning. This lack of standardization leads to significant hurdles in reproducibility and deployment; a model trained in one environment may fail to perform in another if the exact preprocessing and normalization steps are not perfectly documented and replicated. QSPRpred addresses these challenges by providing a unified, serializable framework that treats the entire modeling lifecycle as a single, exportable object.

Methodology and Framework Architecture

QSPRpred is built as a modular Python API designed to standardize every stage of the QSPR pipeline. The toolkit utilizes several key abstractions to ensure consistency:

  • Data Management: Through DataSource and QSPRDataset objects, the tool automates data fetching and cleaning, including handling missing values and filtering repeats.
  • Descriptor Calculation: It integrates popular cheminformatics libraries like RDKit, Mordred, and PaDEL to generate molecular fingerprints and physical properties.
  • Advanced Modeling: The framework natively supports single-task, multi-task, and Proteochemometric (PCM) modeling, the latter of which incorporates protein target data to predict poly-pharmacology.
  • Serialization: Using ml2json, QSPRpred saves the trained model alongside its specific preprocessing steps. This allows users to generate predictions directly from SMILES strings without manually re-implementing the data pipeline.
The modular workflow of QSPRpred, spanning from data collection to visualization.

Benchmarking and Key Insights

The authors validated QSPRpred using the Papyrus bioactivity dataset and the MoleculeNet benchmark. Several critical insights emerged from these studies:

  1. Preprocessing-as-Model: By integrating data preparation into the model object, the toolkit eliminates the most common source of error in model transferability.
  2. The Impact of Data Splitting: The study highlighted that "Random Splits" often overestimate performance. Utilizing "Cluster Splits" (testing on distinct chemical families) resulted in a significant drop in $R^2$, providing a more realistic assessment of model performance on novel chemistry.
  3. Multi-task Modeling Limitations: In the adenosine receptor case study, single-task models outperformed multi-task variants. This was attributed to data sparsity, where imputation of missing values introduced noise that hindered performance.

Compared to other existing frameworks, QSPRpred offers a unique combination of features, particularly in its support for custom splitting techniques, proteochemometrics, and model transferability.

Comparison of QSPRpred features against other common QSAR/QSPR modeling frameworks.

Results and Performance

Benchmarking revealed that Chemprop (a message-passing neural network) provided more stable predictive performance across data replicas than XGBoost. Furthermore, the toolkit successfully unified disparate software requirements—such as CPU-based XGBoost and GPU-accelerated Chemprop—under a single, consistent API. While most models outperformed a "Median Distribution" baseline, some tasks (like clearance data in cluster splits) remained challenging, highlighting the inherent difficulty of certain QSPR predictions.

Limitations and Future Directions

QSPRpred is an evolving project. Current limitations include a lack of full MacOS support for PCM components and the absence of built-in uncertainty estimation. Future development will focus on:

  • Integrating advanced descriptors like molfeat and ensemble modeling.
  • Implementing explainability tools and uncertainty estimation via conformal prediction.
  • Developing a graphical user interface through integration with GenUI to make the toolkit accessible to non-programmers.

Summary updated

BibTeX
@article{maagdenberg2024qsprpred,
  author = {Helle W. van den Maagdenberg and Martin Sícho and David Alencar Araripe and Sohvi Luukkonen and Linde Schoenmaker and Michiel Jespers and Olivier J. M. Béquignon and Marina Gorostiola González and Remco L. van den Broek and Andrius Bernatavicius and J. G. Coen van Hasselt and Piet H. Van Der Graaf and Gerard J. P. van Westen},
  title = {{QSPRpred: a Flexible Open-Source Quantitative Structure-Property Relationship Modelling Tool}},
  journal = {J. Cheminformatics},
  year = {2024},
  doi = {10.1186/s13321-024-00908-y},
}
Figure