SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2211.10285 · NeurIPS · 2022

A Fair Loss Function for Network Pruning

Alexander Wong, Robbie Meyer

arXiv · PDF · Open in the Atlas

Code that ran

8 of 12 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (5 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 6 have no contract verdict; 2 failures of our instrument; 4 no recorded run), measured 2026-11-21; 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/2211.10285.json · badge: /api/ran/2211.10285.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
robbiemeyer/pw_loss_pruning canonical (classifier label)
classifier basis: classifier_2025
8 ran · 4 no recorded run
FunctionStatusWhere it lives
BasicBlock Ran
ran on a synthesized input · constructed an object; no result was computed
robbiemeyer/pw_loss_pruning/prune/pruner.py
pointer only (licence: NONE) · get_code("8796d407ae814c41")
How it ran

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

Conv2dBN Ran
ran on a synthesized input · constructed an object; no result was computed
robbiemeyer/pw_loss_pruning/prune/pruner.py
pointer only (licence: NONE) · get_code("f97529d458bbb259")
How it ran

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

PaddingLayer Ran
ran on a synthesized input · constructed an object; no result was computed
robbiemeyer/pw_loss_pruning/prune/pruner.py
pointer only (licence: NONE) · get_code("d1fd6e80cc50df59")
How it ran

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

PrunableConv2d Ran
ran on a synthesized input · constructed an object; no result was computed
robbiemeyer/pw_loss_pruning/prune/pruner.py
pointer only (licence: NONE) · get_code("9891b7ba3ed65671")
How it ran

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

ScoreWeightedAutoBot Ran
ran on a synthesized input · constructed an object; no result was computed
robbiemeyer/pw_loss_pruning/prune/pruner.py
pointer only (licence: NONE) · get_code("ba15c200d4a78a25")
How it ran

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

fix_labels Ran
ran; our contract draft was wrong, not the code
robbiemeyer/pw_loss_pruning/prune/pruner.py
pointer only (licence: NONE) · get_code("626f8f15d140082e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, robbiemeyer/pw_loss_pruning 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_all_predictions Ran
ran on a synthesized input
robbiemeyer/pw_loss_pruning/prune/pruner.py
pointer only (licence: NONE) · get_code("85883a001a9d4609")
How it ran

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

sw_weights Ran
ran; our contract draft was wrong, not the code
robbiemeyer/pw_loss_pruning/prune/pruner.py
pointer only (licence: NONE) · get_code("66a173f0a926547a")
How it ran

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

AutoBot Not yet run
unverified (harvested, no recorded run)
robbiemeyer/pw_loss_pruning/prune/pruner.py
pointer only (licence: NONE) · get_code("5e43e5a4795fb217")
How it ran

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

SoftDataset Not yet run
unverified (harvested, no recorded run)
robbiemeyer/pw_loss_pruning/prune/pruner.py
pointer only (licence: NONE) · get_code("3199bb828218ee5b")
How it ran

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

replace_conv2_layers Not yet run
unverified (harvested, no recorded run)
robbiemeyer/pw_loss_pruning/prune/pruner.py
pointer only (licence: NONE) · get_code("c6f437d1e742b295")
How it ran

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

revert_conv2_layers Not yet run
unverified (harvested, no recorded run)
robbiemeyer/pw_loss_pruning/prune/pruner.py
pointer only (licence: NONE) · get_code("03345979ad9b651d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, robbiemeyer/pw_loss_pruning 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 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 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.

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-21.

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 pruning can enable the deployment of neural networks in environments with resource constraints. While pruning may have a small effect on the overall performance of the model, it can exacerbate existing biases into the model such that subsets of samples see significantly degraded performance. In this paper, we introduce the performance weighted loss function, a simple modified cross-entropy loss function that can be used to limit the introduction of biases during pruning. Experiments using the CelebA, Fitzpatrick17k and CIFAR-10 datasets demonstrate that the proposed method is a simple and effective tool that can enable existing pruning methods to be used in fairness sensitive contexts. Code used to produce all experiments contained in this paper can be found at https://github.com/robbiemeyer/pw l oss pruning. 2 4 2 5 2 6 Theoretical Speedup -0.03 -0.02 -0.01 Change in AUC-ROC

For agents

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

get_harvested_code_for_paper("2211.10285")
get_code_for_paper("2211.10285")
have("2211.10285")

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

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

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

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

Connect an agent — have() is free.