{"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/tridet-temporal-action-detection-with","title":"TriDet: Temporal Action Detection with Relative Boundary Modeling","arxiv_id":"2303.07347","date":"2023-03-13","proceeding":"CVPR 2023 1","authors":["Dingfeng Shi","Yujie Zhong","Qiong Cao","Lin Ma","Jia Li","DaCheng Tao"],"abstract":"In this paper, we present a one-stage framework TriDet for temporal action detection. Existing methods often suffer from imprecise boundary predictions due to the ambiguous action boundaries in videos. To alleviate this problem, we propose a novel Trident-head to model the action boundary via an estimated relative probability distribution around the boundary. In the feature pyramid of TriDet, we propose an efficient Scalable-Granularity Perception (SGP) layer to mitigate the rank loss problem of self-attention that takes place in the video features and aggregate information across different temporal granularities. Benefiting from the Trident-head and the SGP-based feature pyramid, TriDet achieves state-of-the-art performance on three challenging benchmarks: THUMOS14, HACS and EPIC-KITCHEN 100, with lower computational costs, compared to previous methods. For example, TriDet hits an average mAP of $69.3\\%$ on THUMOS14, outperforming the previous best by $2.5\\%$, but with only $74.6\\%$ of its latency. The code is released to https://github.com/sssste/TriDet.","url_abs":"https://arxiv.org/abs/2303.07347v2","url_pdf":"https://arxiv.org/pdf/2303.07347v2.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":"tridet-temporal-action-detection-with","repo_url":"https://github.com/dingfengshi/tridet","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"action-detection","task_name":"Action Detection"},{"task_slug":"action-recognition","task_name":"Temporal Action Localization"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/temporal-action-localization-on-activitynet","task":"Temporal Action Localization","dataset":"ActivityNet-1.3","model":"TriDet (TSP features)","rank_in_archive_order":13,"of":33,"metrics":{"mAP":"36.8","mAP IOU@0.5":"54.7","mAP IOU@0.75":"38.0","mAP IOU@0.95":"8.4"},"uses_additional_data":false},{"leaderboard":"/sota/temporal-action-localization-on-epic-kitchens","task":"Temporal Action Localization","dataset":"EPIC-KITCHENS-100","model":"TriDet (verb)","rank_in_archive_order":2,"of":6,"metrics":{"Avg mAP (0.1-0.5)":"25.4","mAP IOU@0.1":"28.6","mAP IOU@0.2":"27.4","mAP IOU@0.3":"26.1","mAP IOU@0.4":"24.2","mAP IOU@0.5":"20.8"},"uses_additional_data":false},{"leaderboard":"/sota/temporal-action-localization-on-hacs","task":"Temporal Action Localization","dataset":"HACS","model":"TriDet (SlowFast)","rank_in_archive_order":8,"of":12,"metrics":{"Average-mAP":"38.6","mAP@0.5":"56.7","mAP@0.75":"39.3","mAP@0.95":"11.7"},"uses_additional_data":false},{"leaderboard":"/sota/temporal-action-localization-on-hacs","task":"Temporal Action Localization","dataset":"HACS","model":"TriDet (I3D RGB)","rank_in_archive_order":9,"of":12,"metrics":{"Average-mAP":"36.8","mAP@0.5":"54.5","mAP@0.75":"36.8","mAP@0.95":"11.5"},"uses_additional_data":false},{"leaderboard":"/sota/temporal-action-localization-on-thumos14","task":"Temporal Action Localization","dataset":"THUMOS’14","model":"TriDet (I3D features)","rank_in_archive_order":9,"of":42,"metrics":{"Avg mAP (0.3:0.7)":"69.3","mAP IOU@0.3":"83.6","mAP IOU@0.4":"80.1","mAP IOU@0.5":"72.9","mAP IOU@0.6":"62.4","mAP IOU@0.7":"47.4"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2303.07347","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2303.07347"}},"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/dingfengshi/tridet","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/dingfengshi/TriDet","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_fixture":2,"ran_honours":1,"ran":2,"unverified":10},"by_repo_kind":{"official":{"samples":15,"ran":5,"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":"a34c005ba2203f35","entry":"drop_path","repo":"dingfengshi/TriDet","repo_kind":"official","path":"libs/modeling/blocks.py","file_url":"https://github.com/dingfengshi/TriDet/blob/HEAD/libs/modeling/blocks.py","link_basis":"harvester_set","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a34c005ba2203f35"}},{"code_sha256_prefix":"3531df7b0c9b0791","entry":"get_sinusoid_encoding","repo":"dingfengshi/TriDet","repo_kind":"official","path":"libs/modeling/blocks.py","file_url":"https://github.com/dingfengshi/TriDet/blob/HEAD/libs/modeling/blocks.py","link_basis":"harvester_set","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3531df7b0c9b0791"}},{"code_sha256_prefix":"54293ea22bd4f952","entry":"sigmoid_focal_loss","repo":"dingfengshi/TriDet","repo_kind":"official","path":"libs/modeling/losses.py","file_url":"https://github.com/dingfengshi/TriDet/blob/HEAD/libs/modeling/losses.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":"54293ea22bd4f952"}},{"code_sha256_prefix":"02566da69866c48c","entry":"trunc_normal_","repo":"dingfengshi/TriDet","repo_kind":"official","path":"libs/modeling/weight_init.py","file_url":"https://github.com/dingfengshi/TriDet/blob/HEAD/libs/modeling/weight_init.py","link_basis":"harvester_set","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"02566da69866c48c"}},{"code_sha256_prefix":"fbd46ea8e0501851","entry":"truncate_feats","repo":"dingfengshi/TriDet","repo_kind":"official","path":"libs/datasets/data_utils.py","file_url":"https://github.com/dingfengshi/TriDet/blob/HEAD/libs/datasets/data_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":"fbd46ea8e0501851"}},{"code_sha256_prefix":"12d8ba65aabcb2b4","entry":"ctr_diou_loss_1d","repo":"dingfengshi/TriDet","repo_kind":"official","path":"libs/modeling/losses.py","file_url":"https://github.com/dingfengshi/TriDet/blob/HEAD/libs/modeling/losses.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":"12d8ba65aabcb2b4"}},{"code_sha256_prefix":"66693d03280664b1","entry":"ctr_giou_loss_1d","repo":"dingfengshi/TriDet","repo_kind":"official","path":"libs/modeling/losses.py","file_url":"https://github.com/dingfengshi/TriDet/blob/HEAD/libs/modeling/losses.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":"66693d03280664b1"}},{"code_sha256_prefix":"e2efca9389531bc8","entry":"load_config","repo":"dingfengshi/TriDet","repo_kind":"official","path":"libs/core/config.py","file_url":"https://github.com/dingfengshi/TriDet/blob/HEAD/libs/core/config.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":"e2efca9389531bc8"}},{"code_sha256_prefix":"635369f63ec96b89","entry":"make_data_loader","repo":"dingfengshi/TriDet","repo_kind":"official","path":"libs/datasets/datasets.py","file_url":"https://github.com/dingfengshi/TriDet/blob/HEAD/libs/datasets/datasets.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":"635369f63ec96b89"}},{"code_sha256_prefix":"ffebfbb8094c0dcc","entry":"make_dataset","repo":"dingfengshi/TriDet","repo_kind":"official","path":"libs/datasets/datasets.py","file_url":"https://github.com/dingfengshi/TriDet/blob/HEAD/libs/datasets/datasets.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":"ffebfbb8094c0dcc"}},{"code_sha256_prefix":"cee845f405ecf37e","entry":"register_backbone","repo":"dingfengshi/TriDet","repo_kind":"official","path":"libs/modeling/models.py","file_url":"https://github.com/dingfengshi/TriDet/blob/HEAD/libs/modeling/models.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":"cee845f405ecf37e"}},{"code_sha256_prefix":"2ee0df0825339a6e","entry":"register_dataset","repo":"dingfengshi/TriDet","repo_kind":"official","path":"libs/datasets/datasets.py","file_url":"https://github.com/dingfengshi/TriDet/blob/HEAD/libs/datasets/datasets.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":"2ee0df0825339a6e"}},{"code_sha256_prefix":"3db1c5ab5f3f0198","entry":"register_generator","repo":"dingfengshi/TriDet","repo_kind":"official","path":"libs/modeling/models.py","file_url":"https://github.com/dingfengshi/TriDet/blob/HEAD/libs/modeling/models.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":"3db1c5ab5f3f0198"}},{"code_sha256_prefix":"e5ef13b176081594","entry":"register_neck","repo":"dingfengshi/TriDet","repo_kind":"official","path":"libs/modeling/models.py","file_url":"https://github.com/dingfengshi/TriDet/blob/HEAD/libs/modeling/models.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":"e5ef13b176081594"}},{"code_sha256_prefix":"0c250bf03b8c9311","entry":"trivial_batch_collator","repo":"dingfengshi/TriDet","repo_kind":"official","path":"libs/datasets/data_utils.py","file_url":"https://github.com/dingfengshi/TriDet/blob/HEAD/libs/datasets/data_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":"0c250bf03b8c9311"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}