Elamur Research

On the Need of Cross Validation for Discourse Relation Classification

Paper · 2017 · Wei Shi and Vera Demberg

Summary

Two passages can stand in a relation of cause, contrast, or elaboration even when the writer leaves the connection unstated. Finding and naming that connection is the task of implicit discourse relation classification. Wei Shi and Vera Demberg ask how researchers can tell whether a feature actually helps a classifier do this. Their concern is with the customary test on the Penn Discourse Treebank. Researchers usually trained on sections 2-21 and evaluated on section 23, which contains 761 eligible implicit relations. At the second level of the annotation hierarchy, where the task has 11 possible labels, some senses occur very rarely in that test section.

The authors train a long short-term memory classifier that reads the two passages separately and combines what it learns from them with optional hand-designed features. They compare the same feature configurations under the customary split and under 10-fold cross validation spanning sections 0-24. In cross validation, a different portion of the corpus serves as the test set in each run, and the classifier is trained on the remaining portions. The authors balance the folds by relation class and reuse the same partition for every feature configuration. This lets them compare each feature with the unaugmented classifier on corresponding training and test sets.

The usual split gave a favorable result for every individual feature group. Inquirer Tags, which mark semantic categories, took section 23 accuracy from 37.68% to 40.46%. Across the balanced folds, mean accuracy went from 34.44% without surface features to 33.58% with Inquirer Tags, and the tags helped in only two folds. Verb features won as often as they lost across folds. Modality had the strongest cross-validation mean, 37.65%, and its advantage still varied with the partition. Adding all the feature groups together also raised mean accuracy, although it improved performance in only two folds. A mean and a count of favorable folds capture different aspects of the result.

The paper makes a case for cross validation when researchers have a small established test set and lack an independent corpus for testing. Seeing how a change performs across folds gives a better basis for judging its reliability than a gain on section 23 alone. The authors also call for significance testing whose procedure is reported clearly, and they recommend keeping development data separate when using cross validation to evaluate new systems.

Deep dive: On the Need of Cross Validation for Discourse Relation Classification

Shi and Demberg use cross validation to test whether features for implicit discourse relation classification help beyond a single test set. · about 32 minutes to read

The problem and its context

What a reader supplies when the connective is absent

In discourse analysis, the meaning of a passage includes how its parts relate to one another. One passage may supply a reason for a claim, set a limit on what the reader should infer from it, or specify something left general. In this paper, an argument is one of the two passages participating in such a relation. The label describes the connection between those arguments. It is possible to read each passage correctly in isolation and still miss how one is meant to bear on the other.

A connective can supply a strong clue. In the paper’s financial example, a causal connective introduces the portfolio managers’ ability to adjust maturities and pursue better rates as an explanation for the yields described earlier. In its other example, people who urgently need care are said to have no need for another setback. A reader can hear the contrast between the two statements without an overt adversative connective. Supplying but in thought makes the connection easy to describe, but the classifier encounters the passages with that signal absent.

That distinction separates the implicit classification problem from the explicit one. In the earlier study on easily identifiable discourse relations, the connective on its own supported 0.93 accuracy for the 4-ways distinction. The figure concerns explicit relations with an available connective and broad sense categories. An implicit classifier has to recover clues from the passages themselves. The identities of words, what the verbs express, and the way the two arguments are put together can all become evidence, with the useful clues varying from one instance to another.

The paper situates this problem in a broader effort to make sense of text above the sentence level. It points to applications in text summarization, question answering, and machine translation. For summarization, for example, a relation can help explain why a particular clause is there and what would be lost if it disappeared. The paper also cites the CoNLL shared task on shallow discourse parsing and the CoNLL shared task on multilingual shallow discourse parsing as signs of increasing interest. Its own experiment isolates sense classification. The two arguments and their status as an implicit instance are already given.

Why the choice of label changes the evaluation problem

The PDTB organizes its relation labels into a hierarchy. At the broadest level, the paper describes the familiar 4-ways task. The second level separates senses that share a broad category. For instance, Temporal.Asynchronous and Temporal.Synchrony both have to do with time, while one category distinguishes events occurring at different times and the other captures a synchronous connection. Within Expansion, Instantiation and Restatement also pose different questions about the second argument. It might supply an example of a general point, or it might express substantially the same point another way.

The authors consider the more detailed distinction potentially more useful in downstream tasks. It also changes what an evaluation must support. Even if there are enough instances to learn a broad distinction, its subcategories can have very different amounts of evidence. A collection that supports a broad test of comparison relations may contain many contrasts and very few concessions. The corresponding fine-grained accuracy combines both into one score, even though they pose different recognition problems and have different opportunities to affect that score.

PDTB sections had already become the basis for a customary train and test split, following a convention used for other tasks involving the corpus. A common test set makes comparisons easy to reproduce in principle. A later classifier can be evaluated on the same examples as a published predecessor, with the same annotation decisions carried across experiments. The authors’ concern is that this convenience came with a small sample of eligible instances. Discourse annotations describe connections at a different level from syntactic annotations, so a section with a usable amount of material for another task can still offer few examples of a particular discourse sense.

The issue gets more consequential as researchers try more features and architectures. A feature can fix enough errors to move a published accuracy figure, either because it supplies a useful cue or because its cue happens to recur in the small sample under study. If a test section contains unusually few temporal relations, a feature that recognizes them has little chance to demonstrate its value there. A cue useful on an overrepresented class has more opportunities to move the aggregate. In either case a comparison on that section is accurate as a report about those examples. The question is how broadly the comparison can be interpreted.

Where the candidate features came from

Early discourse parsing research examined connections within a sentence and found syntactic information useful for analyzing where the arguments of a connective occur. The release of the PDTB made manually annotated relations available for training and evaluation. The paper describes a subsequent line of work in which researchers designed features to capture clues that might survive the loss of the explicit connective. Sentence-level discourse parsing provided part of the earlier setting for that work.

Some features represented words or categories of words. The work on automatic sense prediction for implicit discourse relations examined clues such as polarity, verb categories, and other lexical properties. A tag that groups words by semantic property can make a cue visible across different word choices. A class assigned to a verb can similarly give the learner a common signal from verbs it has seen in different passages. The assumption to test is that such a grouping retains a distinction relevant to the relation.

Other features represented structure or context. The work on recognizing implicit relations in the PDTB introduced contextual features and features from constituent and dependency parses. These offer different views of the arguments, from their surrounding context to the grammatical structures within them. Work on feature set optimization investigated combinations of previously proposed cues. Later proposals within the period reviewed by Shi and Demberg included relation-specific word similarity and Brown cluster pairs and coreference patterns. Coreference resolution concerns expressions that refer to the same entity, a clue that can connect material across arguments.

Training evidence was another concern in the earlier work. The paper reviews proposals to select typical examples, learn from partly labeled material, and extend the training set with weak labels. One especially relevant line tried to infer which explicitly connected examples would be good sources of evidence for implicit relations. It took into account how readily a connective could be left out and how much the connective influenced the interpretation. That approach has a different aim from the evaluation change proposed by Shi and Demberg. It seeks useful additional training instances from elsewhere, while the cross-validation experiment changes the roles played by data already in the annotated corpus. Improving implicit inference through explicit connectives

The authors also describe a move toward distributed word representations and neural classifiers. Word embeddings give words numerical vectors rather than isolated entries in a list of features, addressing sparsity by letting related words provide similar evidence. The paper points to work using convolution, recursively built representations of arguments, and interactions between words in different arguments. These approaches accompanied continued interest in linguistically designed features. A classifier could already learn substantial information from words in context and still be given a separate vector of surface cues. That combination provided a way to ask whether those cues added anything to the evidence the learner was already using.

The method, step by step

Define the prediction and the eligible instances

The authors begin with annotated implicit relations from the Penn Discourse Treebank. The corpus annotates explicit and implicit relations across a million word tokens drawn from the Wall Street Journal. For the experiments in this paper, each eligible item consists of the two argument texts and a second-level sense drawn from the annotation. During training, the classifier sees the label. During testing, it receives the arguments and predicts a label to be checked against the reference.

The source annotations can include two relations for an instance. Following earlier work, the authors keep the first listed relation for classification. They also remove types with very few training examples. The distribution table says that five types were removed, leaving the 11-way task studied throughout the experiments. This preprocessing matters because it determines both what the classifier can predict and which cases contribute to the score. For example, a classifier cannot receive credit for offering an additional plausible reading of an instance if its prediction disagrees with the retained label.

The retained set spans more than differences among broad categories. Cause and pragmatic cause are separate predictions, as are contrast and concession. Several distinctions within Expansion remain in play, including conjunction, instantiation, restatement, alternative, and list. A prediction of Expansion.Restatement for an annotated Expansion.Instantiation therefore counts as an error in exactly the same way as a prediction that crosses the broad family boundary. With that target fixed, the authors can ask whether a feature helps their classifier make the full sense distinction in each split.

Set the evaluation boundaries

For the customary split, the authors train on sections 2-21, use section 22 for development, and reserve section 23 for testing. The training set supplies examples from which to learn the classifier’s weights. The development set has a separate role in configuring the system. The test set supplies the examples on which the final score for this protocol is measured. This is the arrangement under which several earlier classifiers had reported results for the same label granularity.

For the alternative evaluation, the authors take eligible instances across sections 0-24 and divide them into 10 balanced folds. A fold is a subset whose role rotates. During a run, one fold is used for testing and the others supply the training examples. When a different subset becomes the test fold, the classifier is trained using the corresponding new training set. By the end, each fold has served as the held-out portion. The result is a set of accuracy measurements for training and testing on different portions of the corpus.

Here, balance means preserving class proportions across folds. A common class remains common and a rare class remains rare. The goal is to avoid a situation in which, for example, one test fold contains an unusually large share of contrast instances simply because of the split. Each fold is meant to resemble the same overall distribution of relation senses, subject to the quantities of available instances. This serves the authors’ immediate purpose of checking whether the evidence for a feature survives a change of examples without also introducing pronounced class imbalance between runs.

The authors use the same folds for all feature settings. Suppose a particular fold happens to contain passages whose relation cues are especially hard to interpret. Both the base classifier and the version with a feature group are tested against those passages and trained on the same corresponding subset. Their difference can then be interpreted as a comparison of the configurations under that partition. If each configuration used a separate random partition, differences in the examples themselves would enter every comparison and make it harder to attribute a gain to the proposed change.

Section 22 enters the pool for the cross-validation demonstration. The authors wanted to make as much of the corpus available as possible for studying variability. For evaluation of a new system, they recommend a separate development set and cross validation on the remaining data. This distinction matters because access to development results can guide choices about a system. A partition intended to estimate predictive performance has a different role from a partition whose scores actively steer those choices.

How the classifiers are trained and compared

The steps in order.

How the classifiers are trained and comparedStep 1: Keep eligible implicit relations and their first senses1. Keep eligible implicit relations and their first sensesStep 2: Set up customary and balanced fold partitions2. Set up customary and balanced fold partitionsStep 3: Map each argument’s words to vectors3. Map each argument’s words to vectorsStep 4: Encode the argument sequences separately4. Encode the argument sequences separatelyStep 5: Append the selected surface feature vector5. Append the selected surface feature vectorStep 6: Train the classifier to predict a sense6. Train the classifier to predict a senseStep 7: Score matched configurations on held-out instances7. Score matched configurations on held-out instances

Turn the argument texts into numerical inputs

The classifier starts by looking up a vector for each word. Word2Vec’s Skip-gram architecture is used to train these vectors on the Wall Street Journal training sections. Skip-gram learns from patterns in word contexts. Its role here is to provide an initial word representation that can convey lexical and syntactic regularities before the classifier has made any decision about a discourse sense. The vectors are learned from text, while the relation predictor learns from the annotated examples. Word2Vec’s distributed word and phrase representations

Each argument then goes through a long short-term memory network, abbreviated LSTM. It is a recurrent network, which builds a representation as it processes a sequence. The values carried forward allow earlier words to influence the interpretation of words encountered later. In this setup, the output for an argument is a vector that represents the passage as a whole. There is one such representation for the first argument and another for the second. The classifier consequently has access to evidence from both passages while retaining their distinct positions in the relation.

This is a meaningful distinction when the sense depends on what each passage does. In the paper’s causal example, the text about yields presents the outcome, and the part about portfolio managers supplies an explanation. Treating the words as one undifferentiated inventory would obscure which passage contains which material. Encoding the passages separately lets the output layer receive a representation of each contribution. The paper uses the architecture closest to the earlier work by Rutherford and colleagues as the basis for the comparison.

The unaugmented classifier already has access to lexical evidence. If a word or its neighbors make modality or a semantic category detectable, some of that information can in principle enter the argument representation. The baseline is therefore substantial enough to make the central test meaningful. The question about a surface feature is whether making a cue available explicitly at the output stage improves decisions given what the two encoders already provide.

Add surface information and train the classifier

The feature groups are Inquirer Tags, Brown Clusters, Levin classes, verb features, and modality. Inquirer Tags categorize words semantically. Brown Clusters group words into distributional categories. Levin classes supply a categorization of verbs, and the paper names a separate verb feature group alongside them. It also examines modality as a distinct group. These names identify the experimental conditions. The paper gives very little detail about the specific feature templates, so a reader can follow what was compared without having a complete recipe for reproducing each vector.

When a configuration calls for surface features, their vector is concatenated with the argument representations. Concatenation places the entries of the vectors in sequence to form one longer vector. Each source of information has its own input positions. The following layer can learn how much weight to give them when distinguishing the senses. If the selected configuration uses no extra surface features, that layer still receives the numerical representations of both passages. The word lookup and recurrent encoding remain part of the classifier.

A softmax output layer converts the class scores into probabilities over the permissible senses. The classifier returns a label according to those scores. The authors train with cross-entropy, a loss that penalizes assigning low probability to the reference class. During training, adjustments that make the correct label more probable lower the loss on that example. This objective can train the classifier even when an update changes how confident it is without immediately changing which label has the highest score.

The implementation uses Keras with Theano underneath. It follows the earlier Rutherford study for initialization, regularization, and learning settings. The authors report uniform random initialization of weights, Adagrad for optimization, and dropout rates of 0.2 after the embedding layer and 0.5 after the output layer. Adagrad adjusts how large training updates are as learning proceeds. Dropout suppresses some activations during training as a form of regularization. The numerical rates describe where that regularization is applied and how frequently activations are dropped, rather than any characteristic of the corpus.

Record the size and direction of each change

The authors evaluate the classifier without extra surfaces cues, with each group added individually, and with all the groups included together. This setup isolates the contribution of adding a given input group to a common starting architecture, with weights learned for each configuration. The combined setting asks a separate question about what happens when the output layer can use all of those cues together. Its behavior can differ from the individual runs because it has a different set of inputs from which to learn.

For each test set, accuracy measures the share of instances assigned their retained reference sense. Under the customary split, that yields a section 23 accuracy for each configuration. Across folds, the paper reports mean accuracy, the standard deviation of fold accuracies, and the count of folds on which adding the feature gives higher or lower accuracy than the classifier without additional features. The mean summarizes performance over the runs. The standard deviation describes how spread out a configuration’s accuracy is. The direction counts compare each augmented run against its own corresponding baseline on identical test items.

For the paper’s question, all these quantities matter. A change could produce a large gain in a small number of folds and small losses in the others. Its average could improve even though an investigator running the experiment on a typical fold would often see a loss. A close-to-even count could likewise hide sizable swings, because it assigns the same weight to each win and loss regardless of size. Reporting a mean and a spread along with the paired directions gives the reader distinct ways to assess the evidence.

Experiments and results

How the test samples differ

The most-used split supplies 12,763 eligible training instances and 761 test instances. Across the balanced cross-validation runs, the corresponding averages are 14,045 training instances and 1565 test instances per fold. These cross-validation counts describe a typical run, since the paper’s table averages the sizes across folds. The fold average in the results therefore reflects multiple training exercises as well as a wider range of held-out cases. For the usual split, all configurations are judged on the same single section.

The authors put the size of section 23 in practical terms. Getting just seven or eight more classifications right there raises accuracy by one percentage point. This makes it possible for a feature’s apparent advantage to depend on a handful of decisions. If several of those decisions happen to involve the same kind of expression, a change may look promising even when evidence for that expression is sparse elsewhere. The sensitivity gets sharper when the research question concerns one of the less frequent senses rather than aggregate performance.

Temporal.Asynchronous illustrates both rarity and a shift in share. There are 542 examples of this class in the conventional training set, where it accounts for 4.25% of examples. Section 23 has 12, accounting for 1.58% of its test instances. For Temporal.Synchrony, the customary test has 5 cases, representing 0.66% of the test section, compared with 150 examples and 1.18% of the training set. The balanced protocol averages 65 held-out Temporal.Asynchronous instances and 18 held-out Temporal.Synchrony instances per fold. The label names and counts describe the evaluation opportunity. They give no direct evidence about which of the tested features is responsible for classifying those cases.

The shifts also affect common classes. Expansion.Conjunction accounts for 22.48% of the customary training examples and 15.24% of its test examples. Expansion.Restatement goes from 19.44% of training to 24.97% of testing. Comparison.Contrast accounts for 12.54% of training and 16.56% of testing. These changes matter because aggregate accuracy weights each test instance equally. A classifier that improves mainly at recognizing restatements has more chances to receive credit in a sample where restatements occupy a greater share. The balanced protocol keeps the proportions closer to the overall corpus distribution in both roles.

Contingency.Cause gives a point of comparison. It accounts for 25.53% of the training instances and 25.36% of the test set under the customary split, with 193 cases in section 23. The effect of class proportions is therefore sense-specific. The distributions can look similar for one large category while differing sharply for particular others. A majority baseline gives a rough point of reference for overall difficulty, but its accuracy alone would conceal those changes in the rest of the label distribution.

Baselines on the customary split

The comparison starts with a classifier that always predicts the most common class. Its accuracy is 25.36% on the most-used split and 25.59% under cross validation. It provides a measure of what can be achieved from a single frequent label without recognizing relations in the passages. A system must be assessed relative to a stronger baseline to tell whether an added group of features helps once the arguments themselves are being read.

For that purpose, the authors’ classifier without extra surface features reaches 37.68% on section 23 and 34.44% mean accuracy across folds. They also place the section 23 result alongside published figures. The Lin and colleagues classifier gets 40.20% on the customary test, the surface-feature result listed for Ji and Eisenstein is 40.66%, and the Rutherford and colleagues result is 39.56%. These earlier results locate the experimental classifier in the range of existing work. The table supplies no corresponding cross-validation results for those systems.

Accuracy on section 23 rose above the unaugmented baseline for every individual group and for the combined configuration. Levin classes yielded the highest accuracy among the authors’ tested settings on that split, at 40.92%. Modality was close at 40.82%. A reader using the customary evaluation alone would see both the consistency of the upward movement and a small advantage for Levin classes over modality. Neither observation tells the reader how either ordering behaves when the held-out set is changed.

PDTB second-level accuracy on the customary section 23 test

Every surface-feature setting scores above the unaugmented classifier, with Levin classes giving the highest accuracy.

PDTB second-level accuracy on the customary section 23 testMost common class: 25.36Most common class25.36No additional surface features: 37.68No additional surface features37.68Inquirer Tags: 40.46Inquirer Tags40.46Brown Clusters: 38.77Brown Clusters38.77Levin classes (this paper): 40.92Levin classes (this paper)40.92Verb features: 40.21Verb features40.21Modality: 40.82Modality40.82All feature groups: 38.56All feature groups38.56
The numbers
System or settingaccuracy %
Most common class25.36
No additional surface features37.68
Inquirer Tags40.46
Brown Clusters38.77
Levin classes (this paper)40.92
Verb features40.21
Modality40.82
All feature groups38.56

The weaker gains on that test also matter for interpreting it. Brown Clusters produce 38.77% accuracy, and using all groups produces 38.56%. Even though each individual addition raises the score, putting them together yields a lower section 23 result than any of the individual additions in the table. The customary split alone consequently contains some evidence that feature choices matter as a configuration. It still gives the affirmative impression that each group, evaluated independently against the same baseline, contributes something useful.

Results across balanced folds

Cross validation changes which setting appears strongest and changes the direction of the mean accuracy effect for several groups. The unaugmented classifier’s mean is 34.44%, with a standard deviation of 1.37. Among individual feature groups, modality gives the highest mean, 37.65%, with a standard deviation of 1.83. The all-features configuration averages 35.90%, with a standard deviation of 1.32. The means with Inquirer Tags, Brown Clusters, Levin classes, and verb features are all below the unaugmented mean.

PDTB second-level mean accuracy across balanced folds

Modality leads the cross-validation comparison, while most individual additions score below the unaugmented classifier.

PDTB second-level mean accuracy across balanced foldsMost common class: 25.59Most common class25.59No additional surface features: 34.44No additional surface features34.44Inquirer Tags: 33.58Inquirer Tags33.58Brown Clusters: 33.83Brown Clusters33.83Levin classes: 34.17Levin classes34.17Verb features: 34.26Verb features34.26Modality (this paper): 37.65Modality (this paper)37.65All feature groups: 35.90All feature groups35.90
The numbers
System or settingaccuracy %
Most common class25.59
No additional surface features34.44
Inquirer Tags33.58
Brown Clusters33.83
Levin classes34.17
Verb features34.26
Modality (this paper)37.65
All feature groups35.90

The fold counts show how the mean figures arose in terms of direction. Inquirer Tags score higher in two folds and lower in eight. Brown Clusters improve on the baseline in three and score below it in seven, with a fold-accuracy standard deviation of 1.59. Levin classes have four higher and six lower, with a standard deviation of 1.48. Verb features split evenly, with five higher and five lower, and have a standard deviation of 1.22. The spread for Inquirer Tags is 1.36, close to the spread for the base classifier even though the matched comparisons predominantly favor the baseline.

Modality improves accuracy in six folds and lowers it in four. The combined feature setting improves accuracy in two folds and lowers it in eight. Both configurations improve mean accuracy even though their counts of favorable comparisons are quite different. Conversely, the spread of a setting’s accuracies does not describe the spread of its change relative to baseline. The paper reports how far a configuration’s fold scores vary around its own mean, and counts the directions of its paired comparisons. Neither statistic gives the individual sizes of those paired changes.

The authors observe that performance on the customary test generally ran higher than performance in the cross-validation evaluation. Their figure for the typical difference is 3-7% in the discussion of accuracy. The protocols change several things at once, including the training sample, the size and composition of the test sample, and which parts of the corpus participate. The higher section 23 scores describe how the classifiers perform under the published setups. The most direct evidence for the authors’ methodological claim comes from comparing augmented and unaugmented configurations within a setup, then seeing how the judgment about the feature changes between setups.

What the ablations show

What changes when each feature is added

The controlled comparisons keep the prediction task and the argument-encoding architecture fixed while varying the extra information made available to the output layer. This makes the paper’s ablations tests of the incremental value of input features. Each group is compared against the existing lexical and sequence evidence in the base classifier. Its score answers a conditional question about that pairing of representation and feature. A result for Inquirer Tags in this experiment, for instance, concerns their value when the classifier already has word vectors and separate recurrent representations of the arguments.

Inquirer Tags provide the clearest reversal in the paper’s discussion. On section 23, adding them raises accuracy from 37.68% to 40.46%. Had that been the only comparison, the category tags would have looked like a straightforward way to improve classification. Across folds, the mean falls from 34.44% to 33.58%, and the fold counts lean in the same direction as the mean. Both pieces of cross-validation evidence weaken the broad claim that the tags help with this particular architecture and task.

It is possible for a category to be relevant to certain passages while yielding that kind of result overall. Semantic groupings may expose shared evidence across word choices, but the audited outcome is the accuracy of the entire classifier. If a tag helps in some contexts and moves other predictions towards incorrect senses, the accuracy effect depends on how those cases are represented in the test set. The paper measures the resulting performance. It gives no breakdown showing whether useful and misleading tag occurrences are the source of the reversals.

Brown Clusters display a similar pattern of favorable section 23 accuracy and an unfavorable cross-validation mean and win count. Their surface representation could in principle complement the word vectors by supplying discrete word groupings. The results show that such a complement did not reliably raise aggregate accuracy under the selected conditions. Since the experiment does not vary the Skip-gram representations, it cannot determine how much of the cluster information is already captured by the embeddings or whether their value would differ with another lexical input.

Levin classes make the change of ranking especially visible. They are the highest-scoring individual addition on the customary split, yet their mean across folds, 34.17%, lies below the 34.44% baseline. They help on some folds, so the section 23 result has analogues elsewhere in the corpus under the alternative protocol. The overall pattern supplies considerably weaker grounds for selecting them as a default addition than their rank on the customary test would suggest. No per-sense results connect the change to particular uses of verbs or particular discourse categories.

The verb feature group is a useful contrast with Inquirer Tags. It also looks favorable on section 23, with accuracy of 40.21%. Across the folds, gains and losses are equally frequent, and its mean accuracy of 34.26% is near the unaugmented result. The paper describes this as essentially no overall effect across folds. The paired directions show why that description can coexist with changes in individual runs. The feature shifts the outcome enough to win or lose on particular folds, without a consistent direction under the experimental partition.

What the stronger means establish

Modality is the strongest individual addition on mean cross-validation accuracy. Its positive result is therefore visible when the evaluation uses more of the corpus, as well as on the customary test. The favorable mean and the majority of favorable folds both support the claim that modality is the most promising of the feature groups examined in this setup. The losses on four folds qualify the claim. Even the leading configuration produces a different judgment of usefulness on a substantial part of the corpus when the comparison is made fold by fold.

The all-features run adds a complication for anyone reading only the average. The mean is above the unaugmented classifier, but eight folds favor the unaugmented one. The reported directions are consistent with gains large enough to outweigh losses when averaged. The table gives no individual fold scores, so the reader cannot locate the gains or see how evenly the losses are distributed. It is nevertheless possible to distinguish the question the mean answers, about aggregate accuracy across runs, from the question the fold counts answer, about how often the change moves accuracy in a favorable direction.

The combined setting also helps distinguish complementarity from simply accumulating features. With all the features available, a classifier gets a broader set of inputs. This tested configuration scores below modality alone in both evaluations. The outcome is compatible with useful cues competing with other added information, but several explanations remain open because the design uses the groups singly and then together. Intermediate combinations would be needed to tell which additions alter the advantage of modality or to identify a particular interaction among groups.

Why the fold comparison changes the claim

There are two common ways to read a feature result on a small benchmark. One is to say that a configuration got a higher score on the published test. This is a precise claim about one trained classifier and one test set. The other is to conclude that future systems should include the feature because it helps with the task generally. This extends the claim to other samples and possibly to other classifiers. What the ablations expose is how much evidence is lost when those claims are treated as interchangeable.

The matched folds give the direction counts their force. Every win or loss compares configurations evaluated on the same portion of the corpus, using the same allocation of training instances. The unfavorable results for Inquirer Tags cannot be explained by saying that its classifier simply got a different set of test examples than the baseline in those comparisons. What varies from comparison to comparison is the partition in which both configurations are evaluated. Dependence on particular training and test samples is precisely what the study aims to expose.

A favorable section 23 result can still inform a reader about the standard benchmark. The issue is carrying the outcome beyond that benchmark. For Levin classes, a strong result on section 23 and a weaker cross-validation record are both part of the evidence. For modality, the two protocols are more aligned, although agreement on the mean can coexist with disagreement across individual folds. Those patterns are more informative than a single blanket verdict about all hand-designed discourse features. The paper’s central finding concerns the strength of the evidence for each feature under a change of evaluation.

Limitations

Limits and choices the authors identify

The authors present cross validation as especially valuable when no other unseen dataset is available. Their experiment studies different partitions of a single annotated corpus, with all the text coming from the Wall Street Journal. The procedure can reveal how a classifier’s gains vary when the examples change within that corpus. It leaves open how the same configurations would perform on a separate collection. The paper points to shared-task data and other discourse annotation work as resources that could support testing beyond the one corpus used here.

Their fold construction deliberately preserves class proportions. The authors acknowledge that a design allowing folds to retain organically different distributions could better resemble newly encountered in-domain data. The balanced design holds one source of variation in check while investigating how conclusions depend on the examples assigned to training and testing. A design that kept naturally varying class shares would ask a broader question about adapting to changes in the mixture of senses. The experiment’s results should be read with its particular choice of balance in mind.

The authors also explain why they included the usual development section. Their demonstration prioritized using as much data as possible to study variability. For a new classifier, their stated preference is to reserve a development set separately, then cross-validate over the remaining instances. The distinction bears on how the evaluation serves the research process. Comparing many configurations and choosing among them based on the same held-out outcomes changes the role those outcomes play. The paper’s demonstration is constructed around previously used feature groups, and its recommendation addresses how to use the protocol when developing something new.

A further option the authors identify is repeated cross validation. Their reported experiment works with a single construction of the balanced folds. Repetition would construct other partitions and run cross validation on them, providing a view of how much the conclusions depend on the particular grouping of instances into folds. This adds another source of evidence beyond rotating the test role within one partition. Its results are outside the demonstrated comparison, so the winning counts in the paper have to be understood as counts from the reported partition.

The authors advocate significance testing over cross-validation results and favor it over bootstrapping confined to the usual test. The contrast is between gaining evidence by changing the samples assigned to training and testing and resampling the cases already in section 23. Resampling a small test section can describe uncertainty within that sample, while rare or absent portions of the corpus remain rare or absent in its resamples. The paper also notes that discourse classification studies sometimes omit significance tests or identify an outcome as significant without reporting the procedure used.

What the reported comparisons leave unresolved

The results table gives descriptive evidence about performance, in the form of means, standard deviations, and directions of paired changes. It provides neither individual fold scores nor significance results for those feature comparisons. A reader can tell that the evaluation changes the mean ranking and that several feature gains are inconsistent. Establishing a particular gain as statistically significant would require the test procedure and its outcome. In particular, the counts of winning folds should be read in light of the overlapping training sets. Each test subset is distinct, but much of the training material is shared between runs.

The two evaluation protocols differ in their training data as well as in their test data. In the customary comparison, a classifier is trained on sections 2-21. In cross validation, training rotates over portions of sections 0-24. The counts of examples, the passages making up the training sample, and the size and composition of the held-out sample all change. It would take a different controlled comparison to assign the resulting score shifts specifically to test size, to changes in class proportions, or to which examples were available to learn from. The current study establishes that a judgment about feature utility can depend on the protocol as a whole.

The distributions show why a cue for an underrepresented class could be undervalued on section 23. Relating a named feature’s performance to that mechanism would require sense-specific accuracy or an analysis of the changed predictions. The reported results aggregate across all eligible instances. A feature could improve recognition of a rare class and still lower overall accuracy, or raise overall accuracy mostly by improving a common category. The fold comparisons tell how reliably the overall score moves, while the relation distribution puts the possible imbalance in view. Together they motivate looking more closely at individual senses without supplying that analysis themselves.

The task also presupposes that the arguments of the implicit relation have already been identified. A discourse parser operating on raw text would have other decisions to make, and errors at those stages could change the effect of a feature. Within the classification task, keeping the first listed annotation simplifies training and scoring but discards evidence about alternative senses. Removing very rare classes simplifies the target further. The empirical claim applies to this filtered, single-label task. It leaves open how cross validation would behave in an evaluation that kept the rarer categories or allowed several valid labels on an item.

The results are conditional on one principal classifier architecture and the selected feature inventory. The paper establishes a convincing reason to ask whether improvements from other architectures are also split-dependent, but the historical comparison gives those other classifiers’ scores only on the customary test. The experiments do not rerun those systems on balanced folds. Similarly, the feature comparisons cannot isolate the effect of changing the word representations, replacing the argument encoders, or using different linguistic feature templates. Each of those changes would alter the baseline evidence against which the surface features are measured.

Finally, the account of the implementation is enough to understand the controlled comparison but leaves some practical details open. It identifies the embedding method, classifier, training loss, optimizer, regularization, software, and broad feature groups. It does not give exhaustive definitions of the individual feature vectors or report separate experimental results for variation across random initializations. The paper’s feature evidence therefore has its clearest interpretation at the level at which it is reported, as a comparison of named input configurations under common data partitions. An exact reconstruction or an account of run-to-run variation would require further information.

What came after

The citing work pursued several different questions within implicit discourse classification. Some papers changed the evidence a classifier is asked to recover or the annotated data available for training. Others changed the corpus, the output definition, or the systems compared. These directions are relevant to Shi and Demberg’s study because each changes a part of the evaluation that can affect what a score warrants. The citation establishes a connection to the earlier paper. The later topics support a more specific discussion of what is at stake in each comparison than a claim that they all followed the same splitting procedure.

Making the missing connective part of the task

Learning to Explicitate Connectives addresses implicit discourse relation classification by learning to supply a connective with a sequence-to-sequence network. This brings the difference between explicit and implicit instances into the design of the classifier. The 2017 study starts from passages where a connective can frequently be imagined, as in the contrast example, and asks how reliably other surface clues help recover the sense. The later approach turns the recovery of the omitted expression into a learned step. It changes the source of evidence from a fixed menu of surface features to a connective the system has to infer.

For evaluation, an inferred connective can be valuable if it helps resolve the intended sense across a range of texts. Accuracy on a single section could also favor a system whose connective predictions suit expressions common there. That is the point of contact with the earlier methodological question. The proposal to make a latent cue explicit supplies a new intervention to evaluate, while the cross-validation study explains why its measured benefit can depend on the sample of relations. The later work’s intervention and the earlier paper’s evaluation concern are distinct.

Acquiring Annotated Data with Cross-lingual Explicitation applies explicitation to the acquisition of annotated material for implicit relation classification. This revisits the data scarcity described by Shi and Demberg from the training side. Their experiment redistributes existing annotated instances to make better use of available evidence for evaluation. The later work addresses how annotated evidence can be obtained using a cross-lingual approach. The consequences for evaluation depend on what has been added. Gains from additional training data can be interpreted more clearly when the test material gives a fair view of the relation senses the resulting classifier must recognize.

Revisiting the corpus and the label

Extending Implicit Discourse Relation Recognition to the PDTB-3 takes the recognition task to PDTB-3. This changes the corpus setting in which implicit relation recognition is studied. The 2017 findings are tied to the distribution of second-level instances available in the PDTB used there, including the particular small sample in section 23. Moving the task to PDTB-3 therefore brings a fresh need to describe the instances, labels, and partitions behind any performance figure. The earlier feature ranking supplies a reason to examine those choices closely instead of an expectation that the same ranking carries over.

Multi-Label Classification for Implicit Discourse Relation Recognition addresses the output definition. Shi and Demberg encounter more than one annotated relation on some instances and keep the first one for their single-label experiments. A multi-label formulation makes the presence of multiple applicable labels part of the prediction problem. This is a direct point of contact with a simplifying choice in the earlier paper. When multiple labels are admissible, judging a prediction requires taking account of the full target, and designing folds involves the distribution of labels that can occur together. The question of whether an improvement survives changes in the test sample remains, with a different definition of the cases and outcomes being compared.

Comparing newer classifiers under a common task

A Side-by-side Comparison of Transformers compares transformer and attention approaches for English implicit discourse relation classification. The work takes up a system comparison within the same broad task in which Shi and Demberg compared feature configurations. A side-by-side study raises the question of which evaluation conditions competitors share and whether the ordering persists across samples. The earlier paper offers a concrete example of how the apparent leading choice can change when evaluation moves beyond a familiar held-out section. The transformer comparison concerns architectures, while the original demonstration shows the issue through additions to a common classifier.

The later papers thus connect to different parts of the earlier study, from the absence of an overt connective to the limits of available training data and the choice to score a single sense. The original experiment’s most specific lesson still applies to interpreting those changes. A result can establish that a classifier did better on the measured instances, while a claim about a lasting improvement requires evidence that the advantage persists across the relevant examples. By changing the partition and watching feature judgments change with it, Shi and Demberg made that distinction observable in a familiar discourse benchmark.

 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. 2017. On the Need of Cross Validation for Discourse Relation Classification. Proceedings of the 15th Conference of the European Chapter of the Association for Computational Linguistics: Volume 2, Short Papers.

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{shi2017need,
  title = {{On the Need of Cross Validation for Discourse Relation Classification}},
  author = {Wei Shi and Vera Demberg},
  booktitle = {Proceedings of the 15th Conference of the European Chapter of the Association for Computational Linguistics: Volume 2, Short Papers},
  year = {2017},
  doi = {10.22028/d291-30985},
  url = {https://doi.org/10.22028/d291-30985}
}

References

34 references, 24 of them with a card of ours. Each entry links to our card when we hold the work, else to OpenAlex and Google Scholar searches for it.

  1. Yangfeng Ji and Jacob Eisenstein. 2015. One vector is not enough: Entity-augmented distributed semantics for discourse relations. Transactions of the Association for Computational Linguistics, volume3:329– 344.
  2. Yoshua Bengio and Yves Grandvalet. 2005. Bias in estimating the variance of k-fold cross-validation. In Statistical modeling and analysis for complex data problems, pages 75–95. Springer. OpenAlex ↗ · Scholar ↗
  3. Yangfeng Ji, Gholamreza Haffari, and Jacob Eisenstein. 2016. A latent variable recurrent neural network for discourse relation language models. In Proceedings of NAACL-HLT 2016, pages 332–342, San Diego, California. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
  4. Yoshua Bengio, Réjean Ducharme, Pascal Vincent, and Christian Jauvin. 2003. A neural probabilistic language model. journal of machine learning research, volume3:1137–1155.
  5. Taylor Berg-Kirkpatrick, David Burkett, and Dan Klein. 2012. An empirical investigation of statistical significance in nlp. In Proceedings of the 2012 Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning, pages 995–1005, Jeju Island, Korea.… OpenAlex ↗ · Scholar ↗
  6. Ji-Hyun Kim. 2009. Estimating classification error rate: Repeated cross-validation, repeated hold-out and bootstrap. Computational Statistics & Data Analysis, volume53(11):3735–3745. OpenAlex ↗ · Scholar ↗
  7. 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, pages 343–351, Singapore. Association for Computational Linguistics.
  8. 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.
  9. Thomas Meyer, Najeh Hajlaoui, and Andrei Popescu-Belis. 2015. Disambiguating discourse connectives for statistical machine translation. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 23(7):1184–1197. OpenAlex ↗ · Scholar ↗
  10. Chloé Braud and Pascal Denis. 2015. Comparing word representations for implicit discourse relation classification. In Empirical Methods in Natural Language Processing (EMNLP 2015), pages 2201– 2211, Lisbonne, Portugal. Association for Computational Linguistics.
  11. Claudiu Mihăilă and Sophia Ananiadou. 2014. Semi-supervised learning of causal relations in biomedical scientific discourse. Biomedical engineering online, 13(2):1. OpenAlex ↗ · Scholar ↗
  12. Jifan Chen, Qi Zhang, Pengfei Liu, Xipeng Qiu, and Xuanjing Huang. 2016. Implicit discourse relation detection via a deep architecture with gated relevance network. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (ACL), pages 1726–1735, Berlin, Germany. Ass…
  13. Tomas Mikolov, Ilya Sutskever, Kai Chen, Greg Corrado, and Jeff Dean. 2013. Distributed representations of words and phrases and their compositionality. In Advances in neural information processing systems, pages 3111–3119.
  14. Hugo Hernault, Danushka Bollegala, and Mitsuru Ishizuka. 2010. A semi-supervised approach to improve classification of infrequent discourse relations using feature vector extension. In Proceedings of the 2010 Conference on Empirical Methods in Natural Language Processing, pages 399–409, MIT, Massach…
  15. Joonsuk Park and Claire Cardie. 2012. Improving implicit discourse relation recognition through feature set optimization. In Proceedings of the 13th Annual Meeting of the Special Interest Group on Discourse and Dialogue (SIGDIAL), pages 108–112, Seoul, South Korea. Association for Computational Ling…
  16. Emily Pitler, Mridhula Raghupathy, Hena Mehta, Ani Nenkova, Alan Lee, and Aravind K. Joshi. 2008. Easily identifiable discourse relations. In Proceedings of the 22nd International Conference on Computational Linguistics (COLING2008), pages 85– 88, Manchester, UK.
  17. Christopher Hidey and Kathleen McKeown. 2016. Identifying causal relation using parallel wikipedia articles. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (ACL), pages 1424–1433, Berlin,Germany. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
  18. Emily Pitler, Annie Louis, and Ani Nenkova. 2009. Automatic sense prediction for implicit discourse relations in text. In Proceedings of the Joint Conference of the 47th Annual Meeting of the ACL and the 4th International Joint Conference on Natural Language Processing of the AFNLP: Volume 2-Volume…
  19. 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, pages 977–986, Baltimore, Maryland, USA. Association for Computational Linguistic… OpenAlex ↗ · Scholar ↗
  20. Conll 2016 shared task on multilingual shallow discourse parsing. pages 1–19, Berlin, Germany. Association for Computational Linguistics.
  21. Rashmi Prasad, Nikhil Dinesh, Alan Lee, Eleni Milt-sakaki, Livio Robaldo, Aravind K. Joshi, and Bonnie L. Webber. 2008. The penn discourse treebank 2.0. In In Proceedings of the 6th International Conference on Language Resources and Evaluation(LREC), Marrakech, Morocco. European Language Resources A…
  22. Chris Quirk and Hoifung Poon. 2016. Distant supervision for relation extraction beyond the sentence boundary. arXiv preprint arXiv:1609.04873.
  23. 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, Doha, Qatar. Association for Computational L…
  24. Ines Rehbein, Merel Scholman, and Vera Demberg. 2016. Annotating discourse relations in spoken language: A comparison of the pdtb and ccr frameworks. In Proceedings of the Tenth International Conference on Language Resources and Evaluation (LREC 2016), pages 23–28, Portoro, Slovenia. European Langua…
  25. 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, Lisbon, Portugal. Association…
  26. Attapol Rutherford and Nianwen Xue. 2014. Discovering implicit discourse relations through brown cluster pair representation and coreference patterns. In European Chapter of the Association for Computational Linguistics.(EACL), pages 645– 654, Gothenburg, Sweden. Association for Computational Lingui…
  27. Biao Zhang, Deyi Xiong, and Jinsong Su. 2016. Neural discourse relation recognition with semantic memory. arXiv preprint arXiv:1603.03873. — arXiv:1603.03873 OpenAlex ↗ · Scholar ↗
  28. Zhi-Min Zhou, Yu Xu, Zheng-Yu Niu, Man Lan, Jian Su, and Chew Lim Tan. 2010. Predicting discourse connectives for implicit discourse relation recognition. In Proceedings of the 23rd International Conference on Computational Linguistics: Posters, pages 1507–1514, Beijing, China. Association for Compu…
  29. Attapol Rutherford and Nianwen Xue. 2015. Improving the inference of implicit discourse relations via classifying explicit discourse connectives. In Proceedings of the NAACL-HLT, pages 799–808, Denver, Colorado. Association for Computational Linguistics.
  30. Attapol Rutherford, Vera Demberg, and Nianwen Xue. 2017. A systematic study of neural discourse models for implicit discourse relation. In European Chapter of the Association for Computational Linguistics.(EACL), Valencia, Spain. Association for Computational Linguistics.
  31. Radu Soricut and Daniel Marcu. 2003. Sentence level discourse parsing using syntactic and lexical information. In Proceedings of the 2003 Conference of the North American Chapter of the Association for Computational Linguistics on Human Language Technology-Volume 1, pages 149–156, Edmonton. Associat…
  32. Xun Wang, Sujian Li, Jiwei Li, and Wenjie Li. 2012. Implicit discourse relation recognition by selecting typical training examples. In Proceeding of COL-ING 2012, pages 2757–2772, Mumbai.
  33. Nianwen Xue, Hwee Tou Ng, Sameer Pradhan, Rashmi Prasad Christopher Bryant, and Attapol T. Rutherford. 2015. The conll-2015 shared task on shallow discourse parsing. In Proceedings of Conference on Computational Natural Language Learning: Shared Task, pages 1–16, Beijing, China. Association for Comp…
  34. Nianwen Xue, Hwee Tou Ng, Attapol Rutherford, Bonnie Webber, Chuan Wang, and Hongmin Wang. OpenAlex ↗ · Scholar ↗

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/shi-2017-need-cross-validation-discourse-relation/