{"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/unitraj-a-unified-framework-for-scalable","title":"UniTraj: A Unified Framework for Scalable Vehicle Trajectory Prediction","arxiv_id":"2403.15098","date":"2024-03-22","proceeding":null,"authors":["Lan Feng","Mohammadhossein Bahari","Kaouther Messaoud Ben Amor","Éloi Zablocki","Matthieu Cord","Alexandre Alahi"],"abstract":"Vehicle trajectory prediction has increasingly relied on data-driven solutions, but their ability to scale to different data domains and the impact of larger dataset sizes on their generalization remain under-explored. While these questions can be studied by employing multiple datasets, it is challenging due to several discrepancies, e.g., in data formats, map resolution, and semantic annotation types. To address these challenges, we introduce UniTraj, a comprehensive framework that unifies various datasets, models, and evaluation criteria, presenting new opportunities for the vehicle trajectory prediction field. In particular, using UniTraj, we conduct extensive experiments and find that model performance significantly drops when transferred to other datasets. However, enlarging data size and diversity can substantially improve performance, leading to a new state-of-the-art result for the nuScenes dataset. We provide insights into dataset characteristics to explain these findings. The code can be found here: https://github.com/vita-epfl/UniTraj","url_abs":"https://arxiv.org/abs/2403.15098v3","url_pdf":"https://arxiv.org/pdf/2403.15098v3.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":"unitraj-a-unified-framework-for-scalable","repo_url":"https://github.com/vita-epfl/unitraj","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"NOASSERTION"}}],"tasks":[{"task_slug":"diversity","task_name":"Diversity"},{"task_slug":"prediction","task_name":"Prediction"},{"task_slug":"trajectory-prediction","task_name":"Trajectory Prediction"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/trajectory-prediction-on-nuscenes","task":"Trajectory Prediction","dataset":"nuScenes","model":"UniTraj (MTR)","rank_in_archive_order":1,"of":34,"metrics":{"MinADE_10":"0.84","MinADE_5":"0.96","MinFDE_1":"5.40","MissRateTopK_2_10":"0.41","MissRateTopK_2_5":"0.43","OffRoadRate":"0.07"},"uses_additional_data":true}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2403.15098","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2403.15098"}},"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/vita-epfl/unitraj","reach":{"status":"ok","spdx":"NOASSERTION"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/vita-epfl/UniTraj","reach":{"status":"ok","spdx":"NOASSERTION"}}],"summary":{"ran_violates":1,"ran":4},"by_repo_kind":{"official":{"samples":5,"ran":5,"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":5,"samples":[{"code_sha256_prefix":"cb7ba7521f4a8099","entry":"get_polyline_dir","repo":"vita-epfl/UniTraj","repo_kind":"official","path":"unitraj/datasets/common_utils.py","file_url":"https://github.com/vita-epfl/UniTraj/blob/HEAD/unitraj/datasets/common_utils.py","link_basis":"plan_row","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"cb7ba7521f4a8099"}},{"code_sha256_prefix":"bd7f5d5bb2b1ec35","entry":"get_polyline_mag","repo":"vita-epfl/UniTraj","repo_kind":"official","path":"unitraj/datasets/common_utils.py","file_url":"https://github.com/vita-epfl/UniTraj/blob/HEAD/unitraj/datasets/common_utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"bd7f5d5bb2b1ec35"}},{"code_sha256_prefix":"d7a51202f8456490","entry":"init","repo":"vita-epfl/UniTraj","repo_kind":"official","path":"unitraj/models/autobot/autobot.py","file_url":"https://github.com/vita-epfl/UniTraj/blob/HEAD/unitraj/models/autobot/autobot.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"d7a51202f8456490"}},{"code_sha256_prefix":"05d8f68bc1decec1","entry":"merge_tuple_key","repo":"vita-epfl/UniTraj","repo_kind":"official","path":"unitraj/datasets/common_utils.py","file_url":"https://github.com/vita-epfl/UniTraj/blob/HEAD/unitraj/datasets/common_utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"05d8f68bc1decec1"}},{"code_sha256_prefix":"57a391b45523455f","entry":"transform_preds_to_argoverse_format","repo":"vita-epfl/UniTraj","repo_kind":"official","path":"unitraj/models/base_model/av2_eval.py","file_url":"https://github.com/vita-epfl/UniTraj/blob/HEAD/unitraj/models/base_model/av2_eval.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"57a391b45523455f"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}