An LLM-in-the-loop RL Framework for Bioinformatics Feature Selection
Organizations: School of Computing and AI Arizona State University Tempe, USA
Abstract
High-dimensional bioinformatics data, characterized by a large number of features relative to the number of samples, pose major challenges such as the ``curse of dimensionality,'' leading to overfitting, high computational cost, and poor generalization. Traditional feature selection methods often suffer from limited scalability and adaptability in such domains. We propose an LLM-in-the-loop reinforcement learning (RL) framework for bioinformatics feature selection, where the RL agent formulates feature selection as a sequential decision-making task, while the large language model (LLM) enhances the process in two ways: (1) guiding exploration through domain-informed advice, and (2) providing hybrid rewards that integrate data-driven performance with knowledge-driven evaluation. The LLM also produces explanations to improve interpretability for human experts without altering the RL policy update. Experiments on diverse bioinformatics datasets show that the LLM-in-the-loop framework outperforms baselines, achieves stable performance across downstream models, and converges faster than pure RL.
Figures & tables
| Dataset | Task | Samples | Features | LASSO | KBest | RFE | mRMR | MCDM | MARLFS | SADRLFS | STG | FSNS | Ours | w/o LLM Action | w/o LLM Reviewer | w/o LLM |
| RNA-Seq | C | 801 | 1,170 | 97.53% | 97.53% | 98.76% | 98.76% | 97.53% | 98.76% | 98.99% | 97.53% | 99.31% | 100.00% | 98.76% | 100.00% | 98.96% |
| Tox21-NR-AR | C | 12,060 | 1,643 | 95.44% | 96.85% | 95.52% | 95.61% | 88.23% | 96.43% | 95.68% | 78.94% | 97.26% | 97.60% | 97.01% | 95.35% | 95.10% |
| Tox21-SR-HSE | C | 12,060 | 1,643 | 93.28% | 93.86% | 93.45% | 94.94% | 94.11% | 95.19% | 95.27% | 95.10% | 94.78% | 95.36% | 95.19% | 95.11% | 95.19% |
| Tox21-SR-p53 | C | 12,060 | 1,643 | 94.78% | 89.22% | 79.77% | 93.11% | 92.54% | 95.44% | 92.87% | 68.91% | 95.10% | 95.27% | 95.10% | 93.69% | 93.69% |
| Myocardial Infarction | C | 1,700 | 110 | 73.53% | 75.29% | 78.82% | 66.47% | 76.47% | 77.06% | 75.29% | 72.35% | 77.65% | 79.41% | 76.47% | 77.06% | 76.47% |
| Glycation | C | 630 | 402 | 79.37% | 82.54% | 77.78% | 80.95% | 85.71% | 82.54% | 87.30% | 80.03% | 83.70% | 88.89% | 85.71% | 84.11% | 85.71% |