Mamba-SSM with LLM Reasoning for Feature Selection: Faithfulness-Aware Biomarker Discovery
Organizations: Department of Computer Science and Cybersecurity, University of Central Missouri
Abstract
Gradient saliency from deep sequence models surfaces candidate biomarkers efficiently, but the resulting gene lists can be contaminated by tissue-composition confounders that degrade downstream classifiers. We study whether LLM chain-of-thought (CoT) reasoning can filter these confounders, and whether reasoning quality is associated with downstream performance. We train a Mamba SSM on TCGA-BRCA RNA-seq and extract the top-50 genes by gradient saliency; DeepSeek-R1 evaluates every candidate with structured CoT to produce a final 17-gene set. On the held-out test split, the raw 50-gene saliency set (no LLM) performs worse than a 5,000-gene variance baseline (AUC 0.832 vs. 0.903), while the LLM-filtered set surpasses it (AUC 0.927), using 294x fewer features. A faithfulness audit (COSMIC CGC, OncoKB, PAM50) shows that 6 of 17 selected genes (35.3%) are validated BRCA biomarkers, while 10 of 16 known BRCA genes present in the input were missed - including FOXA1. This divergence between downstream performance and reasoning faithfulness suggests selective faithfulness in this setting: targeted confounder removal can improve predictive performance without comprehensive recall.
Figures & tables
| Method | Genes | Accuracy | F1 | AUC |
|---|---|---|---|---|
| B1 Variance baseline | 5,000 | 0.8785 | 0.8941 | 0.903 |
| B2 Mamba saliency only (no LLM) | 50 | 0.7247 | 0.7813 | 0.832 |
| B3 Mamba + LLM structured CoT | 17 | 0.8907 | 0.9033 | 0.927 |
| Metric | Value |
| Selected genes with validated BRCA evidence | 6/17 (35.3%) |
| Known non-BRCA genes incorrectly kept | 3/17 (17.6%) |
| Genes with no ground-truth label (unverifiable) | 8/17 (47.1%) |
| Known BRCA genes available in top-50 input | 16 |
| Correctly kept by LLM | 6 |
| Missed by LLM (false negatives) | 10 |
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
Feature Selection
Feature selection identifies compact, informative variables or input dimensions to improve prediction, efficiency, interpretability, and statistical inference.
See all 196 papers