{"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/ranking-models-in-unlabeled-new-environments","title":"Ranking Models in Unlabeled New Environments","arxiv_id":"2108.10310","date":"2021-08-23","proceeding":"ICCV 2021 10","authors":["Xiaoxiao Sun","Yunzhong Hou","Weijian Deng","Hongdong Li","Liang Zheng"],"abstract":"Consider a scenario where we are supplied with a number of ready-to-use models trained on a certain source domain and hope to directly apply the most appropriate ones to different target domains based on the models' relative performance. Ideally we should annotate a validation set for model performance assessment on each new target environment, but such annotations are often very expensive. Under this circumstance, we introduce the problem of ranking models in unlabeled new environments. For this problem, we propose to adopt a proxy dataset that 1) is fully labeled and 2) well reflects the true model rankings in a given target environment, and use the performance rankings on the proxy sets as surrogates. We first select labeled datasets as the proxy. Specifically, datasets that are more similar to the unlabeled target domain are found to better preserve the relative performance rankings. Motivated by this, we further propose to search the proxy set by sampling images from various datasets that have similar distributions as the target. We analyze the problem and its solutions on the person re-identification (re-ID) task, for which sufficient datasets are publicly available, and show that a carefully constructed proxy set effectively captures relative performance ranking in new environments. Code is available at \\url{https://github.com/sxzrt/Proxy-Set}.","url_abs":"https://arxiv.org/abs/2108.10310v2","url_pdf":"https://arxiv.org/pdf/2108.10310v2.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":"ranking-models-in-unlabeled-new-environments","repo_url":"https://github.com/sxzrt/proxy-set","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"ranking-models-in-unlabeled-new-environments","repo_url":"https://github.com/sxzrt/semi-structured-dataset-representations","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"person-re-identification","task_name":"Person Re-Identification"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2108.10310","atlas_url":"https://app.syntology.ai/?focus=2108.10310","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2108.10310"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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/sxzrt/semi-structured-dataset-representations","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/sxzrt/proxy-set","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/sxzrt/Proxy-Set","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":1,"unverified":8},"by_repo_kind":{"official":{"samples":8,"ran":0,"repositories":1},"listed":{"samples":1,"ran":1,"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":"b05adfaeefca09cd","entry":"Set_Rpresentation","repo":"sxzrt/semi-structured-dataset-representations","repo_kind":"listed","path":"Set_rep/regression_new.py","file_url":"https://github.com/sxzrt/semi-structured-dataset-representations/blob/HEAD/Set_rep/regression_new.py","link_basis":"first_harvest_node","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":"b05adfaeefca09cd"}},{"code_sha256_prefix":"0def50a351111624","entry":"calculate_frechet_distance","repo":"sxzrt/Proxy-Set","repo_kind":"official","path":"domain_gap/fd_score.py","file_url":"https://github.com/sxzrt/Proxy-Set/blob/HEAD/domain_gap/fd_score.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0def50a351111624"}},{"code_sha256_prefix":"e7839bb8b15f8f40","entry":"calculate_frechet_distance","repo":"sxzrt/Proxy-Set","repo_kind":"official","path":"domain_gap/fd_score_label.py","file_url":"https://github.com/sxzrt/Proxy-Set/blob/HEAD/domain_gap/fd_score_label.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":"e7839bb8b15f8f40"}},{"code_sha256_prefix":"8b0372a487a32700","entry":"get_activations","repo":"sxzrt/Proxy-Set","repo_kind":"official","path":"domain_gap/fd_score_label.py","file_url":"https://github.com/sxzrt/Proxy-Set/blob/HEAD/domain_gap/fd_score_label.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":"8b0372a487a32700"}},{"code_sha256_prefix":"898416037b5bc82f","entry":"make_square","repo":"sxzrt/Proxy-Set","repo_kind":"official","path":"domain_gap/fd_score.py","file_url":"https://github.com/sxzrt/Proxy-Set/blob/HEAD/domain_gap/fd_score.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":"898416037b5bc82f"}},{"code_sha256_prefix":"7405f2156522f874","entry":"polynomial_mmd","repo":"sxzrt/Proxy-Set","repo_kind":"official","path":"domain_gap/kd_score.py","file_url":"https://github.com/sxzrt/Proxy-Set/blob/HEAD/domain_gap/kd_score.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":"7405f2156522f874"}},{"code_sha256_prefix":"d04f187058cb2a9c","entry":"random_apply","repo":"sxzrt/Proxy-Set","repo_kind":"official","path":"domain_gap/DG_gegerate_data.py","file_url":"https://github.com/sxzrt/Proxy-Set/blob/HEAD/domain_gap/DG_gegerate_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":"d04f187058cb2a9c"}},{"code_sha256_prefix":"e1aaf77a8784526a","entry":"random_brightness","repo":"sxzrt/Proxy-Set","repo_kind":"official","path":"domain_gap/DG_gegerate_data.py","file_url":"https://github.com/sxzrt/Proxy-Set/blob/HEAD/domain_gap/DG_gegerate_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":"e1aaf77a8784526a"}},{"code_sha256_prefix":"49c827442d2fb761","entry":"to_grayscale","repo":"sxzrt/Proxy-Set","repo_kind":"official","path":"domain_gap/DG_gegerate_data.py","file_url":"https://github.com/sxzrt/Proxy-Set/blob/HEAD/domain_gap/DG_gegerate_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":"49c827442d2fb761"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}