Introduction
Discourse structure analysis involves identifying how individual segments of text, known as Discourse Units (DUs), relate to one another to form a coherent narrative or conversation. Mapping these structures is a fundamental challenge in natural language processing (NLP), traditionally hindered by two major obstacles: the annotation bottleneck and structural complexity. High-quality discourse datasets, such as the STAC corpus, can take years of manual effort to annotate. Furthermore, standard supervised models often struggle with long-distance attachments and the inherent sparsity of these relationships.
This paper explores the application of data programming—specifically using the Snorkel framework—to automate the labeling process. By replacing years of manual human labeling with two months of expert-written "Labeling Functions" (LFs), the authors developed a weakly supervised system that outperforms traditional supervised learning methods.
Methodology
The researchers adopted a data programming paradigm where experts write LFs—small scripts embodying linguistic heuristics—rather than labeling individual data points. The pipeline consists of three primary stages:
- Candidate Extraction: Identifying potential DU pairs within a dialogue that could be linked.
- Generative Modeling: LFs are applied to the data. Since these rules can overlap or conflict, a generative model estimates the accuracy and correlation of the LFs to produce probabilistic "marginal" labels.
- Discriminative Modeling: These probabilistic labels train a standard deep learning model (a single-layer Bi-LSTM), allowing the system to generalize beyond the explicit rules of the LFs using text embeddings.
As shown in the table above, the LFs cover a wide range of discourse relations (e.g., Question-Answer Pairs, Results, Continuations) with varying degrees of accuracy and coverage. These heuristics incorporate dialogue acts, speaker identity, and structural distance to prune the search space effectively.
Experimental Setup
The study utilized the STAC corpus, a collection of multi-party chats from the online game Settlers of Catan, comprising 2,593 dialogues with over 31,000 semantic relations. To simulate real-world data scarcity, the authors used only 10% of the corpus as a development set for rule refinement, 80% as unseen training data for the LFs, and 10% for final testing.
Results and Discussion
The weak supervision approach proved highly competitive. The generative model, relying solely on the expert rules, achieved an F1 score of 0.51 on the test set, notably outperforming a supervised model trained on "gold" human annotations, which reached an F1 of 0.47.
Interestingly, the subsequent discriminative model (Bi-LSTM) struggled to improve upon the generative model's results. This "Snorkel Gap" suggests that discourse attachment is highly sensitive to global structure, which the expert-crafted rules captured more effectively than the simple Bi-LSTM. While the LFs provided high recall (0.72), the lower precision (0.40) indicates a tendency for the model to "over-attach" units.
Conclusion and Future Work
This research demonstrates that data programming can drastically reduce the time required to build discourse parsers—from years to months—while maintaining superior performance. Future work will focus on modeling dependencies between LFs and integrating "hard" global structural constraints (e.g., preventing crossing branches) to further improve precision and capture the nuanced global architecture of human conversation.
Summary updated