Computers in biology and medicine

Biologically guided tabular-to-image encoding with an explainable hybrid CNN-XGBoost framework for bacterial species classification.

Ali Salam Ali, Ali Ayad Kdhm

College of Dentistry, University of Alkafeel, Iraq. Electronic address: alisalam@alkafeel.edu.iq. · College of Dentistry, University of Alkafeel, Iraq. Electronic address: ali.ayad@alkafeel.edu.iq.

Computational

Key points

From the paper's conclusion
  • This study examines a biologically guided tabular-to-image encoding in which a 286-dimensional DNA 10-mer base-composition histogram is ordered by average-linkage hierarchical clustering of the feature-correlation matrix, with optimal leaf ordering, and reshaped into a 13 × 22 pseudo-image.

Abstract

Convolutional neural networks (CNNs) applied to tabular genomic data require the feature vector to be converted into a pseudo-image, and common row-major reshaping places features next to one another arbitrarily. This study examines a biologically guided tabular-to-image encoding in which a 286-dimensional DNA 10-mer base-composition histogram is ordered by average-linkage hierarchical clustering of the feature-correlation matrix, with optimal leaf ordering, and reshaped into a 13 × 22 pseudo-image. The resulting order is correlated with the guanine-cytosine (GC) content of the bins (Spearman ρ = 0.733, p = 2.4 × 10-49), which links it to nucleotide composition without showing that it captures all biological relationships among k-mers. On this encoding we evaluate a sequential hybrid model in which a CNN produces a 128-dimensional embedding that is classified by XGBoost. Gradient-weighted class activation mapping (Grad-CAM) is applied to the CNN, and SHapley Additive exPlanations (SHAP) to a separate standalone XGBoost model on the original 286 k-mer features; these SHAP values do not explain the hybrid model. The primary experiment used a stratified, class-balanced subset of the Kaggle "Tabular Playground Series - February 2022" dataset (9000 training/cross-validation and 3000 held-out test records). On the held-out test set, the hybrid model reached 88.73% accuracy (macro-F1 = 0.887, Matthews correlation coefficient [MCC] = 0.875, macro ROC-AUC = 0.994). Its difference from the strongest baseline, a multilayer perceptron (87.80%), was not statistically significant (McNemar p = 0.102), and the comparison with LightGBM (unadjusted p = 0.048) was no longer significant after Holm correction for the five reported McNemar tests (adjusted p = 0.096). The held-out result is the primary evaluation; a leakage-prone cross-validation estimate is reported only as a labeled diagnostic in the Supplementary Material. A separate CNN-only experiment on the 200,000-record dataset (one group-aware split) compared four encodings: DeepInsight_style obtained the highest validation accuracy (93.450%), followed by IGTD_style, REFINED_style, and Biological_order. These style-inspired implementations were not verified against the original methods, and the differences are descriptive. The representativeness of the 12,000-record subset, the stability of the feature ordering, and the quantitative validity of the explainability analyses were not tested, and baseline hyperparameters were not systematically tuned; the conclusions are therefore specific to the benchmark and configurations examined.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers

Biologically guided tabular-to-image encoding with an explainable hybrid CNN-XGBoost framework for bacterial species classification — Science Skim