Papers › A Fair Loss Function for Network Pruning

A Fair Loss Function for Network Pruning

18 Nov 2022arXiv:2211.10285archive 2025-07-28

Robbie Meyer, Alexander Wong

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

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

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="2211.10285")

Code

Syntology Ran 8 of 12 code samples harvested from 1 repository linked to this paper; 4 have no recorded run. Of those that ran: 2 ran · our draft was wrong; 6 ran with no contract checked.

By repository: official repository: 12 samples from 1 repository, 8 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

robbiemeyer/pw_loss_pruning officialmentioned in paperpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. 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

12 samples harvested; 8 ran; 0 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · our draft was wrong
6ran
4unverified

Licence: 12 of the 12 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 robbiemeyer/pw_loss_pruning. “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.

BasicBlock robbiemeyer/pw_loss_pruning/prune/pruner.py official repository ran fingerprinted no licence file found · pointer only · 8796d407ae814c41 · report
Conv2dBN robbiemeyer/pw_loss_pruning/prune/pruner.py official repository ran fingerprinted no licence file found · pointer only · f97529d458bbb259 · report
PaddingLayer robbiemeyer/pw_loss_pruning/prune/pruner.py official repository ran fingerprinted no licence file found · pointer only · d1fd6e80cc50df59 · report
PrunableConv2d robbiemeyer/pw_loss_pruning/prune/pruner.py official repository ran fingerprinted no licence file found · pointer only · 9891b7ba3ed65671 · report
ScoreWeightedAutoBot robbiemeyer/pw_loss_pruning/prune/pruner.py official repository ran no licence file found · pointer only · ba15c200d4a78a25 · report
fix_labels robbiemeyer/pw_loss_pruning/prune/pruner.py official repository ran · our draft was wrong no licence file found · pointer only · 626f8f15d140082e · report
get_all_predictions robbiemeyer/pw_loss_pruning/prune/pruner.py official repository ran no licence file found · pointer only · 85883a001a9d4609 · report
sw_weights robbiemeyer/pw_loss_pruning/prune/pruner.py official repository ran · our draft was wrong no licence file found · pointer only · 66a173f0a926547a · report
AutoBot robbiemeyer/pw_loss_pruning/prune/pruner.py official repository unverified no licence file found · pointer only · 5e43e5a4795fb217 · report
SoftDataset robbiemeyer/pw_loss_pruning/prune/pruner.py official repository unverified no licence file found · pointer only · 3199bb828218ee5b · report
replace_conv2_layers robbiemeyer/pw_loss_pruning/prune/pruner.py official repository unverified no licence file found · pointer only · c6f437d1e742b295 · report
revert_conv2_layers robbiemeyer/pw_loss_pruning/prune/pruner.py official repository unverified no licence file found · pointer only · 03345979ad9b651d · report

Tasks

FairnessLesion ClassificationNetwork PruningSkin Lesion Classification

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Pruning

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