{"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/open-cross-domain-visual-search","title":"Open Cross-Domain Visual Search","arxiv_id":"1911.08621","date":"2019-11-19","proceeding":null,"authors":["William Thong","Pascal Mettes","Cees G. M. Snoek"],"abstract":"This paper addresses cross-domain visual search, where visual queries retrieve category samples from a different domain. For example, we may want to sketch an airplane and retrieve photographs of airplanes. Despite considerable progress, the search occurs in a closed setting between two pre-defined domains. In this paper, we make the step towards an open setting where multiple visual domains are available. This notably translates into a search between any pair of domains, from a combination of domains or within multiple domains. We introduce a simple -- yet effective -- approach. We formulate the search as a mapping from every visual domain to a common semantic space, where categories are represented by hyperspherical prototypes. Open cross-domain visual search is then performed by searching in the common semantic space, regardless of which domains are used as source or target. Domains are combined in the common space to search from or within multiple domains simultaneously. A separate training of every domain-specific mapping function enables an efficient scaling to any number of domains without affecting the search performance. We empirically illustrate our capability to perform open cross-domain visual search in three different scenarios. Our approach is competitive with respect to existing closed settings, where we obtain state-of-the-art results on several benchmarks for three sketch-based search tasks.","url_abs":"https://arxiv.org/abs/1911.08621v2","url_pdf":"https://arxiv.org/pdf/1911.08621v2.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":"open-cross-domain-visual-search","repo_url":"https://github.com/twuilliam/open-search","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"open-cross-domain-visual-search","repo_url":"https://github.com/twuilliam/shrec-sketches-helpers","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"domain-adaptation","task_name":"Domain Adaptation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1911.08621","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1911.08621"}},"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/twuilliam/open-search","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/twuilliam/shrec-sketches-helpers","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":2,"unverified":18},"by_repo_kind":{"official":{"samples":13,"ran":2,"repositories":1},"listed":{"samples":7,"ran":0,"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":"65bd69884cbfbdc9","entry":"mean_reciprocal_rank","repo":"twuilliam/open-search","repo_kind":"official","path":"metrics.py","file_url":"https://github.com/twuilliam/open-search/blob/HEAD/metrics.py","link_basis":"plan_row","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":"65bd69884cbfbdc9"}},{"code_sha256_prefix":"1c940d569262c1bb","entry":"r_precision","repo":"twuilliam/open-search","repo_kind":"official","path":"metrics.py","file_url":"https://github.com/twuilliam/open-search/blob/HEAD/metrics.py","link_basis":"plan_row","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1c940d569262c1bb"}},{"code_sha256_prefix":"cb0836b2ce97a80d","entry":"L2norm","repo":"twuilliam/open-search","repo_kind":"official","path":"utils.py","file_url":"https://github.com/twuilliam/open-search/blob/HEAD/utils.py","link_basis":"first_harvest_node","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":"cb0836b2ce97a80d"}},{"code_sha256_prefix":"3880008c4fe16944","entry":"average_views","repo":"twuilliam/open-search","repo_kind":"official","path":"retrieve.py","file_url":"https://github.com/twuilliam/open-search/blob/HEAD/retrieve.py","link_basis":"first_harvest_node","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":"3880008c4fe16944"}},{"code_sha256_prefix":"6a21d78b7ceca1cc","entry":"cosine_similarity","repo":"twuilliam/open-search","repo_kind":"official","path":"utils.py","file_url":"https://github.com/twuilliam/open-search/blob/HEAD/utils.py","link_basis":"first_harvest_node","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":"6a21d78b7ceca1cc"}},{"code_sha256_prefix":"23f10677122afb3b","entry":"get_df_models","repo":"twuilliam/shrec-sketches-helpers","repo_kind":"listed","path":"meta.py","file_url":"https://github.com/twuilliam/shrec-sketches-helpers/blob/HEAD/meta.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":"23f10677122afb3b"}},{"code_sha256_prefix":"faad61882eee2c40","entry":"get_df_sketches","repo":"twuilliam/shrec-sketches-helpers","repo_kind":"listed","path":"meta.py","file_url":"https://github.com/twuilliam/shrec-sketches-helpers/blob/HEAD/meta.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":"faad61882eee2c40"}},{"code_sha256_prefix":"5417ee0a0e3b8598","entry":"get_img_paths","repo":"twuilliam/shrec-sketches-helpers","repo_kind":"listed","path":"resize_cad.py","file_url":"https://github.com/twuilliam/shrec-sketches-helpers/blob/HEAD/resize_cad.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":"5417ee0a0e3b8598"}},{"code_sha256_prefix":"953ff0147b348079","entry":"image_loader","repo":"twuilliam/open-search","repo_kind":"official","path":"data.py","file_url":"https://github.com/twuilliam/open-search/blob/HEAD/data.py","link_basis":"first_harvest_node","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":"953ff0147b348079"}},{"code_sha256_prefix":"a4776e0007a96f54","entry":"mix_queries","repo":"twuilliam/open-search","repo_kind":"official","path":"retrieve-many.py","file_url":"https://github.com/twuilliam/open-search/blob/HEAD/retrieve-many.py","link_basis":"first_harvest_node","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":"a4776e0007a96f54"}},{"code_sha256_prefix":"e6aadce6eebf0bbe","entry":"parse_samples","repo":"twuilliam/open-search","repo_kind":"official","path":"fewshot.py","file_url":"https://github.com/twuilliam/open-search/blob/HEAD/fewshot.py","link_basis":"first_harvest_node","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":"e6aadce6eebf0bbe"}},{"code_sha256_prefix":"0b5204fbf39cb428","entry":"precision_at_k","repo":"twuilliam/open-search","repo_kind":"official","path":"metrics.py","file_url":"https://github.com/twuilliam/open-search/blob/HEAD/metrics.py","link_basis":"first_harvest_node","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":"0b5204fbf39cb428"}},{"code_sha256_prefix":"c52b0b26a314224f","entry":"read_data","repo":"twuilliam/open-search","repo_kind":"official","path":"retrieve-many.py","file_url":"https://github.com/twuilliam/open-search/blob/HEAD/retrieve-many.py","link_basis":"first_harvest_node","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":"c52b0b26a314224f"}},{"code_sha256_prefix":"5b57219617ee7f54","entry":"sketch_loader","repo":"twuilliam/open-search","repo_kind":"official","path":"data.py","file_url":"https://github.com/twuilliam/open-search/blob/HEAD/data.py","link_basis":"first_harvest_node","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":"5b57219617ee7f54"}},{"code_sha256_prefix":"fe2abfe820701e3b","entry":"slerp","repo":"twuilliam/open-search","repo_kind":"official","path":"retrieve-any.py","file_url":"https://github.com/twuilliam/open-search/blob/HEAD/retrieve-any.py","link_basis":"first_harvest_node","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":"fe2abfe820701e3b"}},{"code_sha256_prefix":"224b09730b998dbc","entry":"split_models","repo":"twuilliam/shrec-sketches-helpers","repo_kind":"listed","path":"meta.py","file_url":"https://github.com/twuilliam/shrec-sketches-helpers/blob/HEAD/meta.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":"224b09730b998dbc"}},{"code_sha256_prefix":"f538407c03e22ccc","entry":"to_numpy","repo":"twuilliam/open-search","repo_kind":"official","path":"utils.py","file_url":"https://github.com/twuilliam/open-search/blob/HEAD/utils.py","link_basis":"first_harvest_node","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":"f538407c03e22ccc"}},{"code_sha256_prefix":"025e92978685444f","entry":"transform_im","repo":"twuilliam/shrec-sketches-helpers","repo_kind":"listed","path":"resize_cad.py","file_url":"https://github.com/twuilliam/shrec-sketches-helpers/blob/HEAD/resize_cad.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":"025e92978685444f"}},{"code_sha256_prefix":"e399ef1611a7538c","entry":"transform_im","repo":"twuilliam/shrec-sketches-helpers","repo_kind":"listed","path":"resize_sk.py","file_url":"https://github.com/twuilliam/shrec-sketches-helpers/blob/HEAD/resize_sk.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":"e399ef1611a7538c"}},{"code_sha256_prefix":"2c92c5a112ff2faf","entry":"transform_path","repo":"twuilliam/shrec-sketches-helpers","repo_kind":"listed","path":"resize_sk.py","file_url":"https://github.com/twuilliam/shrec-sketches-helpers/blob/HEAD/resize_sk.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":"2c92c5a112ff2faf"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}