Papers › A General Framework for Learning from Weak Supervision

A General Framework for Learning from Weak Supervision

2 Feb 2024arXiv:2402.01922archive 2025-07-28

Hao Chen, Jindong Wang, Lei Feng, Xiang Li, Yidong Wang, Xing Xie, Masashi Sugiyama, Rita Singh, Bhiksha Raj

Weakly supervised learning generally faces challenges in applicability to various scenarios with diverse weak supervision and in scalability due to the complexity of existing algorithms, thereby hindering the practical deployment. This paper introduces a general framework for learning from weak supervision (GLWS) with a novel algorithm. Central to GLWS is an Expectation-Maximization (EM) formulation, adeptly accommodating various weak supervision sources, including instance partial labels, aggregate statistics, pairwise observations, and unlabeled data. We further present an advanced algorithm that significantly simplifies the EM computational demands using a Non-deterministic Finite Automaton (NFA) along with a forward-backward algorithm, which effectively reduces time complexity from quadratic or factorial often required in existing solutions to linear scale. The problem of learning from arbitrary weak supervision is therefore converted to the NFA modeling of them. GLWS not only enhances the scalability of machine learning models but also demonstrates superior performance and versatility across 11 weak supervision scenarios. We hope our work paves the way for further advancements and practical deployment in this field.

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

Code

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

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

hhhhhhao/general-framework-weak-supervision 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

22 samples harvested; 15 ran; 0 honoured the contract we drafted; 7 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.

3ran · our draft was wrong
12ran
7unverified

Licence: 22 of the 22 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 hhhhhhao/general-framework-weak-supervision. “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.

AutoContrast hhhhhhao/general-framework-weak-supervision/src/datasets/rand_aug.py official repository ran · our draft was wrong no licence file found · pointer only · 4a0ac9d611e018bc · report
Brightness hhhhhhao/general-framework-weak-supervision/src/datasets/rand_aug.py official repository ran no licence file found · pointer only · 61ed09bbdb8adb72 · report
Color hhhhhhao/general-framework-weak-supervision/src/datasets/rand_aug.py official repository ran no licence file found · pointer only · 5e4ee5c45933ae09 · report
bag_collate_fn hhhhhhao/general-framework-weak-supervision/src/datasets/base_datasets.py official repository ran no licence file found · pointer only · 9cb870aea654a626 · report
conv3x3 hhhhhhao/general-framework-weak-supervision/src/nets/preact_resnet.py official repository ran · our draft was wrong no licence file found · pointer only · 583f9780bdd00a45 · report
create_mask hhhhhhao/general-framework-weak-supervision/src/core/nfa.py official repository ran no licence file found · pointer only · d4a2791e30483900 · report
create_multi_ins_graph hhhhhhao/general-framework-weak-supervision/src/core/nfa.py official repository ran no licence file found · pointer only · b1417ed32c2e4043 · report
create_proportion_graph hhhhhhao/general-framework-weak-supervision/src/core/nfa.py official repository ran fingerprinted no licence file found · pointer only · cde1fc2eb8cb26cd · report
get_dataloader hhhhhhao/general-framework-weak-supervision/src/datasets/base_data.py official repository ran no licence file found · pointer only · c35ca4772f06187d · report
get_partial_labels hhhhhhao/general-framework-weak-supervision/src/datasets/imprecise_label.py official repository ran no licence file found · pointer only · 326d3f64fe176c15 · report
get_partial_noisy_labels hhhhhhao/general-framework-weak-supervision/src/datasets/imprecise_label.py official repository ran no licence file found · pointer only · 2714f01391c258a3 · report
get_semisup_labels hhhhhhao/general-framework-weak-supervision/src/datasets/imprecise_label.py official repository ran no licence file found · pointer only · 3d2e20212ece0354 · report
param_groups_weight_decay hhhhhhao/general-framework-weak-supervision/src/nets/utils.py official repository ran · our draft was wrong no licence file found · pointer only · 88f4962784e09b88 · report
preact_resnet18 hhhhhhao/general-framework-weak-supervision/src/nets/preact_resnet.py official repository ran no licence file found · pointer only · 4d728036343fc563 · report
resize_pos_embed_vit hhhhhhao/general-framework-weak-supervision/src/nets/utils.py official repository ran no licence file found · pointer only · 4c0668013863ad3f · report
get_data hhhhhhao/general-framework-weak-supervision/src/datasets/base_data.py official repository unverified no licence file found · pointer only · c7b0093e888cfc83 · report
get_img_transform hhhhhhao/general-framework-weak-supervision/src/datasets/base_datasets.py official repository unverified no licence file found · pointer only · 1ff5d0514a4192c7 · report
inception_resnet_v2 hhhhhhao/general-framework-weak-supervision/src/nets/inception_resnet.py official repository unverified no licence file found · pointer only · ef61eb580d048fbd · report
load_checkpoint hhhhhhao/general-framework-weak-supervision/src/nets/utils.py official repository unverified no licence file found · pointer only · b158ea331635a6c9 · report
resnet18 hhhhhhao/general-framework-weak-supervision/src/nets/resnet.py official repository unverified no licence file found · pointer only · eea49993a0e6e109 · report
resnet34 hhhhhhao/general-framework-weak-supervision/src/nets/resnet.py official repository unverified no licence file found · pointer only · 58ef386297161b88 · report
resnet50 hhhhhhao/general-framework-weak-supervision/src/nets/resnet.py official repository unverified no licence file found · pointer only · 511c83e45637d4f3 · report

Tasks

Weakly-supervised Learning

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