SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2010.13160 · NeurIPS · 2020

Neuron Merging: Compensating for Pruned Neurons

Woojeong Kim, Suhyun Kim, Mincheol Park, Geonseok Jeon

arXiv · PDF · Open in the Atlas

Code that ran

3 of 3 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (1 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 2 failures of our instrument; 0 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/2010.13160.json · badge: /api/ran/2010.13160.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
friendshipkim/neuron-merging canonical (classifier label)
classifier basis: classifier_2025
3 ran · 0 no recorded run
FunctionStatusWhere it lives
Decompose Ran
ran on a synthesized input · constructed an object; no result was computed
friendshipkim/neuron-merging/decompose.py
pointer only (licence: NONE) · get_code("71fd8bd696cc74c0")
How it ran

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

create_scaling_mat_conv_thres_bn Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
friendshipkim/neuron-merging/decompose.py
pointer only (licence: NONE) · get_code("f874af0ab678043c")
How it ran

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

create_scaling_mat_ip_thres_bias Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
friendshipkim/neuron-merging/decompose.py
pointer only (licence: NONE) · get_code("d319d2a7d4f354f3")
How it ran

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

Also present in other papers' code

Of 3 samples lifted from this paper's linked repositories, 3 carry a function identity and 0 do not. Of the 3 distinct functions with an identity, 1 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 1 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
create_scaling_mat_conv_thres_bn
brick of this paper's assembly: helper
1 other paper
1 later · 1 only as an assembly brick
2502.08474 (2025-02)
Training-Free Restoration of Pruned Neural Networks

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

Network pruning is widely used to lighten and accelerate neural network models. Structured network pruning discards the whole neuron or filter, leading to accuracy loss. In this work, we propose a novel concept of neuron merging applicable to both fully connected layers and convolution layers, which compensates for the information loss due to the pruned neurons/filters. Neuron merging starts with decomposing the original weights into two matrices/tensors. One of them becomes the new weights for the current layer, and the other is what we name a scaling matrix, guiding the combination of neurons. If the activation function is ReLU, the scaling matrix can be absorbed into the next layer under certain conditions, compensating for the removed neurons. We also propose a data-free and inexpensive method to decompose the weights by utilizing the cosine similarity between neurons. Compared to the pruned model with the same topology, our merged model better preserves the output feature map of the original model; thus, it maintains the accuracy after pruning without fine-tuning. We demonstrate the effectiveness of our approach over network pruning for various model architectures and datasets. As an example, for VGG-16 on CIFAR-10, we achieve an accuracy of 93.16% while reducing 64% of total parameters, without any fine-tuning. The code can be found here: https://github.com/friendshipkim/neuron-merging

For agents

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

get_harvested_code_for_paper("2010.13160")
get_code_for_paper("2010.13160")
have("2010.13160")

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

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

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

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

Connect an agent — have() is free.