SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1908.02983 · 2019

Pseudo-Labeling and Confirmation Bias in Deep Semi-Supervised Learning

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 20 functions out of this paper's own repositories and ran 11 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
EricArazo/PseudoLabeling pwc_unofficial 11 of 20
FunctionStatusWhere it lives
PreactResNet18_WNdrop Ran EricArazo/PseudoLabeling/utils_pseudoLab/PreResNet.py
code served (permissive licence) · get_code("cac73dbdc6c8edf8")
WRN28_2_wn Ran EricArazo/PseudoLabeling/utils_pseudoLab/wideArchitectures.py
code served (permissive licence) · get_code("19760465fa4284bf")
conv1x1 Ran EricArazo/PseudoLabeling/utils_pseudoLab/ssl_networks.py
code served (permissive licence) · get_code("158bf4c3a5f11f04")
conv3x3 Ran EricArazo/PseudoLabeling/utils_pseudoLab/wideArchitectures.py
code served (permissive licence) · get_code("00e569acd6b45ef0")
conv3x3_wn Ran EricArazo/PseudoLabeling/utils_pseudoLab/PreResNet.py
code served (permissive licence) · get_code("69b956e680e20587")
loss_mixup_reg_ep Ran EricArazo/PseudoLabeling/utils_pseudoLab/utils_ssl.py
code served (permissive licence) · get_code("d61da7a79282cec1")
loss_soft_reg_ep Ran EricArazo/PseudoLabeling/utils_pseudoLab/utils_ssl.py
code served (permissive licence) · get_code("47ef0d9914d9a29e")
mixup_data Ran EricArazo/PseudoLabeling/utils_pseudoLab/utils_ssl.py
code served (permissive licence) · get_code("3547e83bd03591ad")
resnet18 Ran EricArazo/PseudoLabeling/utils_pseudoLab/ssl_networks.py
code served (permissive licence) · get_code("c4ccc7ed917575de")
resnet18_wndrop Ran EricArazo/PseudoLabeling/utils_pseudoLab/ssl_networks.py
code served (permissive licence) · get_code("99665d4806c9f45a")
train_val_split Ran EricArazo/PseudoLabeling/cifar10/dataset/cifar10.py
code served (permissive licence) · get_code("9ff47a9283dff48c")
accuracy_v1 Not yet run EricArazo/PseudoLabeling/utils_pseudoLab/utils/criterion.py
code served (permissive licence) · get_code("9a9dc60c40303346")
accuracy_v2 Not yet run EricArazo/PseudoLabeling/utils_pseudoLab/utils/criterion.py
code served (permissive licence) · get_code("41f5e551c6aa0cc9")
get_dataset Not yet run EricArazo/PseudoLabeling/miniImagenet/dataset/miniImagenet.py
code served (permissive licence) · get_code("4661a82d063bed57")
get_dataset Not yet run EricArazo/PseudoLabeling/cifar10/dataset/cifar10.py
code served (permissive licence) · get_code("5b62cd8faeeedbd4")
get_dataset Not yet run EricArazo/PseudoLabeling/cifar100/dataset/cifar100.py
code served (permissive licence) · get_code("79e2d9d3eaeb6f7f")
grouper Not yet run EricArazo/PseudoLabeling/utils_pseudoLab/TwoSampler.py
code served (permissive licence) · get_code("c7ba8abbb7422762")
iterate_eternally Not yet run EricArazo/PseudoLabeling/utils_pseudoLab/TwoSampler.py
code served (permissive licence) · get_code("9e77e09f4d52e9da")
iterate_once Not yet run EricArazo/PseudoLabeling/utils_pseudoLab/TwoSampler.py
code served (permissive licence) · get_code("4232c309adddf9e4")
make_dataset Not yet run EricArazo/PseudoLabeling/miniImagenet/dataset/miniImagenet.py
code served (permissive licence) · get_code("5b666f6b923972fe")

Repositories linked to this paper

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

Abstract

Semi-supervised learning, i.e. jointly learning from labeled and unlabeled samples, is an active research topic due to its key role on relaxing human supervision. In the context of image classification, recent advances to learn from unlabeled samples are mainly focused on consistency regularization methods that encourage invariant predictions for different perturbations of unlabeled samples. We, conversely, propose to learn from unlabeled data by generating soft pseudo-labels using the network predictions. We show that a naive pseudo-labeling overfits to incorrect pseudo-labels due to the so-called confirmation bias and demonstrate that mixup augmentation and setting a minimum number of labeled samples per mini-batch are effective regularization techniques for reducing it. The proposed approach achieves state-of-the-art results in CIFAR-10/100, SVHN, and Mini-ImageNet despite being much simpler than other methods. These results demonstrate that pseudo-labeling alone can outperform consistency regularization methods, while the opposite was supposed in previous work. Source code is available at https://git.io/fjQsC.

For agents

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

get_harvested_code_for_paper("1908.02983")
get_code_for_paper("1908.02983")
have("1908.02983")

Connect an agent — have() is free.