{"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/lapred-lane-aware-prediction-of-multi-modal","title":"LaPred: Lane-Aware Prediction of Multi-Modal Future Trajectories of Dynamic Agents","arxiv_id":"2104.00249","date":"2021-04-01","proceeding":"CVPR 2021 1","authors":["ByeoungDo Kim","Seong Hyeon Park","Seokhwan Lee","Elbek Khoshimjonov","Dongsuk Kum","Junsoo Kim","Jeong Soo Kim","Jun Won Choi"],"abstract":"In this paper, we address the problem of predicting the future motion of a dynamic agent (called a target agent) given its current and past states as well as the information on its environment. It is paramount to develop a prediction model that can exploit the contextual information in both static and dynamic environments surrounding the target agent and generate diverse trajectory samples that are meaningful in a traffic context. We propose a novel prediction model, referred to as the lane-aware prediction (LaPred) network, which uses the instance-level lane entities extracted from a semantic map to predict the multi-modal future trajectories. For each lane candidate found in the neighborhood of the target agent, LaPred extracts the joint features relating the lane and the trajectories of the neighboring agents. Then, the features for all lane candidates are fused with the attention weights learned through a self-supervised learning task that identifies the lane candidate likely to be followed by the target agent. Using the instance-level lane information, LaPred can produce the trajectories compliant with the surroundings better than 2D raster image-based methods and generate the diverse future trajectories given multiple lane candidates. The experiments conducted on the public nuScenes dataset and Argoverse dataset demonstrate that the proposed LaPred method significantly outperforms the existing prediction models, achieving state-of-the-art performance in the benchmarks.","url_abs":"https://arxiv.org/abs/2104.00249v1","url_pdf":"https://arxiv.org/pdf/2104.00249v1.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":"lapred-lane-aware-prediction-of-multi-modal","repo_url":"https://github.com/bdokim/LaPred","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"prediction","task_name":"Prediction"},{"task_slug":"self-supervised-learning","task_name":"Self-Supervised Learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2104.00249","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2104.00249"}},"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/bdokim/LaPred","reach":null}],"summary":{"ran":8,"ran_draft_wrong":2,"ran_fixture":2,"unverified":2},"by_repo_kind":{"official":{"samples":14,"ran":12,"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":14,"samples":[{"code_sha256_prefix":"f87d8ea54e511626","entry":"Agent_Process","repo":"bdokim/LaPred","repo_kind":"official","path":"Lapred_original.py","file_url":"https://github.com/bdokim/LaPred/blob/HEAD/Lapred_original.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f87d8ea54e511626"}},{"code_sha256_prefix":"d18f71129c8982dc","entry":"AttDest","repo":"bdokim/LaPred","repo_kind":"official","path":"Lapred_original.py","file_url":"https://github.com/bdokim/LaPred/blob/HEAD/Lapred_original.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d18f71129c8982dc"}},{"code_sha256_prefix":"bf0f8834c31b7e61","entry":"Conv1d","repo":"bdokim/LaPred","repo_kind":"official","path":"Lapred_original.py","file_url":"https://github.com/bdokim/LaPred/blob/HEAD/Lapred_original.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"bf0f8834c31b7e61"}},{"code_sha256_prefix":"4686409ed1128c8c","entry":"LAblock","repo":"bdokim/LaPred","repo_kind":"official","path":"Lapred_original.py","file_url":"https://github.com/bdokim/LaPred/blob/HEAD/Lapred_original.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"4686409ed1128c8c"}},{"code_sha256_prefix":"0ede615b9c4ed102","entry":"Lane_Process","repo":"bdokim/LaPred","repo_kind":"official","path":"Lapred_original.py","file_url":"https://github.com/bdokim/LaPred/blob/HEAD/Lapred_original.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0ede615b9c4ed102"}},{"code_sha256_prefix":"354b4aa7071ef7d6","entry":"Linear","repo":"bdokim/LaPred","repo_kind":"official","path":"Lapred_original.py","file_url":"https://github.com/bdokim/LaPred/blob/HEAD/Lapred_original.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"354b4aa7071ef7d6"}},{"code_sha256_prefix":"a26b7c5c015e628f","entry":"LinearRes","repo":"bdokim/LaPred","repo_kind":"official","path":"Lapred_original.py","file_url":"https://github.com/bdokim/LaPred/blob/HEAD/Lapred_original.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a26b7c5c015e628f"}},{"code_sha256_prefix":"3a2dfb7d8f5545a4","entry":"TFEblock","repo":"bdokim/LaPred","repo_kind":"official","path":"Lapred_original.py","file_url":"https://github.com/bdokim/LaPred/blob/HEAD/Lapred_original.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"3a2dfb7d8f5545a4"}},{"code_sha256_prefix":"a3321b6fea8bfa32","entry":"get_agents","repo":"bdokim/LaPred","repo_kind":"official","path":"Lapred_original.py","file_url":"https://github.com/bdokim/LaPred/blob/HEAD/Lapred_original.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a3321b6fea8bfa32"}},{"code_sha256_prefix":"cc10ea75f59f1a70","entry":"get_lanes","repo":"bdokim/LaPred","repo_kind":"official","path":"Lapred_original.py","file_url":"https://github.com/bdokim/LaPred/blob/HEAD/Lapred_original.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"cc10ea75f59f1a70"}},{"code_sha256_prefix":"a0cfb19a30db4b44","entry":"gpu","repo":"bdokim/LaPred","repo_kind":"official","path":"Lapred_original.py","file_url":"https://github.com/bdokim/LaPred/blob/HEAD/Lapred_original.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a0cfb19a30db4b44"}},{"code_sha256_prefix":"a7ad44cc9f3743cb","entry":"to_long","repo":"bdokim/LaPred","repo_kind":"official","path":"Lapred_original.py","file_url":"https://github.com/bdokim/LaPred/blob/HEAD/Lapred_original.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a7ad44cc9f3743cb"}},{"code_sha256_prefix":"009fe69259ec78ab","entry":"MTPblock","repo":"bdokim/LaPred","repo_kind":"official","path":"Lapred_original.py","file_url":"https://github.com/bdokim/LaPred/blob/HEAD/Lapred_original.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"009fe69259ec78ab"}},{"code_sha256_prefix":"e37a57d7c7dc18b4","entry":"Net","repo":"bdokim/LaPred","repo_kind":"official","path":"Lapred_original.py","file_url":"https://github.com/bdokim/LaPred/blob/HEAD/Lapred_original.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e37a57d7c7dc18b4"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}