Research
Diagnosing Heteroskedasticity and Resolving Multicollinearity Paradoxes in Physicochemical Property Prediction
Overview Research area: Computational chemistry / cheminformatics — specifically QSAR (Quantitative Structure-Activity Relationship) modeling, with a focus on lipophilicity (logP) prediction for drug

- arXiv
- 2512.24643
- Published
- 2025-12-31
- Authors
- Malikussaid, Septian Caesar Floresko, Ade Romadhony, Isman Kurniawan, Warih Maharani, Hilal Hudan Nuha
AI summary
Overview
Research area: Computational chemistry / cheminformatics — specifically QSAR (Quantitative Structure-Activity Relationship) modeling, with a focus on lipophilicity (logP) prediction for drug discovery.
Technical level: Intermediate. The abstract assumes familiarity with regression diagnostics (heteroskedasticity, Breusch-Pagan tests, Box-Cox transforms), tree-based ensembles, and SHAP interpretation, though each concept is applied to a concrete chemistry task.
Scope: A large-scale statistical diagnosis of why linear models misreport performance when predicting computed logP, together with an ensemble-based alternative and a SHAP-based explanation of a counterintuitive feature-importance result.
What This Paper Is About
Lipophilicity prediction matters for drug discovery, but linear regression models used for it often break the statistical assumptions that their reported accuracy metrics depend on — meaning those metrics can be misleading. The authors set out to measure how badly those assumptions fail on a very large molecule dataset and to test whether standard statistical fixes can repair the problem. When the fixes did not work, they turned to tree-based ensemble models and used SHAP analysis to explain a puzzling pattern in which predictor matters most.
Key Contributions
-
A large-scale diagnosis of heteroskedasticity in logP regression. The authors analyzed 426,850 bioactive molecules drawn from a curated intersection of PubChem, ChEMBL, and eMolecules, and quantified how residual variance changes across the lipophilicity range for models predicting computed XLOGP3 values.
-
A test of classical remediation strategies. They evaluated Weighted Least Squares and Box-Cox transformation as fixes for the assumption violation, and report that neither resolved it.
-
A demonstration that tree-based ensembles sidestep the problem. Random Forest and XGBoost were found to be inherently robust to heteroskedasticity while also achieving better predictive accuracy than the linear alternatives.
-
A resolution of a multicollinearity paradox via SHAP. The paper explains why molecular weight appears unimportant in simple correlations yet dominates in model-based attribution, attributing the discrepancy to confounding with topological polar surface area (TPSA).
Main Findings
-
Heteroskedasticity is severe and structured: Residual variance in the linear models grows 4.2-fold in the lipophilic region (logP greater than 5) relative to the balanced region (logP between 2 and 4). The violation is not random noise but tracks the property being predicted.
-
Classical fixes fail: Both Weighted Least Squares and Box-Cox transformation left the heteroskedasticity intact, with Breusch-Pagan p-values below 0.0001 for every variant tested. The abstract presents this as a categorical failure across all versions tried.
-
Ensembles are robust and more accurate: Random Forest reached an R-squared of 0.764 and XGBoost 0.765, described as superior predictive performance achieved without needing to correct for heteroskedasticity.
-
Molecular weight is the top predictor despite weak simple correlation: The bivariate correlation between molecular weight and the target was only 0.146, yet its mean absolute SHAP value was 0.573 — the largest of any feature.
-
The paradox has a specific explanation: SHAP analysis indicates that the effect of molecular weight is suppressed in simple correlations by confounding with TPSA. In other words, the marginal correlation understates the feature's true role once other variables are accounted for.
-
Implication for reported linear metrics: Because the assumptions underlying standard linear inference are violated in this setting, the paper argues that the performance metrics such models report for computed lipophilicity prediction should not be taken at face value.
Methodology in Plain English
The researchers assembled a large set of drug-like molecules by taking only the compounds that appear consistently across three major chemical databases, so that the input data was as clean as possible. They then fit linear regression models to predict a widely used computed measure of lipophilicity, and checked whether the models' errors behaved the way linear regression theory requires — specifically, whether the spread of errors stayed roughly constant across the range of predicted values, or whether it grew in some regions.
They found the errors became much more spread out for highly lipophilic compounds. To try to fix this, they applied two textbook remedies: one that gives less weight to noisier data points, and one that mathematically reshapes the target values. Both failed, as judged by a standard statistical test for this kind of problem.
They then switched to tree-based ensemble models — Random Forest and XGBoost — which make predictions by averaging many decision trees rather than fitting a single global equation. These models do not assume constant error variance, and they performed better on prediction accuracy as well. Finally, they used SHAP, a technique that attributes a model's prediction to individual input features, to investigate which molecular descriptors actually drive predictions. This revealed that molecular weight is far more influential than its simple correlation with lipophilicity suggested, because its signal is entangled with another descriptor, TPSA.
Why This Matters
Impact on research: The paper challenges a common practice in QSAR and cheminformatics — reporting linear regression accuracy for logP prediction without verifying that the model's statistical assumptions hold. If heteroskedasticity is as severe and as structured as reported here, then error bars, significance tests, and confidence intervals from such models may be unreliable, and comparisons between linear and nonlinear approaches may be unfair.
Real-world applications:
- Drug discovery screening: Reliable lipophilicity estimates guide decisions about which candidate compounds are likely to be absorbed, cross membranes, or fail for permeability reasons. Misleading model accuracy could push bad candidates forward or discard good ones.
- ADMET prediction pipelines: Lipophilicity feeds into absorption, distribution, metabolism, excretion, and toxicity models, so errors propagate into downstream predictions across an entire discovery program.
- Model selection and validation in industry: The finding that ensembles are both more accurate and more assumption-robust suggests a practical default for teams building property predictors.
- Interpretable model debugging: The SHAP-based confounding diagnosis is a general template for explaining why a feature looks unimportant in isolation but matters in a model — applicable well beyond chemistry.
Industry relevance: Pharmaceutical and biotech companies rely on fast computational property estimates to prioritize synthesis and testing, which is expensive and slow. A framework that both identifies when linear models are producing untrustworthy metrics and offers a more robust alternative has direct value for reducing wasted experimental effort.
Future Directions
-
Whether the heteroskedasticity pattern generalizes. The abstract covers computed XLOGP3 values; it is an open question whether the same 4.2-fold variance inflation appears for experimental logP measurements or for other computed lipophilicity estimators.
-
Extension beyond lipophilicity. The diagnostic-and-ensemble workflow could be applied to other physicochemical and ADMET endpoints where linear QSAR models remain common.
-
Uncertainty quantification for the ensemble models. The abstract reports that ensembles are robust to heteroskedasticity but does not describe how prediction uncertainty should be estimated for them — a natural follow-up given that the linear models' uncertainty estimates were the thing that broke.
-
Broader use of SHAP to detect confounding. The molecular weight / TPSA result suggests a general method for spotting suppressed or masked feature effects; testing how far this transfers to other descriptor sets and targets would clarify its scope.
Target Audience
This paper is most useful to cheminformatics and QSAR researchers, machine learning practitioners working on molecular property prediction, and computational drug discovery scientists who build or consume logP models. Statisticians and ML researchers interested in assumption violations and feature-importance interpretation will also find the multicollinearity paradox instructive. It is not an introductory paper — readers will get the most from it with some background in regression diagnostics and model interpretation methods.
Authors’ abstract
Lipophilicity (logP) prediction remains central to drug discovery, yet linear regression models for this task frequently violate statistical assumptions in ways that invalidate their reported performance metrics. We analyzed 426,850 bioactive molecules from a rigorously curated intersection of PubChem, ChEMBL, and eMolecules databases, revealing severe heteroskedasticity in linear models predicting computed logP values (XLOGP3): residual variance increases 4.2-fold in lipophilic regions (logP greater than 5) compared to balanced regions (logP 2 to 4). Classical remediation strategies (Weighted Least Squares and Box-Cox transformation) failed to resolve this violation (Breusch-Pagan p-value less than 0.0001 for all variants). Tree-based ensemble methods (Random Forest R-squared of 0.764, XGBoost R-squared of 0.765) proved inherently robust to heteroskedasticity while delivering superior predictive performance. SHAP analysis resolved a critical multicollinearity paradox: despite a weak bivariate correlation of 0.146, molecular weight emerged as the single most important predictor (mean absolute SHAP value of 0.573), with its effect suppressed in simple correlations by confounding with topological polar surface area (TPSA). These findings demonstrate that standard linear models face fundamental challenges for computed lipophilicity prediction and provide a principled framework for interpreting ensemble models in QSAR applications.