跳到正文
DEV Community· derrickdagod666·· 1 小時前AI 評分41

我的 EGFR 模型得分 R = 0.60;在誠實切分下只有 0.22

My EGFR model scored R = 0.60. On honest splits, it scored 0.22.

AI 導讀

GENEIE 的 EGFR 模型在隨機切分下取得 RF R² = 0.6005,但在按分子簇分組的測試中降至 −0.2228,顯示隨機切分的成績未能反映模型對新化學結構的表現。評估使用 ChEMBL 的 1,034 種分子及 10 個 RDKit 描述符;支架切分的 RF R² 為 0.4819。分類準確率沒有同樣下降,作者亦公開數據來源、切分方法及重現檢查紀錄。

正文

derrickdagod666

I build a small genomics/QSAR workbench (GENEIE), and its headline benchmark was an EGFR model: 1,034 unique molecules from ChEMBL (target CHEMBL203, median pIC50 per molecule), 10 RDKit physicochemical descriptors, a random forest regressor and an MLP classifier. On the original random 80/20 split it scored RF R² = 0.6005 and MLP accuracy = 0.7053. Those were the numbers on the page.

This month I re-ran the identical pipeline — same features, same parameters, same seed (42) — under two harder, group-aware splits:

Split RF R² MLP accuracy
Random 0.6005 0.7053
Scaffold (Bemis–Murcko, no scaffold on both sides) 0.4819 0.8058
Cluster (Morgan fingerprints, Butina, whole clusters on one side) −0.2228 0.6073

The regression collapses exactly as you'd fear. A random split puts near-identical chemistry on both sides of the line, so R² = 0.60 was substantially memorization wearing a lab coat. Under the cluster split the model is worse than predicting the test-set mean.

Two honesty notes, because an audit that hides them is worthless:

  1. Classification did not fall the same way. Scaffold-split MLP accuracy (0.8058) is above the random split. The descriptors carry no scaffold identity, and the grouped test sets have shifted class balances (cluster test set is 24.1% active vs 54.9% in the pool). Cross-split accuracy comparisons need the majority-class baselines beside them; the regression collapse is the cleaner signal.
  2. The grouped splits took three constructions to build fairly. My first two attempts produced degenerate test sets (one cluster of 351 molecules; then only 4 clusters). Both are in the record, superseded, with the adequacy rule stated before the final run: a grouped test set must hold ≥ 20 distinct groups.

Limitations, stated before anyone quotes this: the dataset is the first 2,000 ChEMBL API returns, not a random sample of EGFR space; assay heterogeneity (the same molecule spans up to ~190× in IC50 across assays) caps what any descriptor-only model can do; fingerprints defined the splits but were not model features.

The full provenance record — dataset hash, split construction, reproduction check against the original run (Δ = 0.0000 / 0.0003) — is public with the code: https://github.com/derrickdagod666/aethel-psi and the live demo is at https://geneie-v2.onrender.com

I now run this as an independent service (Aethel Verify): a fixed-fee audit of a team's validation — splits, leakage, reproduction from raw inputs — with the findings in writing, fails included. Because the first benchmark mine caught lying was my own.

— Derrick Irons, Independent Researcher

來源:DEV Community · dev.to