Papers › Generative Modeling Helps Weak Supervision (and Vice Versa)

Generative Modeling Helps Weak Supervision (and Vice Versa)

22 Mar 2022arXiv:2203.12023archive 2025-07-28

Benedikt Boecking, Nicholas Roberts, Willie Neiswanger, Stefano Ermon, Frederic Sala, Artur Dubrawski

Many promising applications of supervised machine learning face hurdles in the acquisition of labeled data in sufficient quantity and quality, creating an expensive bottleneck. To overcome such limitations, techniques that do not depend on ground truth labels have been studied, including weak supervision and generative modeling. While these techniques would seem to be usable in concert, improving one another, how to build an interface between them is not well-understood. In this work, we propose a model fusing programmatic weak supervision and generative adversarial networks and provide theoretical justification motivating this fusion. The proposed approach captures discrete latent variables in the data alongside the weak supervision derived label estimate. Alignment of the two allows for better modeling of sample-dependent accuracies of the weak supervision sources, improving the estimate of unobserved labels. It is the first approach to enable data augmentation through weakly supervised synthetic images and pseudolabels. Additionally, its learned latent variables can be inspected qualitatively. The model outperforms baseline weak supervision label models on a number of multiclass image classification datasets, improves the quality of generated images, and further improves end-model performance through data augmentation with synthetic samples.

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

Code

Syntology Ran 12 of 17 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · violated contract; 1 ran · our draft was wrong; 1 ran · fixture could not drive it; 8 ran with no contract checked.

By repository: official repository: 16 samples from 1 repository, 11 ran; 1 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

benbo/wsgan-paper officialmentioned in papermentioned on GitHubpytorch 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

17 samples harvested; 12 ran; 1 honoured the contract we drafted; 5 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.

1ran · honoured contract
1ran · violated contract
1ran · our draft was wrong
1ran · fixture could not drive it
8ran
5unverified

Licence: 1 of the 17 samples is 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 benbo/wsgan-paper. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “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.

DCDiscriminatorThree benbo/wsgan-paper/lightning/module.py official repository ran · metamorphic tier: deterministic MIT (permissive) · 6d3ca84445b61c8a · report
DCGenerator64 benbo/wsgan-paper/lightning/module.py official repository ran · metamorphic tier: deterministic MIT (permissive) · 805afed0b83c9d86 · report
DCGeneratorThree benbo/wsgan-paper/lightning/module.py official repository ran · metamorphic tier: deterministic MIT (permissive) · 4fa1e9c8cab4c845 · report
EncoderLabelmodel benbo/wsgan-paper/lightning/module.py official repository ran · metamorphic tier: deterministic MIT (permissive) · 9a3908d102d2323b · report
InfoDCDiscriminator benbo/wsgan-paper/lightning/module.py official repository ran · metamorphic tier: deterministic MIT (permissive) · 3eb1f0f388c9b649 · report
InfoDCDiscriminator64 benbo/wsgan-paper/lightning/module.py official repository ran · metamorphic tier: deterministic MIT (permissive) · 5fa6efe00c21b746 · report
LinearLrSchedule benbo/wsgan-paper/lightning/module.py official repository ran MIT (permissive) · 039df6026700e3af · report
MLP benbo/wsgan-paper/lightning/module.py official repository ran · metamorphic tier: deterministic MIT (permissive) · fd993e3e914b0902 · report
_cl_update benbo/wsgan-paper/lightning/module.py official repository ran · fixture could not drive it MIT (permissive) · 5db77e1abcabcf52 · report
get_linear_lr_schedule benbo/wsgan-paper/lightning/module.py official repository ran · our draft was wrong MIT (permissive) · 17ccd2118b85dd0d · report
inception_transforms benbo/wsgan-paper/lightning/module.py official repository ran · violated contract fingerprinted MIT (permissive) · c2e3b63879be9a20 · report
ARI benbo/wsgan-paper/lightning/module.py official repository unverified MIT (permissive) · 8a4ef744ac07ecc3 · report
GANLabelModel benbo/wsgan-paper/lightning/module.py official repository unverified MIT (permissive) · b9ec6c174fb615f4 · report
InceptionScores benbo/wsgan-paper/lightning/module.py official repository unverified MIT (permissive) · 3a35531cc71bfc4f · report
LightningGAN benbo/wsgan-paper/lightning/module.py official repository unverified MIT (permissive) · 30d589374cf0746c · report
get_networks_base benbo/wsgan-paper/lightning/module.py official repository unverified MIT (permissive) · 1637a6dbd0af625c · report
soft_cross_entropy identical code first harvested elsewhere ran · honoured contract fingerprinted licence of this copy not recorded · 49e2f0c554d81ea3 · report

Tasks

Data AugmentationImage Classificationimage-classification

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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