A Cognitive-Driven Trajectory Prediction Model for Autonomous Driving in Mixed Autonomy Environments
Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence. Main Track. Pages 5936-5944.
https://doi.org/10.24963/ijcai.2024/656
Keywords
- Multidisciplinary Topics and Applications: MTA: Transportation
- Planning and Scheduling: PS: Applications
- Agent-based and Multi-agent Systems: MAS: Human-agent interaction
- Robotics: ROB: Motion and path planning
Abstract
As autonomous driving technology progresses, the need for precise trajectory prediction models becomes paramount. This paper introduces an innovative model that infuses cognitive insights into trajectory prediction, focusing on perceived safety and dynamic decision-making. Distinct from traditional approaches, our model excels in analyzing interactions and behavior patterns in mixed autonomy traffic scenarios. We introduce the Macao Connected Autonomous Driving (MoCAD) dataset as part of our contributions, which adds value to its complex urban driving scenarios. Our model represents a significant leap forward, achieving marked performance improvements on several key datasets. Specifically, it surpasses existing benchmarks with gains of 16.2% on the Next Generation Simulation (NGSIM), 27.4% on the Highway Drone (HighD), and 19.8% on the MoCAD dataset. Our proposed model shows exceptional proficiency in handling corner cases, essential for real-world applications. Moreover, its robustness is evident in scenarios with missing or limited data, outperforming most of the state-of-the-art baselines. This adaptability and resilience position our model as a viable tool for real-world autonomous driving systems, heralding a new standard in vehicle trajectory prediction for enhanced safety and efficiency.
- [Ajzen, 1991] Icek Ajzen. The theory of planned behavior. Organizational behavior and human decision processes, 50(2):179-211, 1991.
- [Aledhari et al., 2023] Mohammed Aledhari, Mohamed Ra- houti, Junaid Qadir, Basheer Qolomany, Mohsen Guizani, and Ala Al-Fuqaha. Motion comfort optimization for au- tonomous vehicles: Concepts, methods, and techniques. IEEE Internet of Things Journal, 2023.
- [Bartneck et al., 2009] Christoph Bartneck, Dana Kulić, Elizabeth Croft, and Susana Zoghbi. Measurement instru- ments for the anthropomorphism, animacy, likeability, per- ceived intelligence, and perceived safety of robots. Inter- national journal of social robotics, 1:71-81, 2009.
- [Busch et al., 2019] Baptiste Busch, Giuseppe Cotugno, Mahdi Khoramshahi, Grigorios Skaltsas, Dario Turchi, Leonardo Urbano, Mirko Wächter, You Zhou, Graham As- four, et al. Evaluation of an industrial robotic assistant in an ecological environment. In RO-MAN, 2019.
- [Cai et al., 2021] Yingfeng Cai, Zihao Wang, Hai Wang, Long Chen, Yicheng Li, Miguel Angel Sotelo, and Zhix- iong Li. Environment-attention network for vehicle trajec- tory prediction. IEEE Transactions on Vehicular Technol- ogy, 2021.
- [Chandra et al., 2020] Rohan Chandra, Uttaran Bhat- tacharya, Trisha Mittal, Aniket Bera, and Dinesh Manocha. Cmetric: A driving behavior measure using centrality functions. In IEEE/RSJ IROS. IEEE, 2020.
- [Chen et al., 2022a] Xiaobo Chen, Huanjia Zhang, Feng Zhao, Yingfeng Cai, Hai Wang, and Qiaolin Ye. Ve- hicle trajectory prediction based on intention-aware non- autoregressive transformer with multi-attention learning for internet of vehicles. IEEE Transactions on Instrumen- tation and Measurement, 2022.
- [Chen et al., 2022b] Xiaobo Chen, Huanjia Zhang, Feng Zhao, Yu Hu, Chenkai Tan, and Jian Yang. Intention- aware vehicle trajectory prediction based on spatial- temporal dynamic attention network for internet of vehi- cles. IEEE Transactions on Intelligent Transportation Sys- tems, 23(10):19471-19483, 2022.
- [Cong et al., 2023] Peichao Cong, Yixuan Xiao, Xianquan Wan, Murong Deng, Jiaxing Li, and Xin Zhang. Dacr- amtp: Adaptive multi-modal vehicle trajectory prediction for dynamic drivable areas based on collision risk. IEEE Transactions on Intelligent Vehicles, 2023.
- [Davis, 2023] Jenny L Davis. Role-taking and robotic form: An exploratory study of social connection in human-robot interaction. International Journal of Human-Computer Studies, page 103094, 2023.
- [Deffenbacher et al., 1994] Jerry L Deffenbacher, Eugene R Oetting, and Rebekah S Lynch. Development of a driving anger scale. Psychological reports, 74(1):83-91, 1994.
- [Deo and Trivedi, 2018] Nachiket Deo and Mohan M Trivedi. Convolutional social pooling for vehicle trajec- tory prediction. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops, pages 1468-1476, 2018.
- [French et al., 1993] Davina J French, Robert J West, James Elander, and John Martin Wilding. Decision-making style, driving style, and self-reported involvement in road traffic accidents. Ergonomics, 36(6):627-644, 1993.
- [Gao et al., 2023] Kai Gao, Xunhao Li, Bin Chen, Lin Hu, Jian Liu, Ronghua Du, and Yongfu Li. Dual transformer based prediction for lane change intentions and trajecto- ries in mixed traffic environment. IEEE Transactions on Intelligent Transportation Systems, 2023.
- [Geng et al., 2023] Maosi Geng, Yong Chen, Yingji Xia, and Xiqun Michael Chen. Dynamic-learning spatial-temporal transformer network for vehicular trajectory prediction at urban intersections. Transportation research part C: emerging technologies, 156:104330, 2023.
- [Guan et al., 2024] Yanchen Guan, Haicheng Liao, Zhen- ning Li, Guohui Zhang, and Chengzhong Xu. World models for autonomous driving: An initial survey. arXiv preprint arXiv:2403.02622, 2024.
- [Guiochet et al., 2017] Jérémie Guiochet, Mathilde Machin, and Hélène Waeselynck. Safety-critical advanced robots: A survey. Robotics and Autonomous Systems, 2017.
- [Gupta et al., 2018] Agrim Gupta, Justin Johnson, Li Fei- Fei, Silvio Savarese, and Alexandre Alahi. Social gan: Socially acceptable trajectories with generative adversar- ial networks. In Proceedings of the IEEE CVPR, 2018.
- [He et al., 2016] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recog- nition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 770-778, 2016.
- [Krajewski et al., 2018] Robert Krajewski, Julian Bock, Laurent Kloeker, and Lutz Eckstein. The highd dataset: A drone dataset of naturalistic vehicle trajectories on ger- man highways for validation of highly automated driving systems. In ITSC, 2018.
- [Kronemer et al., 2022] Sharif I Kronemer, Mark Aksen, Ju- lia Z Ding, Jun Hwan Ryu, Qilong Xin, Zhaoxiong Ding, Jacob S Prince, Hunki Kwon, Aya Khalaf, Sarit Forman, et al. Human visual consciousness involves large scale cortical and subcortical networks independent of task re- port and eye movement activity. Nature Communications, 13(1):7342, 2022.
- [Li et al., 2023] Peizheng Li, Shuxiao Ding, Xieyuanli Chen, Niklas Hanselmann, and Juergen Gall. Powerbev: A powerful yet lightweight framework for instance pre- diction in bird's-eye view. In Proceedings of IJCAI, 2023. IJCAI
- [Liao et al., 2024a] Haicheng Liao, Yongkang Li, Zhenning Li, Chengyue Wang, Zhiyong Cui, Shengbo Eben Li, and Chengzhong Xu. A cognitive-based trajectory prediction approach for autonomous driving. IEEE Transactions on Intelligent Vehicles, pages 1-12, 2024.
- [Liao et al., 2024b] Haicheng Liao, Zhenning Li, Huanming Shen, Wenxuan Zeng, Dongping Liao, Guofa Li, and Chengzhong Xu. Bat: Behavior-aware human-like trajec- tory prediction for autonomous driving. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 38, pages 10332-10340, 2024.
- [Liao et al., 2024c] Haicheng Liao, Shangqian Liu, Yongkang Li, Zhenning Li, Chengyue Wang, Bonan Wang, Yanchen Guan, and Chengzhong Xu. Human observation-inspired trajectory prediction for autonomous driving in mixed-autonomy traffic environments. arXiv preprint arXiv:2402.04318, 2024.
- [Liao et al., 2024d] Haicheng Liao, Huanming Shen, Zhen- ning Li, Chengyue Wang, Guofa Li, Yiming Bie, and Chengzhong Xu. Gpt-4 enhanced multimodal grounding for autonomous driving: Leveraging cross-modal attention with large language models. Communications in Trans- portation Research, 4:100116, 2024.
- [Messaoud et al., 2019] Kaouther Messaoud, Itheri Yahiaoui, Anne Verroust-Blondet, and Fawzi Nashashibi. Non-local social pooling for vehicle trajectory prediction. In IEEE Intelligent Vehicles Symposium (IV), 2019. [Messaoud et al., 2021] Kaouther Messaoud, Itheri Yahiaoui, Anne Verroust-Blondet, and Fawzi Nashashibi. Attention based vehicle trajectory prediction. IEEE Transactions on Intelligent Vehicles, 6(1):175-185, 2021.
- [Minderhoud and Bovy, 2001] Michiel M Minderhoud and Piet HL Bovy. Extended time-to-collision measures for road traffic safety assessment. Accident Analysis & Pre- vention, 33(1):89-97, 2001.
- [Murphy et al., 2011] Ryan O Murphy, Kurt A Ackermann, and Michel JJ Handgraaf. Measuring social value orienta- tion. Judgment and Decision making, 6(8):771-781, 2011.
- [Rabin, 2013] Matihew Rabin. Risk aversion and expected- utility theory: A calibration theorem. In Handbook of the fundamentals of financial decision making: Part I, pages 241-252. World Scientific, 2013.
- [Rowe et al., 2023] Luke Rowe, Martin Ethier, Eli-Henry Dykhne, and Krzysztof Czarnecki. Fjmp: Factor- ized joint multi-agent motion prediction over learned di- rected acyclic interaction graphs. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 13745-13755, 2023.
- [Rubagotti et al., 2022] Matteo Rubagotti, Inara Tusseyeva, Sara Baltabayeva, Danna Summers, and Anara Sandygulova. Perceived safety in physical human- robot interaction-a survey. Robotics and Autonomous Systems, 151:104047, 2022.
- [Saadatnejad et al., 2022] Saeed Saadatnejad, Mohammad- hossein Bahari, Pedram Khorsandi, Mohammad Saneian, Seyed-Mohsen Moosavi-Dezfooli, and Alexandre Alahi. Are socially-aware trajectory prediction models really socially-aware? Transportation research part C: emerg- ing technologies, 141:103705, 2022.
- [Scheunemann et al., 2020] Marcus M Scheunemann, Ray- mond H Cuijpers, and Christoph Salge. Warmth and com- petence to predict human preference of robot behavior in physical human-robot interaction. In IEEE RO-MAN, 2020.
- [Schwarting et al., 2019] Wilko Schwarting, Alyssa Pierson, Javier Alonso-Mora, Sertac Karaman, and Daniela Rus. Social behavior for autonomous vehicles. Proceedings of the National Academy of Sciences, pages 24972-24978, 2019.
- [Sun et al., 2023] Jianhua Sun, Yuxuan Li, Liang Chai, and Cewu Lu. Modality exploration, retrieval and adaptation for trajectory prediction. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2023.
- [Tang and Salakhutdinov, 2019] Charlie Tang and Russ R Salakhutdinov. Multiple futures prediction. Advances in neural information processing systems, 32, 2019.
- [Tian et al., 2024] Chunlin Tian, Zhan Shi, Zhijiang Guo, Li Li, and Chengzhong Xu. Hydralora: An asymmetric lora architecture for efficient fine-tuning, 2024.
- [Wang et al., 2023] Renzhi Wang, Senzhang Wang, Hao Yan, and Xiang Wang. Wsip: Wave superposition inspired pooling for dynamic interactions-aware trajectory predic- tion. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 37, pages 4685-4692, 2023.
- [Xie et al., 2021] Xu Xie, Chi Zhang, Yixin Zhu, Ying Nian Wu, and Song-Chun Zhu. Congestion-aware multi-agent trajectory prediction for collision avoidance. In ICRA, 2021.
- [Yin et al., 2021] Ziyi Yin, Ruijin Liu, Zhiliang Xiong, and Zejian Yuan. Multimodal transformer networks for pedes- trian trajectory prediction. In IJCAI, 2021. IJCAI
- [Zhao et al., 2019] Tianyang Zhao, Yifei Xu, Mathew Mon- fort, Wongun Choi, Chris Baker, Yibiao Zhao, Yizhou Wang, and Ying Nian Wu. Multi-agent tensor fusion for contextual trajectory prediction. In Proceedings of the IEEE/CVF CVPR, 2019.
- [Zuckerman, 1990] Marvin Zuckerman. The psychophys- iology of sensation seeking. Journal of personality, 58(1):313-345, 1990.
- [Zuo et al., 2023] Zhiqiang Zuo, Xinyu Wang, Songlin Guo, Zhengxuan Liu, Zheng Li, and Yijing Wang. Trajectory prediction network of autonomous vehicles with fusion of historical interactive features. IEEE Transactions on Intel- ligent Vehicles, 2023.
References were extracted automatically from the PDF and may contain errors.
Full text extracted automatically from the PDF; figures, tables and equations may differ. The PDF is the version of record.
1 Introduction
In the evolving landscape of autonomous driving (AD) systems, the challenge of accurately predicting vehicle trajectories is paramount, especially in mixed autonomy environments where autonomous vehicles (AVs) and human-driven vehicles (HVs) dynamically interact. This complex interplay, soon to become an everyday reality on our roads, is marked by its unpredictability, as detailed in studies like [Schwarting et al., 2019] and [Liao et al., 2024b]. Despite the advancements in deep learning for AD, typified in research such as [Sun et al., 2023] and [Geng et al., 2023], a critical gap remains: these models often lack a nuanced understanding of human driving behavior and decision-making processes

[Chen et al., 2022a; Liao et al., 2024d; Tian et al., 2024; Guan et al., 2024]. This limitation becomes particularly evident in real-world scenarios where the adaptability of these models to diverse and unforeseen conditions is crucial.
This backdrop prompts us to ask critical questions about the future trajectory of AD: Is the key to advancing AD not just in accumulating more data or refining algorithms, but in gaining a deeper understanding of the driving environment itself? How can we reshape our models to interpret and respond to the intricate human dynamics that underpin driving? Motivated by these questions, our research embarks on an innovative path. We propose a paradigm shift, extending beyond conventional data-driven approaches to embrace a critical yet often-neglected aspect of driving - the concept of perceived safety. This concept, pivotal in shaping driving behaviors and decisions, is deeply rooted in psychological constructs, as detailed in [Rubagotti et al., 2022]. According to the Theory of Planned Behavior, individual actions in driving are influenced by attitudes (driving behaviors towards others), subjective norms (personal evaluation of safety), and perceived behavioral control (confidence in driving ability)
[Ajzen, 1991]. Further depth is added by neuroscientific research, such as studies by [Saadatnejad et al., 2022] and [Kronemer et al., 2022], which unveil that perceived safety is an intricate blend of both conscious and instinctive responses, involving the amygdala's emotional processing and the prefrontal cortex's rational decision-making. Notably, this understanding of perceived safety is exemplified in diverse driving scenarios. For instance, when encountering a close car ahead, different drivers exhibit markedly varied responses, as depicted in Figure 1. An aggressive driver, possibly influenced by sensation-seeking tendencies [Zuckerman, 1990], might quickly swerve, perceiving lower risk. Conversely, a cautious driver, perhaps more risk-averse [Rabin, 2013], might opt for a complete stop. These behaviors, far from being random, are intricately linked to each driver's psychological profile and past experiences, revealing a significant limitation in current AD systems: their inability to account for these complex, cognitive behavioral patterns. In response, our research integrates the concept of perceived safety into trajectory prediction models for AVs. This integration does more than add a new variable; it injects a human-centric perspective into the heart of these systems. By doing so, we aim to enhance the models' ability to interpret driving behaviors, leading to predictions that are not only technically accurate but also richly informed by contextual and psychological insights. Overall, the contributions of this study include:
- Perceived Safety-Aware Module Development: 1) Quantitative Safety Assessment (QSA): A foundational component that objectively evaluates a driving scenario's safety, leveraging metrics like Time-To-Collision (TTC) and Risk Tendency Index (RTI), thereby offering a perception-neutral safety assessment. 2) Driver Behavior Profiling (DBP): Layering upon QSA's foundation, DBP infuses the human element, differentiating between, for instance, an aggressive driver's risk tolerance and a cautious driver's reservations. This profile captures driving nuances in real-time without the need for manual labeling and selection of time windows.
- Social Interaction-Aware Module Development: Acknowledging the collective ballet on roads, we have architected a transformer-based framework, named Leanformer, which encapsulates the intricate inter-vehicular interactions, mirroring contemporary shifts in AD research trajectories.
- Robustness Against Data Inconsistencies: Our model significantly outperforms the SOTA baseline models when tested on the NGSIM, HighD, and MoCAD datasets, respectively. In a significant stride towards practical applicability, it demonstrates unparalleled resilience in scenarios with incomplete or inconsistent data. This adaptability ensures that our trajectory predictions remain accurate and reliable even when faced with real-world data challenges, a feature often overlooked in conventional models.
2 RelatedWork
Motion Prediction For Autonomous Driving. A wealth of recent research has harnessed deep learning architectures to predict future motions of target agents for AVs. Employing a variety of frameworks, these models encompass sequential networks [Chen et al., 2022a; Messaoud et al., 2021], graph neural networks [Rowe et al., 2023], transformer constructs [Chen et al., 2022a; Yin et al., 2021], and generative models [Li et al., 2023]. The crux of these approaches is discerning temporal and spatial dynamics between traffic agents from historical data, aiming to optimize prediction accuracy. Moreover, prior research [Deo and Trivedi, 2018; Messaoud et al., 2019; Chen et al., 2022b] has tapped into the intricate social interplays among traffic agents, unveiling latent insights and enhancing predictive performance.
Perceived Safety Concept. The concept of perceived safety has received extensive attention in psychology and physical human-robot interaction (pHRI) [Guiochet et al., 2017]. In pHRI, perceived safety finds applications in various autonomous physical systems, including mobile robots [Scheunemann et al., 2020], industrial manipulators [Davis, 2023], humanoid robots [Busch et al., 2019], and autonomous driving [Aledhari et al., 2023], to assess and represent people's perception of the level of danger in interactions with robots and their level of comfort during such interactions [Bartneck et al., 2009]. However, the evaluation of perceived safety in trajectory prediction is often subjective and lacks standard metrics. This work introduces a new quantitative criterion for perceived safety, inspired by human decisionmaking processes, enhancing the model's contextual understanding of behaviors and traffic conditions.
Driving Behavior Understanding. Numerous previous studies [Schwarting et al., 2019; Chandra et al., 2020] have proposed various criteria and metrics to explicitly represent and detect driving behavior, often utilizing classic scales such as Social Value Orientation (SVO) [Murphy et al., 2011], Driving Anger Scale (DAS) [Deffenbacher et al., 1994], Driving Anger Expression (DAE), Driving Style Questionnaire (DSQ) [French et al., 1993], among others. In contrast to these traditional methods, our approach models driving behavior in real-time with adaptive, behavior-aware criteria, eliminating the need for manual labeling and offering enhanced learning flexibility. This method addresses challenges related to shifting behaviors and time window selection, reducing data variability associated with discrete classification.
3 ProblemFormulation
Our objective is to predict the trajectories of target vehicle (denoted with subscript 0) within the perceptual boundaries of an autonomous vehicle (AV), referred to as the ego vehicle, in settings with mixed autonomy. Given the present moment as t, the task is to estimate the probable future trajectory, Y t:t+tf 0 , of the target vehicle over the ensuing tf time intervals. This estimation is based on the historical states of the target vehicle, Xt-th:t 0 , and the states of surrounding vehicles (indicated by subscript 1:n), Xt-th:t 1:n , within a defined duration th. Given the inherent uncertainties in trajectory predictions, our methodology adopts a multimodal prediction framework. This approach discerns various potential maneuvers for the target vehicle and calculates the corresponding probabilities from prior states. As a result, we obtain a spectrum of predictions, each paired with its confidence level.
Central to our model is the use of historical states as inputs. These comprise the 2D position coordinates pt-th:t 0:n , velocity vt-th:t 0:n , and acceleration at-th:t i spanning the duration from t - th to t. Formally defined, the input is:
The resulting output is:
where pt0 = {(pt0,1 ; ct0,1 ), (pt0,2 ; ct0,2 ), · · · , (pt0,M ; ct0,M )} encompasses both the potential trajectory and its associated likelihood (ΣM1 ct0,i = 1), with M enoting the total number of potential trajectories predicted.
4 Trajectory PredictionModel
Figure 2 illustrates the architecture of our model. Rooted in the encoder-decoder paradigm, the model seamlessly incorporates three novel modules: the Perceived Safety-Aware, the Priority-Aware, and the Interaction-Aware modules. Collectively, these modules are designed to emulate the human decision-making process during driving.
4.1 Perceived Safety Aware Module
Quantitative Safety Assessment. In traffic safety domain, three metrics have gained prominence for their comprehensive portrayal of on-road risks: TTC, Time Exposed Timeto-Collision (TET), and Time Integrated Time-to-Collision (TIT) [Minderhoud and Bovy, 2001]. To align these with our study's objectives, we made slight modifications. Using the 2D position coordinates pti , ptj and velocity vt i , vt j for vehicles i and j at time t, these metrics are formulated as:
1) Time-to-Collision (TTC): TTC is a widely accepted measure used to evaluate the time available before two vehicles collide if they continue on their current trajectories. It offers insights into imminent collision risks and serves as an early warning indicator. TTC for the ith vehicle is computed as:
where di,j represents the distance between vehicles i and j, and ˙ di,j is its rate of change:
2) Time Exposed Time-to-Collision (TET): It measures the exposure duration to critical TTC values within th. It is the sum product of a switching variable and a time threshold τsc (set at 0.1s):
with the switching variable given by:
In our study, TTC∗ , delineating safe and critical thresholds, is set at 3.0s.
3) Time Integrated Time-to-Collision (TIT): An adaptation of TET, TIT integrates TTC profile to evaluate safety levels, factoring in the evolution of each vehicle's TET temporally:
Elevated values of TTC, TET, and TIT imply sustained exposure to potential collision risks, underscoring a deterioration in perceived safety.
4) Risk Tendency Index (RTI): To further capture congestion patterns in complex traffic environments, we propose an index between the ith and jth vehicles at time t, denoted as subjective risk perception indicator (SPR), i.e. Rt i , and dynamic risk volatility indicator (DRV), i.e. Rt i,j , respectively:
In this context, the vector Rt i,j with larger values indicates an increased risk of collision, while the vector ˙Rt i,j characterizes the dynamic congestion conditions in complex traffic scenarios. In addition, the definitions of SPR and DRV are defined as follows:
where the DRV ˙Rt i,j represents the gradient to evaluate fluctuations in SPR Rt i,j and can be expressed as follows:
The quantities qt i,j and ˙ qt i,j are calculated based on several critical parameters related to the dynamics of two traffic agents. These parameters include the lateral velocity vtx , longitudinal velocity vty , 2D position coordinate ptx and pty , as well as the lateral atx and longitudinal aty . Mathematically, it can be represented as follows:
where the ∆i,j(·) denotes the difference between quantities of the i-th and j-th vehicles. A larger vector Rt i,j indicates a higher risk of collision, while the vector ˙Rt i,j describes the dynamic congestion conditions in complex traffic scene.
The encoder within the Perceived Safety-Aware module combines the GCNs and the scaled dot-product multi-head self-attention mechanism. To capture the dynamic geometric relationships among traffic agents, we employ a convolutional neural network on a fully connected interaction multigraph. This multigraph operation layer incorporates sequential perceived-safety criteria Q as nodes and adjacency matrix A as graph edges. The GCN layer is given by:

where ˜D is the degree matrix. The multi-head self-attention mechanism then transform the feature matrix Zk+1 i output from GCNs into query, key, and value vectors. The output for the ith agent from this mechanism is denoted as α.
For improved training stability, inspired by ResNet [He et al., 2016], we integrate Gate Linear Units (GLUs) and Layer Normalization to efficiently manage features:
In particular, the GLUs layer can be defined as:
where α represents the safe attention coefficient from the multi-head attention mechanism, W1 and W2 are the learnable weight parameters associated with the GLUs layer, b1 and b2 are the corresponding biases, ⊙ denotes element-wise multiplication, ϕsigmoid is the sigmoid activation function, and ϕLN(·) stands for Layer Normalization. Correspondingly, the output of the encoder within the QSA is denoted as ¯Ot-th:t safe . Driver Behavior Profiling. Unlike traditional methods that classify driver behavior into fixed, predefined categories, we propose a novel dynamic geometric graph (DGG) based realtime profiling approach. This continuum solution addresses the problem of fluctuating behavioral categorization in previous studies. At a given time t, the graph Gt is constructed as Gt = {V t , Et }, where V t = {vt0 , vt1 , ..., vtn } signifies the node set, and each node vt i represents an individual agent. Et = {et0 , et1 , ..., etn } is the set of edges illustrating potential interactions between agents. Specifically, an edge eti connects node vt i to other nodes (agents) potentially influencing it.
Interactions are considered when agents, such as vi and vj , are sufficiently close. Specifically, if their distance d(vt i , vt j ) is within a set threshold r, an interaction is inferred. This relationship is represented as eti = {vt i , vt j | (j ∈ N t i )} where the neighborhood set N t i is defined by:
The adjacency matrix At of Gt is symmetric. Formally,
To further evaluate the behavior of individual agents and reveal important agents and overall connectivity in the traffic graph, centrality measures are used, including degree J t i (D), closeness J t i (C), eigenvector J t i (E), betweenness J t i (B), power J t
i (P), and Katz J t i (K) centrality. Formally, (1) Degree Centrality: Reflects an agent's number of connections, showing its influence on and vulnerability to others.
where |Nit | denotes the total elements in N t i . (2) Closeness Centrality: Indicates an agent's reachability, suggesting its potential influence over others:
(3) Eigenvector Centrality: Measures an agent's importance by considering both quantity and quality of connections:
where λ is the eigenvalue, indicating the collective influence exerted by an agent and its network.
(4) Betweenness Centrality: Highlights agents that act as bridges or bottlenecks in traffic, crucial in congested scenes:
(5) Power Centrality: Identifies agents in recurrent interactions, hinting at traffic patterns:
where Akii denotes the i-th diagonal element of the adjacency matrix raised to the k-th power, while k! signifies the factorial of k, shedding light on its contribution to the network's structural integrity and dynamism.
(6) Katz Centrality: Emphasizes both direct and distant interactions of an agent, capturing intricate driving patterns:
where n represents the number of agents in the real-time traffic scenario, αk is the decay factor, βk denotes the weight assigned to the immediate neighboring agents, and Akij is the i,j-th element of the k-th power of the adjacency matrix.
To provide better performance in profiling driving behavior, we draw inspiration from metrics such as speed, acceleration, and jerk. Based on these, we introduce three continuous criteria: Behavior Magnitude Index (BMI) C t i , which measures the influence of driving behaviors by evaluating their centrality; Behavior Tendency Index (BTI) Lti , which quantifies behavior propensity by calculating time series derivatives, suggesting higher probabilities of specific behaviors with larger derivatives; and Behavior Curvature Index (BCI) I t i , which uses the jerk concept to measure the intensity of driving behaviors by calculating the second-order derivatives of continuous centrality measures. Formally,
In combination, these criteria offer a holistic view of driving behaviors without needing manual labeling during training, addressing issues of changing behavior labels and time window selection.
The encoder of Driver Behavior Profiling comprises two main components: the LSTM and multi-head self-attention mechanism. The behavior-aware criteria are first processed by the LSTM, yielding temporal vectors:
Here, the LSTM encoder updates the hidden state of agent vi frame-by-frame with shared weights. Using the multi-head self-attention mechanism and GLUs, we compute attention weights for different agent behaviors, producing precise sequential behavioral features in a similar way in QSA:
Lastly, the behavioral features are integrated with priority features and contextual features, then forwarded to the Interaction-Aware module for further processing.
4.2 Priority-Aware Module
In light of recent advances in cognitive studies, it has become evident that the spatial positioning of vehicles within a scene can variably influence the behavior and decisions of a target vehicle. For instance, vehicles located directly in the anticipated trajectory path tend to exert greater influence relative to those situated behind. Furthermore, during overtaking maneuvers, vehicles positioned on the left may carry augmented significance. Recognizing these spatial intricacies, we introduce the Priority-Aware Module. This sophisticated module adeptly transforms the spatial coordinates of agents, encoding them into high-dimensional positional vectors, thereby yielding detailed positional features. Our pooling mechanism adeptly amalgamates dynamic positional information from the encompassing traffic scenario, effectively capturing both singular and multi-agent positional vectors. This mechanism emphasizes the dynamic nuances of position data, accommodating historical agent states, denoted as Stk i , as well as the intricate spatial interplay symbolized by P tk i,j . Mathematically, these relationships are represented as Stk i = {ptk i -ptk-1 i , vtk i -vtk-1 i , atk i -atk-1 i } and P tk i,j = {ptk i -ptk j , vtk i -vtk j , atk i -atk j }, where tk ∈ [t-th, t]. Within this module, the encoder, which amalgamates both LSTM and multi-head attention mechanisms, meticulously processes the dynamic positional vectors. This processing involves transmuting discrete position vectors into a more continuous spatio-temporal domain, thereby enhancing the representation of temporal and spatial dynamics. At each discrete temporal instance t, the encoder assimilates recent historical position vectors via an LSTM network:
Subsequently, the LSTM's output is channeled through a multi-head attention mechanism, culminating in the synthesis of refined priority features:
4.3 Interaction-Aware Module
To better understand the synergistic influence of surrounding vehicles' risk levels, positions, and one's own behavior on the target vehicle's future trajectory, we introduce the Leanformer in this module, which is a lightweight version of the Transformer, allowing for a favorable trade-off between accuracy and efficiency. Mathematically,
This equation captures the integrated effect of safety perception and behavioral tendencies on the target agent's trajectory.
4.4 Multimodal Decoder
The decoder, rooted in a Gaussian Mixture Model (GMM) with multimodality, employs a dedicated LSTM and a fully connected layer. It processes the composite interactive vectors ¯O to forecast the target vehicle's trajectory. The predicted trajectory, Y t:t+tf 0 , is determined by:
where Fθ(·) = ϕReLU (ϕMLP [ϕGN (ϕLSTM(·))]) Moreover, ϕReLU is the ReLU activation, and ϕGN is Group Normalization, used for improved training stability. The decoder's output comprises multiple future trajectories for target vehicle.
5 Experiments
5.1 Experimental Setup
We carried out experiments using three prominent datasets: NGSIM [Deo and Trivedi, 2018], HighD [Krajewski et al., 2018], and MoCAD [Liao et al., 2024b], adhering to a common dataset division framework. Trajectories were split into 8s segments, where the initial 3s served as historical data, and the succeeding 5s were used for assessment, forming the complete test set. The Root Mean Square Error (RMSE) was employed as the evaluation metric. Recognizing a gap in research concerning data omissions in trajectory prediction, we established the missing test set, which was further categorized into three subsets based on the duration of data omissions: drop 3-frames, drop 5-frames, and drop 8-frames. Omissions were purposefully made around the midpoint of the historical trajectory. For instance, in the drop 5-frames subset, data ranging from the (t-8)th to the (t-12)th frame was excluded. To manage these omissions, we employed simple linear interpolation. Furthermore, we train our model on only 25% of the dataset and evaluate it on complete test sets to evaluate its ability to handle unfamiliar data and manage data omissions. Additionally, our model is trained on four A40 48G GPUs. We employ the Adam optimizer and utilize CosineAnnealingWarmRestarts for the scheduler.
| Prediction Horizon (s) | |||||
|---|---|---|---|---|---|
| Model | 1 | 2 | 3 | 4 | 5 |
| S-GAN [Gupta et al., 2018] | 0.57 | 1.32 | 2.22 | 3.26 | 4.40 |
| CS-LSTM [Deo and Trivedi, 2018] | 0.61 | 1.27 | 2.09 | 3.10 | 4.37 |
| MATF-GAN [Zhao et al., 2019] | 0.66 | 1.34 | 2.08 | 2.97 | 4.13 |
| DRBP[Gao et al., 2023] | 1.18 | 2.83 | 4.22 | 5.82 | - |
| MFP [Tang and Salakhutdinov, 2019] | 0.54 | 1.16 | 1.89 | 2.75 | 3.78 |
| NLS-LSTM [Messaoud et al., 2019] | 0.56 | 1.22 | 2.02 | 3.03 | 4.30 |
| MHA-LSTM [Messaoud et al., 2021] | 0.41 | 1.01 | 1.74 | 2.67 | 3.83 |
| WSiP [Wang et al., 2023] | 0.56 | 1.23 | 2.05 | 3.08 | 4.34 |
| CF-LSTM [Xie et al., 2021] | 0.55 | 1.10 | 1.78 | 2.73 | 3.82 |
| STDAN [Chen et al., 2022b] | 0.42 | 1.01 | 1.69 | 2.56 | 3.67 |
| iNATran [Chen et al., 2022a] | 0.39 | 0.96 | 1.61 | 2.42 | 3.43 |
| BAT (25%) [Liao et al., 2024b] | 0.31 | 0.85 | 1.65 | 2.69 | 3.87 |
| BAT [Liao et al., 2024b] | 0.23 | 0.81 | 1.54 | 2.52 | 3.62 |
| FHIF [Zuo et al., 2023] | 0.40 | 0.98 | 1.66 | 2.52 | 3.63 |
| DACR-AMTP [Cong et al., 2023] | 0.57 | 1.07 | 1.68 | 2.53 | 3.40 |
| Our Model | 0.31 | 0.81 | 1.44 | 2.08 | 2.85 |
| Our Model (25%) | 0.43 | 0.94 | 1.57 | 2.55 | 3.32 |
| Our Model (drop 3-frames) | 0.40 | 0.88 | 1.53 | 2.34 | 2.99 |
| Our Model (drop 5-frames) | 0.44 | 0.92 | 1.57 | 2.42 | 3.34 |
| Our Model (drop 8-frames) | 0.48 | 0.98 | 1.68 | 2.47 | 3.52 |
| Prediction Horizon (s) | |||||
|---|---|---|---|---|---|
| Model | 1 | 2 | 3 | 4 | 5 |
| S-GAN [Gupta et al., 2018] | 0.30 | 0.78 | 1.46 | 2.34 | 3.41 |
| WSiP [Wang et al., 2023] | 0.20 | 0.60 | 1.21 | 2.07 | 3.14 |
| CS-LSTM [Deo and Trivedi, 2018] | 0.22 | 0.61 | 1.24 | 2.10 | 3.27 |
| MHA-LSTM [Messaoud et al., 2021] | 0.19 | 0.55 | 1.10 | 1.84 | 2.78 |
| NLS-LSTM [Messaoud et al., 2019] | 0.20 | 0.57 | 1.14 | 1.90 | 2.91 |
| DRBP[Gao et al., 2023] | 0.41 | 0.79 | 1.11 | 1.40 | - |
| EA-Net [Cai et al., 2021] | 0.15 | 0.26 | 0.43 | 0.78 | 1.32 |
| CF-LSTM [Xie et al., 2021] | 0.18 | 0.42 | 1.07 | 1.72 | 2.44 |
| STDAN [Chen et al., 2022b] | 0.19 | 0.27 | 0.48 | 0.91 | 1.66 |
| iNATran [Chen et al., 2022a] | 0.04 | 0.05 | 0.21 | 0.54 | 1.10 |
| DACR-AMTP [Cong et al., 2023] | 0.10 | 0.17 | 0.31 | 0.54 | 1.01 |
| BAT (25%) [Liao et al., 2024b] | 0.14 | 0.34 | 0.65 | 0.89 | 1.27 |
| BAT [Liao et al., 2024b] | 0.08 | 0.14 | 0.20 | 0.44 | 0.62 |
| GaVa [Liao et al., 2024c] | 0.17 | 0.24 | 0.42 | 0.86 | 1.31 |
| Our Model | 0.04 | 0.09 | 0.19 | 0.31 | 0.45 |
| Our Model (25%) | 0.09 | 0.22 | 0.41 | 0.64 | 0.95 |
| Our Model (drop 3-frames) | 0.05 | 0.12 | 0.21 | 0.33 | 0.49 |
| Our Model (drop 5-frames) | 0.17 | 0.31 | 0.44 | 0.65 | 0.98 |
| Our Model (drop 8-frames) | 0.18 | 0.47 | 0.84 | 1.27 | 1.74 |
5.2 Experimental Results
Performance Comparison on Complete Test Set. As illustrated in Table 1, our model surpasses the best of SOTA baselines with noteworthy gains of 10.6% and 16.2% for shortterm (1s-3s) and long-term predictions (4s-5s) respectively on the NGSIM dataset. Moreover, Table 2 highlights fewer prediction inaccuracies on the HighD dataset than NGSIM, due to HighD's superior trajectory precision and larger sample size. Notably, our model's long-term forecasting outperforms SOTA baselines, showing RMSE improvements of 27.4% for a 5s prediction horizon. Additionally, as shown in Table 3, our model notably excels on busy urban roads, surpassing SOTA baselines by at least 12.2% for short-term predictions and reducing long-term prediction errors by at least 0.57 meters on MoCAD, potentially decreasing traffic accident risks. Performance Comparison on Missing Test Set. Tables 1, 2, and 3 spotlight our model's robustness, even in the face of incomplete datasets. Consistently, across the drop 3-frames and drop 5-frames datasets, it outperforms all baselines. Notably, within the drop 3-frames context, our model even eclipses several leading SOTA benchmarks that were evaluated using complete test sets. However, no model is without its exceptions. In the drop 5-frames dataset, while our model largely dominates, it trails behind DACR-AMTP on NGSIM and the short-term forecasts of iNATran on HighD. Still, these are isolated instances, and the overarching trend confirms the model's robustness and versatility. A deeper dive reveals a predictable trend: the model's performance is inversely proportional to the omission of input data. Yet, even under a stringent scenario like the drop 8-frames-where half the data is missing-our model stands its ground, frequently matching or surpassing most SOTA benchmarks.
Performance on a Limited 25% Training Set. To challenge our model's adaptability, we trained it using a quarter of the available training set from the NGSIM, HighD, and MoCAD, yet evaluated its performance on the complete test set. Impressively, as shown in Tables 1, 2, and 3, even with this limited training data, our model delivered RMSE values that were notably lower than most baseline models. Such results underscore our model's efficiency and robustness in trajectory prediction. This performance indicates a promising potential: our model might substantially cut down on the data demands typically associated with training autonomous vehicles, particularly in scenarios that are data-scarce or unconventional.
| Prediction Horizon (s) | |||||
|---|---|---|---|---|---|
| Model | 1 | 2 | 3 | 4 | 5 |
| S-GAN [Gupta et al., 2018] | 1.69 | 2.25 | 3.30 | 3.89 | 4.69 |
| CS-LSTM [Deo and Trivedi, 2018] | 1.45 | 1.98 | 2.94 | 3.56 | 4.49 |
| MHA-LSTM [Messaoud et al., 2021] | 1.25 | 1.48 | 2.57 | 3.22 | 4.20 |
| NLS-LSTM [Messaoud et al., 2019] | 0.96 | 1.27 | 2.08 | 2.86 | 3.93 |
| WSiP [Wang et al., 2023] | 0.70 | 0.87 | 1.70 | 2.56 | 3.47 |
| CF-LSTM [Xie et al., 2021] | 0.72 | 0.91 | 1.73 | 2.59 | 3.44 |
| STDAN [Chen et al., 2022b] | 0.62 | 0.85 | 1.62 | 2.51 | 3.32 |
| BAT (25%) [Liao et al., 2024b] | 0.65 | 0.99 | 1.89 | 2.81 | 3.58 |
| BAT [Liao et al., 2024b] | 0.35 | 0.74 | 1.39 | 2.19 | 2.88 |
| HLTP [Liao et al., 2024a] | 0.55 | 0.76 | 1.44 | 2.39 | 3.21 |
| Our Model | 0.30 | 0.65 | 1.07 | 1.66 | 2.31 |
| Our Model (25%) | 0.53 | 0.94 | 1.38 | 2.27 | 3.14 |
| Our Model (drop 3-frames) | 0.35 | 0.78 | 1.23 | 1.77 | 2.42 |
| Our Model (drop 5-frames) | 0.46 | 0.92 | 1.29 | 1.86 | 2.74 |
| Our Model (drop 8-frames) | 0.68 | 1.04 | 1.73 | 2.17 | 3.02 |
| Model | |||||||
|---|---|---|---|---|---|---|---|
| Dataset | Time (s) | A | B | C | D | E | F |
| NGSIM | 1 | 0.47 | 0.45 | 0.41 | 0.43 | 0.39 | 0.31 |
| 2 | 1.01 | 0.97 | 0.89 | 0.93 | 0.88 | 0.81 | |
| 3 | 1.50 | 1.69 | 1.77 | 1.54 | 1.59 | 1.44 | |
| 4 | 2.58 | 2.70 | 2.39 | 2.47 | 2.27 | 2.08 | |
| 5 | 3.32 | 3.41 | 3.10 | 3.26 | 2.98 | 2.85 | |
| HighD | 1 | 0.06 | 0.0 | 0.04 | 0.05 | 0.05 | 0.04 |
| 2 | 0.13 | 0.14 | 0.10 | 0.12 | 0.11 | 0.09 | |
| 3 | 0.25 | 0.25 | 0.21 | 0.24 | 0.22 | 0.19 | |
| 4 | 0.40 | 0.42 | 0.36 | 0.38 | 0.36 | 0.31 | |
| 5 | 0.58 | 0.67 | 0.51 | 0.55 | 0.49 | 0.45 | |
5.3 Qualitative Results
It is an intrinsic understanding that vehicles in closer proximity often pose greater risks. However, an aspect frequently neglected by many models is that even distant vehicles, based on their driving behavior, can significantly influence the ego vehicle's trajectory. In our observations, driving behavior substantially impacts risk evaluations. Specifically, drivers with a more aggressive demeanor tend to escalate the risk levels. Drawing a direct comparison, our model's predictions stand out in their precision and alignment with reality, especially when juxtaposed against its counterparts like Stdan and WSiP. Taking the right merge scenario as a case in point: where Stdan and WSiP show discrepancies, it forecasts with minimal deviation, resonating closely with the ground truth. This differential is not just a testament to our model's accuracy but also its adeptness at capturing the nuanced effects of driving behaviors, a facet that seems muted in other models.
5.4 Ablation Studies
We conduct a comprehensive ablation study to assess each component's contribution to our model, with results summarized in Table 4. Model F, which includes all components, consistently outperforms other variations across all metrics, demonstrating their collective value in achieving optimal performance. Model A, excluding the DBP within the Perceived Safety-Aware module, shows significant performance degradation, particularly in short-term predictions, with drops of at least 13.9% and 24.0% on the NGSIM and HighD, respectively. This underscores the critical role of DBP in enhancing trajectory prediction accuracy. Model B, a reduced version of Model F without the Perceived Safety-Aware module, shows a significant reduction in RMSE, particularly for long-term predictions, with improvements of at least 19.6% and 26.2% on NGSIM and HighD datasets, respectively. This emphasizes the importance of perceived safety factors in trajectory prediction, especially for long-term predictions. Model C, which uses absolute coordinates instead of relative positions, demonstrates notable reductions in prediction metrics, underscoring the importance of spatial relationships for accuracy. Model D, lacking the Interaction-Aware module, shows performance drops of at least 6.5% and 20.0% on the NGSIM and HighD datasets for short-term predictions, and at least 12.6% and 18.2% for long-term predictions, respectively. Finally, Model E, with reduced multimodal prediction in the decoder, experiences at least 4.4% and 8.2% performance degradation on the NGSIM and HighD datasets, respectively.

6 Conclusion
This work presents a novel approach rooted in cognitive insights, emphasizing the crucial role of perceived safety in driving behaviors. Our Perceived Safety-Aware Module harmoniously merges Quantitative Safety Assessment and Driver Behavior Profiling, offering a detailed perspective on safety perceptions in driving. Rigorous evaluations on NGSIM, HighD, and MoCAD highlight our model's robustness and adaptability, even under data constraints and data missing. In conclusion, our findings suggest a promising trajectory for future research, bridging computational strength with human cognition to drive safety and efficiency in AVs.
Acknowledgements
This research is supported by the Science and Technology Development Fund of Macau SAR (File no. 0021/2022/ITP, 0081/2022/A2, 001/2024/SKL), ShenzhenHong Kong-Macau Science and Technology Program Category C (SGDX20230821095159012), and University of Macau (SRG2023-00037-IOTSC). Haicheng Liao and Zhenning Li contributed equally to this work. Please ask Dr. Zhenning Li (zhenningli@um.edu.mo) for correspondence.
@inproceedings{ijcai2024p656,
title = {A Cognitive-Driven Trajectory Prediction Model for Autonomous Driving in Mixed Autonomy Environments},
author = {Liao, Haicheng and Li, Zhenning and Wang, Chengyue and Wang, Bonan and Kong, Hanlin and Guan, Yanchen and Li, Guofa and Cui, Zhiyong},
booktitle = {Proceedings of the Thirty-Third International Joint Conference on
Artificial Intelligence, {IJCAI-24}},
publisher = {International Joint Conferences on Artificial Intelligence Organization},
editor = {Kate Larson},
pages = {5936--5944},
year = {2024},
month = {8},
note = {Main Track},
doi = {10.24963/ijcai.2024/656},
url = {https://doi.org/10.24963/ijcai.2024/656},
}
TY - CPAPER TI - A Cognitive-Driven Trajectory Prediction Model for Autonomous Driving in Mixed Autonomy Environments AU - Liao, Haicheng AU - Li, Zhenning AU - Wang, Chengyue AU - Wang, Bonan AU - Kong, Hanlin AU - Guan, Yanchen AU - Li, Guofa AU - Cui, Zhiyong T2 - Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence, IJCAI-24 PB - International Joint Conferences on Artificial Intelligence Organization PY - 2024 SP - 5936 EP - 5944 DO - 10.24963/ijcai.2024/656 UR - https://doi.org/10.24963/ijcai.2024/656 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: