Algorithm

How VStack-AISM builds z + reconstruction error and evaluates 15 classifiers on the same molecular structures.

Four-stage research workflow from SMILES to 33 VAE-derived inputs, classifier comparison and saved evaluation results
VStack-AISM research framework · z + reconstruction errorDownload SVG

21 fingerprint families

Each family contributes 12 consecutive class-0 scores to the 252-column base representation. Columns are numbered from 1.

OrderFingerprint familyImplementation Base score columns
1Atom pairAtomPairFingerprint 1–12
2AutocorrelationAutocorrFingerprint 13–24
3AvalonAvalonFingerprint 25–36
4Extended connectivity (ECFP)ECFPFingerprint 37–48
5Extended reduced graph (ErG)ERGFingerprint 49–60
6Electrotopological state (EState)EStateFingerprint 61–72
7Ghose–CrippenGhoseCrippenFingerprint 73–84
8LaggnerLaggnerFingerprint 85–96
9LayeredLayeredFingerprint 97–108
10LINGOLingoFingerprint 109–120
11MACCS keysMACCSFingerprint 121–132
12MinHash (MHFP)MHFPFingerprint 133–144
13Molecular quantum numbers (MQNs)MQNsFingerprint 145–156
14PatternPatternFingerprint 157–168
15Physicochemical propertiesPhysiochemicalPropertiesFingerprint 169–180
16PubChemPubChemFingerprint 181–192
17RDKit 2D descriptorsRDKit2DDescriptorsFingerprint 193–204
18RDKit path fingerprintRDKitFingerprint 205–216
19SECFPSECFPFingerprint 217–228
20Topological torsionTopologicalTorsionFingerprint 229–240
21Van der Waals surface area (VSA)VSAFingerprint 241–252
Read the four-stage protocol

Data preparation

The 3,440 training molecules were split with seed 0 into an encoder pool of 2,580 and a classifier development set of 860. A separate independent test set contained 430 AISMs and 430 non-AISMs. Class 0 denotes AISM throughout. View the two source datasets.

Fingerprint representation

For each SMILES string, 12 base classifiers score each of 21 scaled fingerprint and descriptor families. The resulting 252 class-0 probabilities form three views: the probabilities themselves, their rounded indicators, and both concatenated. A bank of 12 stacking classifiers processes each view. Appending the 36 new scores to the original 252 gives 288 ordered features.

Model interpretation

The standardizer and variational autoencoder were fitted on the 1,282 AISMs in the encoder pool. The encoder maps 288 standardized inputs through hidden layers of 256 and 128 units to 32 posterior means, z. The decoder reconstructs the 288 inputs from those means. Reconstruction error is the average squared difference between the standardized input and its reconstruction for that molecule. Appending this scalar to z gives the same 33 inputs to every candidate classifier.

Performance evaluation

Each classifier was tuned on the 860 development molecules using ten predefined folds inherited from the original row assignments. Each setting produced a held-out score for every development molecule. Settings were ranked by pooled out-of-fold (OOF) accuracy, then MCC, with grid order resolving exact ties. Each classifier used its selected setting and all 860 development molecules for its final fit.

All 15 fitted classifiers scored the same 860 independent test molecules. A class-0 score above 0.5 gives an AISM call. ROC AUC uses the continuous score. The recorded metrics are accuracy, sensitivity, specificity, Matthews correlation coefficient (MCC), ROC AUC, precision, recall and F1. MultinomialNB with α = 10 had the highest independent-test accuracy in this comparison, with 822 correct calls.

The experiment saved the grid search (grid.csv), per-fold metrics (folds.csv), row-level OOF scores and calls (oof.csv), independent-test scores and calls (predictions.csv), and fitted classifiers. The downloadable comparison includes hyperparameters, CV and test metrics, confusion counts and fold-level standard deviations for all 15 classifiers.