Elamur Research

Data Programming for Learning Discourse Structure

Paper · 2019 · Sonia Badene, Kate Thompson, Jean-Pierre Lorré et al.

Summary

In a multiparty chat, a short message may answer a question from several turns earlier, acknowledge an offer, or respond to an event in the game everyone is playing. Finding those connections is a problem in discourse analysis. Badene and colleagues study one part of it. Given a conversation already divided into discourse units, can a system decide which pairs of units are connected? The authors use STAC, a corpus of game conversations that records what players say alongside messages representing events and information from the game interface. Its human annotations identify the links the system is meant to recover.

The authors use data programming to turn expert judgments into reusable rules. A rule can vote for a link, vote against it, or abstain. Some rules look for a particular kind of relation, such as a question followed by its answer, and apply only to pairs with the appropriate kinds of endpoints. Rules can inspect wording, speaker identity, distance, and aspects of the preceding conversation. The authors develop them using 10% of STAC, withhold the existing human labels from the 80% used for weakly supervised training, and reserve a final 10% for testing. Snorkel combines the rule outputs by estimating how much weight to give each rule and assigning each candidate pair a probability of attachment.

Applying the rule combiner directly to the STAC test pairs gives an attachment F1 of 0.51. A supervised neural classifier trained on the human annotations gives 0.47 on that test set. F1 summarizes the balance between finding annotated links and keeping predicted links correct. The two approaches make different mistakes. The rule combiner has test precision of 0.40 and recall of 0.72, while the supervised classifier has precision of 0.33 and recall of 0.80. Training the neural classifier on labels derived from the rules gives a lower test F1 of 0.38. The strongest result comes from combining the rules and using their output directly.

The experiment shows how far expert rules can take attachment prediction under a controlled setup. The authors work with segmented dialogues, simplify groups of discourse units, and restrict the distance between candidate endpoints. The reported scores concern the presence of a connection. The rules may be inspired by particular relations, but predicting those relations as labels, recovering links beyond the distance limit, and assembling fully checked discourse graphs remain separate tasks.

Deep dive: Data Programming for Learning Discourse Structure

Learn how data programming uses expert rules to recover discourse links in multiparty chat, and where a second training stage loses accuracy. · about 32 minutes to read

The problem and its context

What a connection adds to a transcript

A transcript tells a reader when each contribution appeared and, in this setting, who made it. Reading it as a conversation also requires knowing what each contribution is doing in relation to others. A question opens an issue. A later contribution can settle it after other players have spoken or after the game has supplied new information. A comment might concern something that happened in the game, even when a player’s message happens to appear immediately before the comment. The order of the record helps a reader locate these possibilities. Identifying the relevant connection calls for a judgment about the contributions themselves.

Discourse structure makes such judgments explicit. The authors represent a conversation as a graph whose points are discourse units, or DUs. A unit expresses an item of propositional content. When one unit stands in a coherence relation to another, a directed edge records the connection. In a fully typed graph, the edge also has a label specifying the kind of connection. Categories used in the study include Question-answer-pair, Result, Contrast, and Acknowledgement. The same general representation can therefore record that two contributions belong together and say why they do.

For dialogue with multiple participants, the paper motivates this work through applications such as meeting management and the study of interactions in online forums. Both examples depend on making sense of a sequence where different people contribute and where important connections can cross intervening material. The experiments themselves take place in a game corpus. The broader examples explain why finding a connection has value even before a system can give it a reliable semantic label.

The attachment problem is the decision about whether an edge exists between two candidate units. It is one component of parsing discourse. A complete procedure would also find the unit boundaries and assign a relation type to each recovered edge. This experiment starts with the corpus’s units already identified. That choice gives the systems a common set of endpoints and lets the evaluation concentrate on which of those endpoints they connect.

Even with the boundaries supplied, a dialogue can present many possible attachments. Most candidate pairs have no annotated edge. A system can favor nearby units and handle many common cases, yet some of the connections that make a conversation intelligible span intervening contributions. The authors describe those sparse, distant links as difficult for supervised learning even when a substantial annotated corpus is available. Data preparation later narrows the distance range. The difficulty of choosing among possible endpoints remains within that range.

Why use expert rules?

The usual supervised setup begins with examples whose labels are supplied by people. For discourse annotation, this involves more than marking which expressions occur. An annotator must find relevant units, judge which ones belong together, and apply an analysis of their relationship. The paper emphasizes that this work takes time and can produce errors and disagreements even among experts. Linguistic annotation supplies the reference decisions for the study, and the authors ask whether a different use of expert effort can also yield a useful attachment predictor.

A rule gives an expert a way to express a recurring judgment at the level of a pattern. A condition involving a dialogue act, an endpoint category, and the order of the units may recur across many examples. Encoding that condition once lets it be tried repeatedly. The resulting decisions will vary in reliability because a compact rule has access to only some of the distinctions a person might use. Sometimes a rule has no grounds for a decision. Sometimes its preferred analysis conflicts with a different cue. A learning procedure that uses such rules must account for which clues apply and how much reliance each deserves.

The data programming approach the authors adopt comes from Ratner and colleagues. In this approach, heuristics can draw on different knowledge sources and issue provisional labels. A probabilistic stage then combines those labels. The usual next step is to use the resulting probabilities as training targets for a classifier that sees another representation of the underlying examples. Badene and colleagues therefore have two questions to answer. The first is whether the probabilistic combination makes good attachment decisions. The second is whether a classifier can learn from its outputs and carry the useful parts of those decisions into cases where the rules would offer less help.

Local decisions and dialogue-wide structure

The authors situate the experiment in Segmented Discourse Representation Theory, abbreviated SDRT. In the version used for STAC, a dialogue is represented as a directed acyclic graph. Directed means that an edge has an orientation. Acyclic means that following those orientations cannot lead back to the starting point. The graphs are also described as weakly connected. If the directions of the edges are set aside, there is a path connecting the units of a dialogue.

SDRT also allows complex discourse units, which are groups of units that participate together in a connection. A response can concern a stretch of conversation considered as a whole. A graph that can refer to that group directly has a richer inventory of endpoints than a graph restricted to elementary units. The paper simplifies these groups so that the decision being learned involves pairs of elementary units. This puts its target closer to the restricted discourse graphs used by some of the earlier attachment studies it discusses.

The paper distinguishes a local approach, which assigns a score to a possible pair, from an approach with global decoding, which chooses edges under constraints on the resulting graph. Müller and colleagues used a maximum-entropy classifier to score pairs for a monologue attachment task and then applied constraints when selecting edges. Early work on STAC used a similar strategy in multiparty chat. The latter study is discussed in Discourse parsing for multi-party chat dialogues.

Perret and colleagues pursued a richer approximation to SDRT on a later version of STAC. Their approach uses integer linear programming to express restrictions that apply to a graph as a whole. The distinction matters for the later comparison with data programming. A pair can receive a plausible attachment score considered on its own while participating in a global configuration that a discourse analysis would reject. Conversely, a good structural constraint can help choose among pairs whose scores are close. The earlier studies give the authors a precedent for comparing local edge prediction with discourse-wide structure building.

The rules in this study occupy a position between looking at each pair entirely in isolation and decoding a complete graph under explicit constraints. Some rules can consult predictions made earlier in the candidate sequence. This gives them access to a limited history of the analysis they are helping construct. The reported task remains binary attachment, and the paper leaves a fuller treatment of global structure for future work.

The method, step by step

Defining the graph to be learned

The starting representation gives separate roles to ordinary coherence edges, dependencies used to represent groups of units, and the semantic labels carried by ordinary edges. In Unicode notation, the paper’s full graph can be written as follows.

⟨V, E₁, E₂, ℓ, Last⟩

The angle brackets enclose the components of the graph. V is the set of nodes, which represent discourse units. E₁ contains the directed edges for coherence relations. E₂ contains dependencies that represent the grouping of units into complex discourse units. The symbol ℓ denotes the function that assigns a semantic category to each coherence edge. Last designates the final discourse unit according to the temporal or textual order.

E₁ ⊆ V²

Here E₁ is the set of coherence edges and V is the set of nodes. V² is the set of ordered pairs of nodes from V. The subset sign ⊆ indicates that the observed coherence edges occupy only part of that space of possible pairs.

E₂ ⊆ V²

E₂ contains the dependencies used in representing complex units. V² is again the space of ordered pairs from the node set V, and ⊆ says that E₂ selects some of those pairs. The separate edge sets let the notation distinguish a coherence relation from a dependency associated with the grouping of units.

ℓ: E₁ → R

The function ℓ takes an edge from E₁, the set of coherence edges, and assigns it an element of R, the inventory of semantic relation types. The arrow indicates the direction of this mapping. In the experiment, the prediction target is whether an edge belongs in the simplified coherence edge set.

The authors simplify a complex discourse unit by using its initial discourse unit as its head. An edge arriving at or leaving the group is redirected to that head. This retains a connection in a graph with elementary endpoints, with the head standing in for the original group. The operation matters when interpreting the reference annotation. An edge incident on a head can reflect a relation whose original endpoint covered a larger part of the dialogue.

⟨V∗, E₁∗, Last⟩

The angle brackets now enclose the components of the simplified graph. The star on V∗ indicates the node set after complex units are removed. The star on E₁∗ indicates the coherence edges after redirection. Last still identifies the final unit. The learning problem asks which candidate pairs are in E₁∗, with the unit boundaries and the order of the discourse available in advance.

Preparing the dialogues and candidate pairs

STAC includes chat contributions produced by the players and messages that transcribe information shown by the game interface. The paper calls the corresponding units linguistic and non-linguistic. A non-linguistic unit can therefore appear as text in the corpus. Its category marks the origin of the information in the interaction. This distinction gives a rule information about what sort of contribution a unit is, in addition to whatever words appear in its transcript.

The study excludes conversations made up entirely of non-linguistic units. The authors put their share at roughly 56% of the corpus and describe their structure as comparatively regular. The retained material includes player language and can still contain interface events. A link in that material can join player speech to player speech, or it can connect one or both endpoints to events from the game.

After choosing the dialogues and flattening the complex units, the authors identify pairs within a distance of ≤ 10 discourse units. The cutoff comes from examining the annotated development data, where 98% of discourse relations span 10 units or less. Pairs outside the window are excluded from the prediction problem. Inside the window, a pair without an annotated edge is a possible negative example. The resulting set is still strongly imbalanced because a shortlist of nearby units can provide several plausible places for a contribution to attach.

The corpus’s manual annotations are available for the exercise, which lets the authors check each stage against a reference. They simulate the intended application of weak supervision by setting aside the annotations for the 80% training portion when learning from the rules. The development portion of 10% gives the discourse experts examples on which to design and assess the rules. The final 10% provides the test portion. A supervised comparison uses human annotations for training, giving the authors a way to judge the effect of changing where the training labels come from.

From segmented STAC dialogues to attachment predictions

The steps in order.

From segmented STAC dialogues to attachment predictionsStep 1: Retain dialogues that include player language1. Retain dialogues that include player languageStep 2: Redirect group edges to their first unit2. Redirect group edges to their first unitStep 3: Extract nearby candidate pairs in dialogue order3. Extract nearby candidate pairs in dialogue orderStep 4: Apply expert rules to each candidate4. Apply expert rules to each candidateStep 5: Estimate rule weights from observed votes5. Estimate rule weights from observed votesStep 6: Convert attachment probabilities to binary decisions6. Convert attachment probabilities to binary decisionsStep 7: Train the neural classifier on derived labels7. Train the neural classifier on derived labels

The flow includes the neural training step because the authors evaluate the usual idea of generalizing from weakly labeled training data. They also evaluate the preceding stage as a predictor in its own right. That route takes the combined votes for a test pair and converts the estimated attachment probability into the final decision.

Writing rules that can abstain

A labeling function, abbreviated LF, is a rule that examines a candidate pair and returns a decision in the study’s coding scheme. The value 1 denotes a vote for attachment. The value -1 denotes a vote against attachment. The value 0 is an abstention. Abstention lets a rule stay silent when its evidence does not bear on the pair. A function designed around answers to questions can leave judgments about other discourse situations to other functions.

The rules can use the categories of the two endpoints, the dialogue acts their units express, the speakers who produced them, and lexical and grammatical information. They can also use the distance between the units. These inputs overlap with features used by earlier supervised attachment approaches. Here the expert decides how to combine them into a condition that can be applied to a particular kind of case. The probabilistic stage deals with the outputs of those conditions.

The authors organize their rules around 9 semantic relation types and the endpoint combinations that matter for each type. Question-answer-pair, abbreviated QAP, has a function for two linguistic endpoints and another for two non-linguistic endpoints. The Result rules include functions for mixed endpoints in both orders as well as for pairs with matching categories. Endpoint order is consequently part of the context in which a function is defined, especially when a player contribution is paired with a game event.

A rule’s intended relation type guides its judgment about whether an edge is present. The output of the task remains the same for all these rules. A positive signal from a QAP rule and a positive signal from a Result rule both support attachment. The probabilistic combination is estimating the presence of an edge. It has no separate output class for QAP or Result. This allows the authors to use finer-grained discourse expertise in building a binary predictor.

Endpoint eligibility and evidence for attachment are separate. Two player utterances can make a pair eligible for the linguistic QAP rule. The mere fact that both units come from players tells the function what sort of pair it sees, while a positive decision depends on the conditions the experts wrote for a question and answer. The rule table’s coverage figures describe the range of eligible examples according to endpoint types. They should be read with that definition in mind when comparing them to the number of positive judgments.

The rules examine nearby candidates before farther ones. Fixing this order gives some rules a way to use earlier attachment decisions and the history of the dialogue in a later prediction. An LF can thereby make use of information discovered while examining another pair. The paper identifies the ordering as part of the rule design. Its experiments evaluate that design together with the other rule ingredients.

The authors seek wide coverage and, where possible, overlapping rule applications. Wide coverage gives more candidates access to at least some expert evidence. Overlap gives the rule combiner observations about where different functions agree or disagree. It also creates a question about shared evidence. Two functions can agree because they independently recognize the same connection, or because their conditions both rely on the same clue. The estimator’s independence assumption makes that distinction important.

Turning rule votes into attachment probabilities

Applying the rules to the candidates produces a matrix. A row contains the recorded rule outputs for one candidate. A column contains the outputs of one rule over the candidates. Thus a row can contain positive judgments, negative judgments, and abstentions side by side. The human attachment judgments are withheld during the weakly supervised fit. The unknown attachment classes are treated as latent variables, meaning that the calculation includes them even though the fit does not observe their values.

The paper describes a rule-accuracy feature that scores how a function’s observed vote aligns with a possible true class.

φⱼ(Λᵢ, yᵢ) := yᵢ Λᵢⱼ

The symbol φⱼ denotes the feature associated with rule λⱼ, where j identifies the rule. The index i identifies a candidate, which the paper denotes by xᵢ when referring to the underlying input. Λ is the rule-output matrix, Λᵢ is its row for candidate i, and Λᵢⱼ is the vote of rule j on that candidate. The latent class for candidate i is yᵢ. The symbol := defines the feature as the product of the proposed class and the rule’s vote.

With attachment and non-attachment represented as signed classes, matching signs give a positive feature value and opposing signs give a negative one. A rule that abstains contributes zero through this feature. The same row can be examined under either hypothesis about the hidden class. A positive rule vote supports one hypothesis and counts against the other according to the weight assigned to that rule.

pθ(Λ, Y) ∝ exp(∑ᵐᵢ₌₁ ∑ⁿⱼ₌₁ θⱼ φⱼ(Λᵢ, yᵢ))

The expression pθ(Λ, Y) is the joint probability of the vote matrix Λ and all latent labels Y under the collection of parameters θ. The sign ∝ indicates proportionality, so the expression on the right supplies weights to be normalized into probabilities. The function exp is the exponential. The outer sum ranges over the m candidates indexed by i, and the inner sum ranges over the n rules indexed by j. Each term multiplies the rule’s learned parameter θⱼ by its feature value φⱼ for the row Λᵢ and possible class yᵢ. The lower indices of the sums indicate where the candidate and rule numbering starts.

The weighted sum links each LF to the hidden attachment class through its observed judgment. A rule with a weight favoring agreement contributes evidence for the class matching its vote. The strength of this evidence depends on the learned weight, so a collection of weak votes and a smaller collection of stronger ones need not lead to the same result as a simple tally. In the formulation shown, the score contains individual rule-accuracy terms. The authors describe it as presupposing independence among the rules.

The estimator chooses parameters by maximizing the probability of the observed votes after accounting for the possible hidden labels. Equivalently, the paper writes this as minimizing the negative log marginal likelihood.

arg minθ [−log ∑ᵧ pθ(Λ, Y)]

Here arg minθ asks for the parameter collection θ that minimizes the expression in brackets. The symbol − changes the sign of the logarithm, and log is the logarithm of the marginal probability being optimized. The sum indexed by Y runs over possible assignments of the hidden attachment labels. Each term pθ(Λ, Y) is the joint probability of the fixed, observed vote matrix Λ and one such assignment. Summing across assignments removes the need to specify a human label for any training candidate in this fit.

After fitting, the estimator provides a marginal attachment probability for each candidate. For an individual pair, this is the probability that its latent label denotes an attachment, given the observed votes. The procedure is generative in the sense that it starts from an account of how hidden classes could give rise to recorded votes. It then uses those votes to infer which class is plausible.

For its direct attachment predictions, the paper thresholds the estimated probability as follows.

p > .5

The symbol p denotes the estimated probability that the pair is attached. The sign > specifies a strict comparison, and .5 is the cutoff selected for its F1 on the development set. A pair whose estimated probability exceeds the cutoff receives the positive attachment label. The same binary conversion also supplies weak labels for the main neural training experiment.

Training on the derived labels

In the standard Snorkel procedure described by the authors, the probabilities from the generative stage can serve directly as soft targets for a discriminative classifier. Soft targets preserve how much confidence the first stage assigns to each class. A loss designed for those targets can treat a pair assessed as uncertain differently from a pair assessed with high confidence. The point of the second stage is to use a different representation of the candidate so that useful attachment patterns might be learned beyond the explicit conditions in the rules.

The paper compares direct training on those probabilities with a variant that uses binary targets and class weights. Binarization turns each probability into a positive or negative training label using the development cutoff. The class-balancing procedure assigns weights to the class indices and uses them in the training loss. Attachment makes up approximately 13% of the development candidates. Class weighting addresses the imbalance by changing how strongly examples from each class contribute to the objective.

The classifier is a single-layer bidirectional long short-term memory network, abbreviated BI-LSTM, with 300 neurons. A bidirectional network processes the input sequence in both directions. The paper describes its inputs as 100 dimensional word embeddings for the text of each elementary discourse unit in the pair. The resulting representations of the two units are concatenated, which means they are placed together in one input representation for the next component.

A perceptron with one hidden layer uses the combined representation. Its hidden layer uses a rectified linear unit, or ReLU, and training uses the Adam optimizer. The classifier learns from the text representations of the pair, while the rules can use cues such as speaker identity, endpoint type, distance, and earlier predicted relations. Those cues contribute to the derived labels even though the paper describes the classifier’s inputs in terms of embeddings for the two unit texts. Learning from the labels therefore involves reproducing some judgments whose original evidence may extend beyond what the classifier sees.

The supervised version provides the comparison for the source of training targets. In that case human attachment annotations provide the labels. In the weakly supervised version the targets originate with the expert rules and their probabilistic combination. The paper also makes the complete labeling rule set and descriptions of the relation types available online.

Experiments and results

The corpus and the scope of evaluation

The authors describe STAC as a corpus of multiparty chat in an online game. A dialogue in their description is bounded by a player’s turn. During a turn, players can negotiate or engage in spontaneous conversation, and the game provides interface information that is transcribed in the corpus. The dialogue annotations give a graph over the units in each conversation. A candidate in the experiments is an eligible pair of these segmented units.

The paper’s overview reports 2,593 dialogues, 12,588 linguistic discourse units, 31,811 non-linguistic units, and 31,251 semantic relations. For the material it says it uses in the learning experiments, it gives 1,130 dialogues, 13,734 linguistic units, 18,767 non-linguistic units, and 22,098 semantic relations. The reported linguistic-unit count for the learning material exceeds the count in the overview. The paper leaves that discrepancy unexplained. The figures can be reported as the authors give them for the two descriptions of the corpus, with the exact relationship between those linguistic-unit totals unresolved. The corpus itself is introduced in Discourse Structure and Dialogue Acts in Multiparty Dialogue: the STAC Corpus.

The attachment scores apply after the authors’ selection of dialogues, use of elementary endpoints, and distance restriction. Pair selection gives the evaluated systems comparable decisions to make. It also defines which positives can be recovered. A candidate judged correct in this evaluation matches the presence or absence of an edge in the prepared annotation. The original relation label can provide an expert with a useful way to design a rule, while the reported test metric pools the resulting decisions into the attachment class.

The test portion is used to compare the direct rule combiner, the classifier trained on the derived labels, and the classifier trained on human annotations. For the direct combiner the paper also reports development and training measurements. These have different roles from the test results. The development data inform rule writing and threshold selection. The training data provide rule votes for fitting the generative stage. Scoring both against their human labels shows how well the procedure fits or predicts on those portions, while the test scores assess behavior on the held-out portion.

Reading the metrics

Precision measures the share of predicted attachments that occur in the reference annotation. A system that attaches many unrelated pairs pays for those extra edges through lower precision. Recall measures the share of reference attachments that the system recovers. A system that makes only particularly safe decisions can miss many genuine links and receive low recall.

F1 combines precision and recall into a single score that is sensitive to a weak value on either side. Accuracy counts correct decisions across the classes, including the many correct judgments that a pair is unattached. The class imbalance makes the distinction important. Accuracy identifies overall agreement with the binary labels, and positive-class F1 gives a more direct view of attachment recovery. A system can have a high accuracy while making more errors among the comparatively uncommon edges that motivate the task.

For individual rules, the paper reports development-set accuracy and coverage. Coverage there concerns eligibility by endpoint category. The authors also give counts of true positives, true negatives, false positives, and false negatives for the rules. These counts show more about what a rule is doing than its overall accuracy on a set with many unattached candidates. The full system’s precision and recall, in contrast, evaluate the final combined attachment decisions.

Held-out results and split-by-split behavior

The strongest STAC test F1 is 0.51 from the probabilistic combination of expert votes used directly. The supervised classifier trained on gold annotations scores 0.47. The classifier trained on the binarized outputs of the rule combiner, with class weighting, scores 0.38. The result establishes the ranking of the tested procedures on this task and split. It locates the strongest performance at the rule combination stage of the experiment.

Attachment F1 on the STAC test set

Using the combined rule votes directly gives the highest attachment F1.

Attachment F1 on the STAC test setNeural classifier trained on derived labels: 0.38Neural classifier trained on derivedlabels0.38Neural classifier trained on human labels: 0.47Neural classifier trained on humanlabels0.47Probabilistic rule combiner (this paper): 0.51Probabilistic rule combiner (this paper)0.51
The numbers
System or settingF1
Neural classifier trained on derived labels0.38
Neural classifier trained on human labels0.47
Probabilistic rule combiner (this paper)0.51

The precision and recall figures explain how the direct rule combiner achieves the higher test F1. Its precision is 0.40, while that of the supervised classifier is 0.33. The relationship reverses for recall. The rule combiner recovers a share of 0.72 of the annotated test attachments, and the supervised classifier reaches 0.80. The supervised classifier therefore finds a larger share of the target edges, with a smaller proportion of its predicted edges judged correct.

Attachment precision on the STAC test set

The direct rule combiner has the largest share of correct predicted links.

Attachment precision on the STAC test setNeural classifier trained on derived labels: 0.28Neural classifier trained on derivedlabels0.28Neural classifier trained on human labels: 0.33Neural classifier trained on humanlabels0.33Probabilistic rule combiner (this paper): 0.40Probabilistic rule combiner (this paper)0.40
The numbers
System or settingprecision
Neural classifier trained on derived labels0.28
Neural classifier trained on human labels0.33
Probabilistic rule combiner (this paper)0.40

The classifier trained on derived labels has STAC test precision of 0.28 and recall of 0.59. The decline relative to the rule combiner thus concerns both the share of predicted edges that are correct and the share of reference edges found. The direct rule combiner’s test accuracy is 0.84. Test accuracy is 0.75 for the supervised classifier and 0.74 for the classifier trained on derived labels. The different metrics together describe a second stage that produces less reliable attachment decisions in this experiment.

For the direct rule combiner, precision is 0.45 on development, 0.50 on training, and 0.40 on test. Recall on those portions is 0.70, 0.74, and 0.72, respectively. Development F1 is 0.55 and training F1 is 0.59, alongside the test F1 of 0.51. The corresponding accuracies are 0.87 on development, 0.88 on training, and 0.84 on test. Across the splits, the lower test F1 accompanies a lower precision than on development, with test recall slightly higher than development recall.

The paper also describes an intermediate experiment in which the classifier trains directly on the marginal probabilities. It reports attachment F1 of 0.26 for that attempt in its discussion of the test results. The combination of binarized targets and loss reweighting gives the 0.38 shown for the weakly supervised classifier. The classification results therefore cover both a probability-target approach closer to the usual Snorkel setup and a modified version intended to handle the imbalance better.

The test performance of the generative stage is compatible with a practical use of the expert rule set in this restricted setting. The functions have enough relevance to predict edges on the final portion of the corpus when their outputs are combined. The classifier trained on derived labels poses a separate question about what can be transferred from those outputs to a text-based representation. Its lower scores give a different answer for the implementation tested here.

How the authors use earlier results

The paper compares its supervised local classifier with the local attachment predictor from Perret and colleagues. In discussing related work, it gives that earlier STAC local F1 as .483. In the results discussion it writes the same score as 0.483. The authors regard their own supervised test F1 of 0.47 as comparable to the earlier local result. This comparison gives context for the baseline chosen for the experiment, whose clearest test is the within-study comparison on the same prepared STAC data.

The earlier STAC work also reports attachment F1 of 0.689 after applying integer linear programming constraints to local predictions. That result belongs to a structured decoding setup. Its scope includes the effect of choosing edges under graph-wide constraints, so it addresses a different question from applying a cutoff to probabilities for individual pairs. The paper also describes Müller and colleagues’ earlier monologue work, which reports local positive attachment F1 of 63.5 and a modest improvement from global decoding. That example shows the same local-to-global distinction on a different discourse task.

The authors say their systems have strong recall and weaker precision than the earlier work by Perret and colleagues. Their explanation is that the rules were largely designed to cover a broad range of known relations, and relatively few rules specifically target the absence of an attachment. That is an interpretation of the error balance. The measured comparisons in the paper concern the rules and training variants the authors actually ran.

What the ablations show

What the individual rules recognize

The paper examines individual rules and compares several variants of the predictive pipeline. These comparisons show where the reported gains occur. They give less direct evidence about the value of each design choice because the authors do not report a sequence of full-system runs that removes one input or one rule family at a time.

The development analysis shows how much behavior can differ within a single relation family. For the question-answer function between two linguistic units, QAP LL, the reported coverage is 0.32 and accuracy is 0.8928. The authors also describe this rule in prose as having 32% coverage and 89% accuracy on the portion of development to which it applies. The rule has 282 true positives, 239 false positives, and 150 false negatives there. It finds annotated links, proposes additional links the annotation rejects, and misses some annotated attachments.

QAP NLNL, the question-answer function for two non-linguistic endpoints, has development coverage of 0.31 and accuracy of 0.9995. Its row gives 84 true positives, 4 false positives, and 0 false negatives. Its coverage, defined by the eligible endpoint category, is close to that of the linguistic rule. Its results within that eligible population are different. The endpoint setting changes what evidence is available and how frequently the rule has to distinguish a genuine link from a plausible alternative.

The table also shows why a rule with high accuracy can have a relatively narrow contribution to the task. Result NLL, which takes a non-linguistic endpoint followed by a linguistic one, has development accuracy of 0.9996. It has 2 true positives, 0 false positives, and 2 false negatives. In that row, correct negative decisions account for much of the high accuracy. The rule can still contribute evidence on suitable pairs, but the accuracy figure alone says little about the number of attachments it helps recover.

A different pattern appears for the Comment rule with two linguistic endpoints. Its development accuracy is 0.8847, with 123 true positives, 1140 false positives, and 0 false negatives. Within the authors’ evaluation of the rule, all of its target positives are recovered, and many extra pairs are proposed. Those counts make the precision problem concrete. Broadly recognizing a candidate as a possible comment can add demand on the combination stage to distinguish support for an attachment from a cue that fires too freely.

The rules are evaluated on different eligible populations determined by their endpoint types, and the counts reflect the opportunities within those populations. A rule that makes few positive decisions can still be correct on most comparisons because unattached candidates are common. A broad rule can find many reference attachments and look weaker by accuracy if it also generates many false positives. The paper’s individual-rule scores are therefore most informative when coverage, positive decisions, and errors are read together.

These are development measurements on the data used to refine the functions. They describe how the rules behave where their authors can inspect annotations. The held-out test score for the combination answers a different question about the completed collection. There is no reported leave-one-rule-out comparison that would show how test F1 changes if, for instance, a broadly firing Comment rule is dropped or a high-accuracy question-answer rule is removed.

Where adding a classifier changes the result

Scoring the probabilistic outputs directly and then scoring the classifier trained on their derived labels provides the clearest comparison of stages. Using the rule combiner itself gives STAC test F1 of 0.51. Adding the reported neural training procedure gives 0.38. Both the precision and recall figures decline in the latter setup. The tested classifier therefore fails to deliver the anticipated recall benefit of generalizing the rules to new cases.

A reason to expect a gain was that embeddings and a learned text representation could recognize useful similarities among expressions even when an LF was written for a more specific condition. That expectation depends on the added representation making the right information available. If two units look similar in text while their speaker identities or attachment histories differ, some of the distinctions made by the rules can be difficult to recover from those inputs. The comparison establishes the performance of the actual handoff to the classifier. The experiment leaves open how much the outcome depends on changing the form of the labels, changing the information used to make a prediction, or learning from the remaining errors in the weak labels.

The comparison with gold training labels provides another view. On the same test portion the classifier reaches F1 of 0.47 with human annotations and 0.38 with the derived labels. The classifier can learn more useful attachment behavior from the human targets in the reported setup. The direct rule combination still has the higher F1 of the three approaches. Together these findings separate the usefulness of the rules as a predictor from the effectiveness of the labels they produce for training this classifier.

What the training variants can establish

Training directly on the marginals gives F1 of 0.26. Binarizing those marginals and reweighting the classes gives 0.38. The authors describe the hard labels as a change they needed to make to use their class-balancing method. The experiment consequently compares two settings that differ in both target representation and handling of class imbalance. It provides evidence for the combined change as implemented, with the contribution of each adjustment unresolved.

The authors point out that hard targets discard probability information. A pair just above the cutoff receives the same target class as one assigned a much stronger probability of attachment. If uncertainty carried information that could have helped the classifier, training on binary targets removes it. The paper suggests that the loss of this information contributed to low precision. The direct soft-target attempt also performs poorly, so the reported experiments leave the source of the overall weakness in the second stage open.

The authors report choosing the cutoff for its development F1. They give no curve showing how test precision and recall respond across cutoffs, and the rule table gives no independent comparison of using dialogue history versus omitting it. The positive conclusion is about the tested combination of expert rules and estimated weights used directly. Contributions from candidate ordering, feature families, and particular kinds of negative evidence are questions left for further controlled comparisons.

Limitations

Limits the authors identify

The authors restrict their target to attachment between segmented units. They flatten complex discourse units because learning the original recursive structure is beyond the scope of the study. Where a relation originally concerns a group, the simplified problem treats its initial unit as the endpoint. Even a correct prediction under this setup recovers the simplified edge. The result therefore measures one component of an SDRT analysis and one representation of that component.

The experiments also narrow the range of conversations and candidate pairs. Entirely non-linguistic dialogues are excluded because the authors consider their structure more regular. The distance limit is motivated by the development data and the need to control class imbalance. It excludes longer cases even though the difficulty of long-distance attachment is part of the motivation for the study. The paper’s evidence concerns the pairs remaining within its window.

The rule combiner presupposes independence among the labeling functions. The authors explicitly note that some functions may be variations of one another or may depend on the same source of information. Agreement is informative only to the extent accounted for by the probabilistic assumptions. Repeated evidence can receive too much weight when rules respond to a shared cue. The authors leave explicit treatment of such dependencies for future work.

Another limitation the authors discuss is the relative shortage of rules aimed at non-attachment. Their design puts considerable effort into recognizing patterns associated with named positive relations. They suggest that this preference helps explain the recall-heavy behavior and weaker precision relative to the earlier results they discuss. Assessing that explanation would require a comparison in which the rules against attachment were varied and other parts of the setup were held fixed.

The authors also identify the interaction between the generative and discriminative stages as a subject for further investigation. The intended transfer from noisy probabilities to a more general predictor produces lower test scores than applying the rule combiner directly. They propose giving the rules access to globally relevant context and comparing that approach with separately applied decoding constraints. The paper reports a limited use of earlier attachment decisions, with the more elaborate global experiments reserved for future work.

Limits visible in the evaluation design

The weak supervision experiment withholds training labels from the fit, while drawing its training and evaluation material from an annotated corpus. The development rules can be tailored to examples from the same corpus that supplies the later splits. This is useful for determining whether a rule collection can be extended across STAC without using gold training annotations in the weak fit. Typical performance on other settings, and the amount of rule rewriting such a move would require, remain outside the evaluation.

Features tied to STAC are particularly relevant to that boundary. Player messages and recorded game events give the authors an endpoint distinction that organizes many rules. A discussion recorded in a different setting might supply a different mix of dialogue acts, participant behavior, and external events. The paper gives a concrete way to use expert knowledge where those cues occur. It offers no cross-corpus result showing which rules or learned weights survive a change in setting.

The authors raise the possibility of saving annotation effort. They report creating and refining the labeling functions in 2 months and infer from the corpus publication that building STAC took at least 4 years. Those figures describe different activities. The corpus supports an annotated resource with segmented units, named relations, and complex structures. The rule-writing effort addresses binary attachment using selected data and pre-existing segmentation. The comparison illustrates the authors’ motivation, while leaving labor per usable annotation and time for equivalent coverage unmeasured.

The evaluation reports aggregate attachment performance. Positive-class F1 measures the quality of predicted edges against reference edges. It leaves graph-level properties such as connectedness and acyclicity unevaluated. Good performance on individual pairs can still yield an unsuitable graph if several decisions interact poorly. For a downstream system that needs coherent dialogue analyses, graph-level checks would add information beyond the reported metrics.

The score tables also leave some useful variation unresolved. The paper gives aggregate test results alongside development diagnostics for each function. It provides no test breakdown by distance within the allowed window. The reader therefore cannot tell from the reported scores whether gains come mainly from immediate attachments or extend to the harder cases towards the far end of the window. Likewise, development counts for the relation-specific functions show the behavior of those individual rules, while the final binary test scores do not trace gains to particular semantic relation types.

The reported figures are point estimates for the experiment. The paper describes the generative result as an improvement over the supervised comparison, and the reported test F1 ranks the systems in that order. The results give no uncertainty intervals or formal significance test for that comparison. They support a claim about the measured split and the specific procedures used there. The magnitude and stability of an advantage across alternative splits, rule collections, or classifiers remain open.

Finally, the handoff to the classifier changes several aspects of the problem at once. The classifier learns from inferred targets using its own text representation, and the stronger weakly supervised variant changes both the target format and the weighting of the loss. Its performance gives a direct result for that whole training procedure. It leaves open whether better access to the contextual features used by the rules, a different treatment of uncertainty, or a different training procedure would make the second stage more competitive.

What came after

Two later citing works take up neighboring questions about discourse and supervision. Their titles identify the focus of each work. The precise uses they made of Badene and colleagues’ rules, probabilities, or experiments are unspecified, so the connection can be described at the level of the questions those works pursue.

Li and colleagues’ study addresses dialogue discourse under minimal supervision. Its title identifies both discourse relation prediction and discourse parsing. This places the work in the same problem area and gives it a wider stated scope than the binary attachment decision evaluated by Badene and colleagues. Their experiment puts an edge in the simplified graph if the attachment evidence is strong enough. Relation prediction concerns the further distinction among types of connections. These are distinct demands on supervision, and the later work’s title brings them into the same research question. The citation establishes the connection, with the specific method of transfer unspecified. Discourse Relation Prediction and Discourse Parsing in Dialogues with Minimal Supervision.

Sileo’s work concerns the evaluation of language understanding from a pragmatics-centered perspective. Dialogue attachment is relevant to that theme because a contribution’s role can depend on what it answers, explains, or acknowledges. Badene and colleagues isolate a measurable part of this broader issue by supplying unit boundaries and testing recovery of links between units. An evaluation framework has a broader stated purpose, and the citation links the attachment study to that setting. The available description identifies no adopted STAC protocol or specific use of the rule combiner. A Pragmatics-Centered Evaluation Framework for Natural Language Understanding.

The two connections follow different parts of the original problem. One concerns how to recover dialogue structure and relations when supervision is limited. The other concerns how to evaluate understanding that depends on the role of an utterance in context. In Badene and colleagues’ experiment, the distinction is already visible in the design: relation-specific knowledge supplies the evidence, and a deliberately narrower attachment test measures what that evidence can recover.

Cite

Cite as Sonia Badene, Kate Thompson, Jean-Pierre Lorré and Nicholas Asher. 2019. Data Programming for Learning Discourse Structure. Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/p19-1061

@inproceedings{badene2019data,
  title = {{Data Programming for Learning Discourse Structure}},
  author = {Sonia Badene, Kate Thompson, Jean-Pierre Lorré and Nicholas Asher},
  booktitle = {Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics},
  year = {2019},
  doi = {10.18653/v1/p19-1061},
  url = {https://doi.org/10.18653/v1/p19-1061}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/badene-2019-data-programming-learning-discourse-structure/