Research Article

Research on Transformer Models for End-to-End Control in Autonomous Driving

Haitao Zhao*
School of Electrical Engineering and Computer Science, The University of Queensland, Brisbane, Queensland, Australia

* Corresponding author: [email protected]

Abstract

This study addresses the challenge of trajectory tracking control in autonomous vehicles. Traditional hierarchical control methods often require manual parameter tuning and struggle to adapt to complex, multi-modal environments. To overcome these limitations, this paper proposes a Transformer-based end-to-end control model for autonomous driving. The model leverages self-attention mechanisms to dynamically fuse multi-modal inputs and capture long-term temporal dependencies. It consists of three main components: input encoding, multi-modal feature fusion, and control signal decoding. This paper evaluates the proposed model using datasets collected from the CARLA simulator and trains it with a hybrid training strategy training strategy. Experimental results show that this paper's approach outperforms the benchmark CNN-LSTM and PilotNet models, achieving performance improvements of 44% in control accuracy (MSE) and 63.5% in driving safety. Additionally, the proposed model demonstrates superior performance in control accuracy, driving safety, real-time response, robustness, and interpretability. Further analysis shows that incorporating multi-frame temporal inputs, an 8-head attention mechanism, and a cross-attention fusion strategy enhances model performance, highlighting its strong potential for real-world applications.

Keywords: Autonomous Driving; Transformer; End-to-End Model; Multi-Modal Fusion; Self-Attention Mechanism
Published: June 9, 2025
DOI: 10.54254/2755-2721/2025.TJ23595
Volume: ACE Vol.160
pp. 210-222
Download PDF

References

  1. Paden, B., Čáp, M., Yong, S. Z., Yershov, D., & Frazzoli, E. (2016). A survey of motion planning and control techniques for self-driving urban vehicles. IEEE Transactions on Intelligent Vehicles, 1(1), 33–55.
  2. Guldner, J., Utkin, V. I., & Ackermann, J. (1994). A sliding mode control approach to automatic car steering. In Proceedings of the 1994 American Control Conference (pp. 1969–1973). IEEE.
  3. Guo, J., Luo, Y., & Li, K. (2017). An adaptive hierarchical trajectory following control approach of autonomous four-wheel independent drive electric vehicles. IEEE Transactions on Intelligent Transportation Systems, 18(10), 2825–2835.
  4. Park, B. S., Yoo, S. J., Park, J. B., & Choi, Y. H. (2010). A simple adaptive control approach for trajectory tracking of electrically driven nonholonomic mobile robots. IEEE Transactions on Control Systems Technology, 18(5), 1199–1206.
  5. Park, S., Deyst, J., & How, J. P. (2007). Performance and Lyapunov stability of a nonlinear path following guidance method. Journal of Guidance, Control, and Dynamics, 30(6), 1718–1728.
  6. Alcalá, E., Puig, V., Quevedo, J., Escobet, T., & Comasolivas, R. (2018). Autonomous vehicle control using a kinematic Lyapunov-based technique with LQR-LMI tuning. Control Engineering Practice, 73, 1–12.
  7. Li, Y., Wang, X. N., Li, S. J., & Zhu, J. (2014). LQR based trajectory tracking control for forked AGV. Applied Mechanics and Materials, 577, 447–451.
  8. Liang, C. H., Liu, Y. H., & Wang, Y. (2021). Lateral control using LQR for intelligent vehicles based on the optimal front-tire lateral force. Journal of Tsinghua University (Science and Technology), 61(9), 906–912.
  9. Tajaddini, N., Tajaddini, M., & Hashemi, R. (2015). An optimal integrated longitudinal and lateral dynamic controller development for vehicle path tracking. Latin American Journal of Solids and Structures, 12(6), 1006–1023.
  10. Hu, C., Wang, R., Yan, F., & Chen, N. (2016). Output constraint control on path following of four-wheel independently actuated autonomous ground vehicles. IEEE Transactions on Vehicular Technology, 65(6), 4033–4043. https://doi.org/10.1109/TVT.2015.2452931
  11. Fnadi, M., Du, W., Plumet, F., & Benamar, F. (2020). Constrained model predictive control for dynamic path tracking of a bi-steerable rover on slippery grounds. Control Engineering Practice, 107, 104693.
  12. Ming, T., Deng, W., Zhang, S., & Zhu, B. (2016). MPC-based trajectory tracking control for intelligent vehicles. SAE Technical Paper, 2016-01-0452.
  13. Falcone, P., Borrelli, F., Asgari, J., Tseng, H. E., & Hrovat, D. (2007). Predictive active steering control for autonomous vehicle systems. IEEE Transactions on Control Systems Technology, 15(3), 566–580.
  14. Gu, D., & Hu, H. (2006). Receding horizon tracking control of wheeled mobile robots. IEEE Transactions on Control Systems Technology, 14(4), 743–749.
  15. Alcalá, E., Puig, V., & Quevedo, J. (2019). TS-MPC for autonomous vehicles including a TS-MHE-UIO estimator. IEEE Transactions on Vehicular Technology, 68(2), 1153–1163.