{"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/trajectory-aware-body-interaction-transformer","title":"Trajectory-Aware Body Interaction Transformer for Multi-Person Pose Forecasting","arxiv_id":"2303.05095","date":"2023-03-09","proceeding":"CVPR 2023 1","authors":["Xiaogang Peng","Siyuan Mao","Zizhao Wu"],"abstract":"Multi-person pose forecasting remains a challenging problem, especially in modeling fine-grained human body interaction in complex crowd scenarios. Existing methods typically represent the whole pose sequence as a temporal series, yet overlook interactive influences among people based on skeletal body parts. In this paper, we propose a novel Trajectory-Aware Body Interaction Transformer (TBIFormer) for multi-person pose forecasting via effectively modeling body part interactions. Specifically, we construct a Temporal Body Partition Module that transforms all the pose sequences into a Multi-Person Body-Part sequence to retain spatial and temporal information based on body semantics. Then, we devise a Social Body Interaction Self-Attention (SBI-MSA) module, utilizing the transformed sequence to learn body part dynamics for inter- and intra-individual interactions. Furthermore, different from prior Euclidean distance-based spatial encodings, we present a novel and efficient Trajectory-Aware Relative Position Encoding for SBI-MSA to offer discriminative spatial information and additional interactive clues. On both short- and long-term horizons, we empirically evaluate our framework on CMU-Mocap, MuPoTS-3D as well as synthesized datasets (6 ~ 10 persons), and demonstrate that our method greatly outperforms the state-of-the-art methods. Code will be made publicly available upon acceptance.","url_abs":"https://arxiv.org/abs/2303.05095v2","url_pdf":"https://arxiv.org/pdf/2303.05095v2.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":"trajectory-aware-body-interaction-transformer","repo_url":"https://github.com/xiaogangpeng/tbiformer","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":null},{"paper_slug":"trajectory-aware-body-interaction-transformer","repo_url":"https://github.com/xiaogangpeng/socialtgcn","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"multi-person-pose-forecasting","task_name":"Multi-Person Pose forecasting"}],"methods":[{"method_slug":"absolute-position-encodings","method_name":"Absolute Position Encodings"},{"method_slug":"adam","method_name":"Adam"},{"method_slug":"attention","method_name":"Attention"},{"method_slug":"bpe","method_name":"BPE"},{"method_slug":"dense-connections","method_name":"Dense Connections"},{"method_slug":"dropout","method_name":"Dropout"},{"method_slug":"label-smoothing","method_name":"Label Smoothing"},{"method_slug":"layer-normalization","method_name":"Layer Normalization"},{"method_slug":"linear-layer","method_name":"Linear Layer"},{"method_slug":"multi-head-attention","method_name":"Multi-Head Attention"},{"method_slug":"position-wise-feed-forward-layer","method_name":"Position-Wise Feed-Forward Layer"},{"method_slug":"residual-connection","method_name":"Residual Connection"},{"method_slug":"softmax","method_name":"Softmax"},{"method_slug":"transformer","method_name":"Transformer"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2303.05095","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2303.05095"}},"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/xiaogangpeng/socialtgcn","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/xiaogangpeng/tbiformer","reach":null}],"summary":{"ran":8,"unverified":7},"by_repo_kind":{"official":{"samples":9,"ran":5,"repositories":1},"listed":{"samples":6,"ran":3,"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":15,"samples":[{"code_sha256_prefix":"daa7768d575aebde","entry":"Decoder","repo":"xiaogangpeng/tbiformer","repo_kind":"official","path":"models/net.py","file_url":"https://github.com/xiaogangpeng/tbiformer/blob/HEAD/models/net.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"daa7768d575aebde"}},{"code_sha256_prefix":"b14ef53ac07d3f02","entry":"DecoderLayer","repo":"xiaogangpeng/tbiformer","repo_kind":"official","path":"models/net.py","file_url":"https://github.com/xiaogangpeng/tbiformer/blob/HEAD/models/net.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b14ef53ac07d3f02"}},{"code_sha256_prefix":"df74d576ab277e7e","entry":"GC_Block","repo":"xiaogangpeng/socialtgcn","repo_kind":"listed","path":"baselines/SocialTGCN/net.py","file_url":"https://github.com/xiaogangpeng/socialtgcn/blob/HEAD/baselines/SocialTGCN/net.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"df74d576ab277e7e"}},{"code_sha256_prefix":"81deb80b5a9cf4aa","entry":"GraphConvolutionLayer","repo":"xiaogangpeng/socialtgcn","repo_kind":"listed","path":"baselines/SocialTGCN/net.py","file_url":"https://github.com/xiaogangpeng/socialtgcn/blob/HEAD/baselines/SocialTGCN/net.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"81deb80b5a9cf4aa"}},{"code_sha256_prefix":"b6adf32d225922b6","entry":"MultiHeadAttention","repo":"xiaogangpeng/tbiformer","repo_kind":"official","path":"models/net.py","file_url":"https://github.com/xiaogangpeng/tbiformer/blob/HEAD/models/net.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b6adf32d225922b6"}},{"code_sha256_prefix":"7bc6e504ed1656b7","entry":"ScaledDotProductAttention","repo":"xiaogangpeng/tbiformer","repo_kind":"official","path":"models/net.py","file_url":"https://github.com/xiaogangpeng/tbiformer/blob/HEAD/models/net.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7bc6e504ed1656b7"}},{"code_sha256_prefix":"322362f26a26b549","entry":"SkelGCN","repo":"xiaogangpeng/socialtgcn","repo_kind":"listed","path":"baselines/SocialTGCN/net.py","file_url":"https://github.com/xiaogangpeng/socialtgcn/blob/HEAD/baselines/SocialTGCN/net.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"322362f26a26b549"}},{"code_sha256_prefix":"6a1e161f33a4e4cd","entry":"Tem_ID_Encoder","repo":"xiaogangpeng/tbiformer","repo_kind":"official","path":"models/net.py","file_url":"https://github.com/xiaogangpeng/tbiformer/blob/HEAD/models/net.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"6a1e161f33a4e4cd"}},{"code_sha256_prefix":"f94bac8a8e6ef12a","entry":"SBI_MSA","repo":"xiaogangpeng/tbiformer","repo_kind":"official","path":"models/net.py","file_url":"https://github.com/xiaogangpeng/tbiformer/blob/HEAD/models/net.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":"f94bac8a8e6ef12a"}},{"code_sha256_prefix":"1615925af063762c","entry":"SGCN_layer","repo":"xiaogangpeng/socialtgcn","repo_kind":"listed","path":"baselines/SocialTGCN/net.py","file_url":"https://github.com/xiaogangpeng/socialtgcn/blob/HEAD/baselines/SocialTGCN/net.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":"1615925af063762c"}},{"code_sha256_prefix":"729e54cdf2fd2a8b","entry":"SocialTGCN","repo":"xiaogangpeng/socialtgcn","repo_kind":"listed","path":"baselines/SocialTGCN/net.py","file_url":"https://github.com/xiaogangpeng/socialtgcn/blob/HEAD/baselines/SocialTGCN/net.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":"729e54cdf2fd2a8b"}},{"code_sha256_prefix":"729f04b9166f3532","entry":"SocialTGCN_layer","repo":"xiaogangpeng/socialtgcn","repo_kind":"listed","path":"baselines/SocialTGCN/net.py","file_url":"https://github.com/xiaogangpeng/socialtgcn/blob/HEAD/baselines/SocialTGCN/net.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":"729f04b9166f3532"}},{"code_sha256_prefix":"b7c91f6b9c8bdf6b","entry":"TBIFormer","repo":"xiaogangpeng/tbiformer","repo_kind":"official","path":"models/net.py","file_url":"https://github.com/xiaogangpeng/tbiformer/blob/HEAD/models/net.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":"b7c91f6b9c8bdf6b"}},{"code_sha256_prefix":"d0b0dbe874872855","entry":"TBIFormerBlock","repo":"xiaogangpeng/tbiformer","repo_kind":"official","path":"models/net.py","file_url":"https://github.com/xiaogangpeng/tbiformer/blob/HEAD/models/net.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":"d0b0dbe874872855"}},{"code_sha256_prefix":"24a484efbb6abe5e","entry":"TBIFormerEncoder","repo":"xiaogangpeng/tbiformer","repo_kind":"official","path":"models/net.py","file_url":"https://github.com/xiaogangpeng/tbiformer/blob/HEAD/models/net.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":"24a484efbb6abe5e"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}