Papers › Dataless Knowledge Fusion by Merging Weights of Language Models

Dataless Knowledge Fusion by Merging Weights of Language Models

19 Dec 2022arXiv:2212.09849archive 2025-07-28

Xisen Jin, Xiang Ren, Daniel Preotiuc-Pietro, Pengxiang Cheng

Fine-tuning pre-trained language models has become the prevalent paradigm for building downstream NLP models. Oftentimes fine-tuned models are readily available but their training data is not, due to data privacy or intellectual property concerns. This creates a barrier to fusing knowledge across individual models to yield a better single model. In this paper, we study the problem of merging individual models built on different training data sets to obtain a single model that performs well both across all data set domains and can generalize on out-of-domain data. We propose a dataless knowledge fusion method that merges models in their parameter space, guided by weights that minimize prediction differences between the merged model and the individual models. Over a battery of evaluation settings, we show that the proposed method significantly outperforms baselines such as Fisher-weighted averaging or model ensembling. Further, we find that our method is a promising alternative to multi-task learning that can preserve or sometimes improve over the individual models without access to the training data. Finally, model merging is more efficient than training a multi-task model, thus making it applicable to a wider set of scenarios.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

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="2212.09849")

Code

Syntology Ran 10 of 19 code samples harvested from 1 repository linked to this paper; 9 have no recorded run. Of those that ran: 6 ran · our draft was wrong; 4 ran with no contract checked.

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

bloomberg/dataless-model-merging officialmentioned in paperpytorch 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

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

6ran · our draft was wrong
4ran
9unverified

Licence: 0 of the 19 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 bloomberg/dataless-model-merging. “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.

FedAvgMerger bloomberg/dataless-model-merging/src/model_merge/ot_merger.py official repository ran Apache-2.0 (permissive) · 10b9df811ddc6d24 · report
GroundMetric bloomberg/dataless-model-merging/src/model_merge/ot_merger.py official repository ran Apache-2.0 (permissive) · f3635898362e71cb · report
ModelMergerBase bloomberg/dataless-model-merging/src/model_merge/ot_merger.py official repository ran Apache-2.0 (permissive) · c314ef759f51e47d · report
TmpLocalModel bloomberg/dataless-model-merging/src/model_merge/ot_merger.py official repository ran Apache-2.0 (permissive) · e823833341bb66b2 · report
compute_bce_loss bloomberg/dataless-model-merging/src/model_merge/ot_merger.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 9512ea87c384d970 · report
filter_modules_by_regex bloomberg/dataless-model-merging/src/model_merge/ot_merger.py official repository ran · our draft was wrong Apache-2.0 (permissive) · af8fc9a6b079dd80 · report
filter_params_to_merge bloomberg/dataless-model-merging/src/model_merge/ot_merger.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 542bdbc6b44e26fe · report
get_component_configs bloomberg/dataless-model-merging/src/model_merge/ot_merger.py official repository ran · our draft was wrong Apache-2.0 (permissive) · b7a34bad497441a4 · report
get_reweight_factor bloomberg/dataless-model-merging/src/model_merge/ot_merger.py official repository ran · our draft was wrong Apache-2.0 (permissive) · d150cc5adcf9981b · report
get_submodule bloomberg/dataless-model-merging/src/model_merge/ot_merger.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 253168af406c0497 · report
DebertaV2ForMultiLabelClassification bloomberg/dataless-model-merging/src/model_merge/ot_merger.py official repository unverified Apache-2.0 (permissive) · 9f88183c29de2263 · report
DistilBERTForMultiLabelClassification bloomberg/dataless-model-merging/src/model_merge/ot_merger.py official repository unverified Apache-2.0 (permissive) · cb4e87b0878653c2 · report
GPT2ForMultiLabelClassification bloomberg/dataless-model-merging/src/model_merge/ot_merger.py official repository unverified Apache-2.0 (permissive) · dec050be98e95d6a · report
MTLModel bloomberg/dataless-model-merging/src/model_merge/ot_merger.py official repository unverified Apache-2.0 (permissive) · 9410ed9ff867ec7d · report
MultiDomainModel bloomberg/dataless-model-merging/src/model_merge/ot_merger.py official repository unverified Apache-2.0 (permissive) · 80ffc739f078f603 · report
OptimalTransportMerger bloomberg/dataless-model-merging/src/model_merge/ot_merger.py official repository unverified Apache-2.0 (permissive) · cc27cfd051c590d3 · report
RoBERTaForMultiLabelClassification bloomberg/dataless-model-merging/src/model_merge/ot_merger.py official repository unverified Apache-2.0 (permissive) · 7ff12c9ca05e8578 · report
create_model bloomberg/dataless-model-merging/src/model_merge/ot_merger.py official repository unverified Apache-2.0 (permissive) · 3b2e0a4e703d6201 · report
create_stl_model bloomberg/dataless-model-merging/src/model_merge/ot_merger.py official repository unverified Apache-2.0 (permissive) · 4b49e7003c26de74 · report

Tasks

Multi-Task Learning

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