Papers › Closed-Form Spectral Regularization for Multi-Task Model Merging

Closed-Form Spectral Regularization for Multi-Task Model Merging

5 Jun 2026arXiv:2606.07289added by Syntology

Yongxian Wei, Runxi Cheng, Xingxuan Zhang, Li Shen, Chun Yuan, Peng Cui, Dacheng Tao

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Model merging combines several independently fine-tuned experts into a single multi-task model without any training data, reducing the storage, serving, and decentralized-development costs of large foundation models. State-of-the-art merging methods formulate merging as a layer-wise quadratic interference minimization problem. Although this problem admits an exact closed-form pseudoinverse solution, that solution underperforms hundreds of iterations of gradient descent in practice. The iterative loop dominates the cost of the pipeline, yet its effectiveness has remained unexplained. We revisit this regime and show that the iterative solver does not primarily act as an optimizer; rather, it serves as an implicit spectral regularizer for an ill-posed normal equation, where small-eigenvalue directions of the per-layer interference operator amplify proxy noise. Building on this finding, we formalize multi-task model merging as a noisy linear inverse problem and propose a spectral filtering estimator parameterized by a per-direction filter. We instantiate this estimator with SWUDI, a closed-form method that combines a soft exponential filter, which matches the gradient-flow trajectory of iterative descent, with a hard top-K truncation that suppresses noise-amplifying small-eigenvalue directions. Furthermore, we propose SWUDI-A, an adaptive variant that replaces the global rank hyperparameter with per-layer rank rules, further improving robustness across architectures. Both variants share a single symmetric eigendecomposition per linear layer and require no training data or optimizer state. Across four general benchmarks and a multimodal merging benchmark spanning VQA, Geometry, Chart, OCR, Grounding, and modality merging, our proposed spectral solvers match or outperform state-of-the-art merging methods. Crucially, they reduce wall-clock time by 28-72x and peak GPU memory by up to 50%.

PaperPDFCode Syntology ran

In Syntology 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="2606.07289")

Code

Syntology Ran 18 of 19 code samples harvested from 1 repository linked to this paper; 1 has no recorded run. Of those that ran: 3 ran · our draft was wrong; 2 ran · fixture could not drive it; 13 ran with no contract checked.

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

WalkerWorldPeace/MLLMerging found in paper text by Syntology report

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; 18 ran; 0 honoured the contract we drafted; 1 has no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

3ran · our draft was wrong
2ran · fixture could not drive it
13ran
1unverified

Licence: 19 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 WalkerWorldPeace/MLLMerging. “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.

build_transform WalkerWorldPeace/MLLMerging/InternVL/internvl_chat/model_merging.py found in paper text by Syntology ran no licence file found · pointer only · 57e95166ade5f25c · report
cache_states WalkerWorldPeace/MLLMerging/LLaMA-Factory/run_merge_baseline.py found in paper text by Syntology ran no licence file found · pointer only · d086657e28ce7f38 · report
cache_states WalkerWorldPeace/MLLMerging/LLaMA-Factory/run_merge_baseline_internvl.py found in paper text by Syntology ran no licence file found · pointer only · 62fed5db332affd0 · report
convert_box WalkerWorldPeace/MLLMerging/LLaMA-Factory/grounding.py found in paper text by Syntology ran no licence file found · pointer only · 0d07817f34e79b4b · report
dynamic_preprocess WalkerWorldPeace/MLLMerging/InternVL/internvl_chat/model_merging.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · 6dc77bb22fb9d660 · report
find_closest_aspect_ratio WalkerWorldPeace/MLLMerging/InternVL/internvl_chat/model_merging.py found in paper text by Syntology ran · fixture could not drive it no licence file found · pointer only · bd77f5f8067f18e9 · report
get_param_names_to_merge WalkerWorldPeace/MLLMerging/LLaMA-Factory/model_merging.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · dcafd602728bc51e · report
load_all WalkerWorldPeace/MLLMerging/LLaMA-Factory/diff_merged_weights.py found in paper text by Syntology ran no licence file found · pointer only · b22f6cc19ab398f9 · report
load_all_shards WalkerWorldPeace/MLLMerging/LLaMA-Factory/rescale_multi.py found in paper text by Syntology ran no licence file found · pointer only · 4745bf56ff70c712 · report
load_module WalkerWorldPeace/MLLMerging/LLaMA-Factory/benchmark_mllm_merge_cost.py found in paper text by Syntology ran no licence file found · pointer only · c722e6776be8c9ac · report
lookup WalkerWorldPeace/MLLMerging/LLaMA-Factory/diff_merged_weights.py found in paper text by Syntology ran no licence file found · pointer only · 20f6ae118d68fdc8 · report
mask_input_with_mask_rate WalkerWorldPeace/MLLMerging/LLaMA-Factory/model_merging.py found in paper text by Syntology ran · fixture could not drive it no licence file found · pointer only · 5bd838966b120daf · report
mask_model_weights WalkerWorldPeace/MLLMerging/LLaMA-Factory/baseline_merging.py found in paper text by Syntology ran no licence file found · pointer only · 78ad18c6bed292e3 · report
parse_text WalkerWorldPeace/MLLMerging/ModelCompose/demo_app.py found in paper text by Syntology ran no licence file found · pointer only · 840fb864701f8f6d · report
process_value_string WalkerWorldPeace/MLLMerging/LLaMA-Factory/grounding.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 1d7b10d84936c164 · report
resolve_dtype WalkerWorldPeace/MLLMerging/LLaMA-Factory/run_merge_baseline.py found in paper text by Syntology ran no licence file found · pointer only · 4c8f7beb44c32119 · report
ties_merging WalkerWorldPeace/MLLMerging/LLaMA-Factory/model_merging.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · 23fb066c145e3d74 · report
total_delta WalkerWorldPeace/MLLMerging/LLaMA-Factory/diff_merged_weights.py found in paper text by Syntology ran no licence file found · pointer only · d65d19229b71e75f · report
time_method WalkerWorldPeace/MLLMerging/LLaMA-Factory/benchmark_mllm_merge_cost.py found in paper text by Syntology unverified no licence file found · pointer only · 3855144c1081b166 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2606.07289, was issued in June 2026, after that date, so the archive has no leaderboard rows for it.

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