SPEAR : Semi-supervised Data Programming in Python
Not on the map. Why?
Abstract (arXiv)
We present SPEAR, an open-source python library for data programming with semi supervision. The package implements several recent data programming approaches including facility to programmatically label and build training data. SPEAR facilitates weak supervision in the form of heuristics (or rules) and association of noisy labels to the training dataset. These noisy labels are aggregated to assign labels to the unlabeled data for downstream tasks. We have implemented several label aggregation approaches that aggregate the noisy labels and then train using the noisily labeled set in a cascaded manner. Our implementation also includes other approaches that jointly aggregate and train the model for text classification tasks. Thus, in our python package, we integrate several cascade and joint data-programming approaches while also providing the facility of data programming by letting the user define labeling functions or rules. The code and tutorial notebooks are available at https://github.com/decile-team/spear. Further, extensive documentation can be found at https://spear-decile.readthedocs.io/. Video tutorials demonstrating the usage of our package are available here. We also present some real-world use cases of SPEAR.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 6 of its 18 references that are in the map. First posted on arXiv 1 Aug 2021.
Builds on
6 of 18 references.
References · 6
- 2018Learning to Reweight Examples for Robust Deep Learningcited by 670
- 2016Harnessing Deep Neural Networks with Logic Rulescited by 135
- 2020Learning from Rules Generalizing Labeled Exemplarscited by 59
- 2018Snorkel DryBell: A Case Study in Deploying Weak Supervision at Industrial Scalecited by 52
- 2021skweak: Weak Supervision Made Easy for NLPcited by 17
- 2021Rule Augmented Unsupervised Constituency Parsingcited by 4
Built on by
Citing papers per year: 2022: 2; 2023: 1; 2024: 3.
6 papers.
- 2022UDAAN: Machine Learning based Post-Editing tool for Document Translationcited by 3
- 2023EIGEN: Expert-Informed Joint Learning Aggregation for High-Fidelity Information Extraction from Document Imagescited by 2
- 2024TEXTRON: Weakly Supervised Multilingual Text Detection through Data Programmingcited by 2
- 2024FAIR: Filtering of Automatically Induced Rulescited by 1
- 2022WeaNF: Weak Supervision with Normalizing Flowscited by 0
- 2024INSITE: labelling medical images using submodular functions and semi-supervised data programmingcited by 0
- 2024FAIR: Filtering of Automatically Induced Rules23 Feb 2024
- 2024TEXTRON: Weakly Supervised Multilingual Text Detection through Data Programming15 Feb 2024
- 2024INSITE: labelling medical images using submodular functions and semi-supervised data programming11 Feb 2024
- 2023EIGEN: Expert-Informed Joint Learning Aggregation for High-Fidelity Information Extraction from Document Images23 Nov 2023
- 2022WeaNF: Weak Supervision with Normalizing Flows28 Apr 2022
- 2022UDAAN: Machine Learning based Post-Editing tool for Document Translation3 Mar 2022