{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/graph-and-recurrent-neural-network-based","title":"Graph and Recurrent Neural Network-based Vehicle Trajectory Prediction For Highway Driving","arxiv_id":"2107.03663","date":"2021-07-08","proceeding":null,"authors":["Xiaoyu Mo","Yang Xing","Chen Lv"],"abstract":"Integrating trajectory prediction to the decision-making and planning modules of modular autonomous driving systems is expected to improve the safety and efficiency of self-driving vehicles. However, a vehicle's future trajectory prediction is a challenging task since it is affected by the social interactive behaviors of neighboring vehicles, and the number of neighboring vehicles can vary in different situations. This work proposes a GNN-RNN based Encoder-Decoder network for interaction-aware trajectory prediction, where vehicles' dynamics features are extracted from their historical tracks using RNN, and the inter-vehicular interaction is represented by a directed graph and encoded using a GNN. The parallelism of GNN implies the proposed method's potential to predict multi-vehicular trajectories simultaneously. Evaluation on the dataset extracted from the NGSIM US-101 dataset shows that the proposed model is able to predict a target vehicle's trajectory in situations with a variable number of surrounding vehicles.","url_abs":"https://arxiv.org/abs/2107.03663v1","url_pdf":"https://arxiv.org/pdf/2107.03663v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"links_only","authors_date_abstract":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license), from the Kaggle arXiv metadata snapshot of 2026-09-12"},"code_links":[{"paper_slug":"graph-and-recurrent-neural-network-based","repo_url":"https://github.com/Xiaoyu006/GNN-RNN-Based-Trajectory-Prediction-ITSC2021","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2107.03663","atlas_url":"https://app.syntology.ai/?focus=2107.03663","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2107.03663"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Xiaoyu006/GNN-RNN-Based-Trajectory-Prediction-ITSC2021","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_fixture":1,"unverified":3},"by_repo_kind":{"official":{"samples":4,"ran":1,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"ec790045da84df86","entry":"outputActivation","repo":"Xiaoyu006/GNN-RNN-Based-Trajectory-Prediction-ITSC2021","repo_kind":"official","path":"utils.py","file_url":"https://github.com/Xiaoyu006/GNN-RNN-Based-Trajectory-Prediction-ITSC2021/blob/HEAD/utils.py","link_basis":"plan_row","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ec790045da84df86"}},{"code_sha256_prefix":"65f9aa843a9ae237","entry":"load_obj","repo":"Xiaoyu006/GNN-RNN-Based-Trajectory-Prediction-ITSC2021","repo_kind":"official","path":"once_lc_veh_selector.py","file_url":"https://github.com/Xiaoyu006/GNN-RNN-Based-Trajectory-Prediction-ITSC2021/blob/HEAD/once_lc_veh_selector.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"65f9aa843a9ae237"}},{"code_sha256_prefix":"c411178a472256c2","entry":"maskedNLL","repo":"Xiaoyu006/GNN-RNN-Based-Trajectory-Prediction-ITSC2021","repo_kind":"official","path":"utils.py","file_url":"https://github.com/Xiaoyu006/GNN-RNN-Based-Trajectory-Prediction-ITSC2021/blob/HEAD/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c411178a472256c2"}},{"code_sha256_prefix":"e928feb47e359b29","entry":"maskedNLLTest","repo":"Xiaoyu006/GNN-RNN-Based-Trajectory-Prediction-ITSC2021","repo_kind":"official","path":"utils.py","file_url":"https://github.com/Xiaoyu006/GNN-RNN-Based-Trajectory-Prediction-ITSC2021/blob/HEAD/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e928feb47e359b29"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}