{"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/arxiv-2606-14900","title":"GRASP: Gradient-Aligned Sequential Parameter Transfer for Memory-Efficient Multi-Source Learning","arxiv_id":"2606.14900","date":"2026-06-12","proceeding":null,"authors":["Mary Isabelle Wisell","Nicholas Jacobs","Aayush Manandhar","Salimeh Yasaei Sekeh"],"abstract":"Multi-source transfer learning faces a fundamental scalability bottleneck: existing approaches require either loading all K source models into memory simultaneously during parameter fusion, requiring O(K) memory, or deploying all models at inference time, making production deployment infeasible. We propose GRASP (Gradient-Aligned Sequential Parameter Transfer), which achieves superior knowledge integration while maintaining O(1) memory consumption through three key innovations: (1) sequential processing that merges one source at a time into an evolving target model, (2) parameter-wise gradient alignment that selectively transfers only parameters whose optimization directions align with the target domain, avoiding negative transfer, and (3) iterative fine-tuning that adapts transferred knowledge before integrating the next source. Extensive experiments across three continual learning benchmarks (Yearbook, CLEAR-10, CLEAR-100) spanning 10 to 108-year temporal distribution shifts and four architectures (1.3M to 25.6M parameters) demonstrate that GRASP achieves 93.5% mean accuracy over all datasets and architectures compared to ensemble method's 71.7% accuracy while requiring only constant memory versus K models for standard multi-source fusion. Critically, GRASP's sequential previously merged models and scales to arbitrarily many sources without memory growth, making it uniquely suitable for resource-constrained deployment and continually evolving source domains.","url_abs":"https://arxiv.org/abs/2606.14900","url_pdf":"https://arxiv.org/pdf/2606.14900","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2606.14900","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2606.14900"}},"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":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/Sekeh-Lab/grasp-multisource-transfer","reach":null}],"summary":{"ran":6,"ran_draft_wrong":4,"ran_violates":1,"ran_fixture":1,"ran_honours":1,"unverified":7},"by_repo_kind":{"found_in_text":{"samples":20,"ran":13,"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":"e4d838778e6b952a","entry":"GPUMemoryTracker","repo":"Sekeh-Lab/grasp-multisource-transfer","repo_kind":"found_in_text","path":"experiments/grasp/run_grasp_experiment.py","file_url":"https://github.com/Sekeh-Lab/grasp-multisource-transfer/blob/HEAD/experiments/grasp/run_grasp_experiment.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":"e4d838778e6b952a"}},{"code_sha256_prefix":"1f7d64247a9dc7a1","entry":"_get_dataset_checkpoint_dir","repo":"Sekeh-Lab/grasp-multisource-transfer","repo_kind":"found_in_text","path":"experiments/grasp/run_grasp_experiment.py","file_url":"https://github.com/Sekeh-Lab/grasp-multisource-transfer/blob/HEAD/experiments/grasp/run_grasp_experiment.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1f7d64247a9dc7a1"}},{"code_sha256_prefix":"48209bcda65e0b8c","entry":"_is_torchvision_backbone","repo":"Sekeh-Lab/grasp-multisource-transfer","repo_kind":"found_in_text","path":"experiments/grasp/run_grasp_experiment.py","file_url":"https://github.com/Sekeh-Lab/grasp-multisource-transfer/blob/HEAD/experiments/grasp/run_grasp_experiment.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"48209bcda65e0b8c"}},{"code_sha256_prefix":"e950bb9bbf851272","entry":"calculate_metrics","repo":"Sekeh-Lab/grasp-multisource-transfer","repo_kind":"found_in_text","path":"experiments/grasp/run_grasp_experiment.py","file_url":"https://github.com/Sekeh-Lab/grasp-multisource-transfer/blob/HEAD/experiments/grasp/run_grasp_experiment.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e950bb9bbf851272"}},{"code_sha256_prefix":"3400485692b5c4e6","entry":"count_grasp_total_flops","repo":"Sekeh-Lab/grasp-multisource-transfer","repo_kind":"found_in_text","path":"experiments/grasp/run_grasp_experiment.py","file_url":"https://github.com/Sekeh-Lab/grasp-multisource-transfer/blob/HEAD/experiments/grasp/run_grasp_experiment.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":"3400485692b5c4e6"}},{"code_sha256_prefix":"27c478c98034fd4f","entry":"count_model_flops","repo":"Sekeh-Lab/grasp-multisource-transfer","repo_kind":"found_in_text","path":"experiments/grasp/run_grasp_experiment.py","file_url":"https://github.com/Sekeh-Lab/grasp-multisource-transfer/blob/HEAD/experiments/grasp/run_grasp_experiment.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"27c478c98034fd4f"}},{"code_sha256_prefix":"cef3428d24e48afb","entry":"fine_tune_model","repo":"Sekeh-Lab/grasp-multisource-transfer","repo_kind":"found_in_text","path":"experiments/grasp/run_grasp_experiment.py","file_url":"https://github.com/Sekeh-Lab/grasp-multisource-transfer/blob/HEAD/experiments/grasp/run_grasp_experiment.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":"cef3428d24e48afb"}},{"code_sha256_prefix":"7a2d991f4daebce0","entry":"get_data_module","repo":"Sekeh-Lab/grasp-multisource-transfer","repo_kind":"found_in_text","path":"experiments/grasp/run_grasp_experiment.py","file_url":"https://github.com/Sekeh-Lab/grasp-multisource-transfer/blob/HEAD/experiments/grasp/run_grasp_experiment.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":"7a2d991f4daebce0"}},{"code_sha256_prefix":"a425378802b4b531","entry":"get_dataloaders","repo":"Sekeh-Lab/grasp-multisource-transfer","repo_kind":"found_in_text","path":"experiments/grasp/run_grasp_experiment.py","file_url":"https://github.com/Sekeh-Lab/grasp-multisource-transfer/blob/HEAD/experiments/grasp/run_grasp_experiment.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":"a425378802b4b531"}},{"code_sha256_prefix":"c5114231b7acba6b","entry":"get_grasp_flops_report","repo":"Sekeh-Lab/grasp-multisource-transfer","repo_kind":"found_in_text","path":"experiments/grasp/run_grasp_experiment.py","file_url":"https://github.com/Sekeh-Lab/grasp-multisource-transfer/blob/HEAD/experiments/grasp/run_grasp_experiment.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":"c5114231b7acba6b"}},{"code_sha256_prefix":"6540ebe0bd674c69","entry":"get_huggingface_model_name","repo":"Sekeh-Lab/grasp-multisource-transfer","repo_kind":"found_in_text","path":"experiments/grasp/run_grasp_experiment.py","file_url":"https://github.com/Sekeh-Lab/grasp-multisource-transfer/blob/HEAD/experiments/grasp/run_grasp_experiment.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6540ebe0bd674c69"}},{"code_sha256_prefix":"921099898da3e0f5","entry":"standardize_model_name","repo":"Sekeh-Lab/grasp-multisource-transfer","repo_kind":"found_in_text","path":"experiments/grasp/run_grasp_experiment.py","file_url":"https://github.com/Sekeh-Lab/grasp-multisource-transfer/blob/HEAD/experiments/grasp/run_grasp_experiment.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"921099898da3e0f5"}},{"code_sha256_prefix":"05021f01edad19af","entry":"transfer_aligned_parameters","repo":"Sekeh-Lab/grasp-multisource-transfer","repo_kind":"found_in_text","path":"experiments/grasp/run_grasp_experiment.py","file_url":"https://github.com/Sekeh-Lab/grasp-multisource-transfer/blob/HEAD/experiments/grasp/run_grasp_experiment.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"05021f01edad19af"}},{"code_sha256_prefix":"6429d29cff3d6ea3","entry":"_build_torchvision_model","repo":"Sekeh-Lab/grasp-multisource-transfer","repo_kind":"found_in_text","path":"experiments/grasp/run_grasp_experiment.py","file_url":"https://github.com/Sekeh-Lab/grasp-multisource-transfer/blob/HEAD/experiments/grasp/run_grasp_experiment.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":"6429d29cff3d6ea3"}},{"code_sha256_prefix":"868339718913ce91","entry":"compute_gradient_alignment","repo":"Sekeh-Lab/grasp-multisource-transfer","repo_kind":"found_in_text","path":"experiments/grasp/run_grasp_experiment.py","file_url":"https://github.com/Sekeh-Lab/grasp-multisource-transfer/blob/HEAD/experiments/grasp/run_grasp_experiment.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":"868339718913ce91"}},{"code_sha256_prefix":"e8aa04daf093f829","entry":"create_training_curves","repo":"Sekeh-Lab/grasp-multisource-transfer","repo_kind":"found_in_text","path":"experiments/grasp/run_grasp_experiment.py","file_url":"https://github.com/Sekeh-Lab/grasp-multisource-transfer/blob/HEAD/experiments/grasp/run_grasp_experiment.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":"e8aa04daf093f829"}},{"code_sha256_prefix":"5faf0fe65b442218","entry":"evaluate_model","repo":"Sekeh-Lab/grasp-multisource-transfer","repo_kind":"found_in_text","path":"experiments/grasp/run_grasp_experiment.py","file_url":"https://github.com/Sekeh-Lab/grasp-multisource-transfer/blob/HEAD/experiments/grasp/run_grasp_experiment.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":"5faf0fe65b442218"}},{"code_sha256_prefix":"75008bb0c87badf8","entry":"load_baseline_model","repo":"Sekeh-Lab/grasp-multisource-transfer","repo_kind":"found_in_text","path":"experiments/grasp/run_grasp_experiment.py","file_url":"https://github.com/Sekeh-Lab/grasp-multisource-transfer/blob/HEAD/experiments/grasp/run_grasp_experiment.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":"75008bb0c87badf8"}},{"code_sha256_prefix":"4af2444a3ff4f132","entry":"run_grasp_experiment","repo":"Sekeh-Lab/grasp-multisource-transfer","repo_kind":"found_in_text","path":"experiments/grasp/run_grasp_experiment.py","file_url":"https://github.com/Sekeh-Lab/grasp-multisource-transfer/blob/HEAD/experiments/grasp/run_grasp_experiment.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":"4af2444a3ff4f132"}},{"code_sha256_prefix":"3835a07273e542ac","entry":"save_confusion_matrix","repo":"Sekeh-Lab/grasp-multisource-transfer","repo_kind":"found_in_text","path":"experiments/grasp/run_grasp_experiment.py","file_url":"https://github.com/Sekeh-Lab/grasp-multisource-transfer/blob/HEAD/experiments/grasp/run_grasp_experiment.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":"3835a07273e542ac"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":null}