Next Sentence Prediction helps Implicit Discourse Relation Classification within and across Domains
Paper · 2019 · Wei Shi and Vera Demberg
Summary
Two passages can be easy to read on their own and still leave their connection unstated. Imagine reading that a venture went badly, then learning that it was expected to be a safe investment. The second statement could have explained what went wrong. Instead, it describes an expectation that the outcome confounds. There is no but to make that connection explicit. Wei Shi and Vera Demberg study how to classify links of this kind, known as implicit discourse relations. The task matters for discourse analysis because the way passages fit together can carry information that neither passage conveys by itself. The authors argue that labeled examples are too sparse to teach a classifier all the causes, consequences, and sequences of events that can make one passage a surprising or natural continuation of another.
The authors start from BERT, whose original training includes Next Sentence Prediction, or NSP. Given a passage and a candidate continuation, NSP asks whether the candidate actually followed the passage in the source corpus or was drawn at random. The authors use the resulting encoder to read the two parts of a discourse relation together and assign a relation label. They also test whether further training on text from the target domain helps. This uses Wall Street Journal text for news and GENIA text for biomedicine. Those texts supply material for additional training without requiring discourse labels. The relation labels enter later, during fine-tuning.
On the Penn Discourse TreeBank, the BERT classifier surpasses earlier systems on the 11-way task across both fixed splits and cross-validation. Its strongest PDTB-Lin result is 54.82% accuracy after additional Wall Street Journal training. On the Biomedical Discourse Relation Bank, or BioDRB, the authors map the annotation categories to the PDTB scheme and test both transfer from news and training on labeled biomedical data. In the transfer test, the base BERT classifier reaches 44.79% accuracy, compared with 29.52% for the earlier Bai and Zhao system. With biomedical labels for training, additional GENIA pretraining brings BERT to 66.04% average accuracy. The paper also reports 43.03% average F1 and 77.34% average accuracy for base BERT on a separate BioDRB experiment that tests one broad relation at a time.
The strongest evidence for the role of NSP comes from comparing versions that receive the same kind of additional domain training, with or without the continuation objective. Including NSP improves accuracy on both fixed news splits and in both biomedical settings. The news cross-validation averages are nearly identical, and some individual relations gain more than others. Every variant in this comparison inherits BERT’s original NSP training, so the experiment isolates the value of keeping NSP during the additional training stage. The results support the authors’ account that learning about continuations can help a classifier recognize how passages are connected. How the encoder represents those expectations remains an open question.
Deep dive: Next Sentence Prediction helps Implicit Discourse Relation Classification within and across Domains
Shi and Demberg test whether BERT’s next sentence prediction training helps identify unstated connections in news and biomedical writing. · about 33 minutes to read
The problem and its context
A relation can be implicit even when both statements are clear
In a discourse relation, the things being connected are stretches of text. The paper calls these stretches arguments. Here, an argument is one of the passages involved in the relation, whether it presents a claim, describes an event, or supplies some other information. The task is an instance of text classification in which the input consists of two such arguments and the answer identifies how they function together. A temporal relation concerns when the situations occur relative to each other. A causal relation concerns whether one situation explains or follows from another. A contrast asks the reader to consider a difference or a tension between the passages.
A connective can guide that interpretation. A word such as because gives a reader a reason to consider a causal link. A word such as however points toward opposition or qualification. In an implicit relation, the reader has to arrive at an interpretation using the content and arrangement of the arguments. Ordinary words can still offer clues. Negation can suggest that one passage runs against another, and time expressions can indicate an ordering. What is missing is an overt expression giving the discourse connection itself.
The paper illustrates this with a news item about a joint venture. The first argument gives a negative assessment of the venture. A natural next move would be to explain the problems that led to that assessment. The next argument instead recalls how attractive the opportunity was supposed to be for Time. The expected safety of the venture sits uneasily beside the negative verdict. The annotation treats the pair as a concession involving expectations. The connection depends on reading the description of the original plan in light of the verdict, and on recognizing the contribution that an explanation of the venture’s failure would have made at that point.
There are two kinds of expectation at work in that example. The passage reports someone's earlier expectation about the venture. The reader also forms an expectation about what the text will say after a negative evaluation. The authors are interested in the latter as a basis for classification. A continuation can fulfill an expectation by supplying a reason or a subsequent event. It can also be coherent because it departs from a more obvious continuation, as when a writer interrupts the explanation of a failure to recall how sensible a plan once seemed. Both possibilities make the actual second argument informative.
The authors situate the task within discourse parsing, the broader undertaking of recovering how parts of a text fit together. Their experiments concern the labeling decision once the two arguments are available. Their introduction connects discourse relation research with machine translation, question answering, and summarization. The common motivation is that understanding what a passage contributes can matter when conveying its meaning, selecting an answer, or deciding which material supports a summary. The publication of PDTB and the subsequent CoNLL shared tasks gave researchers common material on which to study such decisions. CoNLL-2015 shared task and CoNLL 2016 shared task.
What earlier classifiers could draw on
One line of earlier work represented the relation through pairs of words drawn from the arguments. Pairing a word in one passage with a word in the other gives the classifier evidence about their interaction. An antonym pair can suggest contrast, for instance, even if the arguments share few other features. The paper also describes features drawn from individual passages, such as negation or a time expression. These cues are valuable when they recur across examples with the same relation. The difficulty is that many pairs convey their relationship through the situations they describe. The words for an intended benefit and the words for an eventual failure may express opposed outcomes without forming a dictionary pair. Lin et al. on implicit PDTB relations, Park and Cardie on feature selection, and Biran and McKeown on word-pair features.
Several approaches tried to make this evidence generalize. The paper cites word clustering and coreference resolution as sources of features. Coreference information can identify when different expressions refer to the same entity. That helps distinguish, for example, a later claim about an already mentioned venture from a claim about an unrelated venture. The paper also discusses learned word embeddings, numerical representations that supply information about words from training outside the discourse corpus. Word2Vec and GloVe are examples cited for earlier systems, and ELMo provides representations that take the surrounding words into account. Such representations give an argument encoder more to work with than a set of isolated word names. Rutherford and Xue on clusters and coreference, Word2Vec, GloVe, and ELMo.
Other studies changed how the arguments were encoded or how training examples were obtained. The paper describes feed-forward, convolutional, recurrent, and character-based approaches. A convolutional approach learns to recognize patterns over parts of its input, while a recurrent approach processes an argument through a sequence of updates. Training through characters gives the system access to information below the word level. The authors also discuss adversarial training that makes use of connectives and cross-lingual data augmentation, where evidence from translation helps acquire additional examples. These directions address different practical obstacles, including how to represent a passage and how to obtain useful supervision when annotated pairs are scarce. Rutherford et al. on neural discourse classification, Zhang et al. on convolutional classification, and Qin et al. on connective-based adversarial training.
The emphases overlap. Cai and Zhao, for instance, use an encoding of the first argument to guide the construction of the representation of the second. That is already a way to make what the classifier sees in the second passage depend on the first. Kishimoto and colleagues give their classifier access to explicit knowledge through ConceptNet relations and coreference. Bai and Zhao combine representations at different levels of detail, including the contextual information supplied by ELMo. Shi and Demberg’s own earlier work uses a system trained to supply an implicit connective, together with a memory component intended to retain information about similar example pairs. In the 2019 paper, these are distinct approaches to the same underlying difficulty. The challenge is to make the relationship between the passages available in a form that the classifier can use. Bai and Zhao’s enhanced representations.
Why ordinary text might help
Recognizing an entity, representing a word in context, and recognizing the expected consequence of an event supply different kinds of evidence. A classifier might recognize that the two passages concern the same venture and still have difficulty with why the writer juxtaposed them. It would help to know what sorts of reasons, consequences, qualifications, or subsequent events are typically stated after the first passage. The authors use discourse expectations for this kind of information. What readers can infer depends on both what they know about events and what they expect writers to say about them.
Learning these expectations completely from manually labeled pairs would require examples covering many combinations of events, claims, and situations. The same kind of relation appears in widely different subject matter. Conversely, the same topic may appear in a contrast, a cause, or a simple elaboration. The authors regard the available annotation as too limited to teach all of those patterns. Text with its sentence order intact offers a different source of training examples. It already records which sentence comes next, even when nobody has assigned the pair a discourse label.
This leads to the paper’s question about pretraining, the stage that gives an encoder general capabilities before it is adapted to a particular labeled task. A continuation exercise can teach the encoder to consider the compatibility of passages before it encounters the categories of a discourse corpus. The subsequent classifier can then learn which aspects of that compatibility matter for distinguishing relations. The possibility of learning from sentence order is especially relevant when the topic changes, because additional text from the new domain can provide examples without requiring the same investment in linguistic annotation.
The method, step by step
Start with an encoder trained on continuations
BERT supplies the starting parameters. The authors use the base uncased model released by Devlin and colleagues, whose original training drew on a combined 3.3 billion tokens from BooksCorpus and English Wikipedia. Uncased input treats capitalization distinctions as immaterial to the text representation used here. The encoder is bidirectional in the sense described by the paper: it builds representations using context to the left and the right. That makes it possible to read the ordered pair as a single input and take account of evidence on either side of a word. The paper identifies the official BERT release as the source of the starting checkpoint. Transformer and attention.
BERT’s original training pairs a word-level exercise with a passage-level one. In Masked Language Modeling, some input tokens are hidden and the system learns to recover them from the visible context. A token is a unit of text supplied to the encoder. Predicting missing tokens gives the encoder practice using semantic and grammatical context. In Next Sentence Prediction, the training input contains a first passage and a candidate continuation. The continuation is either the actual sentence that followed or one selected at random from the corpus. The target records which of these happened.
For a newcomer, the difference is easiest to see in the question each exercise asks. Masked Language Modeling asks what text fits a gap. NSP asks whether a continuation belongs after a particular piece of text. The latter is a binary decision. The training target comes from the assembly of the pair, so it can be obtained without having a person label each continuation as a cause, contrast, or any other relation. A genuine next sentence in the corpus can express any of several relations. That breadth is part of the authors’ motivation for using the resulting representations as a starting point.
During NSP, the candidate text is already present. The procedure evaluates a pair instead of producing an open-ended continuation. The sense of prediction in the task name refers to predicting the binary label for that pair. If the training teaches the encoder to recognize features of genuine continuations, the discourse classifier can later use those features when both arguments are present. Its supervised task is to decide which relation links them. The learned evidence about continuation is upstream of that decision.
Continue pre-training in the relevant domain
The authors use the original BERT checkpoint directly in some runs. In others, they continue pretraining from the same checkpoint on material drawn from the domain of the evaluation corpus. For the news experiments, they use parts of the Wall Street Journal corpus without discourse relation annotation. For BioDRB, they use a separate portion of GENIA without coherence labels. The GENIA material used for this stage comprises 18k sentences. Because it is the underlying text that supplies the continuation pairs, the authors can make use of this material before the system sees a labeled relation.
For each domain, the authors compare additional training with both BERT objectives against additional training with Masked Language Modeling alone. They keep the word-level objective in the comparison so that both variants receive adaptation from the domain text. In the version called BERT + WSJ, the additional stage also uses NSP. BERT + WSJ w/o NSP identifies the version that uses the masked-token objective alone at this stage. The corresponding biomedical versions are BERT + GENIA and BERT + GENIA w/o NSP.
The timing of the change is essential. All these systems begin after BERT’s original pretraining has already happened, including its use of NSP. The authors vary whether to keep practicing the continuation decision on the new corpus. That produces a comparison between continued training objectives given a common initialization. The unadapted BERT row answers a different question. It shows what happens when the authors go straight from the original checkpoint to supervised discourse classification.
Domain and objective are therefore separate aspects of the setup. The domain determines which text supplies the masked tokens and, when used, the next-sentence pairs. The objective determines what the encoder has to predict from those inputs. During supervised training, another distinction matters: the source of the annotated argument pairs can differ from the domain used in the additional pretraining stage. In the biomedical transfer experiment, for instance, the authors can adapt the encoder to GENIA text and still teach the relation labels using news examples.
From pre-trained BERT to a discourse relation label
The steps in order.
Turn an argument pair into a labeled example
The authors use BERT’s sentence-pair classification setup. An example begins with the first discourse argument and the second discourse argument in their annotated order. The sequence has a special classification position, marked [CLS]. A separator, [SEP], goes between the two arguments. In the following schematic, the brackets are part of the special token names.
[CLS] Arg1 [SEP] Arg2
[CLS] is the classification token whose representation is used for the decision about the pair. Arg1 stands for the ordered tokens of the first argument, and Arg2 stands for the ordered tokens of the second. [SEP] marks their boundary. The spaces in the schematic indicate the order of the components. An argument is the text span supplied by the annotation. Describing the method as sentence-pair classification identifies the form of the BERT interface, while argument identifies what the discourse task puts into that interface.
The architecture figure uses E for the input token embeddings. An embedding is the numerical representation supplied for a token. The figure uses T for the target words, which the paper describes as corresponding to the input words in this setup. C marks the classification output in the schematic. The paper describes its correspondence to the [CLS] position in pretraining and to the ground-truth class in fine-tuning. In the supervised experiment, the annotated class is the target used to train the prediction from the pair representation. The classification position makes evidence from the combined input available to the decision about that target.
Consider again the passage about the disappointing venture. The tokens conveying the assessment occupy the first argument. Those describing the venture’s intended role occupy the second. The separator marks the switch from the verdict to the original intention. The classifier gets the actual text on both sides of that boundary, so it can learn to use their interaction. The annotation supplies the label for the pair during training. In evaluation, only the arguments are supplied for prediction, and the human annotation is used afterwards to score the answer.
The paper specifies the input format and prediction targets in prose and in its architecture figure. Its methodological description centers on fitting the classification setup to the discourse data and choosing which objectives to use in continued pretraining. The important change between pretraining and fine-tuning is the meaning of the target. The continuation exercise uses the provenance of the second passage. The discourse task uses an annotator’s judgment about the relation between the passages. A representation learned for the former is useful to the latter only insofar as it preserves relevant evidence.
Choose the supervision that matches the experiment
The relation categories in PDTB are arranged in a hierarchy. Broad categories occupy the upper level, with more specific distinctions below them. On the news corpus, the authors use the established 11-way classification task at level 2. Each prediction selects among the labels used in that setup. A correct category at a broader level would still leave the fine-grained decision unresolved. For instance, identifying that a pair involves time does not by itself say whether the events overlap or occur at different times.
The biomedical corpus has annotations in the PDTB style, with additions and changes of its own. The authors map the BioDRB categories to PDTB categories using the mapping guidance they cite for the biomedical corpus. This makes the news labels and biomedical test labels comparable for the transfer experiment. After the mapping, they can train the classifier on annotated news pairs and test it on annotated biomedical pairs. In a separate evaluation, the classifier gets biomedical pairs for supervised training and is evaluated on held-out biomedical data. Both paths use the same general input format.
The paper also studies a binary level-1 task in BioDRB. Here, each classifier answers whether a pair belongs to one broad relation category, grouping the remaining categories together as the negative class. The authors use sampling during supervised training to balance positive and negative examples. This supplies a different decision problem from choosing among level-2 labels. It also serves a specific comparative purpose: earlier biomedical results were available under the one-versus-all setup, so the authors follow that setup to compare the classifiers.
Experiments and results
News discourse under different split conventions
The Penn Discourse TreeBank is the news benchmark. The authors use two fixed split conventions because earlier studies had reported results under both. PDTB-Lin trains on sections 2-21, validates on section 22, and tests on section 23. PDTB-Ji trains on sections 2-20, validates on sections 0-1, and tests on sections 21-22. Those choices change which labeled examples are available for fitting and which examples determine the reported test result. Accuracy is the share of evaluated pairs that receive the correct relation label, aggregated over the pairs in the applicable split.
The authors also run 10-fold cross-validation using sections 0-22. Cross-validation cycles through held-out portions of the labeled material. It gives a view of performance over different assignments of training and evaluation examples, whereas each fixed split answers the question for a designated set of sections. For comparing results with an earlier publication, the split matters. A higher accuracy under one convention and a lower accuracy under another can arise from the different examples and training material those conventions use. Lin’s PDTB split and Ji and Eisenstein’s PDTB split.
The simplest comparison system is a bidirectional LSTM, a recurrent encoder that processes the input in both directions, with pretrained Word2Vec embeddings. The paper labels this baseline Bi-LSTM + w2v 300. The published systems provide reference points for different strategies: attention conditioned on the first argument, explicitly supplied knowledge, prediction of a missing connective, and the use of several kinds of representations including ELMo. Because the earlier studies report on different split conventions, the table has gaps. The authors compare numbers where a matching evaluation is available.
PDTB-Lin test accuracy for level-2 implicit discourse relations
BERT with continued Wall Street Journal training and next sentence prediction has the highest accuracy.
The numbers
| System or setting | accuracy % |
|---|---|
| Bi-LSTM with Word2Vec | 37.95 |
| Kishimoto et al. | 38.77 |
| Bai and Zhao | 45.73 |
| Shi and Demberg connective prediction system | 45.82 |
| BERT | 53.13 |
| BERT + WSJ without NSP | 53.39 |
| BERT + WSJ (this paper) | 54.82 |
On PDTB-Lin, ordinary fine-tuning from the released BERT checkpoint yields 53.13% test accuracy, with a standard deviation of 0.37. After continued WSJ training with both objectives, the score is 54.82%, with a standard deviation of 0.61. Bai and Zhao’s system scores 45.73% under the same split convention, and the earlier connective-based system from Shi and Demberg scores 45.82%. The paper reports a 7.3 percentage-point gain over Bai and Zhao for the BERT comparison in this setting. The overall comparison and the pretraining comparison answer distinct questions. The former shows how well BERT works as a starting point relative to previous classifiers. The latter shows what additional training contributes to a BERT classifier.
On PDTB-Ji, base BERT reaches 53.30% test accuracy with a standard deviation of 0.39. BERT + WSJ obtains 53.23% with a standard deviation of 0.32. Both exceed Bai and Zhao’s 48.22%, and the paper describes the gain over the ELMo-based approach on this split as 5.5 percentage points. The adapted version without continued NSP obtains 51.28% with a standard deviation of 0.49. Thus the full WSJ variant scores higher than the variant that uses masking alone during adaptation, while base BERT has the highest mean accuracy of the BERT variants on this split. The choice of comparator changes the answer to whether further training helped.
In cross-validation, the Bi-LSTM baseline averages 37.82% accuracy, Kishimoto and colleagues report 39.80%, and the previous Shi and Demberg system reports 41.29%. Base BERT averages 49.30% with a standard deviation of 1.33. The corresponding means are 49.32% for BERT + WSJ without continued NSP and 49.35% when continued NSP is included. Their standard deviations are 1.24 and 0.83, respectively. The paper reports a gain of around 8% over the earlier Shi and Demberg result, with p<0.01. The cross-validation data show a substantial advantage for the BERT starting point and closely grouped mean scores across its training variants.
The authors handle statistical variation differently in the fixed and rotating evaluations. For the fixed Lin and Ji splits, they run the experiments 5 times to estimate variation from random initialization. They then assess how likely the previous best result would be under the estimated distribution. In cross-validation, they use variation across folds and report a paired t-test. The table’s annotations also identify significant differences between some full continued-training variants and their counterparts without NSP. A significance claim attached to one such comparison applies to that contrast and evaluation setup.
Transfer from news to biomedical writing
BioDRB consists of discourse annotations over 24 open access full-text articles from GENIA. The authors highlight the professional vocabulary and expressions that make this material different from the news and general text used elsewhere in the experiments. A classifier may face both unfamiliar language and unfamiliar content in passages whose relations nevertheless belong to the mapped categories. The authors therefore distinguish two conditions: transferring a classifier trained on labeled PDTB data and training a classifier on labeled BioDRB data.
The cross-domain condition asks how well the relation decision learned from news examples travels to biomedical articles. The study scores level-2 accuracy on BioDRB after mapping the categories. For base BERT, the encoder comes from the original general pretraining, and the discourse fine-tuning comes from PDTB. For the GENIA variants, the encoder has an intervening stage of biomedical pretraining before that same news-based discourse supervision. Both variants with GENIA thus have access to biomedical text, while the labels used to teach the classifier still come from news.
Cross-domain BioDRB accuracy for level-2 implicit discourse relations
The GENIA adaptation with next sentence prediction leads the transfer comparison.
The numbers
| System or setting | accuracy % |
|---|---|
| Bi-LSTM with Word2Vec | 32.97 |
| Bai and Zhao | 29.52 |
| BioBERT | 44.33 |
| BERT | 44.79 |
| BERT + GENIA without NSP | 43.99 |
| BERT + GENIA (this paper) | 45.19 |
Base BERT reaches 44.79% accuracy against 32.97% for the Bi-LSTM and 29.52% for Bai and Zhao. The authors describe these gains as nearly 12 percentage points over the Bi-LSTM and 15 percentage points over Bai and Zhao. The identity of the stronger earlier baseline differs between the cross-domain condition and the in-domain condition. In transfer, the simpler Bi-LSTM scores higher than Bai and Zhao. Including both baselines helps establish how each earlier system behaves when the labeled training data and the evaluated text come from different domains.
Among the adapted encoders, BERT + GENIA with continued NSP reaches 45.19% accuracy in transfer. Its counterpart trained on GENIA without continued NSP scores 43.99%. The full GENIA system leads the comparison, and the base BERT result sits between the two GENIA variants. This places the comparison between adaptation objectives in context. Most of the observed advantage over the earlier classifiers is already present with the base checkpoint. The additional GENIA results then show that the way the authors adapt the checkpoint matters for the transfer test.
BioBERT is an additional biomedical comparison. It continues BERT pretraining on material from PubMed and PMC, with around 18B tokens of biomedical text. It reaches 44.33% in the cross-domain column. This comparison varies the pretraining source and the amount of text, so it is informative about how particular starting checkpoints fare under the paper’s supervised transfer procedure. The largest biomedical pretraining collection in the comparison belongs to the system that leads the in-domain evaluation described next.
Training with biomedical relation labels
For the in-domain BioDRB evaluation, the authors use 5-fold cross-validation and report average accuracy. The classifier learns the mapped relation labels from biomedical examples and is evaluated on held-out biomedical material. In this condition, the base checkpoint can acquire domain information during the annotated training stage even if it received no additional pretraining on GENIA. This is a different use of target-domain data from the continuation exercise. The annotated pairs directly teach the classifier how the corpus applies its relation labels.
In-domain BioDRB cross-validation accuracy for level-2 implicit discourse relations
BioBERT leads the comparison, and the full GENIA adaptation is the strongest of the authors’ BERT variants.
The numbers
| System or setting | accuracy % |
|---|---|
| Bi-LSTM with Word2Vec | 46.49 |
| Bai and Zhao | 55.90 |
| BERT | 63.02 |
| BERT + GENIA without NSP | 65.02 |
| BERT + GENIA | 66.04 |
| BioBERT (this paper) | 67.58 |
The earlier Bai and Zhao system averages 55.90% accuracy under in-domain training, compared with 46.49% for the Bi-LSTM. Base BERT averages 63.02%. Additional GENIA training with masking alone brings the score to 65.02%, and keeping NSP as well brings it to 66.04%. The authors characterize the effect of the full GENIA adaptation over base BERT as another 3 percentage points in this condition. BioBERT records the highest average in the table at 67.58%. The modest separation between that result and the full GENIA result motivates the authors’ discussion of how much domain-specific information can be gained from text pretraining alone.
The paper uses several approximate descriptions of the gains on BioDRB. They refer to comparisons in which the baseline and training condition matter. For example, the prose describes an in-domain gain of around 17 percentage points without making the comparator for that figure explicit there. The table gives the individual averages for both earlier systems and each BERT variant. Those entries provide an unambiguous account of which accuracy belongs to which method, and they keep the larger differences in the transfer column separate from the in-domain averages.
The two BioDRB conditions also clarify what in-domain means in different parts of the paper. GENIA adaptation is in-domain pretraining because the input text is biomedical. The table’s In-Domain heading refers to biomedical fine-tuning and testing on biomedical data. A GENIA-adapted classifier can therefore appear in the Cross-Domain column. Its encoder has practiced on biomedical text, while its supervised relation decisions are still learned from news. The distinction is central to interpreting both the scores and their practical meaning for annotation.
Testing broad biomedical relations one at a time
The other BioDRB experiment uses the level-1 categories and follows the one-versus-all evaluation of Xu and colleagues. The test set comprises the articles GENIA 1421503 and GENIA 1513057, with GENIA 111020 used for validation. The classifier is trained to tell whether an example belongs to the relation under consideration. The authors use downsampling or upsampling in training to balance the number of positive and negative examples. The comparisons are with naïve Bayes and maximum entropy, called MaxEnt in the paper.
The table reports F1 alongside accuracy. For a particular relation, precision measures how frequently a prediction of that relation is correct, and recall measures how frequently the system finds examples that actually belong to it. F1 combines precision and recall. Accuracy counts correct positive and negative decisions together. Accordingly, accuracy can be appreciable on a one-versus-all task even when the classifier identifies few positive instances. The paper averages the scores across the broad relation categories and also gives the individual results.
Base BERT averages 43.03% F1 and 77.34% accuracy. Naïve Bayes averages 24.33% F1 and 58.54% accuracy, and MaxEnt averages 26.64% F1 and 58.44% accuracy. The strongest earlier values for average F1 and average accuracy thus come from different baselines. The authors report gains of around 16 points in F1 and 19 points in accuracy over those earlier results. Both figures describe this fixed-article, level-1 binary evaluation. The results belong alongside, but are measured differently from, the level-2 multiclass accuracies.
The class scores make the averages more interpretable. On Expansion, BERT obtains 90.20% F1 and 86.18% accuracy. On Temporal, it obtains 63.41% F1 and 87.80% accuracy. The comparison category has 8.25% F1 despite 63.82% accuracy, and the contingency category has 10.26% F1 alongside 71.54% accuracy. These pairings illustrate why a reader interested in how reliably the classifier finds a particular relation needs its positive-class performance as well as its overall accuracy. The larger average improvement coexists with weak F1 for some of the categories.
What the ablations show
What changes when additional NSP is included
An ablation is a comparison in which the researchers remove a component to see what changes. Here, the component is Next Sentence Prediction during the extra domain-training stage. The comparison uses the common BERT starting point and the relevant domain text. One variant practices recovering masked tokens. The other also practices distinguishing genuine continuations from random sentences. Both are then fine-tuned to predict discourse labels. The reported difference concerns the additional use of NSP after initialization.
On PDTB-Lin, BERT + WSJ scores 54.82% accuracy, and the variant without continued NSP scores 53.39%. On PDTB-Ji, the corresponding test accuracies are 53.23% and 51.28%. The paper marks the two full WSJ results as better than their respective masking-only variants with p<0.01. This is the setting in which the news results most clearly favor keeping the extra continuation exercise. The fixed-split comparisons leave room for differences in how the full procedure behaves on other choices of held-out data.
The cross-validation means provide that additional perspective. BERT + WSJ scores 49.35% and BERT + WSJ without continued NSP scores 49.32%. The full version has the higher mean, but the comparison is close, and the table gives it no significance mark of the kind used for the fixed splits. Considering the news experiments together supports a qualified account: continued NSP has a measurable advantage over masking alone on the fixed splits, while the two approaches perform almost alike on average in cross-validation.
Both BioDRB comparisons favor continued NSP. In transfer from PDTB to BioDRB, the GENIA version that uses it reaches 45.19%, compared with 43.99% for GENIA training with masking alone. With in-domain biomedical fine-tuning, the respective average accuracies are 66.04% and 65.02%. The paper reports significance at p<0.01 for both of these comparisons. In-domain results also show that continued training with masking alone can be beneficial: the variant using that objective scores above the unadapted BERT baseline. The transferable evidence learned through masking and the incremental effect of keeping NSP can therefore both matter.
The comparison with unadapted BERT helps identify another pattern. In the PDTB-Ji test and the biomedical transfer test, the variant adapted with masking alone scores below the base checkpoint. The full adapted version scores above the masking-only version in both settings, but it exceeds the base checkpoint only in the biomedical transfer comparison. That pattern supports the authors’ emphasis on the training objective. It also shows why the question “Should the encoder keep using NSP during adaptation?” needs a different comparison from “Should the encoder be adapted at all?”
The class scores explain some of the change
The authors report a separate breakdown by relation at level 2. It lists precision, recall, and F1 for each label, together with the number of test examples. The class counts matter because individual labels can occur at very different rates. In the PDTB-Lin breakdown, Cause has 200 examples, while Synchrony has 5 and Alternative has 15. A class-specific change for a rare label can be relatively visible when classes are averaged with equal weight and much less visible in overall accuracy. The paper’s macro average gives a view across relation categories alongside the results over all pairs.
In the WSJ comparison, adding continued NSP raises F1 for Contrast from 0.51 to 0.55, with recall moving from 0.48 to 0.57 and precision from 0.55 to 0.54. This is a case where the classifier finds more of the actual contrasts while having slightly lower precision on its contrast predictions. The score is consistent with better coverage of the label. The figures do not identify the wording of the recovered examples or tell whether any individual prediction relied on the kind of expectation illustrated by the venture example.
Conjunction shows a different precision and recall pattern. Its precision rises from 0.42 to 0.46, and recall moves from 0.60 to 0.61. F1 goes from 0.49 to 0.53. For Alternative, F1 goes from 0.48 to 0.50. Recall improves from 0.33 to 0.40, while precision falls from 0.83 to 0.67. Both labels show a higher F1 in the full WSJ variant, with different changes in the kinds of classification errors that the reported metrics reflect.
The changes include losses. For Asynchronous, the WSJ variant with continued NSP has an F1 of 0.33, compared with 0.41 without it. Instantiation has an F1 of 0.64 under both settings. Macro-average F1 for the reported PDTB-Lin breakdown is 0.55 with NSP and 0.52 without it. Taken together, these comparisons show the improvement at the level of the class average and the uneven response of individual labels. It is possible to improve classification overall while shifting errors towards particular classes.
In the biomedical breakdown, Synchrony reaches 0.89 F1 with continued NSP and 0.85 without it. This is the table’s clearest support for the discussion of improved Synchrony. The WSJ columns display zero scores for that label in the PDTB-Lin breakdown. Biomedical Conjunction also improves, from 0.68 F1 to 0.71, while Restatement moves from 0.65 to 0.64. The reported macro-average F1 is 0.61 with the continued objective and 0.59 without it. The two corpora therefore contribute different examples to the paper’s observation that temporal, comparison, and expansion relations can benefit.
How far the ablation supports the explanation
The authors interpret the ablation through discourse expectations. If the encoder has learned about what usually follows a passage, its representation may make it easier to recognize a fitting temporal continuation, an additional point, or a contrast. The experiment gives this explanation empirical support by changing the continuation objective and observing better downstream scores in several controlled comparisons. The per-label results show where some of the improvements appear.
The measured outcome is success at labeling pairs. A higher recall for Contrast establishes that more annotated contrasts were recognized. The source of the evidence used for those decisions remains an interpretive question. It could involve sensitivity to expected continuations, sensitivity to cues that often occur in genuine pairs, or a combination of cues learned during pretraining and organized during supervised classification. The ablation narrows the explanation to what is gained when the continuation objective is retained at the extra training stage. It leaves the exact content of that gain open.
Limitations
Questions the authors leave open
The authors see an opportunity to combine what the encoder learns from text with explicit domain knowledge. Their biomedical results motivate the proposal. BioBERT leads the in-domain comparison, but the authors view its advantage over the smaller GENIA adaptation as limited relative to the much larger quantity of biomedical training material. An ontology could provide structured information about biomedical concepts, and a causal graph could encode connections among biomedical events. The paper proposes both as future directions. Performance for a system incorporating such resources into the BERT procedure remains unmeasured. Knowledge graphs and ontologies.
The authors also ask whether the usefulness of the continuation objective depends on input length. They cite Yang and colleagues for the observation that its benefits can be tied to longer texts. Their own experiments give scores by corpus, evaluation protocol, and relation category. A comparison by argument length remains to be made. The evidence therefore leaves open whether the gains are spread across short and long examples or concentrated in some portion of the input-length range. XLNet.
A further limit the authors acknowledge is the availability of published biomedical comparisons. They address it partly by reproducing the earlier one-versus-all setup and in part by evaluating a strong news classifier on the mapped biomedical labels. This makes it possible to compare systems under recognizable conditions. The resulting comparisons inherit the coverage of those conditions, including the fixed article selection for the binary task and the particular mapping used for the cross-domain task.
What follows from the experimental design
The most important limit on attribution comes from the starting checkpoint. Since even the versions called without NSP inherit the original BERT continuation training, the study tests whether additional NSP improves an encoder that already received it. The broader claim that BERT’s original NSP training caused the entire advantage over earlier systems would require a different initial comparison. Differences in contextual encoding, original training data, and the way the two arguments are presented all travel with the change from the earlier classifiers to BERT. Those system-level results show the value of using BERT in the setup, while the narrower ablation estimates the effect of retaining the extra objective under that initialization.
There is a corresponding limit on the interpretation of the representations. The original and additional NSP tasks distinguish actual continuations from randomly selected sentences. A classifier can potentially make some of those decisions from topic continuity, repeated entities, or other clues that genuine neighboring sentences share. Those clues can be relevant to discourse classification in their own right. The study measures the downstream benefit of the objective, but the contribution of each kind of cue remains unresolved. An experiment designed to distinguish a plausible but misleading continuation from the genuine one would ask a more specific question than the random-sentence task.
The cross-domain claim has a defined scope. The transfer direction is from news to biomedical articles. BioDRB is evaluated after its labels are mapped to a PDTB-compatible inventory. That design tests whether the classifier can apply shared relation distinctions to a new kind of text. It gives less direct evidence about relations specific to the original biomedical annotation scheme. Performance on additional domains, different label inventories, or the opposite transfer direction remains open.
Corpus size and measure choice also affect interpretation. BioDRB covers 24 articles, and the level-1 binary experiment evaluates its decisions on a particular subset of them. In the class-level analysis, some relation labels have very little test support. A point estimate for such a label can respond to a small number of decisions. The breakdown is useful for identifying patterns worth examining, while the paper’s significance markings pertain to overall comparisons under the named protocols. Precision, recall, and F1 carry additional information about rare relations that overall accuracy alone can obscure.
There are limits to what can be read into the biomedical pretraining comparison. The 18k figure describes GENIA sentences, while the around 18B figure describes PubMed and PMC tokens. The numbers refer to different units as well as different sources. BioBERT’s lead with biomedical supervision and the full GENIA version’s lead in transfer are comparisons of the available trained systems. They leave the isolated effects of data amount and source unresolved. The authors’ suggestion that additional knowledge could help is a hypothesis motivated by the results, with a test of that hypothesis left for later work.
Finally, the study evaluates classification with the arguments already identified. The results concern selection of a relation label for a pair, under the label inventory and evaluation protocol in question. A complete discourse parser has other decisions to make, including which spans belong together. The introduction motivates the task through possible downstream applications, while the experimental evidence stays with the relation labels. An improvement in the paper’s accuracy figures establishes a better labeling result under those conditions. Its effect on downstream outputs would require a separate evaluation.
What came after
Other forms of training signal
Later papers cite this study while pursuing several ways to find evidence for implicit relations. Their titles establish the directions of those studies. They leave open whether a given study retained the precise NSP procedure or repeated the comparison that removes it during continued pretraining.
Kishimoto and colleagues’ work on adapting BERT for implicit discourse relation classification places discourse connectives at the center of the adaptation. The relationship to Shi and Demberg’s study lies in what the encoder can learn before making the final relation decision. Continuation prediction draws its signal from the order of ordinary text. A focus on connectives draws attention to expressions that make relations overt. Both directions ask how training can prepare BERT to classify pairs whose connection may be unstated at evaluation. Adapting BERT with a focus on discourse connectives.
The later work on distant supervision through connective prediction also puts the connective to work as a source of training information. Distant supervision here names the use of an indirect signal for the task of interest. The cited work’s title identifies that signal as connective prediction and the intended task as implicit discourse relation classification. This continues the search for supervision beyond manually classified implicit pairs. The choice of what to predict differs from sentence continuation, and it brings the training signal closer to the linguistic markers whose absence defines the implicit task. Distant supervision through connective prediction.
Long and colleagues’ work on contrastive learning draws on the hierarchy of discourse senses. This direction starts with structure among the target categories. Shi and Demberg use a level of the hierarchy to define which labels a classifier must distinguish. The later study’s title identifies the hierarchy itself as something to exploit during learning. That brings a different aspect of the original experimental setting into focus: the categories belong to a system of related senses, and the way those relationships enter training can be a research question in its own right. Contrastive learning with a hierarchy of discourse senses.
DiscoPrompt also changes the form of the prediction problem. Its title describes path prediction and prompt tuning for implicit discourse relation recognition. The point of contact with Shi and Demberg is the adaptation of a pretrained system to a relation judgment. Shi and Demberg pass the two arguments together and train for a class label. DiscoPrompt frames the task around a prompt and a path to predict. The titles of these later studies identify different ways to express the training problem, while their citation relationship places them in the line of work on exploiting pretraining for discourse classification. DiscoPrompt.
Different representations and evaluation settings
QADiscourse treats relations as question–answer pairs and addresses their representation, crowdsourcing, and baselines. It takes up the problem of how to express a connection between pieces of discourse. The venture example makes the distinction concrete. A reader might ask what the venture was originally supposed to accomplish, and the answer would make one contribution of the second argument explicit. A category such as concession expresses a judgment about how that contribution relates to the first argument. The two forms foreground different aspects of the relation. QADiscourse.
The Context Tracking Network presents graph-based context modeling for the implicit relation task. It is related to the question of what evidence the classifier gets for a decision. Shi and Demberg’s supervised input consists of the ordered argument pair, and part of the motivation for using NSP is that the encoder brings information learned from other passages into that representation. The later title identifies context tracking and a graph as the focus of its design, putting the organization of contextual evidence at the center of the classification problem. Context Tracking Network.
DiscoGeM and the side-by-side transformer comparison revisit two different dimensions of evaluation. DiscoGeM is a crowdsourced corpus of genre-mixed implicit discourse relations. Its mix of genres extends the question of what can be learned when text comes from different sources, a question Shi and Demberg examine through news and biomedicine. The transformer comparison puts different systems side by side on English implicit discourse relation classification. That setup addresses the comparative question raised by the original paper’s success with BERT: how pretrained encoders fare when brought to bear on the same kind of relation judgment. DiscoGeM, Side-by-side transformer comparison.
The cited work on minimally supervised dialogue prediction and parsing extends the setting to conversations. Its scope includes relation prediction and the broader parsing task. That brings the scarcity of supervision, already central to Shi and Demberg’s argument, into a setting with different discourse units and a wider set of parsing decisions. Across these later directions, the question raised by the 2019 study persists in several forms: what evidence can be learned from text or indirect supervision, how that evidence should be represented, and how well the resulting decisions carry across evaluation settings. Discourse relation prediction and parsing in dialogues.
Institutions
Fields, topics and concepts
Shelves 4The field of science this work belongs to (OpenAlex fields).Computer Science · 19,503 worksArtificial Intelligence · 18,805 worksArts and Humanities · 17,959 worksLanguage and Linguistics · 17,789 works
Topics 1Research subjects and languages the work is about.Discourse analysis · 471 works
Cite
Cite as Wei Shi and Vera Demberg. 2019. Next Sentence Prediction helps Implicit Discourse Relation Classification within and across Domains. Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP).
@inproceedings{shi2019next,
title = {{Next Sentence Prediction helps Implicit Discourse Relation Classification within and across Domains}},
author = {Wei Shi and Vera Demberg},
booktitle = {Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP)},
year = {2019},
doi = {10.18653/v1/d19-1586},
url = {https://doi.org/10.18653/v1/d19-1586}
}References
- Fatemeh Torabi Asr and Vera Demberg. 2015. Uniform surprisal at the level of discourse relations: Negation markers and discourse connective omission. In Proceedings of the 11th International Conference on Computational Semantics, pages 118–128. OpenAlex ↗ · Scholar ↗
- Hongxiao Bai and Hai Zhao. 2018. Deep enhanced representation for implicit discourse relation recognition. In Proceedings of the 27th International Conference on Computational Linguistics, pages 571–583.
- Or Biran and Kathleen McKeown. 2013. Aggregated word pair features for implicit discourse relation disambiguation. In Proceedings of the 51st Annual Meeting of the Association for Computational Linguistics, pages 69–73, Sofia, Bulgaria. Association for Computational Linguistics.
- Deng Cai and Hai Zhao. 2017. Pair-aware neural sentence modeling for implicit discourse relation classification. In International Conference on Industrial, Engineering and Other Applications of Applied Intelligent Systems, pages 458–466. Springer. OpenAlex ↗ · Scholar ↗
- Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. Bert: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies,…
- Bhuwan Dhingra, Zhilin Yang, William W Cohen, and Ruslan Salakhutdinov. 2017. Linguistic knowledge as memory for recurrent neural networks. arXiv preprint arXiv:1703.02620. OpenAlex ↗ · Scholar ↗
- Peter Jansen, Mihai Surdeanu, and Peter Clark. 2014. Discourse complements lexical semantics for non-factoid answer reranking. In Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), volume 1, pages 977–986. OpenAlex ↗ · Scholar ↗
- Yangfeng Ji and Jacob Eisenstein. 2015. One vector is not enough: Entity-augmented distributed semantics for discourse relations. Transactions of the Association of Computational Linguistics, 3(1):329–344.
- Yangfeng Ji, Gholamreza Haffari, and Jacob Eisenstein. 2016. A latent variable recurrent neural network for discourse relation language models. In Proceedings of NAACL-HLT, pages 332–342. OpenAlex ↗ · Scholar ↗
- J-D Kim, Tomoko Ohta, Yuka Tateisi, and Junichi Tsujii. 2003. Genia corpusa semantically annotated corpus for bio-textmining. Bioinformatics, 19(suppl 1):i180–i182. OpenAlex ↗ · Scholar ↗
- Yudai Kishimoto, Yugo Murawaki, and Sadao Kurohashi. 2018. A knowledge-augmented neural network model for implicit discourse relation classification. In Proceedings of the 27th International Conference on Computational Linguistics, pages 584– 595. OpenAlex ↗ · Scholar ↗
- Jinhyuk Lee, Wonjin Yoon, Sungdong Kim, Donghyeon Kim, Sunkyu Kim, Chan Ho So, and Jaewoo Kang. 2019. Biobert: a pre-trained biomedical language representation model for biomedical text mining. arXiv preprint arXiv:1901.08746.
- Junyi Jessy Li, Marine Carpuat, and Ani Nenkova. 2014. Assessing the discourse factors that influence the quality of machine translation. In Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), volume 2, pages 283–288. OpenAlex ↗ · Scholar ↗
- Ziheng Lin, Min-Yen Kan, and Hwee Tou Ng. 2009. Recognizing implicit discourse relations in the penn discourse treebank. In Proceedings of the 2009 Conference on Empirical Methods in Natural Language Processing: Volume 1-Volume 1, pages 343–351. Association for Computational Linguistics.
- Tomas Mikolov, Ilya Sutskever, Kai Chen, Greg S Corrado, and Jeff Dean. 2013. Distributed representations of words and phrases and their compositionality. In Advances in neural information processing systems, pages 3111–3119.
- Joonsuk Park and Claire Cardie. 2012. Improving implicit discourse relation recognition through feature set optimization. In 13th Annual Meeting of the Special Interest Group on Discourse and Dialogue, page 108.
- Jeffrey Pennington, Richard Socher, and Christopher Manning. 2014. Glove: Global vectors for word representation. In Proceedings of the 2014 conference on empirical methods in natural language processing (EMNLP), pages 1532–1543.
- Matthew E Peters, Mark Neumann, Mohit Iyyer, Matt Gardner, Christopher Clark, Kenton Lee, and Luke Zettlemoyer. 2018. Deep contextualized word representations. arXiv preprint arXiv:1802.05365.
- Emily Pitler, Mridhula Raghupathy, Hena Mehta, Ani Nenkova, Alan Lee, and Aravind Joshi. 2008. Easily identifiable discourse relations. In Coling 2008: Companion volume: Posters, pages 87–90.
- Rashmi Prasad, Nikhil Dinesh, Alan Lee, Eleni Milt-sakaki, Livio Robaldo, Aravind Joshi, and Bonnie Webber. 2008. The penn discourse treebank 2.0. In Proceedings of the Sixth International Conference on Language Resources and Evaluation (LREC’08), Marrakech, Morocco. European Language Resources Asso…
- Rashmi Prasad, Susan McRoy, Nadya Frid, Aravind Joshi, and Hong Yu. 2011. The biomedical discourse relation bank. BMC bioinformatics, 12(1):188. OpenAlex ↗ · Scholar ↗
- Lianhui Qin, Zhisong Zhang, and Hai Zhao. 2016. Implicit discourse relation recognition with context-aware character-enhanced embeddings. In Proceedings of the 26th International Conference on Computational Linguistics: Technical Papers, pages 1914–1924.
- Lianhui Qin, Zhisong Zhang, Hai Zhao, Zhiting Hu, and Eric Xing. 2017. Adversarial connective-exploiting networks for implicit discourse relation classification. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), volume 1, pages 1006–1…
- Attapol Rutherford, Vera Demberg, and Nianwen Xue. 2017. A systematic study of neural discourse models for implicit discourse relation. In Proceedings of the 15th Conference of the European Chapter of the Association for Computational Linguistics: Volume 1, Long Papers, volume 1, pages 281–291.
- Attapol Rutherford and Nianwen Xue. 2014. Discovering implicit discourse relations through brown cluster pair representation and coreference patterns. In Proceedings of the 14th Conference of the European Chapter of the Association for Computational Linguistics, pages 645–654. Association for Comput…
- Shared Task, pages 1–16. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Nianwen Xue, Hwee Tou Ng, Attapol Rutherford, Bonnie Webber, Chuan Wang, and Hongmin Wang. 2016. OpenAlex ↗ · Scholar ↗
- Conll 2016 shared task on multilingual shallow discourse parsing. In Proceedings of the CoNLL-16 shared task, pages 1–19. Association for Computational Linguistics.
- Zhilin Yang, Zihang Dai, Yiming Yang, Jaime Carbonell, Ruslan Salakhutdinov, and Quoc V Le. 2019. Xlnet: Generalized autoregressive pretraining for language understanding. arXiv preprint arXiv:1906.08237.
- Yasuhisa Yoshida, Jun Suzuki, Tsutomu Hirao, and Masaaki Nagata. 2014. Dependency-based discourse parser for single-document summarization. In Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 1834–1839.
- Biao Zhang, Jinsong Su, Deyi Xiong, Yaojie Lu, Hong Duan, and Junfeng Yao. 2015. Shallow convolutional neural network for implicit discourse relation recognition. In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, pages 2230–2235.
- Wei Shi and Vera Demberg. 2017. Do we need cross validation for discourse relation classification? In Proceedings of the 15th Conference of the European Chapter of the Association for Computational Linguistics: Volume 2, Short Papers, volume 2, pages 150–156. OpenAlex ↗ · Scholar ↗
- Wei Shi and Vera Demberg. 2019. Learning to explicitate connectives with seq2seq network for implicit discourse relation classification. In Proceedings of the 13th International Conference on Computational Semantics-Long Papers, pages 188–199.
- Wei Shi, Frances Yung, and Vera Demberg. 2019. Acquiring annotated data with cross-lingual explicitation for implicit discourse relation classification. In Proceedings of the Workshop on Discourse Relation Parsing and Treebanking 2019, pages 12–21.
- Wei Shi, Frances Yung, Raphael Rubino, and Vera Demberg. 2017. Using explicit discourse connectives in translation for implicit discourse relation classification. In Proceedings of the Eighth International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 484–495.
- Yu Xu, Man Lan, Yue Lu, Zheng Yu Niu, and Chew Lim Tan. 2012. Connective prediction using machine learning for implicit discourse relation classification. In Neural Networks (IJCNN), The 2012 International Joint Conference on, pages 1–8. IEEE. OpenAlex ↗ · Scholar ↗
- Nianwen Xue, Hwee Tou Ng, Sameer Pradhan, Rashmi Prasad, Christopher Bryant, and Attapol Rutherford. 2015. The conll-2015 shared task on shallow discourse parsing. In Proceedings of the CoNLL-15
This page in Markdown https://md.research.elamur.ai/free/en/papers/shi-2019-next-sentence-prediction-helps-implicit/