SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2412.12153 · 2024

Revisiting Weight Averaging for Model Merging

arXiv · PDF · Open in the Atlas

Code that ran

7 of 11 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; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 7 failures of our instrument; 4 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; 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/2412.12153.json · badge: /api/ran/2412.12153.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
JH-GEECS/CART_public canonical (classifier label)
classifier basis: census
7 ran · 4 no recorded run
FunctionStatusWhere it lives
convert Ran
ran; our contract draft was wrong, not the code
JH-GEECS/CART_public/src/dataset/cifar10.py
pointer only (licence: NONE); the stored copy get_code serves, from BAIKLAB/SiM, is pointer only (licence: NONE) · get_code("6d77ee840479c381")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JH-GEECS/CART_public 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.

cosine_lr Ran
ran; our contract draft was wrong, not the code
JH-GEECS/CART_public/src/utils.py
pointer only (licence: NONE); the stored copy get_code serves, from BAIKLAB/SiM, is pointer only (licence: NONE) · get_code("2d5d7a12d8de02b7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JH-GEECS/CART_public 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_config Ran
ran; our contract draft was wrong, not the code
JH-GEECS/CART_public/src/merging.py
pointer only (licence: NONE) · get_code("76cd8313a00d0d2c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JH-GEECS/CART_public 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.

maybe_dictionarize Ran
ran; our contract draft was wrong, not the code
JH-GEECS/CART_public/src/dataset/common.py
pointer only (licence: NONE) · get_code("b1e9e0d3d7d7e615")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JH-GEECS/CART_public 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.

pretify_classname Ran
ran; our contract draft was wrong, not the code
JH-GEECS/CART_public/src/dataset/eurosat.py
pointer only (licence: NONE); the stored copy get_code serves, from mlfoundations/task_vectors, is pointer only (licence: NONE) · get_code("241a2a00ba0c307b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JH-GEECS/CART_public 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.

softmax_entropy Ran
ran; our contract draft was wrong, not the code
JH-GEECS/CART_public/src/merging.py
pointer only (licence: NONE) · get_code("c2df94ca3de67eb0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JH-GEECS/CART_public 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.

straight_through_mask Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
JH-GEECS/CART_public/src/merging.py
pointer only (licence: NONE) · get_code("21332e5b7d6c16cc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JH-GEECS/CART_public 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.

accuracy Not yet run
unverified (harvested, no recorded run)
JH-GEECS/CART_public/src/utils.py
pointer only (licence: NONE) · get_code("aafcff3ad1ccef6e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JH-GEECS/CART_public 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.

get_features Not yet run
unverified (harvested, no recorded run)
JH-GEECS/CART_public/src/dataset/common.py
pointer only (licence: NONE); the stored copy get_code serves, from mlfoundations/task_vectors, is pointer only (licence: NONE) · get_code("3b97c12751c0cf5b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JH-GEECS/CART_public 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.

get_features_helper Not yet run
unverified (harvested, no recorded run)
JH-GEECS/CART_public/src/dataset/common.py
pointer only (licence: NONE); the stored copy get_code serves, from mlfoundations/task_vectors, is pointer only (licence: NONE) · get_code("238ff32fcbf410d6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JH-GEECS/CART_public 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.

torch_load_old Not yet run
unverified (harvested, no recorded run)
JH-GEECS/CART_public/src/utils.py
pointer only (licence: NONE); the stored copy get_code serves, from BAIKLAB/SiM, is pointer only (licence: NONE) · get_code("7d051a7adefedb6c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JH-GEECS/CART_public 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 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 9 are also present in other papers whose code we hold (9 with at least one paper dated earlier, 0 the same month, 9 later) and 2 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
accuracy 22 other papers
14 dated earlier, 7 later, 1 same year, order not determinable
2207.05333 (2022-07)
IDEA: Increasing Text Diversity via Online Multi-Label Recognition for Vision-Language Pre-training
2208.05592 (2022-08)
Patching open-vocabulary models by interpolating weights
2211.12914 (2022-11)
Open-vocabulary Attribute Detection
and 19 more not named here
maybe_dictionarize 13 other papers
10 dated earlier, 3 later · 1 only as an assembly brick
2308.01313 (2023-08)
PerceptionCLIP: Visual Classification by Inferring and Conditioning on Contexts
2308.12213 (2023-08)
CLIPN for Zero-Shot OOD Detection: Teaching CLIP to Say No
2311.01723 (2023-11)
Towards Calibrated Robust Fine-Tuning of Vision-Language Models
and 10 more not named here
cosine_lr 11 other papers
5 dated earlier, 5 later, 1 same year, order not determinable
2208.05592 (2022-08)
Patching open-vocabulary models by interpolating weights
2305.12827 (2023-05)
Task Arithmetic in the Tangent Space: Improved Editing of Pre-Trained Models
2308.12213 (2023-08)
CLIPN for Zero-Shot OOD Detection: Teaching CLIP to Say No
and 8 more not named here
convert 8 other papers
6 dated earlier, 2 later
2208.05592 (2022-08)
Patching open-vocabulary models by interpolating weights
2312.15901 (2023-12)
Black-Box Tuning of Vision-Language Models with Effective Gradient Approximation
2405.07813 (2024-05)
Localizing Task Information for Improved Model Merging and Compression
and 5 more not named here
softmax_entropy 7 other papers
6 dated earlier, 1 later
2310.02575 (2023-10)
AdaMerging: Adaptive Model Merging for Multi-Task Learning
2402.02705 (2024-02)
Representation Surgery for Multi-Task Model Merging
2407.07089 (2024-07)
Fine-Tuning Attention Modules Only: Enhancing Weight Disentanglement in Task Arithmetic
and 4 more not named here
torch_load_old 7 other papers
3 dated earlier, 4 later
2305.12827 (2023-05)
Task Arithmetic in the Tangent Space: Improved Editing of Pre-Trained Models
2410.05583 (2024-10)
NegMerge: Sign-Consensual Weight Merging for Machine Unlearning
2410.14389 (2024-10)
SurgeryV2: Bridging the Gap Between Model Merging and Multi-Task Learning with Deep Representation Surgery
and 4 more not named here
get_features_helper 6 other papers
4 dated earlier, 2 later
2405.07813 (2024-05)
Localizing Task Information for Improved Model Merging and Compression
2406.05184 (2024-06)
The Unmet Promise of Synthetic Training Images: Using Retrieved Real Images Performs Better
2410.17146 (2024-10)
LiNeS: Post-training Layer Scaling Prevents Forgetting and Enhances Model Merging
and 3 more not named here
get_features 5 other papers
3 dated earlier, 2 later
2405.07813 (2024-05)
Localizing Task Information for Improved Model Merging and Compression
2410.17146 (2024-10)
LiNeS: Post-training Layer Scaling Prevents Forgetting and Enhances Model Merging
2411.06966 (2024-11)
Robust Fine-tuning of Zero-shot Models via Variance Reduction
and 2 more not named here
pretify_classname 5 other papers
3 dated earlier, 2 later
2304.04512 (2023-04)
Defense-Prefix for Preventing Typographic Attacks on CLIP
2405.07813 (2024-05)
Localizing Task Information for Improved Model Merging and Compression
2410.17146 (2024-10)
LiNeS: Post-training Layer Scaling Prevents Forgetting and Enhances Model Merging
and 2 more not named here

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 aims to build a multi-task learner by combining the parameters of individually fine-tuned models without additional training. While a straightforward approach is to average model parameters across tasks, this often results in suboptimal performance due to interference among parameters across tasks. In this paper, we present intriguing results that weight averaging implicitly induces task vectors centered around the weight averaging itself and that applying a low-rank approximation to these centered task vectors significantly improves merging performance. Our analysis shows that centering the task vectors effectively reduces task interference and most of task-specific knowledge is concentrated in the top singular vectors. Our method demonstrates robust and scalable performance on vision benchmarks across varying numbers of tasks and model sizes. Furthermore, we observe that our approach is applicable to natural language processing tasks with competitive performance.

For agents

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

get_harvested_code_for_paper("2412.12153")
get_code_for_paper("2412.12153")
have("2412.12153")

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

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

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

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

Connect an agent — have() is free.