{"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/social-transmotion-promptable-human","title":"Social-Transmotion: Promptable Human Trajectory Prediction","arxiv_id":"2312.16168","date":"2023-12-26","proceeding":null,"authors":["Saeed Saadatnejad","Yang Gao","Kaouther Messaoud","Alexandre Alahi"],"abstract":"Accurate human trajectory prediction is crucial for applications such as autonomous vehicles, robotics, and surveillance systems. Yet, existing models often fail to fully leverage the non-verbal social cues human subconsciously communicate when navigating the space. To address this, we introduce Social-Transmotion, a generic Transformer-based model that exploits diverse and numerous visual cues to predict human behavior. We translate the idea of a prompt from Natural Language Processing (NLP) to the task of human trajectory prediction, where a prompt can be a sequence of x-y coordinates on the ground, bounding boxes in the image plane, or body pose keypoints in either 2D or 3D. This, in turn, augments trajectory data, leading to enhanced human trajectory prediction. Using masking technique, our model exhibits flexibility and adaptability by capturing spatiotemporal interactions between agents based on the available visual cues. We delve into the merits of using 2D versus 3D poses, and a limited set of poses. Additionally, we investigate the spatial and temporal attention map to identify which keypoints and time-steps in the sequence are vital for optimizing human trajectory prediction. Our approach is validated on multiple datasets, including JTA, JRDB, Pedestrians and Cyclists in Road Traffic, and ETH-UCY. The code is publicly available: https://github.com/vita-epfl/social-transmotion.","url_abs":"https://arxiv.org/abs/2312.16168v3","url_pdf":"https://arxiv.org/pdf/2312.16168v3.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":"social-transmotion-promptable-human","repo_url":"https://github.com/vita-epfl/social-transmotion","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"autonomous-vehicles","task_name":"Autonomous Vehicles"},{"task_slug":"prediction","task_name":"Prediction"},{"task_slug":"trajectory-prediction","task_name":"Trajectory Prediction"}],"methods":[{"method_slug":"set","method_name":"SET"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2312.16168","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2312.16168"}},"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":"deterministic:regex_extraction","url":"https://github.com/vita-epfl/social-transmotion","reach":null}],"summary":{"ran":8,"ran_draft_wrong":1,"unverified":1},"by_repo_kind":{"official":{"samples":10,"ran":9,"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":10,"samples":[{"code_sha256_prefix":"27869187a9200c3c","entry":"AuxilliaryEncoderCMT","repo":"vita-epfl/social-transmotion","repo_kind":"official","path":"model_jrdb.py","file_url":"https://github.com/vita-epfl/social-transmotion/blob/HEAD/model_jrdb.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"AGPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"27869187a9200c3c"}},{"code_sha256_prefix":"b486d7925fc3ca14","entry":"AuxilliaryEncoderST","repo":"vita-epfl/social-transmotion","repo_kind":"official","path":"model_jrdb.py","file_url":"https://github.com/vita-epfl/social-transmotion/blob/HEAD/model_jrdb.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"AGPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"b486d7925fc3ca14"}},{"code_sha256_prefix":"2210bef9f28250d2","entry":"LearnedIDEncoding","repo":"vita-epfl/social-transmotion","repo_kind":"official","path":"model_jrdb.py","file_url":"https://github.com/vita-epfl/social-transmotion/blob/HEAD/model_jrdb.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"AGPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"2210bef9f28250d2"}},{"code_sha256_prefix":"793112ee38c770d8","entry":"LearnedTrajandIDEncoding","repo":"vita-epfl/social-transmotion","repo_kind":"official","path":"model_jrdb.py","file_url":"https://github.com/vita-epfl/social-transmotion/blob/HEAD/model_jrdb.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"AGPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"793112ee38c770d8"}},{"code_sha256_prefix":"83c2ce8a197d680d","entry":"Learnedbb2dEncoding","repo":"vita-epfl/social-transmotion","repo_kind":"official","path":"model_jrdb.py","file_url":"https://github.com/vita-epfl/social-transmotion/blob/HEAD/model_jrdb.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"AGPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"83c2ce8a197d680d"}},{"code_sha256_prefix":"5543ee745b1dace0","entry":"Learnedbb3dEncoding","repo":"vita-epfl/social-transmotion","repo_kind":"official","path":"model_jrdb.py","file_url":"https://github.com/vita-epfl/social-transmotion/blob/HEAD/model_jrdb.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"AGPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"5543ee745b1dace0"}},{"code_sha256_prefix":"2e419040ee197bc0","entry":"Learnedpose2dEncoding","repo":"vita-epfl/social-transmotion","repo_kind":"official","path":"model_jrdb.py","file_url":"https://github.com/vita-epfl/social-transmotion/blob/HEAD/model_jrdb.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"AGPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"2e419040ee197bc0"}},{"code_sha256_prefix":"fb99329f5062a262","entry":"Learnedpose3dEncoding","repo":"vita-epfl/social-transmotion","repo_kind":"official","path":"model_jrdb.py","file_url":"https://github.com/vita-epfl/social-transmotion/blob/HEAD/model_jrdb.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"AGPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"fb99329f5062a262"}},{"code_sha256_prefix":"3e60233c648d420d","entry":"inference","repo":"vita-epfl/social-transmotion","repo_kind":"official","path":"evaluate_jta.py","file_url":"https://github.com/vita-epfl/social-transmotion/blob/HEAD/evaluate_jta.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"AGPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"3e60233c648d420d"}},{"code_sha256_prefix":"deb0830d4ed55897","entry":"TransMotion","repo":"vita-epfl/social-transmotion","repo_kind":"official","path":"model_jrdb.py","file_url":"https://github.com/vita-epfl/social-transmotion/blob/HEAD/model_jrdb.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"AGPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"deb0830d4ed55897"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}