Skip to main content
QUICK REVIEW

[Paper Review] Data Programming using Continuous and Quality-Guided Labeling Functions

Oishik Chatterjee, Ganesh Ramakrishnan|arXiv (Cornell University)|Nov 22, 2019
Rough Sets and Fuzzy LogicComputer Science21 references7 citations
TL;DR

This paper introduces CAGE, a data programming framework that extends labeling functions (LFs) to output continuous scores instead of discrete labels, enabling more nuanced and semantically flexible weak supervision. By incorporating user-provided quality guides and a novel training objective, CAGE improves model stability and performance over baseline methods, achieving higher recall and consistent accuracy across five tasks without relying on validation data for hyperparameter tuning.

ABSTRACT

Scarcity of labeled data is a bottleneck for supervised learning models. A paradigm that has evolved for dealing with this problem is data programming. An existing data programming paradigm allows human supervision to be provided as a set of discrete labeling functions (LF) that output possibly noisy labels to input instances and a generative modelfor consolidating the weak labels. We enhance and generalize this paradigm by supporting functions that output a continuous score (instead of a hard label) that noisily correlates with labels. We show across five applications that continuous LFs are more natural to program and lead to improved recall. We also show that accuracy of existing generative models is unstable with respect to initialization, training epochs, and learning rates. We give control to the data programmer to guide the training process by providing intuitive quality guides with each LF. We propose an elegant method of incorporating these guides into the generative model. Our overall method, called CAGE, makes the data programming paradigm more reliable than other tricks based on initialization, sign-penalties, or soft-accuracy constraints.

Motivation & Objective

  • To address the limitations of discrete labeling functions in data programming, which often miss semantically similar terms due to rigid dictionary matching.
  • To improve the reliability and stability of generative models for label aggregation, which are sensitive to initialization, learning rates, and training epochs.
  • To provide data programmers with interpretable, quality-guided control over the training process, reducing dependence on uninterpretable hyperparameters.
  • To generalize the data programming paradigm by supporting continuous LFs that output real-valued scores correlated with true labels.
  • To design a principled method of integrating user-provided quality guides into the generative model to enhance convergence and performance.

Proposed method

  • Proposes continuous labeling functions (LFs) that output real-valued scores based on similarity metrics like cosine similarity of pre-trained word embeddings, instead of hard labels.
  • Introduces a generative model that jointly models discrete and continuous LFs using undirected, globally normalized potentials for better LF interaction modeling.
  • Incorporates user-provided quality guides as soft constraints in the training objective, using a sign penalty and marginal regularization to stabilize optimization.
  • Employs a joint likelihood model over labels and labeling functions, with parameters learned via maximum likelihood estimation with regularization.
  • Uses a data-independent regularizer for LF marginals and a data-driven method for quality guide integration, both evaluated empirically.
  • Designs a training objective that combines continuous and discrete LF signals while ensuring stability across different initialization schemes and hyperparameters.

Experimental results

Research questions

  • RQ1Can continuous labeling functions that output real-valued scores improve recall and coverage compared to discrete LFs in weakly supervised learning?
  • RQ2How does the inclusion of user-provided quality guides affect the stability and accuracy of the generative model in label aggregation?
  • RQ3Does the proposed CAGE framework outperform existing methods in terms of consistency across different initialization schemes, learning rates, and training epochs?
  • RQ4Can quality guides be effectively integrated into the training process to replace heuristic hyperparameters like sign penalties or soft accuracy constraints?
  • RQ5Is the joint modeling of continuous and discrete LFs with globally normalized potentials more effective than a directed Bayesian network approach?

Key findings

  • CAGE with continuous LFs achieves higher recall than discrete LFs across five diverse applications, demonstrating the benefit of soft matching with word embeddings.
  • The CAGE model with data-independent regularization (CAGE-C) provides the most reliable performance gains, outperforming other variants including those with sign penalties or data-driven guides.
  • The generative model with undirected, globally normalized potentials captures LF interactions more effectively than a directed Bayesian network, leading to improved performance on all tasks.
  • User-provided quality guides significantly improve training stability and model performance, especially when combined with proper regularization, reducing sensitivity to initialization and hyperparameters.
  • The method achieves consistent improvements in F1 and accuracy across all five tasks without requiring labeled validation data for hyperparameter tuning.
  • The ablation study confirms that local normalization is crucial for modeling continuous LF scores, and that global normalization enhances the model's ability to capture LF dependencies.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.