Submitted:
15 July 2025
Posted:
17 July 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Trajectory Prediction Model Construction
2.1. Crested Porcupine Optimizer (CPO)
, and generate two random numbers and ; if , enter the exploration phase and generate two random numbers and ; if , activate the first defense mechanism, formula (3); otherwise, activate the second defense mechanism, formula (4). If , enter the exploitation phase and generate a random number ; if , activate the third defense mechanism, formula (5); otherwise, activate the fourth defense mechanism, formula (6). Iterate over to obtain the global optimal fitness value until .2.2. A Trajectory Prediction Model Based on CPO Optimization of CNN-LSTM-Attention
2.2.1. Convolutional Neural Networks (CNN)
2.2.2. LSTM Network
2.2.3. Multi-Head Attention Mechanism
2.2.4. CPO-Optimized CNN-LSTM-Attention Model
3. Data Preprocessing
3.1. Data source
3.2. Data Sample Construction Method
3.3. Sample Normalization
4. Experimental Setup and Result Analysis
4.1. Experimental Environment and Workflow
4.1.1. Experimental Environment
4.1.2. Experimental Workflow
4.2. Network model structure parameters and evaluation index
4.2.1. Network parameters
4.2.2. Evaluation index
4.3. The optimization result of the CPO algorithm
4.4. Comparison of algorithm convergence
4.5. Comparison of model prediction effects

4.6. Quantitative Analysis
5. Conclusions
Abbreviations
| CPO | Crested Porcupine Optimization |
| CNN | Convolutional Neural Network |
| LSTM | Long Short-Term Memory |
| CLA | CNN-LSTM-Attention |
| C-CLA | CPO-CNN-LSTM-Attention |
| CFIT | Controlled Flight Into Terrain |
| Auto-GCAS | Automatic Ground Collision Avoidance System |
| KF | Kalman Filter |
| HMM | Hidden Markov Model |
| RMSE | Root Mean Square Error |
| MAE | Mean Absolute Error |
| MAPE | Mean Absolute Percentage Error |
References
- Huang, S.X. Research on Predictive Ground Collision Avoidance Warning Algorithm for Helicopters. Ph.D. Thesis, Nanjing University of Aeronautics and Astronautics, Nanjing, China, 2021.
- Sun, Y.S. The U.S. Air Force F-35A Fighter Is Equipped with an Automatic Ground Collision Avoidance System. China Aviat. News 2019, 5 November, 005.
- Development and Application Research of Automatic Ground Collision Avoidance System for Modern Fighter Aircraft. Flight Dyn. 2020, 38, 1–6, . [CrossRef]
- Song, K.K.; Chen, Y. Overview of the Development of Automatic Ground Collision Avoidance System for U.S. Fighter Aircraft. Aviat. World 2017, 4, 54–57.
- Xu, Z.F.; Zeng, W.L.; Yang, Z. A Survey of Aircraft Trajectory Prediction Technology. Comput. Eng. Appl. 2021, 57, 65–74.
- Tang, C.Y.; Tang, J.; Zeng, M.J. Aircraft Flight Path Prediction Based on Kalman Filter. Mod. Inf. Technol. 2023, 7, 74–78.
- Chen, M.Q.; Fu, J.Y. Research on Flight Path Prediction Method Based on Unscented Kalman Filter. Comput. Simul. 2021, 38, 27–30, 36.
- Lymperopoulos, I.; Lygeros, R. Sequential Monte Carlo Methods for Multi-Aircraft Trajectory Prediction in Air Traffic Management. Int. J. Adapt. Control Signal Process. 2010, 24, 830–849, . [CrossRef]
- Wang, C.; Guo, J.X.; Shen, Z.P. 4D Trajectory Prediction Method Based on Basic Flight Model. J. Southwest Jiaotong Univ. 2009, 44, 295–300, . [CrossRef]
- Du, Z.M.; Zhang, J.F.; Miao, H.L.; et al. Prediction of Aircraft Continuous Climb Vertical Profile Considering Thrust Intention. J. Beijing Univ. Aeronaut. Astronaut. 2024, 50, 1347–1353, . [CrossRef]
- Zhang, X.; Han, Y. Research on Climb Performance and 4D Trajectory Prediction of Aircraft. In Proceedings of the 2013 International Conference on Computer Sciences and Applications, Wuhan, China, 14–15 deci 2013; pp. 390–393.
- Suplisson, A.W. Optimal Recovery Trajectories for Automatic Ground Collision Avoidance Systems (Auto GCAS). Master’s Thesis, United States Air Force Academy, Colorado Springs, CO, USA, 2015.
- Payeur, H.; Le-Huy, H.; Gosselin, C.M. Trajectory Prediction for Moving Objects Using Artificial Neural Networks. IEEE Trans. Ind. Electron. 1995, 42, 147–158, . [CrossRef]
- Williams, R.J.; Zipser, D. A Learning Algorithm for Continually Running Fully Recurrent Neural Networks. Neural Comput. 1989, 1, 270–280, . [CrossRef]
- Altché, F.; de La Fortelle, A. An LSTM Network for Highway Trajectory Prediction. In Proceedings of the IEEE 20th International Conference on Intelligent Transportation Systems (ITSC), Yokohama, Japan, 16–19 October 2017; pp. 353–359.
- Kim, B.; Kang, C.M.; Kim, J.; et al. Probabilistic Vehicle Trajectory Prediction over Occupancy Gridmap via Recurrent Neural Network. In Proceedings of the IEEE 20th International Conference on Intelligent Transportation Systems (ITSC), Yokohama, Japan, 16–19 October 2017; pp. 399–404.
- Zhang, Z.; Yang, R.; Fang, Y. LSTM Network Based on Antlion Optimization and Its Application in Flight Trajectory Prediction. In Proceedings of the 2018 2nd IEEE Advanced Information Management, Communicates, Electronic and Automation Control Conference (IMCEC), Xi’an, China, 25–27 May 2018; pp. 1658–1662.
- Dai, L.C.; Liu, X.; Zhang, H.Y.; et al. Flight Target Trajectory Prediction Based on Kalman Filter Algorithm. Syst. Eng. Electron. 2023, 45, 1814–1820, . [CrossRef]
- Wang, K.; Zhou, Z.C.; Qu, K.; et al. Trajectory Prediction Based on CNN-LSTM Model with Attention Mechanism. J. Air Force Eng. Univ. 2023, 24, 50–57.
- Abdel-Basset, M.; Mohamed, R.; et al. Crested Porcupine Optimizer: A New Nature-Inspired Metaheuristic. Knowl.-Based Syst. 2023, 284, 111257, . [CrossRef]
- Ahmad, M.A.; Al-Ja’afreh; Mokryani, G.; et al. An Enhanced CNN-LSTM Based Multi-Stage Framework for PV and Load Short-Term Forecasting: DSO Scenarios. Energy Rep. 2023, 10, 1387–1408, . [CrossRef]
- Ghimire, S.; Nguyen-Huy, T.; Deo, R.C.; Casillas-Pérez, D.; Salcedo-Sanz, S. Efficient Daily Solar Radiation Prediction with Deep Learning 4-Phase Convolutional Neural Network, Dual Stage Stacked Regression and Support Vector Machine CNN-REGST Hybrid Model. Sustain. Mater. Technol. 2022, 32, e00429, . [CrossRef]
- Ehteram, M.; Afshari Nia, M.; Panahi, F.; Farrokhi, A. Read-First LSTM Model: A New Variant of Long Short Term Memory Neural Network for Predicting Solar Radiation Data. Energy Convers. Manag. 2024, 305, 118267, . [CrossRef]
- Gao, B.; Huang, X.; Shi, J.; Tai, Y.; Zhang, J. Hourly Forecasting of Solar Irradiance Based on CEEMDAN and Multi-Strategy CNN-LSTM Neural Networks. Renew. Energy 2020, 162, 1665–1683, . [CrossRef]









| Simulation Data | Parametric Equation | Parameter Settings |
| 1 | ,200 time points | |
| 2 | ,300 time points | |
| 3 | ,300 time points |
| Category | Component | Description |
| Software | Development Tool | PyCharm 2024.1.1 (Professional Edition) |
| Operating System | Windows 11 | |
| Programming Language | Python 3.11.4 | |
| Framework | TensorFlow | |
| Hardware | Category | Processor13th Gen Intel® Core™ i7-13620H (10 cores/16 threads, 2.4 GHz to 4.9 GHz) |
| Memory | 16 GB DDR5 5200 MHz | |
| Graphics Card | NVIDIA GeForce RTX 4060 Laptop GPU (8 GB VRAM) | |
| Storage | 1 TB NVMe SSD |
| Model | Units | Learning Rate | Epochs |
| LSTM | 64 | 0.001 | 100 |
| CNN-LSTM | 64 | 0.001 | 100 |
| CNN-LSTM-Attention | 64 | 0.001 | 100 |
| CPO-CNN-LSTM-Attention | Optimised | Optimised | 100 |
| Best Hidden Nodes | Optimal learning rate | |
| Trajectory 1 | 32 | 0.0029 |
| Trajectory 2 | 78 | 0.0054 |
| Trajectory 3 | 100 | 0.0049 |
| Trajectories | Indicators | Reduction amount | Decrease percentage (%) |
| Trajectory 1 | Average RMSE | 2.0697 | 52.35 |
| Average MAE | 2.0913 | 57.12 | |
| Average MAPE | 4.4882 | 30.11 | |
| Time MAE | 5.842 | 58.37 | |
| Trajectory 2 | Average RMSE | 2.0973 | 62.37 |
| Average MAE | 2.0935 | 64.37 | |
| Average MAPE | 12.6145 | 37.37 | |
| Time MAE | 7.3606 | 73.55 | |
| Trajectory 3 | Average RMSE | 1.7743 | 65.37 |
| Average MAE | 1.7755 | 67.37 | |
| Average MAPE | 10.6145 | 37.37 | |
| Time MAE | 6.8887 | 78.84 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the 18content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).