SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2606.07289 · 2026

Closed-Form Spectral Regularization for Multi-Task Model Merging

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

arXiv · PDF · Open in the Atlas

Code that ran

18 of 19 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 17 failures of our instrument; 1 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2606.07289.json · badge: /api/ran/2606.07289.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
WalkerWorldPeace/MLLMerging canonical (classifier label)
classifier basis: census
18 ran · 1 no recorded run
FunctionStatusWhere it lives
build_transform Ran
ran; our contract draft was wrong, not the code
WalkerWorldPeace/MLLMerging/InternVL/internvl_chat/model_merging.py
pointer only (licence: NONE) · get_code("57e95166ade5f25c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, WalkerWorldPeace/MLLMerging when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

cache_states Ran
ran; our contract draft was wrong, not the code
WalkerWorldPeace/MLLMerging/LLaMA-Factory/run_merge_baseline.py
pointer only (licence: NONE) · get_code("d086657e28ce7f38")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, WalkerWorldPeace/MLLMerging when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

cache_states Ran
ran; our contract draft was wrong, not the code
WalkerWorldPeace/MLLMerging/LLaMA-Factory/run_merge_baseline_internvl.py
pointer only (licence: NONE) · get_code("62fed5db332affd0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, WalkerWorldPeace/MLLMerging when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

convert_box Ran
ran; our contract draft was wrong, not the code
WalkerWorldPeace/MLLMerging/LLaMA-Factory/grounding.py
pointer only (licence: NONE) · get_code("0d07817f34e79b4b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, WalkerWorldPeace/MLLMerging when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

dynamic_preprocess Ran
ran; our contract draft was wrong, not the code
WalkerWorldPeace/MLLMerging/InternVL/internvl_chat/model_merging.py
pointer only (licence: NONE); the stored copy get_code serves, from jam-cc/MMAD, is pointer only (licence: NONE) · get_code("6dc77bb22fb9d660")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, WalkerWorldPeace/MLLMerging when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

find_closest_aspect_ratio Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
WalkerWorldPeace/MLLMerging/InternVL/internvl_chat/model_merging.py
pointer only (licence: NONE); the stored copy get_code serves, from OpenGVLab/MM-NIAH, is pointer only (licence: NONE) · get_code("bd77f5f8067f18e9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, WalkerWorldPeace/MLLMerging when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_param_names_to_merge Ran
ran; our contract draft was wrong, not the code
WalkerWorldPeace/MLLMerging/LLaMA-Factory/model_merging.py
pointer only (licence: NONE); the stored copy get_code serves, from walkerworldpeace/mllmerging, is pointer only (licence: NONE) · get_code("dcafd602728bc51e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, WalkerWorldPeace/MLLMerging when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_all Ran
ran; our contract draft was wrong, not the code
WalkerWorldPeace/MLLMerging/LLaMA-Factory/diff_merged_weights.py
pointer only (licence: NONE) · get_code("b22f6cc19ab398f9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, WalkerWorldPeace/MLLMerging when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_all_shards Ran
ran; our contract draft was wrong, not the code
WalkerWorldPeace/MLLMerging/LLaMA-Factory/rescale_multi.py
pointer only (licence: NONE) · get_code("4745bf56ff70c712")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, WalkerWorldPeace/MLLMerging when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_module Ran
ran; our contract draft was wrong, not the code
WalkerWorldPeace/MLLMerging/LLaMA-Factory/benchmark_mllm_merge_cost.py
pointer only (licence: NONE) · get_code("c722e6776be8c9ac")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, WalkerWorldPeace/MLLMerging when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

lookup Ran
ran, honoured the contract we drafted
WalkerWorldPeace/MLLMerging/LLaMA-Factory/diff_merged_weights.py
pointer only (licence: NONE) · get_code("20f6ae118d68fdc8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, WalkerWorldPeace/MLLMerging when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

mask_input_with_mask_rate Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
WalkerWorldPeace/MLLMerging/LLaMA-Factory/model_merging.py
pointer only (licence: NONE); the stored copy get_code serves, from walkerworldpeace/mllmerging, is pointer only (licence: NONE) · get_code("5bd838966b120daf")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, WalkerWorldPeace/MLLMerging when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

mask_model_weights Ran
ran; our contract draft was wrong, not the code
WalkerWorldPeace/MLLMerging/LLaMA-Factory/baseline_merging.py
pointer only (licence: NONE) · get_code("78ad18c6bed292e3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, WalkerWorldPeace/MLLMerging when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_text Ran
ran; our contract draft was wrong, not the code
WalkerWorldPeace/MLLMerging/ModelCompose/demo_app.py
pointer only (licence: NONE) · get_code("840fb864701f8f6d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, WalkerWorldPeace/MLLMerging when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

process_value_string Ran
ran; our contract draft was wrong, not the code
WalkerWorldPeace/MLLMerging/LLaMA-Factory/grounding.py
pointer only (licence: NONE) · get_code("1d7b10d84936c164")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, WalkerWorldPeace/MLLMerging when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

resolve_dtype Ran
ran; our contract draft was wrong, not the code
WalkerWorldPeace/MLLMerging/LLaMA-Factory/run_merge_baseline.py
pointer only (licence: NONE) · get_code("4c8f7beb44c32119")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, WalkerWorldPeace/MLLMerging when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

ties_merging Ran
ran; our contract draft was wrong, not the code
WalkerWorldPeace/MLLMerging/LLaMA-Factory/model_merging.py
pointer only (licence: NONE); the stored copy get_code serves, from walkerworldpeace/mllmerging, is pointer only (licence: NONE) · get_code("23fb066c145e3d74")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, WalkerWorldPeace/MLLMerging when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

total_delta Ran
ran; our contract draft was wrong, not the code
WalkerWorldPeace/MLLMerging/LLaMA-Factory/diff_merged_weights.py
pointer only (licence: NONE) · get_code("d65d19229b71e75f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, WalkerWorldPeace/MLLMerging when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

time_method Not yet run
unverified (harvested, no recorded run)
WalkerWorldPeace/MLLMerging/LLaMA-Factory/benchmark_mllm_merge_cost.py
pointer only (licence: NONE) · get_code("3855144c1081b166")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, WalkerWorldPeace/MLLMerging when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 19 samples lifted from this paper's linked repositories, 19 carry a function identity and 0 do not. Of the 18 distinct functions with an identity, 6 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 2 the same month, 0 later) and 12 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
find_closest_aspect_ratio 43 other papers
42 dated earlier, 1 the same month
1910.01108 (2019-10)
DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter
2312.13271 (2023-12)
Repaint123: Fast and High-quality One Image to 3D Generation with Progressive Controllable 2D Repainting
2403.15952 (2024-03)
IllusionVQA: A Challenging Optical Illusion Dataset for Vision Language Models
and 40 more not named here
build_transform 31 other papers
30 dated earlier, 1 the same month
1910.01108 (2019-10)
DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter
2312.13271 (2023-12)
Repaint123: Fast and High-quality One Image to 3D Generation with Progressive Controllable 2D Repainting
2403.15952 (2024-03)
IllusionVQA: A Challenging Optical Illusion Dataset for Vision Language Models
and 28 more not named here
dynamic_preprocess 17 other papers
17 dated earlier
1910.01108 (2019-10)
DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter
2403.15952 (2024-03)
IllusionVQA: A Challenging Optical Illusion Dataset for Vision Language Models
2410.01733 (2024-10)
ASCIIEval: Benchmarking Models' Visual Perception in Text Strings via ASCII Art
and 14 more not named here
get_param_names_to_merge 4 other papers
4 dated earlier
2212.04089 (2022-12)
Editing Models with Task Arithmetic
2408.03092 (2024-08)
Extend Model Merging from Fine-Tuned to Pre-Trained Large Language Models via Weight Disentanglement
2503.22178 (2025-03)
AdaRank: Adaptive Rank Pruning for Enhanced Model Merging
and 1 more not named here
mask_input_with_mask_rate 1 other paper
1 dated earlier
2505.19892 (2025-05)
OptMerge: Unifying Multimodal LLM Capabilities and Modalities via Model Merging
ties_merging 1 other paper
1 dated earlier
2505.19892 (2025-05)
OptMerge: Unifying Multimodal LLM Capabilities and Modalities via Model Merging

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Model merging combines several independently finetuned 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 (e.g., 85 minutes and 42 GB of GPU memory), 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 smalleigenvalue 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 h k . 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 perlayer 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 (vision/language) 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-72× and peak GPU memory by up to 50%. Code and the extended benchmark are available at https://github.com/WalkerWorldPeace/MLLMerging.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2606.07289")
get_code_for_paper("2606.07289")
have("2606.07289")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2606.07289.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2606.07289.svg)](https://syntology.ai/paper/2606.07289)

Connect an agent — have() is free.