Papers › ZipIt! Merging Models from Different Tasks without Training

ZipIt! Merging Models from Different Tasks without Training

4 May 2023arXiv:2305.03053archive 2025-07-28

George Stoica, Daniel Bolya, Jakob Bjorner, Pratik Ramesh, Taylor Hearn, Judy Hoffman

Typical deep visual recognition models are capable of performing the one task they were trained on. In this paper, we tackle the extremely difficult problem of combining distinct models with different initializations, each solving a separate task, into one multi-task model without any additional training. Prior work in model merging permutes one model to the space of the other then averages them together. While this works for models trained on the same task, we find that this fails to account for the differences in models trained on disjoint tasks. Thus, we introduce "ZipIt!", a general method for merging two arbitrary models of the same architecture that incorporates two simple strategies. First, in order to account for features that aren't shared between models, we expand the model merging problem to allow for merging features within each model by defining a general "zip" operation. Second, we add support for partially zipping the models up until a specified layer, naturally creating a multi-head model. We find that these two changes combined account for 20-60% improvement over prior work, making it more feasible to merge models trained on disjoint tasks without retraining.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2305.03053")

Code

Syntology Ran 0 of 11 code samples harvested from 1 repository linked to this paper; 11 have no recorded run.

By repository: official repository: 11 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

gstoica27/zipit officialmentioned in papermentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

11 samples harvested; 0 ran; 0 honoured the contract we drafted; 11 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

11unverified

Licence: 0 of the 11 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from gstoica27/zipit. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: 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. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

create_df gstoica27/zipit/non_imnet_evaluation_scripts/zipit_concept_merging.py official repository unverified MIT (permissive) · b35b2bfe810e02a0 · report
create_subsets gstoica27/zipit/datasets/imagenet_pytorch_to_ffcv.py official repository unverified MIT (permissive) · fb95252bd0e6f666 · report
dict_update gstoica27/zipit/non_imnet_evaluation_scripts/zipit_concept_merging.py official repository unverified MIT (permissive) · 26301db692522f51 · report
evaluate_ensemble gstoica27/zipit/evaluation_scripts/base_model_concept_merging.py official repository unverified MIT (permissive) · fefce9d2a7890200 · report
generate_random_class_splits gstoica27/zipit/datasets/imagenet_pytorch_to_ffcv.py official repository unverified MIT (permissive) · f7b72bbb20075e3f · report
get_intervals gstoica27/zipit/evaluation_scripts/base_model_concept_merging.py official repository unverified MIT (permissive) · 91459bef0e99ac6d · report
get_task_mapping gstoica27/zipit/non_imnet_evaluation_scripts/zipit_concept_merging.py official repository unverified MIT (permissive) · 25dcab2fb8ad45d5 · report
load_meta_file gstoica27/zipit/datasets/imagenet_class.py official repository unverified MIT (permissive) · 9e5419c45da574db · report
parse_devkit_archive gstoica27/zipit/datasets/imagenet_class.py official repository unverified MIT (permissive) · 9857e199c34a404f · report
prepare_loaders gstoica27/zipit/datasets/imagenet.py official repository unverified MIT (permissive) · b1be6a2b6ea086a9 · report
split_even gstoica27/zipit/datasets/imagenet_pytorch_to_ffcv.py official repository unverified MIT (permissive) · f87d51b0cd440842 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections