Papers › Weighted-Reward Preference Optimization for Implicit Model Fusion

Weighted-Reward Preference Optimization for Implicit Model Fusion

4 Dec 2024arXiv:2412.03187archive 2025-07-28

ZiYi Yang, Fanqi Wan, Longguang Zhong, Tianyuan Shi, Xiaojun Quan

While fusing heterogeneous open-source LLMs with varying architectures and sizes can potentially integrate the strengths of different models, existing fusion methods face significant challenges, such as vocabulary alignment and merging distribution matrices. These procedures are not only complex but also prone to introducing noise and errors. In this paper, we propose an implicit fusion method, Weighted-Reward Preference Optimization (WRPO), which leverages preference optimization between the source LLMs and the target LLM to transfer their capabilities effectively. WRPO eliminates the need for vocabulary alignment and matrix fusion and can be efficiently scaled to accommodate various LLMs. To address distributional deviations between the source and target LLMs, WRPO introduces a progressive adaptation strategy that gradually shifts reliance on preferred examples from the target LLM to the source LLMs. Extensive experiments on the MT-Bench, AlpacaEval-2, and Arena-Hard benchmarks demonstrate that WRPO consistently outperforms existing knowledge fusion methods and various fine-tuning baselines. When applied to LLaMA3-8B-Instruct as the target model, WRPO achieves a length-controlled win rate of 55.9% against GPT-4-Preview-1106 on AlpacaEval-2 and a win rate of 46.2% against GPT-4-0314 on Arena-Hard. Our code is available at \url{https://github.com/SLIT-AI/WRPO}.

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

Code

Syntology Ran 9 of 14 code samples harvested from 3 repositories linked to this paper; 5 have no recorded run. Of those that ran: 1 ran · violated contract; 1 ran · our draft was wrong; 7 ran with no contract checked.

By repository: official repository: 1 sample from 1 repository, 1 ran; community (archive-listed): 13 samples from 2 repositories, 8 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

SLIT-AI/WRPO officialmentioned in papermentioned on GitHubpytorch report
fanqiwan/fuseai mentioned on GitHubpytorch report
fanqiwan/fusellm mentioned on GitHubpytorch report
slit-ai/fusechat-3.0 mentioned on GitHub 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

14 samples harvested; 9 ran; 0 honoured the contract we drafted; 5 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.

1ran · violated contract
1ran · our draft was wrong
7ran
5unverified

Licence: 14 of the 14 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 3 repositories linked to this paper, official or community; each sample names its own and says which. “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.

pad_to_length slit-ai/wrpo/scripts/wrpo_trainer.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 030b2d5e6e147a1d · report
check_nan fanqiwan/fuseai/FuseChat/train/filter_nan.py community (archive-listed) ran no licence file found · pointer only · 524b27f03377a248 · report
check_nan_base fanqiwan/fuseai/FuseChat/train/filter_nan.py community (archive-listed) ran no licence file found · pointer only · fd32354386c6ce83 · report
dict_to_list fanqiwan/fuseai/FuseChat/train/align_token_and_vocab.py community (archive-listed) ran no licence file found · pointer only · 98b9e3b2ff2e30b8 · report
generate_completions fanqiwan/fuseai/FuseO1-Preview/math_evaluation/model_utils.py community (archive-listed) ran no licence file found · pointer only · 1525d8bc0fc8d5a0 · report
get_logger fanqiwan/fusellm/FuseLLM/src/utils/others.py community (archive-listed) ran no licence file found · pointer only · 1082508e65f77331 · report
list_to_dict fanqiwan/fuseai/FuseChat/train/align_token_and_vocab.py community (archive-listed) ran no licence file found · pointer only · 8e08bca34751633c · report
raise_warning_for_incompatible_cpu_offloading_configuration fanqiwan/fuseai/FuseChat/train/model/model_adapter.py community (archive-listed) ran · violated contract no licence file found · pointer only · 0bf414a2b44babe6 · report
sigmoid fanqiwan/fuseai/FuseChat/train/align_token_and_vocab.py community (archive-listed) ran fingerprinted no licence file found · pointer only · d0b132e4577e5bbb · report
get_base_model fanqiwan/fusellm/FuseLLM/src/utils/others.py community (archive-listed) unverified no licence file found · pointer only · df472be23644090f · report
get_conv_template fanqiwan/fuseai/FuseChat/train/conversation.py community (archive-listed) unverified no licence file found · pointer only · 502fd3534e0509c1 · report
get_gpu_memory fanqiwan/fuseai/FuseChat/train/model/model_adapter.py community (archive-listed) unverified no licence file found · pointer only · 4bec2455307c11b7 · report
get_tokenizer fanqiwan/fusellm/FuseLLM/src/utils/others.py community (archive-listed) unverified no licence file found · pointer only · 503f70e78560aa9e · report
load_hf_lm_and_tokenizer fanqiwan/fuseai/FuseO1-Preview/math_evaluation/model_utils.py community (archive-listed) unverified no licence file found · pointer only · ee71a94d9dd1b8e9 · report

Tasks

model

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