SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2312.02517 · NeurIPS · 2023

Simplifying Neural Network Training Under Class Imbalance

Micah Goldblum, Andrew Wilson, Ravid Shwartz-Ziv, Yucen Li, C Bruss

arXiv · PDF · Open in the Atlas

Code that ran

13 of 16 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, 3 violated it and 0 have no contract verdict; 9 failures of our instrument; 3 no recorded run); 1 of them was also run on the host, not in the jail, by the peer-agreement lane that set its level, measured 2026-11-22; 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/2312.02517.json · badge: /api/ran/2312.02517.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
ravidziv/SimplifyingImbalancedTraining canonical (classifier label)
classifier basis: census
11 ran · 3 no recorded run
copy not recorded community
not in the paper's declared repositories
2 ran · 0 no recorded run
FunctionStatusWhere it lives
get_lr Ran
ran, violated the contract we drafted
this paper's copy was not recorded; identical code first harvested from p3i0t/SimCLR-CIFAR10
pointer only; the stored copy get_code serves, from p3i0t/SimCLR-CIFAR10, is pointer only (licence: NONE) · get_code("190117b425ab9fe1")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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.

adversarial_cross_entropy Ran
ran; our contract draft was wrong, not the code
ravidziv/SimplifyingImbalancedTraining/imbalanced/losses.py
pointer only (licence: NONE) · get_code("e11996f54eea8253")
How it ran

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

center_crop Ran
ran; our contract draft was wrong, not the code
ravidziv/SimplifyingImbalancedTraining/imbalanced/models/layers.py
pointer only (licence: NONE) · get_code("9d5555c9ff725b7f")
How it ran

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

conv3x3 Ran
ran; our contract draft was wrong, not the code
ravidziv/SimplifyingImbalancedTraining/imbalanced/models/preresnet.py
pointer only (licence: NONE); the stored copy get_code serves, from amerch/CIFAR100-Training, is pointer only (licence: NONE) · get_code("583f9780bdd00a45")
How it ran

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

cross_entropy Ran
ran; our contract draft was wrong, not the code
ravidziv/SimplifyingImbalancedTraining/imbalanced/losses.py
pointer only (licence: NONE) · get_code("fc2aaf6fd20bc53f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ravidziv/SimplifyingImbalancedTraining 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_base Ran
ran; our contract draft was wrong, not the code
ravidziv/SimplifyingImbalancedTraining/imbalanced/models/preresnet.py
pointer only (licence: NONE) · get_code("9ba3acf9da935ca1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ravidziv/SimplifyingImbalancedTraining 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_resnet_transforms Ran
ran; our contract draft was wrong, not the code
ravidziv/SimplifyingImbalancedTraining/imbalanced/models/preresnet.py
pointer only (licence: NONE) · get_code("ec01de700d8c1028")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ravidziv/SimplifyingImbalancedTraining 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_sampler Ran
ran; our contract draft was wrong, not the code
ravidziv/SimplifyingImbalancedTraining/imbalanced/data.py
pointer only (licence: NONE) · get_code("3b2896cbbe245a73")
How it ran

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

has_file_allowed_extension Ran
ran, violated the contract we drafted
ravidziv/SimplifyingImbalancedTraining/imbalanced/camvid.py
pointer only (licence: NONE) · get_code("1d7c68b369e70ab0")
How it ran

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

is_image_file Ran
ran, violated the contract we drafted
ravidziv/SimplifyingImbalancedTraining/imbalanced/camvid.py
pointer only (licence: NONE) · get_code("af447e65a04b459e")
How it ran

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

make_layers Ran
ran; our contract draft was wrong, not the code
ravidziv/SimplifyingImbalancedTraining/imbalanced/models/vgg.py
pointer only (licence: NONE); the stored copy get_code serves, from nblt/marwp, is pointer only (licence: NONE) · get_code("4a29d37fffcfd8b1")
How it ran

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

nt_xent Ran
ran; our contract draft was wrong, not the code
this paper's copy was not recorded; identical code first harvested from p3i0t/SimCLR-CIFAR10
pointer only; the stored copy get_code serves, from p3i0t/SimCLR-CIFAR10, is pointer only (licence: NONE) · get_code("0931a280f76e561f")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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.

update_ens Ran
ran, honoured the contract we drafted
ravidziv/SimplifyingImbalancedTraining/imbalanced/models/model_wrapper.py
pointer only (licence: NONE) · get_code("ecb6936a718db4af")
How it ran

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

camvid_loaders Not yet run
unverified (harvested, no recorded run)
ravidziv/SimplifyingImbalancedTraining/imbalanced/data.py
pointer only (licence: NONE) · get_code("e1ae5ee1960f180e")
How it ran

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

masked_loss Not yet run
unverified (harvested, no recorded run)
ravidziv/SimplifyingImbalancedTraining/imbalanced/losses.py
pointer only (licence: NONE) · get_code("8bbca7799326d580")
How it ran

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

svhn_loaders Not yet run
unverified (harvested, no recorded run)
ravidziv/SimplifyingImbalancedTraining/imbalanced/data.py
pointer only (licence: NONE) · get_code("ddd3f33619ad1ab9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ravidziv/SimplifyingImbalancedTraining 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 16 samples lifted from this paper's linked repositories, 16 carry a function identity and 0 do not. Of the 16 distinct functions with an identity, 11 are also present in other papers whose code we hold (11 with at least one paper dated earlier, 1 the same month, 6 later) and 5 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
conv3x3 686 other papers
533 dated earlier, 7 the same month, 139 later, 7 same year, order not determinable · 31 only as an assembly brick
1406.2661 (2014-06)
Generative Adversarial Networks
1409.0575 (2014-09)
ImageNet Large Scale Visual Recognition Challenge
1412.6572 (2014-12)
Explaining and Harnessing Adversarial Examples
and 683 more not named here
has_file_allowed_extension 17 other papers
16 dated earlier, 1 same year, order not determinable
1612.06321 (2016-12)
Large-Scale Image Retrieval with Attentive Deep Local Features
1902.02476 (2019-02)
A Simple Baseline for Bayesian Uncertainty in Deep Learning
1904.04717 (2019-04)
Label Propagation for Deep Semi-supervised Learning
and 14 more not named here
is_image_file 11 other papers
9 dated earlier, 1 later, 1 same year, order not determinable
1812.10366 (2018-12)
A Poisson-Gaussian Denoising Dataset with Real Fluorescence Microscopy Images
1902.02476 (2019-02)
A Simple Baseline for Bayesian Uncertainty in Deep Learning
1904.04717 (2019-04)
Label Propagation for Deep Semi-supervised Learning
and 8 more not named here
get_lr 5 other papers
3 dated earlier, 2 later
2002.05709 (2020-02)
A Simple Framework for Contrastive Learning of Visual Representations
2112.05135 (2021-12)
PixMix: Dreamlike Pictures Comprehensively Improve Safety Measures
2310.04780 (2023-10)
IPMix: Label-Preserving Data Augmentation Method for Training Robust Classifiers
and 2 more not named here
center_crop 4 other papers
3 dated earlier, 1 later
1611.09326 (2016-11)
The One Hundred Layers Tiramisu: Fully Convolutional DenseNets for Semantic Segmentation
1902.02476 (2019-02)
A Simple Baseline for Bayesian Uncertainty in Deep Learning
2003.07069 (2020-03)
Self-Supervised Discovering of Interpretable Features for Reinforcement Learning
and 1 more not named here
make_layers 3 other papers
1 dated earlier, 2 later
1803.05407 (2018-03)
Averaging Weights Leads to Wider Optima and Better Generalization
2403.12350 (2024-03)
Friendly Sharpness-Aware Minimization
2404.00357 (2024-04)
Revisiting Random Weight Perturbation for Efficiently Improving Generalization
adversarial_cross_entropy 2 other papers
2 dated earlier
1902.02476 (2019-02)
A Simple Baseline for Bayesian Uncertainty in Deep Learning
2305.18887 (2023-05)
How Does Information Bottleneck Help Deep Learning?
cross_entropy 2 other papers
2 dated earlier
1902.02476 (2019-02)
A Simple Baseline for Bayesian Uncertainty in Deep Learning
2305.18887 (2023-05)
How Does Information Bottleneck Help Deep Learning?
masked_loss 2 other papers
2 dated earlier
1902.02476 (2019-02)
A Simple Baseline for Bayesian Uncertainty in Deep Learning
2305.18887 (2023-05)
How Does Information Bottleneck Help Deep Learning?
nt_xent 2 other papers
1 dated earlier, 1 later
2002.05709 (2020-02)
A Simple Framework for Contrastive Learning of Visual Representations
2411.06508 (2024-11)
Understanding the Role of Equivariance in Self-supervised Learning
camvid_loaders 1 other paper
1 dated earlier
1902.02476 (2019-02)
A Simple Baseline for Bayesian Uncertainty in Deep Learning

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

Repositories linked to this paper

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

Abstract

Real-world datasets are often highly class-imbalanced, which can adversely impact the performance of deep learning models. The majority of research on training neural networks under class imbalance has focused on specialized loss functions, sampling techniques, or two-stage training procedures. Notably, we demonstrate that simply tuning existing components of standard deep learning pipelines, such as the batch size, data augmentation, optimizer, and label smoothing, can achieve state-of-the-art performance without any such specialized class imbalance methods. We also provide key prescriptions and considerations for training under class imbalance, and an understanding of why imbalance methods succeed or fail.

For agents

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

get_harvested_code_for_paper("2312.02517")
get_code_for_paper("2312.02517")
have("2312.02517")

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

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

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

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

Connect an agent — have() is free.