A hybrid LSTM-GRU framework for lung cancer classification using GWO-WOA algorithm for hyperparameter tuning and BPSO for feature selection
Mohmod M. Sh. Amrir, Yasser M. Ayid, Ahmed M. Elshewey, Yasser Fouad
University of Jeddah · Suez University
Key points
From the paper's conclusion- These findings confirm that integrating metaheuristic optimization and hybrid recurrent networks enhances the robustness and generalization capabilities of lung cancer classification systems across diverse datasets, offering a reliable tool for early detection and clinical risk stratification.
Abstract
Early identification of lung cancer using questionnaire-based data offers a low-cost, non-invasive pathway to assist clinical decision-making. However, such datasets often contain redundant, noisy, and imbalanced attributes that limit the performance of traditional classifiers. This study introduces a hybrid LSTM-GRU framework optimized using a Grey Wolf-Whale Optimization (GWO-WOA) algorithm for hyperparameter tuning and Binary Particle Swarm Optimization (BPSO) for feature selection. Two public lung cancer datasets sourced from the Kaggle repository were employed: the first comprising 309 samples and the second containing 3000 samples. For both datasets, the preprocessing pipeline included missing-value imputation, categorical encoding, outlier removal, and z-score normalization to ensure feature consistency. Datasets were then split into 70%, 20%, and 10% subsets for training, validation, and testing, respectively. BPSO effectively selected the most informative features that contribute to accurate diagnosis. At the same time, GWO-WOA refined key hyperparameters, such as the learning rate, hidden units, and layer depth, of the hybrid architecture. Experimental results demonstrate the superior performance of the proposed GWO-WOA-LSTM-GRU model, achieving 100.00% accuracy, precision, recall, and F1-score on the 309-sample dataset, and 99.33% accuracy/F1 (precision: 99.34%, recall: 99.33%) on the 3000-sample dataset. In comparison, tuned single models-LSTM, GRU, CNN, and SVM-achieved accuracies ranging from 77.42 to 98.33%. These findings confirm that integrating metaheuristic optimization and hybrid recurrent networks enhances the robustness and generalization capabilities of lung cancer classification systems across diverse datasets, offering a reliable tool for early detection and clinical risk stratification.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Enhanced genetic algorithm-optimized deep learning features for lung cancer classificationAlexandria Engineering Journal · 2025
- From Drug Discovery to Precision Oncology: A Machine Learning–Driven Pharmaceutical Framework for Lung Cancer Treatment—A Joint Research Initiative Between Pakistan's Department of Pharmacy and China Pharmaceutical UniversityKashmir Journal of Academic Research and Development · 2026
- Enriched lung cancer classification approach using an optimized hybrid deep learning approachScientific Reports · 2025
- Enhanced Lung and Oesophageal Cancer Detection Using Aggregated Joint Assembly for Decision-making (AJAD): A Novel ClassifierInternational Journal of Drug Delivery Technology · 2026
- Interpretable hybrid ensemble with attention-based fusion and EAOO-GA optimization for lung cancer detectionScientific Reports · 2026
- CNN-RNN framework for lung cancer classification using CT imaging and GAN-based augmentation.Frontiers in artificial intelligence · 2026