{"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/react-temporal-action-detection-with","title":"ReAct: Temporal Action Detection with Relational Queries","arxiv_id":"2207.07097","date":"2022-07-14","proceeding":null,"authors":["Dingfeng Shi","Yujie Zhong","Qiong Cao","Jing Zhang","Lin Ma","Jia Li","DaCheng Tao"],"abstract":"This work aims at advancing temporal action detection (TAD) using an encoder-decoder framework with action queries, similar to DETR, which has shown great success in object detection. However, the framework suffers from several problems if directly applied to TAD: the insufficient exploration of inter-query relation in the decoder, the inadequate classification training due to a limited number of training samples, and the unreliable classification scores at inference. To this end, we first propose a relational attention mechanism in the decoder, which guides the attention among queries based on their relations. Moreover, we propose two losses to facilitate and stabilize the training of action classification. Lastly, we propose to predict the localization quality of each action query at inference in order to distinguish high-quality queries. The proposed method, named ReAct, achieves the state-of-the-art performance on THUMOS14, with much lower computational costs than previous methods. Besides, extensive ablation studies are conducted to verify the effectiveness of each proposed component. The code is available at https://github.com/sssste/React.","url_abs":"https://arxiv.org/abs/2207.07097v1","url_pdf":"https://arxiv.org/pdf/2207.07097v1.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":"react-temporal-action-detection-with","repo_url":"https://github.com/sssste/react","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"action-classification","task_name":"Action Classification"},{"task_slug":"action-detection","task_name":"Action Detection"},{"task_slug":"classification-1","task_name":"Classification"},{"task_slug":"decoder","task_name":"Decoder"},{"task_slug":"object-detection","task_name":"Object Detection"},{"task_slug":"action-recognition","task_name":"Temporal Action Localization"},{"task_slug":"object-detection-1","task_name":"object-detection"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/temporal-action-localization-on-thumos14","task":"Temporal Action Localization","dataset":"THUMOS’14","model":"ReAct (TSN features)","rank_in_archive_order":17,"of":42,"metrics":{"Avg mAP (0.3:0.7)":"55.0","mAP IOU@0.3":"69.2","mAP IOU@0.4":"65.0","mAP IOU@0.5":"57.1","mAP IOU@0.6":"47.8","mAP IOU@0.7":"35.6"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2207.07097","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2207.07097"}},"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/sssste/React","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":2,"unverified":10},"by_repo_kind":{"official":{"samples":12,"ran":2,"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":"aa6da43d05cfaf65","entry":"all_gather","repo":"sssste/React","repo_kind":"official","path":"React/utill/misc.py","file_url":"https://github.com/sssste/React/blob/HEAD/React/utill/misc.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":"aa6da43d05cfaf65"}},{"code_sha256_prefix":"05992505df9ef0cd","entry":"reduce_dict","repo":"sssste/React","repo_kind":"official","path":"React/utill/misc.py","file_url":"https://github.com/sssste/React/blob/HEAD/React/utill/misc.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":"05992505df9ef0cd"}},{"code_sha256_prefix":"8afa631a846ef588","entry":"collate_fn","repo":"sssste/React","repo_kind":"official","path":"React/utill/misc.py","file_url":"https://github.com/sssste/React/blob/HEAD/React/utill/misc.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":"8afa631a846ef588"}},{"code_sha256_prefix":"958ce3808938e30f","entry":"embeddingto2d","repo":"sssste/React","repo_kind":"official","path":"React/utill/viz.py","file_url":"https://github.com/sssste/React/blob/HEAD/React/utill/viz.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":"958ce3808938e30f"}},{"code_sha256_prefix":"5334c4d83d9da129","entry":"find_match_gt","repo":"sssste/React","repo_kind":"official","path":"React/utill/temporal_box_producess.py","file_url":"https://github.com/sssste/React/blob/HEAD/React/utill/temporal_box_producess.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":"5334c4d83d9da129"}},{"code_sha256_prefix":"45fddd2562b43511","entry":"load_proposal_file","repo":"sssste/React","repo_kind":"official","path":"React/thumos_dataset.py","file_url":"https://github.com/sssste/React/blob/HEAD/React/thumos_dataset.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":"45fddd2562b43511"}},{"code_sha256_prefix":"533a2025d10b811b","entry":"mid_dis2start_end","repo":"sssste/React","repo_kind":"official","path":"React/utill/temporal_box_producess.py","file_url":"https://github.com/sssste/React/blob/HEAD/React/utill/temporal_box_producess.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":"533a2025d10b811b"}},{"code_sha256_prefix":"55db86fcc85cb96d","entry":"register_hooks","repo":"sssste/React","repo_kind":"official","path":"React/utill/bad_grad_viz.py","file_url":"https://github.com/sssste/React/blob/HEAD/React/utill/bad_grad_viz.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":"55db86fcc85cb96d"}},{"code_sha256_prefix":"2043ee96aadac29d","entry":"sigmoid_focal_loss","repo":"sssste/React","repo_kind":"official","path":"React/model/React.py","file_url":"https://github.com/sssste/React/blob/HEAD/React/model/React.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":"2043ee96aadac29d"}},{"code_sha256_prefix":"6e92295b5b0a88ac","entry":"start_end2mid_dis","repo":"sssste/React","repo_kind":"official","path":"React/utill/temporal_box_producess.py","file_url":"https://github.com/sssste/React/blob/HEAD/React/utill/temporal_box_producess.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":"6e92295b5b0a88ac"}},{"code_sha256_prefix":"f0b9c93da8e4c2bb","entry":"vis_1d_box","repo":"sssste/React","repo_kind":"official","path":"React/utill/viz.py","file_url":"https://github.com/sssste/React/blob/HEAD/React/utill/viz.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":"f0b9c93da8e4c2bb"}},{"code_sha256_prefix":"ea5b8dccd6161c45","entry":"vis_2d_scatter","repo":"sssste/React","repo_kind":"official","path":"React/utill/viz.py","file_url":"https://github.com/sssste/React/blob/HEAD/React/utill/viz.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":"ea5b8dccd6161c45"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}