Sparse Neural Dynamics Modeling for NMPC-Based UAV Trajectory Tracking
Abstract
1. Introduction
1.1. Research Background
1.2. Related Work
- We propose a control-oriented neural dynamics modeling pipeline for a fixed-wing UAV, which combines structured neuron-level pruning with robustness- and smoothness-promoting fine-tuning to obtain an NMPC-friendly predictor.
- We embed the pruned neural dynamics model into a standard NMPC framework for closed-loop trajectory tracking, where the learned model is used exclusively for multi-step prediction.
- We conduct ablation and comparative simulation studies to quantify the trade-offs between sparsification, solve time, and tracking accuracy using MAE/RMSE metrics.
1.3. Notation
2. UAV Model Structure
2.1. Fixed-Wing UAV Mathematical Model
2.2. Offline Training Data Generation
2.3. Learning Neural Dynamics from Observations
3. Neural Network Modeling
3.1. Structure Pruning
3.2. Regularization Method
| Algorithm 1 Structured Pruning with Fine-Tuning |
|
4. Nonlinear Model Predictive Controller Design
4.1. NMPC Formulation
4.2. Stability Discussion
5. Simulation Results
5.1. Ablation Study
5.2. Comparative Study
6. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Kerrigan, E.C. Predictive Control for Linear and Hybrid Systems [Bookshelf]. IEEE Control Syst. Mag. 2018, 38, 94–96. [Google Scholar] [CrossRef]
- Wang, Z.; Tan, W.G.Y.; Rangaiah, G.P.; Wu, Z. Machine learning aided model predictive control with multi-objective optimization and multi-criteria decision making. Comput. Chem. Eng. 2023, 179, 108414. [Google Scholar] [CrossRef]
- Ubbink, J.; Viljoen, R.; Aertbeliën, E.; Decré, W.; De Schutter, J. From Instantaneous to Predictive Control: A More Intuitive and Tunable MPC Formulation for Robot Manipulators. IEEE Robot. Autom. Lett. 2025, 10, 748–755. [Google Scholar] [CrossRef]
- Mammarella, M.; Capello, E. A Robust MPC-based autopilot for mini UAVs. In Proceedings of the 2018 International Conference on Unmanned Aircraft Systems (ICUAS), Dallas, TX, USA, 12–15 June 2018; IEEE: Piscataway, NJ, USA, 2018; pp. 1227–1235. [Google Scholar] [CrossRef]
- Piga, D.; Forgione, M.; Formentin, S.; Bemporad, A. Performance-Oriented Model Learning for Data-Driven MPC Design. IEEE Control Syst. Lett. 2019, 3, 577–582. [Google Scholar] [CrossRef]
- Zhou, J.; Hou, Y.; Mason, M.T. Pushing revisited: Differential flatness, trajectory planning, and stabilization. Int. J. Robot. Res. 2019, 38, 1477–1489. [Google Scholar] [CrossRef]
- Hewing, L.; Wabersich, K.P.; Menner, M.; Zeilinger, M.N. Learning-Based Model Predictive Control: Toward Safe Learning in Control. Annu. Rev. Control. Robot. Auton. Syst. 2020, 3, 269–296. [Google Scholar] [CrossRef]
- Saviolo, A.; Frey, J.; Rathod, A.; Diehl, M.; Loianno, G. Active Learning of Discrete-Time Dynamics for Uncertainty-Aware Model Predictive Control. IEEE Trans. Robot. 2024, 40, 1273–1291. [Google Scholar] [CrossRef]
- Crocetti, F.; Mao, J.; Saviolo, A.; Costante, G.; Loianno, G. GaPT: Gaussian Process Toolkit for Online Regression with Application to Learning Quadrotor Dynamics. In Proceedings of the 2023 IEEE International Conference on Robotics and Automation (ICRA), London, UK, 29 May–2 June 2023; IEEE: Piscataway, NJ, USA, 2023; pp. 11308–11314. [Google Scholar] [CrossRef]
- Saviolo, A.; Li, G.; Loianno, G. Physics-Inspired Temporal Learning of Quadrotor Dynamics for Accurate Model Predictive Trajectory Tracking. IEEE Robot. Autom. Lett. 2022, 7, 10256–10263. [Google Scholar] [CrossRef]
- Mohajerin, N.; Waslander, S.L. Multistep Prediction of Dynamic Systems with Recurrent Neural Networks. IEEE Trans. Neural Netw. Learn. Syst. 2019, 30, 3370–3383. [Google Scholar] [CrossRef]
- Bao, X.; Sun, Z.; Sharma, N. A recurrent neural network based MPC for a hybrid neuroprosthesis system. In Proceedings of the 2017 IEEE 56th Annual Conference on Decision and Control (CDC), Melbourne, VIC, Australia, 12–15 December 2017; IEEE: Piscataway, NJ, USA, 2017; pp. 4715–4720. [Google Scholar] [CrossRef]
- Kang, E.; Qiao, H.; Gao, J.; Yang, W. Neural network-based model predictive tracking control of an uncertain robotic manipulator with input constraints. ISA Trans. 2021, 109, 89–101. [Google Scholar] [CrossRef]
- Desaraju, V.R.; Michael, N. Leveraging experience for computationally efficient adaptive nonlinear model predictive control. In Proceedings of the 2017 IEEE International Conference on Robotics and Automation (ICRA), Singapore, 29 May–3 June 2017; IEEE: Piscataway, NJ, USA, 2017; pp. 5314–5320. [Google Scholar] [CrossRef]
- Cheng, H.; Zhang, M.; Shi, J.Q. A Survey on Deep Neural Network Pruning: Taxonomy, Comparison, Analysis, and Recommendations. IEEE Trans. Pattern Anal. Mach. Intell. 2024, 46, 10558–10578. [Google Scholar] [CrossRef] [PubMed]
- Salzmann, T.; Kaufmann, E.; Arrizabalaga, J.; Pavone, M.; Scaramuzza, D.; Ryll, M. Real-Time Neural MPC: Deep Learning Model Predictive Control for Quadrotors and Agile Robotic Platforms. IEEE Robot. Autom. Lett. 2023, 8, 2397–2404. [Google Scholar] [CrossRef]
- Blalock, D.; Ortiz, J.J.G.; Frankle, J.; Guttag, J. What is the State of Neural Network Pruning? arXiv 2020, arXiv:2003.03033. [Google Scholar] [CrossRef]
- Elsken, T.; Metzen, J.H.; Hutter, F. Neural Architecture Search: A Survey. arXiv 2019, arXiv:1808.05377. [Google Scholar] [CrossRef]
- Zhou, A.; Ma, Y.; Zhu, J.; Liu, J.; Zhang, Z.; Yuan, K.; Sun, W.; Li, H. Learning N:M Fine-grained Structured Sparse Neural Networks From Scratch. arXiv 2021, arXiv:2102.04010. [Google Scholar]
- Wang, H.; Qin, C.; Zhang, Y.; Fu, Y. Neural Pruning via Growing Regularization. arXiv 2020, arXiv:2012.09243. [Google Scholar]
- Liu, Z.; Zhou, G.; He, J.; Marcucci, T.; Li, F.F.; Wu, J.; Li, Y. Model-Based Control with Sparse Neural Dynamics. In Proceedings of the Advances in Neural Information Processing Systems, New Orleans, LA, USA, 10–16 December 2023; Curran Associates, Inc.: New York, NY, USA, 2023; Volume 36, pp. 6280–6296. [Google Scholar]
- Zoph, B.; Le, Q.V. Neural Architecture Search with Reinforcement Learning. arXiv 2016, arXiv:1611.01578. [Google Scholar]
- Dong, Y.; Wu, N.; Qi, J.; Chen, X.; Hua, C. Predictive Course Control and Guidance of Autonomous Unmanned Sailboat Based on Efficient Sampled Gaussian Process. J. Mar. Sci. Eng. 2021, 9, 1420. [Google Scholar] [CrossRef]
- Jiang, B.; Li, B.; Zhou, W.; Lo, L.Y.; Chen, C.K.; Wen, C.Y. Neural Network Based Model Predictive Control for a Quadrotor UAV. Aerospace 2022, 9, 460. [Google Scholar] [CrossRef]
- Arena, P.; Patanè, L.; Taffara, S. A Data-Driven Model Predictive Control for Quadruped Robot Steering on Slippery Surfaces. Robotics 2023, 12, 67. [Google Scholar] [CrossRef]
- Zhou, Y.; Quan, Y.; Wang, Y.; Jin, X. Nonlinear Predictive Control Based on ELM Neural Network and Dung Beetle Optimization Algorithm. In Proceedings of the 2023 5th International Conference on Control and Robotics (ICCR), Tokyo, Japan, 23–25 November 2023; IEEE: Piscataway, NJ, USA, 2023; pp. 78–84. [Google Scholar] [CrossRef]
- Gillespie, M.T.; Best, C.M.; Townsend, E.C.; Wingate, D.; Killpack, M.D. Learning nonlinear dynamic models of soft robots for model predictive control with neural networks. In Proceedings of the 2018 IEEE International Conference on Soft Robotics (RoboSoft), Livorno, Italy, 24–28 April 2018; IEEE: Piscataway, NJ, USA, 2018; pp. 39–45. [Google Scholar] [CrossRef]
- Spielberg, N.A.; Brown, M.; Gerdes, J.C. Neural Network Model Predictive Motion Control Applied to Automated Driving with Unknown Friction. IEEE Trans. Control Syst. Technol. 2022, 30, 1934–1945. [Google Scholar] [CrossRef]
- Wang, J.; Zhang, Y. A Tutorial on Gaussian Process Learning-based Model Predictive Control. arXiv 2024, arXiv:2404.03689. [Google Scholar] [CrossRef]
- Zhang, X.; Liu, J.; Xu, X.; Yu, S.; Chen, H. Robust Learning-Based Predictive Control for Discrete-Time Nonlinear Systems with Unknown Dynamics and State Constraints. IEEE Trans. Syst. Man Cybern. Syst. 2022, 52, 7314–7327. [Google Scholar] [CrossRef]
- Nagabandi, A.; Kahn, G.; Fearing, R.S.; Levine, S. Neural Network Dynamics for Model-Based Deep Reinforcement Learning with Model-Free Fine-Tuning. In Proceedings of the 2018 IEEE International Conference on Robotics and Automation (ICRA), Brisbane, QLD, Australia, 21–25 May 2018; IEEE: Piscataway, NJ, USA, 2018; pp. 7559–7566. [Google Scholar] [CrossRef]
- Peng, B.; Duan, J.; Chen, J.; Li, S.E.; Xie, G.; Zhang, C.; Guan, Y.; Mu, Y.; Sun, E. Model-Based Chance-Constrained Reinforcement Learning via Separated Proportional-Integral Lagrangian. IEEE Trans. Neural Netw. Learn. Syst. 2024, 35, 466–478. [Google Scholar] [CrossRef] [PubMed]
- Carnduff, S. Aircraft System Identification: Theory and Practice V. Klein and E.A. Morelli American Institute of Aeronautics and Astronautics, 1801 Alexander Bell Drive, Suite 500, Reston, VA 20191-4344, USA. 2006. 484pp. Illustrated. 84.95(AIAAmembers), 119.95 (non-members). ISBN 1-56347-832-3. Aeronaut. J. 2007, 111, 602–603. [Google Scholar]
- Howard, R.M. Dynamics of Flight: Stability and Control; Third Edition. J. Guid. Control. Dyn. 1997, 20, 839–840. [Google Scholar] [CrossRef]
- Stevens, B.L.; Lewis, F.L.; Johnson, E.N. Aircraft Control and Simulation: Dynamics, Controls Design, and Autonomous Systems, 3rd ed.; Wiley: Hoboken, NJ, USA, 2016. [Google Scholar]
- Hale, L.E.; Patil, M.; Roy, C.J. Aerodynamic Parameter Identification and Uncertainty Quantification for Small Unmanned Aircraft. In Proceedings of the AIAA Guidance, Navigation, and Control Conference, Kissimmee, FL, USA, 5–9 January 2015; American Institute of Aeronautics and Astronautics, Inc.: Reston, VA, USA, 2015. [Google Scholar] [CrossRef]
- Han, S.; Pool, J.; Tran, J.; Dally, W. Learning both Weights and Connections for Efficient Neural Network. In Proceedings of the Advances in Neural Information Processing Systems, Montreal, QC, Canada, 7–12 December 2015; Curran Associates, Inc.: New York, NY, USA, 2015; Volume 28. [Google Scholar]
- Liu, Z.; Sun, M.; Zhou, T.; Huang, G.; Darrell, T. Rethinking the Value of Network Pruning. arXiv 2018, arXiv:1810.05270. [Google Scholar]
- Liu, L.; Zhang, S.; Kuang, Z.; Zhou, A.; Xue, J.H.; Wang, X.; Chen, Y.; Yang, W.; Liao, Q.; Zhang, W. Group Fisher Pruning for Practical Network Compression. In Proceedings of the 38th International Conference on Machine Learning. PMLR, Virtual, 18–24 July 2021; PMLR: Cambridge, MA, USA, 2021; Volume 139, pp. 7021–7032. [Google Scholar]
- Renda, A.; Frankle, J.; Carbin, M. Comparing Rewinding and Fine-tuning in Neural Network Pruning. arXiv 2020, arXiv:2003.02389. [Google Scholar] [CrossRef]
- Goodfellow, I.J.; Shlens, J.; Szegedy, C. Explaining and harnessing adversarial examples. arXiv 2015, arXiv:1412.6572. [Google Scholar] [CrossRef]
- Li, H.; Kadav, A.; Durdanovic, I.; Samet, H.; Graf, H.P. Pruning Filters for Efficient ConvNets. arXiv 2016, arXiv:1608.08710. [Google Scholar]
- Yoshida, Y.; Miyato, T. Spectral Norm Regularization for Improving the Generalizability of Deep Learning. arXiv 2017, arXiv:1705.10941. [Google Scholar] [CrossRef]
- Ross, A.S.; Doshi-Velez, F. Improving the Adversarial Robustness and Interpretability of Deep Neural Networks by Regularizing their Input Gradients. arXiv 2017, arXiv:1711.09404. [Google Scholar] [CrossRef]
- Song, X.; Duan, J.; Wang, W.; Li, S.E.; Chen, C.; Cheng, B.; Zhang, B.; Wei, J.; Wang, X.S. LipsNet: A smooth and robust neural network with adaptive Lipschitz constant for high accuracy optimal control. In Proceedings of the 40th International Conference on Machine Learning, Honolulu, HI, USA, 23–29 July 2023; JMLR.org; ICML’23; PMLR: Cambridge, MA, USA, 2023. [Google Scholar]
- Miyato, T.; Kataoka, T.; Koyama, M.; Yoshida, Y. Spectral Normalization for Generative Adversarial Networks. arXiv 2018, arXiv:1802.05957. [Google Scholar] [CrossRef]
- Shi, Y.; Tang, A.; Niu, L.; Zhou, R. Sparse optimization guided pruning for neural networks. Neurocomputing 2024, 574, 127280. [Google Scholar] [CrossRef]
- Lambregts, A.A. TECS Generalized Airplane Control System Design—An Update. In Proceedings of the Advances in Aerospace Guidance, Navigation and Control; Springer: Berlin/Heidelberg, Germany, 2013; pp. 503–534. [Google Scholar]
- Kamel, M.; Burri, M.; Siegwart, R. Linear vs Nonlinear MPC for Trajectory Tracking Applied to Rotary Wing Micro Aerial Vehicles. IFAC-PapersOnLine 2017, 50, 3463–3469. [Google Scholar] [CrossRef]
- Cotting, M.C.; Wolek, A.; Murtha, J.; Woolsey, C. Developmental Flight Testing of the SPAARO UAV. In Proceedings of the 48th AIAA Aerospace Sciences Meeting Including the New Horizons Forum and Aerospace Exposition, Orlando, FL, USA, 4–7 January 2010; American Institute of Aeronautics and Astronautics, Inc.: Reston, VA, USA, 2010. [Google Scholar] [CrossRef]
- Andersson, J.A.E.; Gillis, J.; Horn, G.; Rawlings, J.B.; Diehl, M. CasADi: A software framework for nonlinear optimization and optimal control. Math. Program. Comput. 2019, 11, 1–36. [Google Scholar] [CrossRef]
- Wächter, A.; Biegler, L.T. On the implementation of an interior-point filter line-search algorithm for large-scale nonlinear programming. Math. Program. 2006, 106, 25–57. [Google Scholar] [CrossRef]










| Parameter | Value |
|---|---|
| Hidden layers | 128–64–64 |
| Activation | tanh |
| Optimizer | Adam |
| Learning rate | 1 × 10−3 |
| Batch size | 64 |
| Training epochs | 500 |
| Fine-tuning epochs | 250 |
| 0.5 | |
| 0.15, 0.25, 0.20 | |
| 3.0 | |
| 0.05 | |
| Pruning iterations I | 3 |
| Model Variant | Tracking Error [x/y/z] (m) | Avg. Time (ms) | Remaining Neurons |
|---|---|---|---|
| Unpruned | MAE: 1.140/1.159/0.104 RMSE: 1.387/1.574/0.225 | 31.6 | 128, 64, 64 |
| Pruned 1st | MAE: 1.113/0.617/0.086 RMSE: 1.329/1.085/0.195 | 31.7 | 109, 48, 52 |
| Pruned 2nd | MAE: 0.929/0.531/0.077 RMSE: 1.162/0.873/0.132 | 30.9 | 93, 36, 42 |
| Pruned Only | MAE: 0.737/0.498/0.053 RMSE: 0.917/0.636/0.095 | 29.9 | 80, 27, 34 |
| Pruned + Reg | MAE: 0.361/0.328/0.037 RMSE: 0.462/0.373/0.070 | 25.7 | 80, 27, 34 |
| Controller | MAE [x/y/z] (m) | RMSE [x/y/z] (m) | Avg. Time (ms) |
|---|---|---|---|
| TECS | 2.654/2.100/0.195 | 2.947/2.424/0.226 | – |
| LMPC | 1.214/1.681/0.173 | 1.295/1.888/0.190 | 14.7 |
| NNMPC (Ours) | 0.361/0.328/0.037 | 0.462/0.373/0.070 | 25.7 |
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 content. |
© 2026 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.
Share and Cite
Qiu, X.; Liu, C.; Li, J. Sparse Neural Dynamics Modeling for NMPC-Based UAV Trajectory Tracking. Aerospace 2026, 13, 229. https://doi.org/10.3390/aerospace13030229
Qiu X, Liu C, Li J. Sparse Neural Dynamics Modeling for NMPC-Based UAV Trajectory Tracking. Aerospace. 2026; 13(3):229. https://doi.org/10.3390/aerospace13030229
Chicago/Turabian StyleQiu, Xinyuan, Changxuan Liu, and Jun Li. 2026. "Sparse Neural Dynamics Modeling for NMPC-Based UAV Trajectory Tracking" Aerospace 13, no. 3: 229. https://doi.org/10.3390/aerospace13030229
APA StyleQiu, X., Liu, C., & Li, J. (2026). Sparse Neural Dynamics Modeling for NMPC-Based UAV Trajectory Tracking. Aerospace, 13(3), 229. https://doi.org/10.3390/aerospace13030229
