Dependency Structure Misspecification in Multi-Source Weak Supervision Models

Salva Rühling Cachay, Benedikt Boecking, Artur DubrawskiarXiv 2021

Abstract

Data Programming (DP) has revolutionized weak supervision by allowing practitioners to programmatically label large datasets using noisy heuristics known as Labeling Functions (LFs). However, the statistical dependencies between these LFs present a significant modeling challenge. This paper, presented at ICLR 2021, investigates the consequences of "structure over-specification"—the practice of modeling dependencies that may exist semantically but introduce detrimental noise into the label model. Through new theoretical bounds and empirical evaluations on IMDB and Bias Bios datasets, the authors demonstrate that over-modeling can degrade downstream classifier performance by up to 8 ROC-AUC points. The findings suggest that simpler, independent models often outperform complex dependency-aware models in practical settings.

Introduction

In modern machine learning, the bottleneck is often the availability of high-quality labeled data. Data Programming addresses this by using LFs to generate "weak" labels. Because these LFs often rely on overlapping features or similar semantic logic, they are inherently dependent. While frameworks like Snorkel allow for modeling these correlations, the "correct" dependency structure is rarely known. Practitioners are often forced to choose between assuming independence or attempting to learn a complex dependency graph. This research explores the hidden costs of the latter, specifically when the modeled structure is misspecified or overly complex.

Methodology and Dependency Types

The authors extend the traditional weak supervision framework by formalizing higher-order dependency types that go beyond simple correlations. These include:

  • Bolstering: Two LFs provide stronger evidence together than independently.
  • Negated: The presence of one LF suggests the vote of another should be inverted.
  • Priority: A hierarchy where one LF (e.g., a high-precision rule) overrides another.
Table 1: Examples of labeling function (LF) pairs and their associated dependency types and empirical values.

Beyond categorization, the paper derives novel theoretical bounds on the difference between the true label model posterior and a misspecified one. These bounds are crucial for understanding how errors in the label model propagate into the generalization risk of the final downstream classifier. The analysis reveals that as model expressivity increases, so does the sample complexity required to learn the parameters accurately, often leading to a net loss in performance when unlabeled data is finite.

Experimental Setup

The study utilizes two primary benchmarks to evaluate the impact of dependency modeling:

  1. IMDB Movie Reviews: A binary sentiment classification task using 135 n-gram based LFs.
  2. Bias Bios: A task distinguishing between biographies of professors and teachers, specifically chosen to observe how dependency modeling interacts with gender-bias-prone data.

The researchers tested the "Independent" model against various "Dependency" models, where dependencies were added progressively based on their empirical strength observed on a small validation set.

Results: The Cost of Over-Modeling

The empirical results provide a stark warning against over-modeling. In both the IMDB and Bias Bios tasks, adding a small number of high-strength dependencies (5-15) occasionally yielded marginal gains. However, as more dependencies were incorporated, performance consistently decayed.

Figure 1: Impact of increasing the number of modeled dependencies on downstream classifier performance (ROC-AUC change) for IMDB (left) and Bias Bios (right).

On the IMDB dataset, the downstream ROC-AUC dropped by as much as 8 points when over-modeling occurred. Furthermore, automated structure-learning algorithms frequently performed worse than the simple baseline that assumes all LFs are independent. This suggests that the noise introduced by estimating additional parameters for dependencies often outweighs the benefit of capturing the underlying statistical structure.

Discussion and Conclusion

The core takeaway of this work is the "Sensible Trap": just because a dependency is semantically logical (e.g., "PhD" bolstering "University") does not mean it should be included in the mathematical model. The increased sample complexity and the risk of parameter misspecification make complex models fragile.

For practitioners, the recommendation is to favor simplicity. The "Independent" model serves as a robust baseline that is difficult to beat without significant amounts of unlabeled data or highly precise knowledge of the dependency structure. Future work remains to identify the specific "tipping points" where model expressivity begins to provide a reliable advantage over simpler alternatives.

Summary updated

BibTeX
@misc{cachay2021dependency,
  author = {Salva Rühling Cachay and Benedikt Boecking and Artur Dubrawski},
  title = {{Dependency Structure Misspecification in Multi-Source Weak Supervision Models}},
  year = {2021},
  eprint = {2106.10302},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.10302},
}
Figure