{"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/eco-tr-efficient-correspondences-finding-via","title":"ECO-TR: Efficient Correspondences Finding Via Coarse-to-Fine Refinement","arxiv_id":"2209.12213","date":"2022-09-25","proceeding":null,"authors":["Dongli Tan","Jiang-Jiang Liu","Xingyu Chen","Chao Chen","Ruixin Zhang","Yunhang Shen","Shouhong Ding","Rongrong Ji"],"abstract":"Modeling sparse and dense image matching within a unified functional correspondence model has recently attracted increasing research interest. However, existing efforts mainly focus on improving matching accuracy while ignoring its efficiency, which is crucial for realworld applications. In this paper, we propose an efficient structure named Efficient Correspondence Transformer (ECO-TR) by finding correspondences in a coarse-to-fine manner, which significantly improves the efficiency of functional correspondence model. To achieve this, multiple transformer blocks are stage-wisely connected to gradually refine the predicted coordinates upon a shared multi-scale feature extraction network. Given a pair of images and for arbitrary query coordinates, all the correspondences are predicted within a single feed-forward pass. We further propose an adaptive query-clustering strategy and an uncertainty-based outlier detection module to cooperate with the proposed framework for faster and better predictions. Experiments on various sparse and dense matching tasks demonstrate the superiority of our method in both efficiency and effectiveness against existing state-of-the-arts.","url_abs":"https://arxiv.org/abs/2209.12213v1","url_pdf":"https://arxiv.org/pdf/2209.12213v1.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":"eco-tr-efficient-correspondences-finding-via","repo_url":"https://github.com/dltan7/ECO-TR","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"outlier-detection","task_name":"Outlier Detection"}],"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=2209.12213","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2209.12213"}},"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/dltan7/ECO-TR","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran_draft_wrong":3,"unverified":10},"by_repo_kind":{"listed":{"samples":13,"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":0,"samples":[{"code_sha256_prefix":"2a80220dabcb742a","entry":"conv1x1","repo":"dltan7/ECO-TR","repo_kind":"listed","path":"src/models/base/resnet.py","file_url":"https://github.com/dltan7/ECO-TR/blob/HEAD/src/models/base/resnet.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"2a80220dabcb742a"}},{"code_sha256_prefix":"600ff2c45e0de056","entry":"conv3x3","repo":"dltan7/ECO-TR","repo_kind":"listed","path":"src/models/base/resnet.py","file_url":"https://github.com/dltan7/ECO-TR/blob/HEAD/src/models/base/resnet.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"600ff2c45e0de056"}},{"code_sha256_prefix":"616a327f53231192","entry":"lower_config","repo":"dltan7/ECO-TR","repo_kind":"listed","path":"src/utils/misc.py","file_url":"https://github.com/dltan7/ECO-TR/blob/HEAD/src/utils/misc.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"616a327f53231192"}},{"code_sha256_prefix":"983f2c32d9f35628","entry":"build","repo":"dltan7/ECO-TR","repo_kind":"listed","path":"src/models/ecotr_model.py","file_url":"https://github.com/dltan7/ECO-TR/blob/HEAD/src/models/ecotr_model.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":"983f2c32d9f35628"}},{"code_sha256_prefix":"8ee33b336f178e2f","entry":"build_transformer","repo":"dltan7/ECO-TR","repo_kind":"listed","path":"src/models/ecotr_modules/transformer.py","file_url":"https://github.com/dltan7/ECO-TR/blob/HEAD/src/models/ecotr_modules/transformer.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":"8ee33b336f178e2f"}},{"code_sha256_prefix":"61cff4fbbca8ca11","entry":"gn","repo":"dltan7/ECO-TR","repo_kind":"listed","path":"src/models/base/resnet.py","file_url":"https://github.com/dltan7/ECO-TR/blob/HEAD/src/models/base/resnet.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":"61cff4fbbca8ca11"}},{"code_sha256_prefix":"9224de92ef54dd1c","entry":"make_divisible","repo":"dltan7/ECO-TR","repo_kind":"listed","path":"src/models/utils/inference_helper.py","file_url":"https://github.com/dltan7/ECO-TR/blob/HEAD/src/models/utils/inference_helper.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":"9224de92ef54dd1c"}},{"code_sha256_prefix":"22001c33b543ad95","entry":"map_patch_coord_to_image","repo":"dltan7/ECO-TR","repo_kind":"listed","path":"src/models/ecotr_modules/query_clustering.py","file_url":"https://github.com/dltan7/ECO-TR/blob/HEAD/src/models/ecotr_modules/query_clustering.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":"22001c33b543ad95"}},{"code_sha256_prefix":"764b0c92414d2fed","entry":"nested_tensor_from_tensor_list","repo":"dltan7/ECO-TR","repo_kind":"listed","path":"src/models/ecotr_modules/misc.py","file_url":"https://github.com/dltan7/ECO-TR/blob/HEAD/src/models/ecotr_modules/misc.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":"764b0c92414d2fed"}},{"code_sha256_prefix":"fb594a42639a8d0e","entry":"str2bool","repo":"dltan7/ECO-TR","repo_kind":"listed","path":"src/utils/misc.py","file_url":"https://github.com/dltan7/ECO-TR/blob/HEAD/src/utils/misc.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":"fb594a42639a8d0e"}},{"code_sha256_prefix":"681727300c4bf594","entry":"two_images_side_by_side","repo":"dltan7/ECO-TR","repo_kind":"listed","path":"src/models/utils/inference_helper.py","file_url":"https://github.com/dltan7/ECO-TR/blob/HEAD/src/models/utils/inference_helper.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":"681727300c4bf594"}},{"code_sha256_prefix":"2df0e20437c897be","entry":"two_images_side_by_side_batch","repo":"dltan7/ECO-TR","repo_kind":"listed","path":"src/models/utils/inference_helper.py","file_url":"https://github.com/dltan7/ECO-TR/blob/HEAD/src/models/utils/inference_helper.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":"2df0e20437c897be"}},{"code_sha256_prefix":"d2dd10cadb61b3ed","entry":"upper_config","repo":"dltan7/ECO-TR","repo_kind":"listed","path":"src/utils/misc.py","file_url":"https://github.com/dltan7/ECO-TR/blob/HEAD/src/utils/misc.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":"d2dd10cadb61b3ed"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}