Molecular Modeling Concepts

Molecular modeling concept는 small molecule이 string, graph, fingerprint, conformer, descriptor, 3D coordinate, physics-based geometry protocol 같은 model input으로 바뀌는 과정을 설명합니다.

Modeling object는 단순한 atom 그림이 아니라 stateful record입니다.

선택이 달라지면 deduplication key, split assignment, feature, pose, label이 달라질 수 있습니다.

Molecular ML Contract

Molecular modeling note는 molecule 자체와 measurement context를 분리해서 적어야 합니다.

PartMeaningTypical question
raw recordSMILES, SDF, assay row, supplier record, database entry?
molecular identitysalt, tautomer, stereo, charge, protonation, canonical key?
chemical or 3D stateconformer, pH/protonation, force-field/minimization policy?
label contexttarget, assay, endpoint, unit, censoring, replicate policy?
split unitscaffold, cluster, target, assay, time, complex pair?
featurizerfingerprint, graph, descriptor, conformer, pocket-ligand graph?
metricRMSE, Spearman, PR-AUC, enrichment, calibration, AD slice?
applicability domainnearest-neighbor distance, scaffold novelty, out-of-domain flag?

This prevents a common mistake:

Workflow

공개 ML note에서는 아래 순서를 우선합니다.

Molecular identity policy가 명확해지기 전에는 label을 split하거나 aggregate하지 않습니다.

Label and Source Boundary

Public molecular ML claims must say what was measured, not only what molecule appeared in the table.

BoundaryAskRoute
endpointIC50, Ki, Kd, activity class, property, toxicity, solubility?[[concepts/data/label-semantics
unit and transformnM, uM, pIC50, logS, fraction, threshold?[[entities/target-assay-label
censoringexact, <, >, below detection, inactive threshold?[[concepts/data/censored-label
sourceassay, target, organism, construct, lab, database?[[concepts/data/metadata-provenance
replicate policymean, median, keep by assay, drop conflicts?[[concepts/data/annotation-labeling
negative setmeasured inactive, decoy, random, assumed inactive?[[concepts/evaluation/negative-set

Unmeasured molecule-target pairs are not automatically negative examples. If a dataset uses decoys or assumed negatives, the note should say so and report what that implies for the metric.

이동 지도

질문시작점위험
What is the molecule identity?Molecular identity, Molecular standardization, Chemical state contractsalts, tautomers, stereo, protonation, charge, source policy
What does the model see?Molecular featurization contract, RDKit, SMILES, Molecular graph, Molecular fingerprintfeaturizer silently changing the object
How is protein-ligand input represented?Protein-ligand representation contractpocket, pose, atom mapping, coordinate source, pair context
How is similarity or retrieval defined?Molecular similarity, Substructure searchproxy similarity used as domain truth
What prediction task is claimed?Molecular property predictionlabel context and split unit missing
Is generation constrained?Fragment-SELFIESvalid strings without useful molecules
Is 3D state involved?Conformer, Force field, Energy minimization, Molecular dynamicsconformer source and postprocessing dependence
Which chemical variants matter?Tautomer, Protonation state, Stereochemistrytrain/test leakage through equivalent or near-equivalent raw rows

Split and Leakage Controls

ControlWhy
standardize before dedup and splitraw salts, tautomers, and charge variants can leak across splits
scaffold or fingerprint-cluster splitrandom split memorizes congeneric series
target or assay splitpooled public assays can leak campaign-specific shortcuts
complex-pair splitprotein-ligand models can memorize seen pairs
train-only preprocessing fitscalers, imputers, thresholds, feature selection can leak test statistics
activity-cliff slicenear-identical molecules with large label gaps dominate hard cases
property-only decoy audithigh virtual-screening AUC can come from trivial physchem bias
applicability domain stratificationconfident predictions off the training manifold are not equally trustworthy

Claim Controls

ClaimNeedsCommon trap
property predictionlabel semantics, split, baseline, uncertaintyreporting scaled-space error only
classificationactive threshold, class imbalance metric, negative sourceROC-AUC hiding poor early retrieval
virtual screeningcandidate pool, measured/decoy negative policy, early enrichmentdecoy bias mistaken for binding signal
similarity searchrepresentation, threshold, activity-cliff behaviorsimilarity treated as biological truth
molecule generationvalidity, novelty, diversity, property filter denominatorreporting only kept molecules
3D conformer or pose usecoordinate source, conformer protocol, minimization policypostprocessing hides invalid raw output

Geometry와 Physics Protocol

개념용도주요 위험
Conformerligand 3D geometry and conformer ensemblestraining and inference may use different conformer sources
Force fieldgeometry energy, minimization, MD, clash checksenergy is model-dependent, not an absolute truth
Energy minimizationrelaxing conformers or posespostprocessing can hide invalid model outputs
Molecular dynamicstrajectories and flexible structure analysisframe leakage and protocol dependence can dominate

Data check

  • deduplication과 split 전에 molecule을 standardize합니다.
  • deduplication, label aggregation, split assignment 전에 molecular identity를 정의합니다.
  • stereochemistry를 보존할지 flatten할지 정합니다.
  • tautomer, salt, charge, protonation, conformer protocol을 기록합니다.
  • coordinate를 생성하거나 refine하면 force-field, minimization, molecular-dynamics protocol을 기록합니다.
  • ligand-side generalization에는 random split보다 scaffold 또는 cluster split을 씁니다.
  • feature는 featurizer version과 input hash로 cache합니다.
  • train, evaluation, inference에서 하나의 molecular featurization contract를 씁니다.
  • RDKit parsing, sanitization, fingerprinting, descriptor, conformer setting은 method의 일부로 취급합니다.

Failure mode

  • salt, tautomer, charge, stereo variant가 서로 다른 raw row로 train/test에 새어 들어갑니다.
  • label은 stereoisomer를 구분하지만 graph featurizer가 chiral tag나 bond stereo를 버립니다.
  • 3D model이 crystal/bound conformation에서 학습하고 generated conformer에서 deploy되지만 shift를 측정하지 않습니다.
  • energy minimization postprocessing이 model output을 바꾸는데 raw model 결과처럼 보고됩니다.
  • similarity 또는 scaffold split이 standardized identity가 아니라 raw molecule에서 계산됩니다.
  • congeneric series에 random split을 써서 memorization이 generalization처럼 보입니다.