{"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/m2i-from-factored-marginal-trajectory","title":"M2I: From Factored Marginal Trajectory Prediction to Interactive Prediction","arxiv_id":"2202.11884","date":"2022-02-24","proceeding":"CVPR 2022 1","authors":["Qiao Sun","Xin Huang","Junru Gu","Brian C. Williams","Hang Zhao"],"abstract":"Predicting future motions of road participants is an important task for driving autonomously in urban scenes. Existing models excel at predicting marginal trajectories for single agents, yet it remains an open question to jointly predict scene compliant trajectories over multiple agents. The challenge is due to exponentially increasing prediction space as a function of the number of agents. In this work, we exploit the underlying relations between interacting agents and decouple the joint prediction problem into marginal prediction problems. Our proposed approach M2I first classifies interacting agents as pairs of influencers and reactors, and then leverages a marginal prediction model and a conditional prediction model to predict trajectories for the influencers and reactors, respectively. The predictions from interacting agents are combined and selected according to their joint likelihoods. Experiments show that our simple but effective approach achieves state-of-the-art performance on the Waymo Open Motion Dataset interactive prediction benchmark.","url_abs":"https://arxiv.org/abs/2202.11884v2","url_pdf":"https://arxiv.org/pdf/2202.11884v2.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":"m2i-from-factored-marginal-trajectory","repo_url":"https://github.com/Tsinghua-MARS-Lab/M2I","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"open-question","task_name":"Open-Ended Question Answering"},{"task_slug":"prediction","task_name":"Prediction"},{"task_slug":"trajectory-prediction","task_name":"Trajectory Prediction"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2202.11884","atlas_url":"https://app.syntology.ai/?focus=2202.11884","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2202.11884"}},"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/Tsinghua-MARS-Lab/M2I","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":1,"unverified":5},"by_repo_kind":{"listed":{"samples":6,"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":"3581e32e0e7889a2","entry":"batch_list_to_batch_tensors","repo":"Tsinghua-MARS-Lab/M2I","repo_kind":"listed","path":"src/utils.py","file_url":"https://github.com/Tsinghua-MARS-Lab/M2I/blob/HEAD/src/utils.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3581e32e0e7889a2"}},{"code_sha256_prefix":"396eca5cbb5a93f7","entry":"extract_from_inputs","repo":"Tsinghua-MARS-Lab/M2I","repo_kind":"listed","path":"src/dataset_waymo.py","file_url":"https://github.com/Tsinghua-MARS-Lab/M2I/blob/HEAD/src/dataset_waymo.py","link_basis":"harvester_set","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":"396eca5cbb5a93f7"}},{"code_sha256_prefix":"74a5600bf94dd7bf","entry":"get_interest_objects","repo":"Tsinghua-MARS-Lab/M2I","repo_kind":"listed","path":"src/dataset_waymo.py","file_url":"https://github.com/Tsinghua-MARS-Lab/M2I/blob/HEAD/src/dataset_waymo.py","link_basis":"harvester_set","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":"74a5600bf94dd7bf"}},{"code_sha256_prefix":"cb738ca038a25cf6","entry":"get_name","repo":"Tsinghua-MARS-Lab/M2I","repo_kind":"listed","path":"src/utils.py","file_url":"https://github.com/Tsinghua-MARS-Lab/M2I/blob/HEAD/src/utils.py","link_basis":"harvester_set","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":"cb738ca038a25cf6"}},{"code_sha256_prefix":"19035027777a6c24","entry":"get_pad_vector","repo":"Tsinghua-MARS-Lab/M2I","repo_kind":"listed","path":"src/utils.py","file_url":"https://github.com/Tsinghua-MARS-Lab/M2I/blob/HEAD/src/utils.py","link_basis":"harvester_set","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":"19035027777a6c24"}},{"code_sha256_prefix":"83423e88a72d1cc3","entry":"move_interest_objects_forward","repo":"Tsinghua-MARS-Lab/M2I","repo_kind":"listed","path":"src/dataset_waymo.py","file_url":"https://github.com/Tsinghua-MARS-Lab/M2I/blob/HEAD/src/dataset_waymo.py","link_basis":"harvester_set","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":"83423e88a72d1cc3"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}