GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • uws 1.0.0

This view

  • Original page
  • New address

GeezerVison is showing universalizing-weak-supervision.readthedocs.io — uws 1.0.0

Universalizing Weak Supervision¶

uws is a weak supervision library for labels that are not just classes: rankings, real numbers, nodes of a graph, points in hyperbolic space, and more. It accompanies the ICLR 2022 paper Universalizing Weak Supervision by Changho Shin, Winfred Li, Harit Vishwakarma, Nicholas Roberts and Frederic Sala.

Weak supervision replaces hand-labeled training data with labeling functions: heuristics, existing models, or crowd workers that each produce noisy labels. A label model learns how accurate each labeling function is, without seeing any ground truth, and combines their outputs into training labels. Label models in tools such as Snorkel only handle classification. The label models in uws work in any metric space, so the same approach applies to rankings, regression and structured outputs.

The library has four main parts:

  • uws.label_model: the label models, one per kind of label.

  • uws.end_model: models trained on the labels the label model produces.

  • uws.ranking: the ranking type, Kendall tau distances, Mallows models and rank aggregation.

  • uws.synthetic: labeling functions with known accuracies, for experiments and tests.

Start with Quickstart, then read How it works to see how the label models work and which options to choose.

  • Installation
    • From source
  • Quickstart
    • Rankings
    • Real values
    • Any finite metric space
    • Command line
  • How it works
    • The model
    • Estimating accuracies
    • Combining labeling functions
    • Assumptions
    • Legacy mode
  • Reproducing the paper
    • Notebooks
    • Figure 2: real-data rankings
    • Differences from the paper’s setup
  • API reference
    • uws.label_model
    • uws.end_model
    • uws.ranking
    • uws.synthetic
    • uws.labeling
    • uws.datasets
    • uws.config
    • uws.experiments.real_workflow
    • uws.experiments.synth_cls_workflow
  • Changelog
    • 1.0.0 (2026-10)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.