AUTHOR=Xu Nannan , Yang Guang , Ming Linlin , Dai Jiefei , Zhu Kun TITLE=PSOA-LSTM: a hybrid attention-based LSTM model optimized by particle swarm optimization for accurate lung cancer incidence forecasting in China (1990–2021) JOURNAL=Frontiers in Medicine VOLUME=Volume 12 - 2025 YEAR=2025 URL=https://www.frontiersin.org/journals/medicine/articles/10.3389/fmed.2025.1620257 DOI=10.3389/fmed.2025.1620257 ISSN=2296-858X ABSTRACT=BackgroundAccurate forecasting of lung cancer incidence is crucial for early prevention, effective medical resource allocation, and evidence-based policymaking.ObjectiveThis study proposes a novel deep learning framework—PSOA-LSTM—that integrates Particle Swarm Optimization (PSO) with an attention-based Long Short-Term Memory (LSTM) network to enhance the precision of lung cancer incidence prediction.MethodsUsing the Global Burden of Disease 2019 (GBD 2019) dataset, the model predicts age- and gender-specific lung cancer incidence trends for the next 5 years. The proposed model was compared against traditional models including ARIMA, standard LSTM, Support Vector Regression (SVR), and Random Forest (RF).ResultsThe PSOA-LSTM model achieved superior performance across five key evaluation metrics: mean squared error (MSE) = 0.023, coefficient of determination (R2) = 0.97, mean absolute error (MAE) = 0.152, normalized root mean squared error (NRMSE) = 0.025, and mean absolute percentage error (MAPE) = 0.38%. Visualization results across 12 age groups and both genders further validated the model's ability to capture temporal trends and reduce prediction error, demonstrating enhanced generalization and robustness.ConclusionThe proposed PSOA-LSTM model outperforms benchmark models in predicting lung cancer incidence across demographic segments, offering a reliable decision-support tool for public health surveillance, early warning systems, and health policy formulation.