{"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/human-trajectory-forecasting-in-crowds-a-deep","title":"Human Trajectory Forecasting in Crowds: A Deep Learning Perspective","arxiv_id":"2007.03639","date":"2020-07-07","proceeding":null,"authors":["Parth Kothari","Sven Kreiss","Alexandre Alahi"],"abstract":"Since the past few decades, human trajectory forecasting has been a field of active research owing to its numerous real-world applications: evacuation situation analysis, deployment of intelligent transport systems, traffic operations, to name a few. Early works handcrafted this representation based on domain knowledge. However, social interactions in crowded environments are not only diverse but often subtle. Recently, deep learning methods have outperformed their handcrafted counterparts, as they learned about human-human interactions in a more generic data-driven fashion. In this work, we present an in-depth analysis of existing deep learning-based methods for modelling social interactions. We propose two knowledge-based data-driven methods to effectively capture these social interactions. To objectively compare the performance of these interaction-based forecasting models, we develop a large scale interaction-centric benchmark TrajNet++, a significant yet missing component in the field of human trajectory forecasting. We propose novel performance metrics that evaluate the ability of a model to output socially acceptable trajectories. Experiments on TrajNet++ validate the need for our proposed metrics, and our method outperforms competitive baselines on both real-world and synthetic datasets.","url_abs":"https://arxiv.org/abs/2007.03639v3","url_pdf":"https://arxiv.org/pdf/2007.03639v3.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":"human-trajectory-forecasting-in-crowds-a-deep","repo_url":"https://github.com/vita-epfl/trajnetplusplusbaselines","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"deep-learning","task_name":"Deep Learning"},{"task_slug":"trajectory-forecasting","task_name":"Trajectory Forecasting"},{"task_slug":"trajectory-prediction","task_name":"Trajectory Prediction"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/trajectory-forecasting-on-trajnet","task":"Trajectory Forecasting","dataset":"TrajNet++","model":"Social LSTM","rank_in_archive_order":3,"of":3,"metrics":{"COL":"7.59","FDE":"1.17"},"uses_additional_data":false},{"leaderboard":"/sota/trajectory-prediction-on-trajnet","task":"Trajectory Prediction","dataset":"TrajNet++","model":"Social LSTM","rank_in_archive_order":3,"of":3,"metrics":{"COL":"7.59","FDE":"1.17"},"uses_additional_data":false}],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2007.03639","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2007.03639"}},"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/trajnetplusplusbaselines","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":10},"by_repo_kind":{"listed":{"samples":10,"ran":0,"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":"f9747c27eac2f941","entry":"add_gt_observation_to_prediction","repo":"vita-epfl/trajnetplusplusbaselines","repo_kind":"listed","path":"evaluator/visualize_prediction_as_gif.py","file_url":"https://github.com/vita-epfl/trajnetplusplusbaselines/blob/HEAD/evaluator/visualize_prediction_as_gif.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":"f9747c27eac2f941"}},{"code_sha256_prefix":"df36c6556782b4b9","entry":"add_gt_observation_to_prediction","repo":"vita-epfl/trajnetplusplusbaselines","repo_kind":"listed","path":"evaluator/visualize_predictions.py","file_url":"https://github.com/vita-epfl/trajnetplusplusbaselines/blob/HEAD/evaluator/visualize_predictions.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":"df36c6556782b4b9"}},{"code_sha256_prefix":"5ec1c642602bf41e","entry":"ade","repo":"vita-epfl/trajnetplusplusbaselines","repo_kind":"listed","path":"evaluator/eval_utils.py","file_url":"https://github.com/vita-epfl/trajnetplusplusbaselines/blob/HEAD/evaluator/eval_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":"5ec1c642602bf41e"}},{"code_sha256_prefix":"23245e535f55c843","entry":"collision","repo":"vita-epfl/trajnetplusplusbaselines","repo_kind":"listed","path":"evaluator/eval_utils.py","file_url":"https://github.com/vita-epfl/trajnetplusplusbaselines/blob/HEAD/evaluator/eval_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":"23245e535f55c843"}},{"code_sha256_prefix":"7f58d71fa664e242","entry":"fde","repo":"vita-epfl/trajnetplusplusbaselines","repo_kind":"listed","path":"evaluator/eval_utils.py","file_url":"https://github.com/vita-epfl/trajnetplusplusbaselines/blob/HEAD/evaluator/eval_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":"7f58d71fa664e242"}},{"code_sha256_prefix":"d07b9469e61a255f","entry":"get_dest","repo":"vita-epfl/trajnetplusplusbaselines","repo_kind":"listed","path":"get_dest.py","file_url":"https://github.com/vita-epfl/trajnetplusplusbaselines/blob/HEAD/get_dest.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":"d07b9469e61a255f"}},{"code_sha256_prefix":"4350795c816c54d7","entry":"preprocess_test","repo":"vita-epfl/trajnetplusplusbaselines","repo_kind":"listed","path":"evaluator/write_utils.py","file_url":"https://github.com/vita-epfl/trajnetplusplusbaselines/blob/HEAD/evaluator/write_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":"4350795c816c54d7"}},{"code_sha256_prefix":"a15d7a55c30696de","entry":"random_rotation","repo":"vita-epfl/trajnetplusplusbaselines","repo_kind":"listed","path":"trajnetbaselines/augmentation.py","file_url":"https://github.com/vita-epfl/trajnetplusplusbaselines/blob/HEAD/trajnetbaselines/augmentation.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":"a15d7a55c30696de"}},{"code_sha256_prefix":"347bcda0c1310dd0","entry":"trackrows","repo":"vita-epfl/trajnetplusplusbaselines","repo_kind":"listed","path":"get_dest.py","file_url":"https://github.com/vita-epfl/trajnetplusplusbaselines/blob/HEAD/get_dest.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":"347bcda0c1310dd0"}},{"code_sha256_prefix":"cd91bf4e42e6a862","entry":"update_lines","repo":"vita-epfl/trajnetplusplusbaselines","repo_kind":"listed","path":"evaluator/visualize_prediction_as_gif.py","file_url":"https://github.com/vita-epfl/trajnetplusplusbaselines/blob/HEAD/evaluator/visualize_prediction_as_gif.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":"cd91bf4e42e6a862"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}