{"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/a-data-based-perspective-on-transfer-learning","title":"A Data-Based Perspective on Transfer Learning","arxiv_id":"2207.05739","date":"2022-07-12","proceeding":"CVPR 2023 1","authors":["Saachi Jain","Hadi Salman","Alaa Khaddaj","Eric Wong","Sung Min Park","Aleksander Madry"],"abstract":"It is commonly believed that in transfer learning including more pre-training data translates into better performance. However, recent evidence suggests that removing data from the source dataset can actually help too. In this work, we take a closer look at the role of the source dataset's composition in transfer learning and present a framework for probing its impact on downstream performance. Our framework gives rise to new capabilities such as pinpointing transfer learning brittleness as well as detecting pathologies such as data-leakage and the presence of misleading examples in the source dataset. In particular, we demonstrate that removing detrimental datapoints identified by our framework improves transfer learning performance from ImageNet on a variety of target tasks. Code is available at https://github.com/MadryLab/data-transfer","url_abs":"https://arxiv.org/abs/2207.05739v1","url_pdf":"https://arxiv.org/pdf/2207.05739v1.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":"a-data-based-perspective-on-transfer-learning","repo_url":"https://github.com/madrylab/data-transfer","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"transfer-learning","task_name":"Transfer Learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2207.05739","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2207.05739"}},"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/madrylab/data-transfer","reach":null}],"summary":{"ran_honours":2,"ran_draft_wrong":1},"by_repo_kind":{"official":{"samples":3,"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":"69801328ae75ccbb","entry":"get_mm_flags","repo":"madrylab/data-transfer","repo_kind":"official","path":"analysis/compute_influences.py","file_url":"https://github.com/madrylab/data-transfer/blob/HEAD/analysis/compute_influences.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"69801328ae75ccbb"}},{"code_sha256_prefix":"1205ef6d89e6c1bb","entry":"memmap_read","repo":"madrylab/data-transfer","repo_kind":"official","path":"analysis/compute_influences.py","file_url":"https://github.com/madrylab/data-transfer/blob/HEAD/analysis/compute_influences.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1205ef6d89e6c1bb"}},{"code_sha256_prefix":"20c026acfa380777","entry":"recursive_compress","repo":"madrylab/data-transfer","repo_kind":"official","path":"analysis/compute_influences.py","file_url":"https://github.com/madrylab/data-transfer/blob/HEAD/analysis/compute_influences.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"20c026acfa380777"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}