Algorithm
How VStack-AISM builds z + reconstruction error and evaluates 15 classifiers on the same molecular structures.
21 fingerprint families
Each family contributes 12 consecutive class-0 scores to the 252-column base representation. Columns are numbered from 1.
| Order | Fingerprint family | Implementation | Base score columns |
|---|---|---|---|
| 1 | Atom pair | AtomPairFingerprint |
1–12 |
| 2 | Autocorrelation | AutocorrFingerprint |
13–24 |
| 3 | Avalon | AvalonFingerprint |
25–36 |
| 4 | Extended connectivity (ECFP) | ECFPFingerprint |
37–48 |
| 5 | Extended reduced graph (ErG) | ERGFingerprint |
49–60 |
| 6 | Electrotopological state (EState) | EStateFingerprint |
61–72 |
| 7 | Ghose–Crippen | GhoseCrippenFingerprint |
73–84 |
| 8 | Laggner | LaggnerFingerprint |
85–96 |
| 9 | Layered | LayeredFingerprint |
97–108 |
| 10 | LINGO | LingoFingerprint |
109–120 |
| 11 | MACCS keys | MACCSFingerprint |
121–132 |
| 12 | MinHash (MHFP) | MHFPFingerprint |
133–144 |
| 13 | Molecular quantum numbers (MQNs) | MQNsFingerprint |
145–156 |
| 14 | Pattern | PatternFingerprint |
157–168 |
| 15 | Physicochemical properties | PhysiochemicalPropertiesFingerprint |
169–180 |
| 16 | PubChem | PubChemFingerprint |
181–192 |
| 17 | RDKit 2D descriptors | RDKit2DDescriptorsFingerprint |
193–204 |
| 18 | RDKit path fingerprint | RDKitFingerprint |
205–216 |
| 19 | SECFP | SECFPFingerprint |
217–228 |
| 20 | Topological torsion | TopologicalTorsionFingerprint |
229–240 |
| 21 | Van 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.