{"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/learning-to-filter-siamese-relation-network","title":"Learning to Filter: Siamese Relation Network for Robust Tracking","arxiv_id":"2104.00829","date":"2021-04-02","proceeding":"CVPR 2021 1","authors":["Siyuan Cheng","Bineng Zhong","Guorong Li","Xin Liu","Zhenjun Tang","Xianxian Li","Jing Wang"],"abstract":"Despite the great success of Siamese-based trackers, their performance under complicated scenarios is still not satisfying, especially when there are distractors. To this end, we propose a novel Siamese relation network, which introduces two efficient modules, i.e. Relation Detector (RD) and Refinement Module (RM). RD performs in a meta-learning way to obtain a learning ability to filter the distractors from the background while RM aims to effectively integrate the proposed RD into the Siamese framework to generate accurate tracking result. Moreover, to further improve the discriminability and robustness of the tracker, we introduce a contrastive training strategy that attempts not only to learn matching the same target but also to learn how to distinguish the different objects. Therefore, our tracker can achieve accurate tracking results when facing background clutters, fast motion, and occlusion. Experimental results on five popular benchmarks, including VOT2018, VOT2019, OTB100, LaSOT, and UAV123, show that the proposed method is effective and can achieve state-of-the-art results. The code will be available at https://github.com/hqucv/siamrn","url_abs":"https://arxiv.org/abs/2104.00829v1","url_pdf":"https://arxiv.org/pdf/2104.00829v1.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":"learning-to-filter-siamese-relation-network","repo_url":"https://github.com/hqucv/siamrn","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"meta-learning","task_name":"Meta-Learning"},{"task_slug":null,"task_name":"Relation"},{"task_slug":"relation-network","task_name":"Relation Network"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2104.00829","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2104.00829"}},"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/hqucv/siamrn","reach":null}],"summary":{"ran":3,"ran_violates":1,"ran_draft_wrong":1,"unverified":5},"by_repo_kind":{"official":{"samples":10,"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":10,"samples":[{"code_sha256_prefix":"402dd73889222e07","entry":"NONLocalBlock2D","repo":"hqucv/siamrn","repo_kind":"official","path":"siamban/models/head/dis_detector.py","file_url":"https://github.com/hqucv/siamrn/blob/HEAD/siamban/models/head/dis_detector.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"402dd73889222e07"}},{"code_sha256_prefix":"fbcf178aa02e8a5f","entry":"PatchDetector","repo":"hqucv/siamrn","repo_kind":"official","path":"siamban/models/head/dis_detector.py","file_url":"https://github.com/hqucv/siamrn/blob/HEAD/siamban/models/head/dis_detector.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":"fbcf178aa02e8a5f"}},{"code_sha256_prefix":"4cda3e5a7b250072","entry":"_NonLocalBlockND","repo":"hqucv/siamrn","repo_kind":"official","path":"siamban/models/head/dis_detector.py","file_url":"https://github.com/hqucv/siamrn/blob/HEAD/siamban/models/head/dis_detector.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"4cda3e5a7b250072"}},{"code_sha256_prefix":"1793582559c302f5","entry":"agg_feat","repo":"hqucv/siamrn","repo_kind":"official","path":"siamban/models/head/dis_detector.py","file_url":"https://github.com/hqucv/siamrn/blob/HEAD/siamban/models/head/dis_detector.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"1793582559c302f5"}},{"code_sha256_prefix":"541e18bc31d27b44","entry":"xcorr_depthwise","repo":"hqucv/siamrn","repo_kind":"official","path":"siamban/models/head/dis_detector.py","file_url":"https://github.com/hqucv/siamrn/blob/HEAD/siamban/models/head/dis_detector.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"541e18bc31d27b44"}},{"code_sha256_prefix":"e77c8e290683a124","entry":"Detector","repo":"hqucv/siamrn","repo_kind":"official","path":"siamban/models/head/dis_detector.py","file_url":"https://github.com/hqucv/siamrn/blob/HEAD/siamban/models/head/dis_detector.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":"e77c8e290683a124"}},{"code_sha256_prefix":"9dec7ebe53ec83b0","entry":"GlobalDetector","repo":"hqucv/siamrn","repo_kind":"official","path":"siamban/models/head/dis_detector.py","file_url":"https://github.com/hqucv/siamrn/blob/HEAD/siamban/models/head/dis_detector.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":"9dec7ebe53ec83b0"}},{"code_sha256_prefix":"92197a66c8f6e866","entry":"LocalDetector","repo":"hqucv/siamrn","repo_kind":"official","path":"siamban/models/head/dis_detector.py","file_url":"https://github.com/hqucv/siamrn/blob/HEAD/siamban/models/head/dis_detector.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":"92197a66c8f6e866"}},{"code_sha256_prefix":"2668b5cd3f63b568","entry":"MultiDetector","repo":"hqucv/siamrn","repo_kind":"official","path":"siamban/models/head/dis_detector.py","file_url":"https://github.com/hqucv/siamrn/blob/HEAD/siamban/models/head/dis_detector.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":"2668b5cd3f63b568"}},{"code_sha256_prefix":"b9bd4c6de44ffe72","entry":"weights_init_kaiming","repo":"hqucv/siamrn","repo_kind":"official","path":"siamban/models/head/dis_detector.py","file_url":"https://github.com/hqucv/siamrn/blob/HEAD/siamban/models/head/dis_detector.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":"b9bd4c6de44ffe72"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}