This framework improves pKa prediction accuracy using ensemble learning in environmental risk assessment.
The acid dissociation constant (pKa) is a fundamental parameter governing the environmental fate of organic compounds. Accurate pKa prediction remains challenging, as traditional binary Morgan fingerprints (B-MF) fail to capture stoichiometric information critical for modeling substituent effects. This study developed an interpretable machine learning framework for pKa prediction by integrating count-based Morgan fingerprints (C-MF) with ensemble algorithms. Through systematic comparison across four algorithms (Catboost, XGBoost, GBDT, RF), C-MF consistently outperformed B-MF due to its ability to quantify functional group multiplicity. Subsequent SHAP-based recursive feature elimination (SHAP-RFE) optimized the model, identifying Catboost with only 81 features as the optimal architecture, achieving a test-set R2 of 0.890 and RMSE of 1.026. SHAP analysis revealed that the model’s decisions are driven by chemically intuitive features, forming a hierarchical framework where primary ionizable sites set the baseline pKa and electronic modifiers fine-tune it. The applicability domain, defined using the ADSAL method, yielded high-confidence predictions (R2 = 0.926). External validation on an independent open-source dataset containing 6876 acidic compounds, combined with results from ADSAL application domain characterization, enabled accurate pKa prediction for 390 compounds within the application domain (R2 = 0.890, RMSE = 0.942). This further confirms the model’s strong generalizability. This work provides a robust and generalizable tool for high-performance pKa prediction, with significant potential for applications in environmental risk assessment.
No takes yet. Share an insight, caveat, or question.
Shen et al. (2026) studied this question.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: