{"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/sgcn-sparse-graph-convolution-network-for","title":"SGCN:Sparse Graph Convolution Network for Pedestrian Trajectory Prediction","arxiv_id":"2104.01528","date":"2021-04-04","proceeding":null,"authors":["Liushuai Shi","Le Wang","Chengjiang Long","Sanping Zhou","Mo Zhou","Zhenxing Niu","Gang Hua"],"abstract":"Pedestrian trajectory prediction is a key technology in autopilot, which remains to be very challenging due to complex interactions between pedestrians. However, previous works based on dense undirected interaction suffer from modeling superfluous interactions and neglect of trajectory motion tendency, and thus inevitably result in a considerable deviance from the reality. To cope with these issues, we present a Sparse Graph Convolution Network~(SGCN) for pedestrian trajectory prediction. Specifically, the SGCN explicitly models the sparse directed interaction with a sparse directed spatial graph to capture adaptive interaction pedestrians. Meanwhile, we use a sparse directed temporal graph to model the motion tendency, thus to facilitate the prediction based on the observed direction. Finally, parameters of a bi-Gaussian distribution for trajectory prediction are estimated by fusing the above two sparse graphs. We evaluate our proposed method on the ETH and UCY datasets, and the experimental results show our method outperforms comparative state-of-the-art methods by 9% in Average Displacement Error(ADE) and 13% in Final Displacement Error(FDE). Notably, visualizations indicate that our method can capture adaptive interactions between pedestrians and their effective motion tendencies.","url_abs":"https://arxiv.org/abs/2104.01528v1","url_pdf":"https://arxiv.org/pdf/2104.01528v1.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":"sgcn-sparse-graph-convolution-network-for","repo_url":"https://github.com/shuaishiliu/SGCN","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"sgcn-sparse-graph-convolution-network-for","repo_url":"https://github.com/zhanwei-z/g2ltraj","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"sgcn-sparse-graph-convolution-network-for","repo_url":"https://github.com/code-implementation1/Code9/tree/main/sgcn","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"mindspore","reach":null},{"paper_slug":"sgcn-sparse-graph-convolution-network-for","repo_url":"https://github.com/lyqcom/sgcn","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"mindspore","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"pedestrian-trajectory-prediction","task_name":"Pedestrian Trajectory Prediction"},{"task_slug":"prediction","task_name":"Prediction"},{"task_slug":"trajectory-prediction","task_name":"Trajectory Prediction"}],"methods":[{"method_slug":"convolution","method_name":"Convolution"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2104.01528","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2104.01528"}},"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/lyqcom/sgcn","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/shuaishiliu/SGCN","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/zhanwei-z/g2ltraj","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/code-implementation1/Code9/tree/main/sgcn","reach":null}],"summary":{"unverified":7},"by_repo_kind":{"listed":{"samples":7,"ran":0,"repositories":2}},"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":2,"samples":[{"code_sha256_prefix":"6c9860a5062c894a","entry":"GraphConvolution","repo":"zhanwei-z/g2ltraj","repo_kind":"listed","path":"baseline/sgcn/model.py","file_url":"https://github.com/zhanwei-z/g2ltraj/blob/HEAD/baseline/sgcn/model.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":"6c9860a5062c894a"}},{"code_sha256_prefix":"f76d62d1c32a37a9","entry":"SparseGraphConvolution","repo":"zhanwei-z/g2ltraj","repo_kind":"listed","path":"baseline/sgcn/model.py","file_url":"https://github.com/zhanwei-z/g2ltraj/blob/HEAD/baseline/sgcn/model.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":"f76d62d1c32a37a9"}},{"code_sha256_prefix":"5f3ab1fd10395d35","entry":"calculate_auc","repo":"lyqcom/sgcn","repo_kind":"listed","path":"src/ms_utils.py","file_url":"https://github.com/lyqcom/sgcn/blob/HEAD/src/ms_utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"5f3ab1fd10395d35"}},{"code_sha256_prefix":"ef93260b5137f73b","entry":"maybe_num_nodes","repo":"lyqcom/sgcn","repo_kind":"listed","path":"src/signedsageconvolution.py","file_url":"https://github.com/lyqcom/sgcn/blob/HEAD/src/signedsageconvolution.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"ef93260b5137f73b"}},{"code_sha256_prefix":"39a9b9592269ee51","entry":"read_graph","repo":"lyqcom/sgcn","repo_kind":"listed","path":"src/ms_utils.py","file_url":"https://github.com/lyqcom/sgcn/blob/HEAD/src/ms_utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"39a9b9592269ee51"}},{"code_sha256_prefix":"42a7b36c08bfcf85","entry":"remove_self_loops","repo":"lyqcom/sgcn","repo_kind":"listed","path":"preprocess.py","file_url":"https://github.com/lyqcom/sgcn/blob/HEAD/preprocess.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"42a7b36c08bfcf85"}},{"code_sha256_prefix":"a37b39bfcca0d059","entry":"softmax","repo":"lyqcom/sgcn","repo_kind":"listed","path":"postprocess.py","file_url":"https://github.com/lyqcom/sgcn/blob/HEAD/postprocess.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"a37b39bfcca0d059"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}