{"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/predicting-pedestrian-crossing-intention-with","title":"Predicting Pedestrian Crossing Intention with Feature Fusion and Spatio-Temporal Attention","arxiv_id":"2104.05485","date":"2021-04-12","proceeding":null,"authors":["Dongfang Yang","Haolin Zhang","Ekim Yurtsever","Keith Redmill","Ümit Özgüner"],"abstract":"Predicting vulnerable road user behavior is an essential prerequisite for deploying Automated Driving Systems (ADS) in the real-world. Pedestrian crossing intention should be recognized in real-time, especially for urban driving. Recent works have shown the potential of using vision-based deep neural network models for this task. However, these models are not robust and certain issues still need to be resolved. First, the global spatio-temproal context that accounts for the interaction between the target pedestrian and the scene has not been properly utilized. Second, the optimum strategy for fusing different sensor data has not been thoroughly investigated. This work addresses the above limitations by introducing a novel neural network architecture to fuse inherently different spatio-temporal features for pedestrian crossing intention prediction. We fuse different phenomena such as sequences of RGB imagery, semantic segmentation masks, and ego-vehicle speed in an optimum way using attention mechanisms and a stack of recurrent neural networks. The optimum architecture was obtained through exhaustive ablation and comparison studies. Extensive comparative experiments on the JAAD pedestrian action prediction benchmark demonstrate the effectiveness of the proposed method, where state-of-the-art performance was achieved. Our code is open-source and publicly available.","url_abs":"https://arxiv.org/abs/2104.05485v2","url_pdf":"https://arxiv.org/pdf/2104.05485v2.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":"abstracts"},"code_links":[{"paper_slug":"predicting-pedestrian-crossing-intention-with","repo_url":"https://github.com/OSU-Haolin/Pedestrian_Crossing_Intention_Prediction","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"predicting-pedestrian-crossing-intention-with","repo_url":"https://github.com/OSU-Haolin/MASK-PCPA_Pedestrian_Crossing_Intention_Prediction","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"predicting-pedestrian-crossing-intention-with","repo_url":"https://github.com/ZeWang95/PedesPred","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":null}],"tasks":[{"task_slug":"semantic-segmentation","task_name":"Semantic Segmentation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2104.05485","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2104.05485"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+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/ZeWang95/PedesPred","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/OSU-Haolin/Pedestrian_Crossing_Intention_Prediction","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/OSU-Haolin/MASK-PCPA_Pedestrian_Crossing_Intention_Prediction","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_honours":1,"unverified":8},"by_repo_kind":{"official":{"samples":8,"ran":0,"repositories":1},"listed":{"samples":1,"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":"6f9338c9156e1013","entry":"label_to_color_image","repo":"ZeWang95/PedesPred","repo_kind":"listed","path":"action_predict.py","file_url":"https://github.com/ZeWang95/PedesPred/blob/HEAD/action_predict.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6f9338c9156e1013"}},{"code_sha256_prefix":"bfd1c2e7a1031af7","entry":"AlexNet","repo":"OSU-Haolin/Pedestrian_Crossing_Intention_Prediction","repo_kind":"official","path":"base_models.py","file_url":"https://github.com/OSU-Haolin/Pedestrian_Crossing_Intention_Prediction/blob/HEAD/base_models.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":"bfd1c2e7a1031af7"}},{"code_sha256_prefix":"70b7c46fc986de07","entry":"C3DNet","repo":"OSU-Haolin/Pedestrian_Crossing_Intention_Prediction","repo_kind":"official","path":"base_models.py","file_url":"https://github.com/OSU-Haolin/Pedestrian_Crossing_Intention_Prediction/blob/HEAD/base_models.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":"70b7c46fc986de07"}},{"code_sha256_prefix":"2e4849ab47d215d1","entry":"attention_3d_block","repo":"OSU-Haolin/Pedestrian_Crossing_Intention_Prediction","repo_kind":"official","path":"action_predict.py","file_url":"https://github.com/OSU-Haolin/Pedestrian_Crossing_Intention_Prediction/blob/HEAD/action_predict.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":"2e4849ab47d215d1"}},{"code_sha256_prefix":"2076c411533f24d8","entry":"convert_to_fcn","repo":"OSU-Haolin/Pedestrian_Crossing_Intention_Prediction","repo_kind":"official","path":"base_models.py","file_url":"https://github.com/OSU-Haolin/Pedestrian_Crossing_Intention_Prediction/blob/HEAD/base_models.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":"2076c411533f24d8"}},{"code_sha256_prefix":"12c03517dc631fb8","entry":"flip_pose","repo":"OSU-Haolin/Pedestrian_Crossing_Intention_Prediction","repo_kind":"official","path":"utils.py","file_url":"https://github.com/OSU-Haolin/Pedestrian_Crossing_Intention_Prediction/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":"12c03517dc631fb8"}},{"code_sha256_prefix":"3e3e8c2626b91285","entry":"get_pose","repo":"OSU-Haolin/Pedestrian_Crossing_Intention_Prediction","repo_kind":"official","path":"utils.py","file_url":"https://github.com/OSU-Haolin/Pedestrian_Crossing_Intention_Prediction/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":"3e3e8c2626b91285"}},{"code_sha256_prefix":"7b821accd61062be","entry":"init_canvas","repo":"OSU-Haolin/Pedestrian_Crossing_Intention_Prediction","repo_kind":"official","path":"action_predict.py","file_url":"https://github.com/OSU-Haolin/Pedestrian_Crossing_Intention_Prediction/blob/HEAD/action_predict.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":"7b821accd61062be"}},{"code_sha256_prefix":"abd490a9489f6a76","entry":"jitter_bbox","repo":"OSU-Haolin/Pedestrian_Crossing_Intention_Prediction","repo_kind":"official","path":"utils.py","file_url":"https://github.com/OSU-Haolin/Pedestrian_Crossing_Intention_Prediction/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":"abd490a9489f6a76"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}