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

Classifier comparison

All 15 classifiers used the same 33 inputs and the same 860 independent test molecules.

ClassifierCV accuracyTest correct / totalTest accuracyTest MCCTest ROC AUC
MultinomialNB0.8837822 / 8600.95580.91170.9753
KNN0.8837816 / 8600.94880.89800.9651
LDA0.8895814 / 8600.94650.89380.9728
LogisticRegression0.8895809 / 8600.94070.88240.9726
ExtraTrees0.8895802 / 8600.93260.86820.9736
GaussianNB0.8837802 / 8600.93260.86890.9736
RandomForest0.8849794 / 8600.92330.84980.9733
PLS0.8849791 / 8600.91980.84420.9715
DecisionTree0.8430790 / 8600.91860.83850.9335
AdaBoost0.8651788 / 8600.91630.83550.9704
LightGBM0.8814781 / 8600.90810.82210.9707
LinearSVC0.8849778 / 8600.90470.81730.9690
SVC0.8860777 / 8600.90350.81700.9716
XGBoost0.8674775 / 8600.90120.80850.9680
MLP0.8430763 / 8600.88720.77990.9346
Download full classifier comparison (CSV)
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.