Journal of Lanzhou University of Technology ›› 2023, Vol. 49 ›› Issue (5): 86-92.

• Automation Technique and Computer Technology • Previous Articles     Next Articles

Improve the LSTM trajectory prediction accuracy through an exponential weighted loss function

ZHANG Tong1, WANG Zhi-wen1,2,3, LU Yan-rong1, SUN Hong-tao4   

  1. 1. College of Electrical and Information Engineering,Lanzhou Univ. of Tech., Lanzhou 730050, China;
    2. Key Laboratory of Gansu Advanced Control for Industrial Processes,Lanzhou Univ. of Tech., Lanzhou 730050, China;
    3. National Demonstration Center for Experimental Electrical and Control Engineering Education, Lanzhou Univ. of Tech., Lanzhou 730050, China;
    4. College of Engineering, Qufu Normal University, Qufu 273100, China
  • Received:2021-12-13 Online:2023-10-28 Published:2023-11-07

Abstract: Although a long-short-term memory (LSTM) network has been widely adopted to predict the vehicle trajectory, the iterative nature of LSTM introduces accumulative errors during training, resulting in a gradual decrease in the accuracy of trajectory prediction over time. Therefore, how to reduce the accumulative errors of the LSTM is a critical issue. To solve this problem, an exponential weighted loss function is used in this paper to weight the smoothed L1 loss function to reduce the cumulative error, enabling the model to predict the future trajectory of the vehicle more accurately, which is validated on US-101 and I-80 datasets from Next Generation Simulation (NGSIM). The simulation results show that the test dataset’s average error at 0.2 s and 5 s is reduced from 0.332 0 m and 7.716 8 m to 0.103 2 m and 6.624 3 m, respectively. The average prediction error is reduced by 14.16%, significantly reducing the cumulative error.

Key words: autonomous driving, trajectory prediction, LSTM, an encoder-decoder model, an exponential loss function

CLC Number: