{"id":1663,"date":"2025-01-27T16:15:55","date_gmt":"2025-01-27T15:15:55","guid":{"rendered":"https:\/\/open-traffic.epfl.ch\/?p=1663"},"modified":"2025-01-27T16:15:56","modified_gmt":"2025-01-27T15:15:56","slug":"trajpt-a-trajectory-data-based-pre-trained-transformer-model-for-learning-multi-vehicle-interactions","status":"publish","type":"post","link":"https:\/\/open-traffic.epfl.ch\/index.php\/2025\/01\/27\/trajpt-a-trajectory-data-based-pre-trained-transformer-model-for-learning-multi-vehicle-interactions\/","title":{"rendered":"TrajPT: A trajectory data-based pre-trained transformer model for learning multi-vehicle interactions"},"content":{"rendered":"\n<p>A paper by Yongwei Li, Yongzhi Jiang and Xinkai Wu was published inTransportation Research Part C: Emerging Technologies entitled &#8220;TrajPT: A trajectory data-based pre-trained transformer model for learning multi-vehicle interactions&#8221;. The authors propose a model designed to learn spatial\u2013temporal interactions among vehicles, trained using the pNEUMA dataset.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Highlights<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Propose TrajPT, a trajectory data-based pre-trained transformer model leveraging LLMs paradigm.<\/li>\n\n\n\n<li>Design a joint spatial-temporal attention module to extract spatial and temporal interaction features.<\/li>\n\n\n\n<li>Present a graph-based interaction construction method to process unannotated trajectory data.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Abstract<\/h4>\n\n\n\n<p id=\"sp0010\"><em>Modeling and learning interactions with surrounding vehicles are critical for the safety and efficiency of autonomous vehicles. In this paper, we propose TrajPT, a Trajectory data-based Pre-trained Transformer model designed to learn spatial\u2013temporal interactions among vehicles from large-scale real-world trajectory data. Inspired by pre-trained large language models, TrajPT adopts an autoregressive learning framework and a pre-training paradigm, and can be fine-tuned for different autonomous driving downstream tasks. To capture complex spatial\u2013temporal interactions among vehicles, we utilize a spatial\u2013temporal scene graph to encode observed vehicle trajectories and introduce a novel graph-based joint spatial\u2013temporal attention module, which extracts spatial interactions within single frames and temporal dependencies across frames. TrajPT is pre-trained on pNEUMA, the largest publicly available vehicle trajectory dataset. We validate the performance of TrajPT by fine-tuning it on two downstream tasks: lane-changing prediction and trajectory prediction. Extensive experimental results demonstrate that the proposed TrajPT outperforms the baseline model and exhibits significant generalization performance across multiple datasets.<\/em><\/p>\n\n\n\n<p>You can read the paper <a href=\"https:\/\/www.sciencedirect.com\/science\/article\/abs\/pii\/S0968090X25000178?casa_token=V34JhVmDkc4AAAAA:bb7e2G9gi7_MsmLokmrkMXnywsfQJ0PwaO3WGzNXloh49ZcIdRpLdAjSKKmHJ6HH10qrjj7yBZU\">here<\/a>.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A paper by Yongwei Li, Yongzhi Jiang and Xinkai Wu was published inTransportation Research Part C: Emerging Technologies entitled &#8220;TrajPT: A trajectory data-based pre-trained transformer model for learning multi-vehicle interactions&#8221;.&hellip;<\/p>\n","protected":false},"author":1,"featured_media":1664,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[72],"tags":[74,73],"class_list":["post-1663","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-publications","tag-journal","tag-publication"],"_links":{"self":[{"href":"https:\/\/open-traffic.epfl.ch\/index.php\/wp-json\/wp\/v2\/posts\/1663","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/open-traffic.epfl.ch\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/open-traffic.epfl.ch\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/open-traffic.epfl.ch\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/open-traffic.epfl.ch\/index.php\/wp-json\/wp\/v2\/comments?post=1663"}],"version-history":[{"count":1,"href":"https:\/\/open-traffic.epfl.ch\/index.php\/wp-json\/wp\/v2\/posts\/1663\/revisions"}],"predecessor-version":[{"id":1665,"href":"https:\/\/open-traffic.epfl.ch\/index.php\/wp-json\/wp\/v2\/posts\/1663\/revisions\/1665"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/open-traffic.epfl.ch\/index.php\/wp-json\/wp\/v2\/media\/1664"}],"wp:attachment":[{"href":"https:\/\/open-traffic.epfl.ch\/index.php\/wp-json\/wp\/v2\/media?parent=1663"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/open-traffic.epfl.ch\/index.php\/wp-json\/wp\/v2\/categories?post=1663"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/open-traffic.epfl.ch\/index.php\/wp-json\/wp\/v2\/tags?post=1663"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}