Toward Automatic Discourse Parsing of Student Writing Motivated by Neural Interpretation
Paper · 2022 · James Fiacco, Shiyan Jiang, David Adamson et al.
Summary
A student essay can make sense sentence by sentence and still leave a reader wondering how an idea follows from the one before it. Giving feedback on that problem requires locating the break and understanding what the surrounding passages are trying to do. James Fiacco and colleagues investigate a way to make that analysis automatic. They use Rhetorical Structure Theory, a framework in discourse analysis that represents a document as a hierarchy of connected passages. The parser builds the hierarchy by deciding which passages belong together, which carry the main point of a connection, and what rhetorical role links them.
The authors add two sources of information to a parser that builds the tree through successive local decisions. The first is a representation of the document’s predicted most central elementary discourse unit, selected by an auxiliary task trained on annotated trees. This gives the parser a document-level reference even when it is deciding what to do with a small passage. The second is the internal state of a previously trained parser. Both parsers follow the same sequence of decisions, allowing the new parser to consult the earlier one’s representation of the same point in the analysis. For student writing, the authors use principal component analysis to select which parts of that state to pass along.
On the test split of the English RST Discourse Treebank, which contains Wall Street Journal articles, the full parser reached span F1 of 71.7 and span-with-nuclearity F1 of 60.3, both higher than the published baselines in the paper’s comparison. Its relation F1 of 44.5 and fully labeled F1 of 44.3 left the best earlier scores intact. On the Turnitin student-essay test set, selecting which internal features to transfer improved all the reported scores over passing the full state. The resulting parser reached relation F1 of 18.0 and full F1 of 17.0, ahead of the retrained comparison system on those measures. That system still scored higher on span and span with nuclearity.
A separate comparison used comments from experienced teachers to see whether breaks marked in human-annotated discourse trees fell near places where teachers saw a problem with the flow. The correspondence gives the proposed use of discourse trees in feedback an empirical starting point. The next step, which the authors leave open, is to find out whether automatically predicted breaks agree with teachers’ judgments closely enough to help students revise.
Deep dive: Toward Automatic Discourse Parsing of Student Writing Motivated by Neural Interpretation
A discourse parser maps how ideas connect in student essays, using a central passage and a previously trained parser to guide its decisions. · about 35 minutes to read
The problem and its context
What a writing system needs to locate
Feedback on organization is easiest to act on when it identifies a passage and explains what a reader is having trouble connecting. A paragraph can contain sentences about the same general subject while leaving their contributions to its argument unclear. A transition can signal an intended connection without making that connection evident in the ideas themselves. Problems also occur at different scales. A reader might lose the thread between neighboring sentences or have trouble seeing how a whole paragraph advances the essay’s thesis. The paper investigates a representation that can describe both scales through the same kind of structure.
The authors situate this problem within work on automated writing feedback. They describe systems intended to make writing practice and feedback available at scale, and earlier attempts to identify aspects of discourse structure automatically in essays. Their focus is coherence, in the practical sense of whether a reader can follow the relationships among ideas. A system that pinpoints where the relationship becomes unclear could provide a more specific basis for feedback than an essay-wide assessment of organization. For that purpose, where an analysis places a connection matters alongside what it calls the connection.
Hierarchical organization is important because the contribution of a passage can depend on material elsewhere in the essay. A sentence may make sense as supporting detail for the sentence before it, while the paragraph containing both has a less evident role in the essay. The analysis needs a way to represent a locally coherent group and still ask how that group fits into the larger whole. In the paper’s account, this is also why document structure has been studied for applications such as text categorization and authorship attribution. The writing-feedback question is more specific. It asks whether structural information can help locate places where an author could clarify the progression of ideas.
What the discourse tree records
Rhetorical Structure Theory, or RST, begins by treating a document as a sequence of elementary discourse units, abbreviated EDUs. An EDU is a basic piece of text for the purposes of the analysis. Larger pieces arise when units are connected, and these combined passages can participate in further connections. The result is a tree. The original units are its leaves, intermediate branches cover progressively larger passages, and the root covers the document. An annotation therefore describes more than a series of transitions between adjacent sentences. It can say that the transition between larger passages has a role distinct from the connections inside either passage.
An RST relation has a span, a nuclearity assignment, and a relation label. The span specifies the portion of the document involved. Nuclearity records which side or sides are central to the relationship. In a mononuclear relation, one side is the nucleus, the essential part in that connection, and the other is a satellite that supports it. In a multinuclear relation, more than one side has nuclear status. The rhetorical label describes how the pieces are connected. In a single decision the parser can therefore get the extent of a passage right while making a different judgment from an annotator about its rhetorical organization.
The authors give an example involving an essay about how parents should respond to books they consider inappropriate for children. One passage argues for parents guiding children in evaluating books. A later sentence is relevant to that general argument, yet its connection to the rest of the passage remains unclear. In the annotated tree, JOINT marks a connection of this kind. As used for this analysis, JOINT puts nuclei together where the annotator cannot identify a more specific rhetorical relationship. The example illustrates a distinction a teacher might care about. Staying on the general topic and making the logical role of a sentence clear are separate accomplishments.
RST supplies a common framework across the corpora being studied, with room for annotation practices that reflect their genres. The authors note that researchers working on student essays have proposed adding or combining relations to suit the kinds of writing they encounter. They also point to a difference in the role of JOINT. Connections lacking a clear rhetorical explanation are unusual in the edited newspaper material and recur in the student corpus. A parser that has learned how well-edited passages tend to fit together consequently faces a different problem when it processes developing writing.
The contrast extends to the signals a parser can use. Student writers may omit transitions, use them in ways that obscure the connection, or leave a pronoun’s reference unclear. A paragraph can contain competing main ideas or give the reader little basis for choosing a topic sentence. Sentences can also occur in an order that makes the argument difficult to reconstruct. These properties make the corpus relevant to writing instruction while complicating the automatic analysis. A parser relies in part on the same cues that a teacher might ask a writer to clarify.
Why the authors change the transition parser
In the history presented by the paper, earlier approaches used discourse markers and hand-written rules, while later approaches learned representations from annotated data. Researchers also borrowed machinery from syntactic parsing, where the immediate task is to recover grammatical structure. Some discourse parsers took cues from constituency parsing, which builds larger phrases or spans from smaller ones. Other work showed that techniques from dependency parsing, which describes directed relationships among elements, could also support discourse analysis. The paper builds on a sequence of work that borrows techniques developed for syntax and applies them to relationships across a document. A Dependency Perspective on RST Discourse Parsing and Evaluation
A transition parser constructs a tree through a sequence of actions. At any moment it has a representation of what it has read, what it has built, and what remains to be processed. The next action is chosen from this state. The paper treats this as a productive way to build rhetorical trees, but also as a source of two difficulties. One is that the decisions are made at particular points in the action sequence even when choosing well depends on a passage far away. The other is that annotated essay data are scarce, so learning the conventions of developing writing solely from examples in that genre is demanding.
The recurrent networks in earlier transition parsers can, in principle, carry information over successive states. The authors cite evidence from prior work that such networks tend to use nearby information more precisely than distant information. That gives the paper its reason for making a central piece of text directly available. The auxiliary prediction is inspired partly by the importance frequently given to topic-like sentences in writing assessment. Its formal target, however, comes from the discourse tree. This lets the authors train the additional task on the structural annotations used for parsing. Sharp Nearby, Fuzzy Far Away
For the second change, the authors draw on prior interpretability research that examined groups of neural activations varying together across different parts of a network. They use that idea to decide which parts of a trained parser’s internal state might be worth transferring. Their working hypothesis is that a parser trained first on more consistently organized text can provide representations useful for a parser that must learn from more variable prose. The new parser needs room to adapt to the target writing, so selecting features is part of the transfer procedure. This use of activation patterns is a design choice about what information to carry forward.
The method, step by step
From ordered passages to a tree
Imagine the parser at a point where it has seen some of an essay and has more to read. It can move the next elementary unit into its working storage, or it can combine pieces already there into a larger branch. The first action is called SHIFT. The second is called REDUCE. A reduction does more than close a span. It specifies a rhetorical connection for the pieces being joined, with the parser also deciding nuclearity as part of building their representation. The same operations can join individual units near the bottom of the tree and larger passages nearer the root.
The parser keeps unread units in a buffer and stores units and partial trees it is working with on a stack. A shift moves the next available unit out of the buffer and onto the stack. A reduction takes the components to be joined from the top of the stack and puts their combined representation back. The parser continues until the transition procedure has built the analysis. When the current configuration permits only one action, the procedure takes that action directly. Where several actions are possible, the parser scores the choices from its current state.
How the parser builds a discourse tree
The steps in order.
The parent state in this sequence belongs to an earlier parser used as a feature source by the final parser. Both systems keep their own numerical representations of the text and partial tree. They follow the same action at each step, chosen by the system responsible for the final tree. In the student-writing configuration with neuron selection, only chosen coordinates of the parent state enter the final action predictor. The selection itself is done during preparation for child training.
The paper describes a tree node through the following tuple.
⟨S, N, R⟩
The angle brackets group the components of the annotation. Here S is the span, or stretch of text covered. N indicates the direction of nuclearity, identifying the side with central status or the shared status of the branches. R is the rhetorical relation label. The notation distinguishes properties that are evaluated separately. For example, an analysis can locate the correct span and give it the wrong relation label, or recover the relation while disagreeing on nuclearity.
Representing the text and remembering progress
Each EDU starts with word embeddings, vectors that represent words numerically. A bidirectional long short-term memory network, abbreviated BiLSTM, processes those word vectors in both reading directions. An LSTM is a recurrent network whose state is updated as it consumes a sequence. The EDU representation uses the final state from each direction of this process. This gives the action predictor a fixed-size description of the unit while preserving information learned from the order in which the words occur.
The authors supplement that vector with syntactic information. A separate dependency parser produces representations of arcs, the directed grammatical links used in its analysis. The discourse parser concatenates, or places side by side, the arc representation and the output of the EDU encoder. This makes information about grammatical connections available in addition to the information learned by reading the words in sequence. The dependency representation stays fixed during RST training. The paper’s experiment can therefore ask whether a grammatical feature learned in a separate training procedure helps decisions about discourse. Deep Biaffine Attention for Neural Dependency Parsing
The buffer has its own LSTM. It reads the EDU vectors starting at the end of the document and working back toward the beginning. The parser saves the resulting states so that the state at a buffer position summarizes the units from that position through the end. As the parser shifts units out of the buffer, it can look up the state that corresponds to the remaining text. This gives the action predictor information about what is ahead, even at a point when those units have yet to enter the partial tree.
The stack uses a Stack LSTM, which is designed to retain a recurrent state for the items below its current top. When an item is removed, control returns to the state associated with the previous cell. To carry out a reduction, the parser uses a multilayer perceptron, or MLP, to compose information from the two removed stack components. An MLP transforms its input through successive learned layers. The resulting representation describes the joined passage, which then becomes an item the parser can combine at a higher level. The stack is therefore both a record of what is available for a reduction and a numerical summary of the partially built structure.
For a decision, the parser concatenates the relevant EDU representation, the buffer state, and the stack state, along with the additional inputs introduced by the paper. The authors call the vector supplied to the action MLP the parser state. This is also the object they later inspect when selecting features from the parent. The action MLP scores SHIFT and the various labeled REDUCE choices. Once a choice is made, the transition rules say how the stack and buffer must change. The learned component chooses an action from the evidence represented in the state. The mechanics of carrying out that action follow the transition procedure.
The distinction between the stack and buffer helps explain the proposed extension. At the same point in an essay, one action history might already have joined neighboring units into a composite passage, while another might still have them available separately. Knowing which words the parser has read does not by itself specify its state. This matters when an earlier parser is asked to contribute a representation, because its state has to describe the same partially constructed analysis that the final parser is considering.
Finding a document-level reference
The most nuclear EDU is defined through the annotated tree. Begin at the root and follow nuclearity down the tree. At a mononuclear branch, follow the central side. At a multinuclear branch, the authors use the left side as a convention. Continue until the path reaches an elementary unit. The paper illustrates this with a short passage about a coyote preparing a trap. The statement about the coyote’s construction is the leaf selected by the nuclearity path in the illustration. The rule makes the target reproducible from the tree, including where more than one branch has nuclear status.
A prediction system cannot use that path while analyzing an essay whose tree has yet to be constructed. Instead, it scores candidate units directly from their representations. The authors describe the scorer as an MLP and give the following expression for choosing the unit with the highest score.
S_NUC = arg maxₛ∈S W · s
S_NUC is the chosen most nuclear unit. In this expression S is the set of candidate sentence EDU representations, a different use of S from the span in the tuple. The lower-case s denotes one candidate, and s ∈ S means that the search runs over the candidates in that set. W denotes the learned scoring weights in the paper’s expression. The dot denotes the weighted score of a candidate, and arg max returns the candidate at which that score is greatest. The equals sign defines the selected unit in terms of this choice.
The selected passage is represented by a separate BiLSTM. It shares the underlying word embeddings with the ordinary EDU encoder, while the recurrent parameters used to build the central-unit vector are learned separately. The training signal for choosing the passage occurs at the document level. A document supplies one target most nuclear unit, even though its tree provides multiple examples for the action predictor. The authors accordingly restrict the size of the central representation to reduce the risk of overfitting. The resulting vector can be used throughout the parse, giving decisions at different locations the same reference to the document.
The selection is discrete. A small change in scoring weights can leave the chosen unit exactly the same, and when a different candidate overtakes it the chosen input switches. As a consequence, the downstream parsing error cannot train W by sending a gradient through the arg max. The authors train the scorer with a separate loss against the most nuclear unit found in each annotated training tree. This arrangement separates supervision for choosing the reference from supervision for learning how to use it in the action predictor.
Nuclearity enters the system at two scales. Following it from the root defines the central unit for the entire document. At an individual reduction, the parser is also trained to assign nuclearity to the relationship it is building. The auxiliary task does not instruct the parser to attach every passage to the selected unit. Its contribution is a representation the action predictor can consult while making local decisions. This is how the approach addresses the authors’ concern about distant context: it provides one selected passage directly, even when the recurrent stack and buffer summaries might convey its contents only indirectly.
Using a parent parser at the same point in the analysis
The authors first train a parent parser with the transition architecture, syntactic information, and most nuclear unit. They then train a child parser that takes parts of the parent’s state as additional input. The parent stays fixed during child training, but its state still changes as it reads an essay and carries out transitions. Fixed parameters mean that its way of representing each situation does not get updated by the child’s loss. Its output remains specific to the current document and to the actions already taken.
The child controls the action sequence. If it decides to reduce two components when the parent would prefer to shift, both execute the reduction. Each still computes its own vectors. This keeps the configurations comparable so that the borrowed state describes the same structural decision point. If each parser chose its actions independently, its stack might contain a different set of spans, and the parent’s state could then describe a pending structure different from the one the child was trying to complete.
This arrangement makes transfer possible without copying the parent’s decisions. The child can use a parent representation when deciding what to do, and its own scoring function can favor a different action. In particular, access to the parent state does not amount to taking a vote between separately completed trees. The transfer happens inside the decision process, before an action is executed. The authors liken the staged procedure to learning from what an earlier system has acquired, with the hope that the later stage can adapt the useful parts of that knowledge to harder cases.
Selecting which information passes to the child
For the student-writing setup, the authors prune the parent representation. They collect parent parser states on training instances and organize them into an activation matrix. A column corresponds to one dimension of the state, and a row records the values from a training instance. This makes it possible to examine which dimensions vary together. The procedure works on values produced while processing examples, so selection is based on observed activity rather than on the names of layers or on a hand-written list of grammatical features.
The authors apply principal component analysis, or PCA, to that matrix. PCA identifies directions along which the activation values vary. A direction that accounts for substantial variance captures a pattern that matters to how those recorded states differ from one another. Each direction has loadings describing how strongly individual coordinates contribute to it. In the method described in the paper, components are retained according to explained variance, and the parent dimensions with the highest loadings on the selected components are gathered into a set. That set determines which original coordinates the child sees. The child receives the selected activations rather than a new representation consisting of the principal components themselves.
The paper reports that the PCA dimensionality was tuned to account for 90% of the variance in recorded neuron activations. It also reports choosing the 16 neurons with the highest loadings for each pathway that explained more than 1% of the variance. In the general description, the number selected per component can be adjusted using validation performance. These settings specify the selection rule. They describe variance in the parent state and the number of dimensions kept per qualifying pathway, rather than a measured amount of rhetorical knowledge retained.
The authors’ rationale is that selecting prominent patterns may help the child draw on more general behavior and avoid some features specific to the data on which the parent learned. The procedure uses no discourse label to declare that a selected coordinate specializes in a particular relation. Its immediate output is a subset of features that contribute strongly to components in the activation analysis. Demonstrating that those features serve identifiable rhetorical functions would require an additional analysis. The paper uses the subset to test whether a smaller input improves parsing on student essays.
The training objectives
The training sequence begins with the parent, continues with neuron selection where that procedure is used, and ends with training the child. Both generations of the parser use the same kinds of supervision. The child additionally receives the fixed parent features. Since the parent does not receive gradients from child training, the selection procedure can make hard choices about coordinates. Child training can proceed with those choices already in place, just as it can use the syntactic arc representation supplied by the separately trained dependency parser.
There is a negative log-likelihood loss for predicting the most nuclear unit, another for predicting nuclearity at the action level, and another for choosing the correct action. Negative log likelihood penalizes assigning low probability to the supervised choice. The central-unit loss is computed for the document. The other objectives apply along the sequence of actions, with nuclearity supervision contributing to how the parser learns to represent components joined by a reduction. The paper combines the objectives as follows.
L = αₘ Lₘ + αₙ ∑ₐ∈A Lₙ + αₐ ∑ₐ∈A Lₐ
L is the total loss for a document. Lₘ is the document-level loss for the most nuclear EDU, Lₙ is the nuclearity loss, and Lₐ is the action-choice loss. The subscripts m, n, and a on the losses and weights identify these three objectives. A denotes the action sequence required for the parse, written in the paper as the set of its actions. The index a in the summation limits ranges over those action instances, so each ∑ adds the relevant losses across the parse. The α terms are tunable weights, with juxtaposition indicating multiplication. The plus signs add the weighted terms. All the α weights were set to 1 in the experiments.
The discourse parser’s learned word vectors were randomly initialized at 128 dimensions for both parent and child. The parent’s LSTMs used 256 dimensions and the child’s used 512. The syntactic dependency parser was pretrained on Universal Dependencies v1 material derived from Penn Treebank 3 using version 3.9.2 of the Stanford Universal Dependency Converter. Its word vectors and label MLP used 64 dimensions, and its recurrent layers and arc MLP used 128. These settings distinguish the independently trained source of syntax from the pair of systems trained to build discourse trees.
Training used DyNet and ran on an NVIDIA GTX 1080. The learning rate for Adam was 0.001, and hidden layers used dropout of 0.3. Early stopping used development-set F1 for the parser operating without an oracle, with a patience of 3. In this setting, evaluating without an oracle means judging the parser on an analysis it has to produce itself, instead of relying on correct decisions supplied by the annotation as it goes. The optimizer, dropout, and stopping criteria were also used to pretrain the dependency parser. Adam and Dropout
Experiments and results
The two kinds of writing
The English RST Discourse Treebank, shortened to RST-DT, is the benchmark for comparison with published discourse parsers. It contains 385 Wall Street Journal articles totaling roughly 180,000 words. The topics vary, with the paper mentioning finance and the arts. The important common property for the experiment is that these are articles produced and edited by professionals. Their rhetorical structures supply an established setting in which to compare the changes with earlier methods trained for RST. Building a Discourse-Tagged Corpus
The second corpus consists of 274 student essays from Turnitin Revision Assistant. The assignments cover literary and historical analysis, argumentative writing, and informative writing. For instance, one task asks students to address a school board leader and argue about the benefits or harms of competitive sports for young people. The essays come from secondary classrooms across the United States and represent a range of writing skills and backgrounds. The authors reserved 25 essays for development and 28 for testing. The development split supports choices made during training, while the held-out student test set is where the reported scores measure performance on new essays from this corpus.
The comparison addresses both parser quality on the standard benchmark and performance after adapting to the student corpus. The student experiment uses RST-DT training followed by fine-tuning on Turnitin essays. The systems are then evaluated against annotated trees on the respective test sets. The paper compares the proposed parser with and without neuron selection and uses Ji and Eisenstein’s parser as the student comparison system. That baseline is selected for its relation performance on the newspaper benchmark, a relevant point of comparison given the interest in how student passages connect. Representation Learning for Text-level Discourse Parsing
What the scores count
The paper uses the evaluation procedure examined by Morey and colleagues. The authors explain that the previous RST Parseval standard had been applied inconsistently and could yield inflated scores. They limit their comparisons to systems scored under the revised procedure, including results recalculated in the replication study where appropriate. This matters because a numerical comparison is meaningful only if the matching rules for a correct attachment are the same. Replication Study of RST Discourse Parsing
The reported measures are micro-averaged F1 scores over attachment decisions. F1 combines precision, the share of proposed instances that match the annotation, and recall, the share of annotated instances that are recovered. Micro-averaging pools decisions before computing the score. Longer trees can therefore contribute more decisions than shorter ones, and the scores describe performance over the pooled attachments rather than the result for a typical essay considered in isolation.
The difference among the measures lies in what has to match. Span F1, marked S, asks whether the parser found the annotated spans. Nuclearity F1, marked N, requires the span and its nuclearity to match. Relation F1, marked R, requires the span and its rhetorical label to match. Full F1, marked F, requires agreement on all these properties. Nuclearity and relation are separate extensions of the span measure. The relation score gives no credit for choosing an appropriate label when the corresponding span is wrong, and should be read as a measure of labeled structure rather than classification with annotated spans supplied.
Edited newspaper articles
On the RST-DT test set, the full parser led the published comparisons on span and span with nuclearity. Its span F1 was 71.7. Feng and Hirst had the strongest earlier span result in the comparison at 68.6. Mabona and colleagues were the strongest earlier entry on span with nuclearity, at 57.4, while Fiacco and colleagues reached 60.3. Feng and Hirst’s score on span with nuclearity was 55.9. The baseline that leads depends on the property being evaluated, so the raw scores give the clearest account of which previous result each claim is being compared with. A Linear-Time Bottom-Up Discourse Parser
Span attachment F1 on the RST-DT test set
The proposed parser recovers more of the annotated span structure than the published comparison systems.
The numbers
| System or setting | F1 |
|---|---|
| Ji and Eisenstein | 64.1 |
| Feng and Hirst | 68.6 |
| Mabona and colleagues | 67.1 |
| Zhang and colleagues | 67.2 |
| Fiacco and colleagues (this paper) | 71.7 |
Span and nuclearity F1 on the RST-DT test set
The proposed parser leads the comparison when an attachment must also have the correct nuclearity.
The numbers
| System or setting | F1 |
|---|---|
| Ji and Eisenstein | 54.2 |
| Feng and Hirst | 55.9 |
| Mabona and colleagues | 57.4 |
| Zhang and colleagues | 55.5 |
| Fiacco and colleagues (this paper) | 60.3 |
The results are different when a rhetorical label is required. The proposed parser achieved relation F1 of 44.5 and full F1 of 44.3 on the RST-DT test set. Ji and Eisenstein led the comparison with 46.8 for relation and 46.3 for full attachment. Feng and Hirst scored 45.8 and 44.6 on those measures. Recovering more of the span hierarchy and predicting nuclearity more accurately gave the proposed system more of the structure, while the joint requirement of finding a span and identifying its rhetorical role remained a comparative weakness.
The distinction makes a practical difference to the authors’ educational motivation. A span score indicates how well a parser reconstructs boundaries and groupings under the annotation. A feedback system concerned with a break in argumentative flow also needs to know what sort of relation has been identified. The newspaper results show that giving the action predictor more context improved important parts of its output. They give a mixed result for the more demanding output in which the rhetorical label must be correct as well.
The authors identify the pretrained dependency parser as the additional source of data for the benchmark system. Its syntactic features were learned outside the rhetorical parsing task. The discourse parser’s word embeddings did not need external pretraining. The paper reports that replacing random initialization with pretrained GloVe vectors did not significantly improve performance. This comparison concerns the word vectors used in the experiments, while the ablation of dependency features tests a separate source of information.
Developing writers’ essays
On the Turnitin test set, the unpruned parser scored 44.1 on span and 22.9 on span with nuclearity. Selecting the parent neurons raised those scores to 47.6 and 28.4. Ji and Eisenstein’s system scored 56.1 for span and 33.4 for span with nuclearity after adaptation to the student corpus. The feature selection helped the new parser recover structure under these measures, while the comparison system remained stronger on both.
Judging relation labels with their spans reverses the order. The unpruned parser reached relation F1 of 14.0. The version using neuron selection reached 18.0, and the Ji and Eisenstein baseline scored 1.2. The same order holds when both nuclearity and relation are required. On the student test set the full score was 12.4 without selection, 17.0 with selection, and 1.1 for the baseline. The authors report a significantly smaller loss of relation performance across the corpora for their versions than for Ji and Eisenstein’s system, with p < 0.001.
Span and relation F1 on the Turnitin student-essay test set
Selecting parent features yields the strongest relation score on student essays.
The numbers
| System or setting | F1 |
|---|---|
| Ji and Eisenstein | 1.2 |
| Fiacco and colleagues without neuron selection | 14.0 |
| Fiacco and colleagues with neuron selection (this paper) | 18.0 |
These are scores for recovering labeled attachments in a complete analysis. A system can find reasonable groupings while assigning labels that rarely match, which is consistent with the separation between the baseline’s span and relation scores. Conversely, the proposed parser’s advantage on relation F1 does not mean that it provides the strongest unlabeled reconstruction of the essay. Reporting both conditions is especially important here because a reader concerned with essay structure could reasonably want either capability, depending on how the output is to be used.
The authors report that performance declined significantly on student writing compared with the newspaper articles. The paper also records a qualitative failure specific to the intended feedback application. The parsers predicted JOINT too often, although it was only the 5th most common relation type in the student corpus. A parser may find a passage difficult to relate to its neighbors even where an annotator sees a recognizable connection. For feedback, repeated predictions of this kind would surface places that deserve different advice or that need no comment about a break at all. The aggregate relation score describes a broader set of decisions and cannot resolve that concern by itself.
How teacher comments correspond to annotated breaks
The paper separately examines whether a human RST annotation highlights places that matter to teachers. For 18 essays in Turnitin, experienced secondary-school English teachers gave feedback on how the essays were organized and how smoothly they read. Most of the suggested improvements concerned connections between parts of an essay. Some pointed to changes of focus within a paragraph, where a sentence seemed poorly prepared by what came before. Others involved whole paragraphs whose relation to the thesis or to the preceding discussion needed to be made explicit. The comments were anchored in the text, making it possible to compare their locations with those of JOINT relations in the reference trees.
For this comparison, the authors treat locations identified by teachers as reference segment boundaries. They use WindowDiff and Pₖ to measure how closely the boundaries from JOINT annotations correspond to the teacher-based segmentation. Both metrics consider local windows of text and favor closer agreement. In broad terms, WindowDiff penalizes a disagreement about how many boundaries fall inside a window, while Pₖ penalizes disagreement about whether the window’s endpoints belong to the same segment. The paper interprets lower values as better agreement, with the scores ranging from 0 to 1. An Evaluation Metric for Text Segmentation
Across the teacher-reviewed essays, mean WindowDiff was 0.31 and mean Pₖ was 0.34. The paper places these values next to a range of 0.2 to 0.4 that it describes as reasonable in text segmentation systems. It interprets the correspondence as a plausible indication of how well boundaries derived from RST could track the places teachers would flag. The comparison uses JOINT relations taken from human annotations. It evaluates a candidate representation of structural problems before asking how reliably a parser can produce that representation, or whether the resulting comments would lead to better revisions.
What the ablations show
Removing each source of information
An ablation tests a design choice by removing a component and measuring the changed system on the same task. The paper’s ablations use the RST-DT test set. They compare the full parser with variants that remove the dependency parse embeddings, the parent parser state, or the most nuclear EDU representation, and with an implementation of the underlying transition parser alone. These comparisons show what each information source contributes within the paper’s setup. They complement the comparisons with other published systems, which can differ in many ways at once.
Removing the most nuclear EDU representation produced the largest decline among the single-component removals. On the RST-DT test set, this variant scored 68.4 for span, 57.2 for span with nuclearity, 42.7 for span with relation, and 42.4 for full attachment. Its span result fell behind Feng and Hirst’s 68.6, and the nuclearity result fell behind Mabona and colleagues’ 57.4. The comparison supports the practical value of adding the central-unit task and its representation. The tested configuration puts those elements together, so the result concerns their combined contribution.
There are plausible routes by which that change could help. The selected unit provides a recurring piece of lexical context for decisions at otherwise distant points. Training to identify that unit also introduces a document-level objective grounded in the hierarchy. The ablation does not separate those routes. In particular, it does not compare the predicted unit with an arbitrary or differently selected passage while preserving the additional supervision. The result ties the gain to the package the authors introduced. It leaves open how much comes from the content of the supplied unit and how much from the auxiliary training task.
Removing the parent state reduced span F1 to 70.2 on the RST-DT test set. Span-with-nuclearity F1 was 57.2, the same as when the most nuclear unit was removed. Relation F1 was 43.0 and full F1 was 42.9. The especially clear effect on nuclearity shows that the parent features add useful information even in a child that already has the direct document reference. The particular judgments those features support are harder to identify from the aggregate scores. The child sees an aligned representation of the parser state, which includes information about the evolving structure and the remaining text.
Omitting the syntactic dependency embeddings had the smallest effect of the individual removals. The resulting RST-DT test scores were 71.2 for span, 58.4 for nuclearity, 43.6 for relation, and 43.6 for full attachment. The pattern associates syntactic information with improvements across the evaluated outputs. It also makes clear that the added grammatical representation cannot alone account for the difference between the full parser and the transition-only implementation. Its contribution appears alongside the effects of giving the action predictor a direct document reference and a representation from the earlier training stage.
The transition-only implementation reached RST-DT test F1 of 67.2 for span, 53.7 for nuclearity, 39.9 for relation, and 39.8 for full attachment. The span score remained competitive with several earlier systems, while both relation measures were substantially below the full version of the proposed parser. The authors report that all ablation conditions differed significantly from the final system at p < 0.05. Each row describes behavior after a particular change. The results do not give independent quantities that can be added together to predict how a new combination of components would perform.
Passing fewer parent features
The comparison with and without neuron selection asks a different question from the ablation that drops the parent state. Here the parent remains available in both cases. The change is which coordinates reach the child. On the RST-DT test set the version using selection reached 70.6 for span, 59.7 for nuclearity, 44.4 for relation, and 44.3 for full attachment. Its full score matched the unpruned result, while the other measures favored the unpruned configuration. On the Turnitin test set, selection improved all four reported measures over the unpruned parser. The paper reports a significant improvement with selection on that corpus at p < 0.001.
This pattern fits the paper’s proposal to use selection when the target writing is less consistent. Passing the full state worked well for the newspaper benchmark, while the narrower state helped on essays. The comparison identifies a difference in performance between the feature settings. It cannot say which removed coordinates would have led to errors, or establish that high-variance components encode general rules while the rest encode exceptions. Those are interpretations of why the procedure might work. The separate finding about GloVe also concerns a different intervention, replacing the source of the initial word representations rather than reducing the information received from an aligned parent.
The qualitative JOINT observation identifies a failure that persists in spite of the gains. The paper reports overprediction across the parsers, including the systems with better aggregate relation F1 on the student corpus. The result points to a gap between recovering a wider range of labeled attachments and reliably recognizing one relation of particular interest to teachers. The experiments establish the former improvement under the stated evaluation. The analysis of JOINT explains why that improvement alone leaves the feedback question open.
Limitations
Limits identified by the authors
The authors leave open direct validation of automatically predicted JOINT relations against teacher comments. Their teacher study compares the location of comments with JOINT in human-annotated trees. Their parsing experiments compare predictions with those trees. Each comparison addresses a distinct link in the argument for using RST in feedback. Even if an annotated relation usually marks a meaningful break, a parser might put that relation in the wrong place. And even when a parser agrees with the annotation, the teacher may be concerned with a more specific issue, such as a paragraph’s failure to connect to the thesis.
The authors also leave the design and evaluation of feedback for future work. Their example illustrates the sort of suggestion that a difficult-to-connect sentence could prompt. It does not establish how a student would understand such a suggestion or what revision it would produce. A discourse analysis gives a possible location and a description of a connection. Choosing how to explain that connection, deciding whether the student should clarify, move, or remove material, and determining how a teacher could use the output are separate instructional tasks. The paper proposes studying how teachers and students respond to that support.
Another stated limit concerns the interpretation of the parent features. The authors use the PCA portion of earlier work on neural pathways and leave the remaining interpretive stages for later investigation. They do not compare in detail the functions learned by a parser trained on cleaner writing and one trained only on noisier essays. The language of general patterns and exceptions motivates the design. The experiment evaluates whether transferring selected features helps, without tracing the behavior of those features to particular discourse judgments.
The authors also call attention to how far performance falls on the student corpus. The system’s advantage in relation F1, even after pruning, is relative to the comparison system on a demanding test set. The persistent overuse of JOINT is a particular concern because the educational example depends on precision about where an essay loses its thread. The paper identifies understanding those errors as important to further work on variably structured writing.
Limits visible in the evaluation
The tree-defined central unit is a useful target for supervised learning, but it captures a specific operational meaning of centrality. When several branches have equal nuclear status, the left-branch convention resolves the choice. This supplies a stable training label without requiring an extra annotation task. It can also favor one passage over another for reasons of position in the tree. There is no separate evaluation here showing that the chosen leaves align with the statements teachers would identify as an essay’s thesis, or that the method can supply an equally informative reference when an essay develops several main ideas.
The additional input represents one selected EDU. This is a focused intervention for a parser suspected of relying too much on nearby information. The reported ablation shows that the intervention helps whole-tree measures on the newspaper benchmark. The tests do not group errors by the distance between related passages or by how much earlier or later material a decision requires. As a consequence, the empirical gain does not identify a range of long-distance relationships that the parser has learned to handle. It is also possible for the central vector to provide useful topic information when the attachment itself is local.
The evidence from the student corpus comes from a particular collection of secondary-school writing assignments and a held-out test set of 28 essays. Variation among genres and writers in that collection gives the experiment a more substantial challenge than a single classroom prompt would provide. Even so, the contrast with Wall Street Journal articles changes several properties at once. The corpora differ in writer experience, editing, genre, and the kinds of relations the annotations need to represent. The experiment measures the combined effect of encountering the new corpus under the stated training procedure. It does not isolate a causal effect of any single property of student writing.
The teacher comparison is also limited in scope. It studies comments on 18 essays and reduces comments about organization to boundary locations for the purpose of measurement. A comment can concern the connection between nonadjacent passages or call for a more explicit relation between a paragraph and the thesis. Encoding that comment as a boundary captures where the teacher noticed difficulty while setting aside some of the substance of the diagnosis. WindowDiff and Pₖ quantify agreement on segmentation under that encoding, without measuring agreement on what advice would address the problem.
The micro-averaged attachment scores answer a different question from whether the system would flag a particular problem accurately enough for a learner. They pool decisions over documents and relation types, while the feedback proposal depends on predictions for a relation known to be overused. The paper supplies no separate JOINT precision and recall result that could show how often a predicted break corresponds to a reference break and how many such breaks the parser misses. Similarly, because the relation measure requires a matching span, it cannot distinguish every error of labeling from an earlier error of grouping. Those distinctions matter for diagnosing which part of the analysis would have to improve for the proposed feedback to be reliable.
Finally, the pruning result establishes a comparison between the paper’s selection procedure and use of the full parent state. It does not include a comparison with an equally sized subset chosen by another rule. Such a comparison would help distinguish the value of the PCA ranking from other effects of using fewer input features. The parent state ablation and the pruning experiment still establish distinct findings. Access to the parent helped the full benchmark parser, and reducing the transferred dimensions improved the student results under the tested selection rule. The explanation for why those dimensions helped remains less specific than the measured effects.
What came after
Locating stance within written text
Span Identification of Epistemic Stance-Taking in Academic Written English cites the paper and studies a related question about locating a linguistic function in a text. Its title identifies the target as epistemic stance, a writer’s expression of a position in relation to knowledge or certainty. Fiacco and colleagues locate rhetorical structure through spans and connections among them. The later study’s stated task centers on spans associated with stance-taking. The connection is at the level of making a feature of writing locatable. The citation alone leaves open whether the study used the RST representation, the transition parser, or either of its added inputs. Span Identification of Epistemic Stance-Taking
This distinction helps clarify what span identification means in the original experiments. For Fiacco and colleagues, a span is recovered as part of a hierarchy of combinations, and the score may require that the resulting attachment carry the correct nuclearity or rhetorical label. Identifying a stretch of academic writing for its epistemic function puts the emphasis on what happens within that stretch. Both tasks are interested in where the relevant evidence occurs, while their titles and the original paper’s formulation give different accounts of what the identified text is meant to represent.
Classifying an implicit discourse relation
A Side-by-side Comparison of Transformers for English Implicit Discourse Relation Classification also cites the paper. Its stated focus is the classification of an implicit discourse relation, where the connection is not overtly signaled. This is close to the problem Fiacco and colleagues describe when transitions are missing or unreliable. It also brings the relation decision into focus as a task in its own right. The original parser is judged on whether it can recover the span and assign the correct label as it constructs the full tree. The later work’s title identifies a comparison of approaches to relation classification in English. A Side-by-side Comparison of Transformers for Implicit Discourse Relations
The citation establishes a connection between studies of discourse relations, while the title does not establish that the comparison reused the student corpus, central-unit prediction, or parent-state selection. Read alongside the stance study, it shows two directions in which the cited problem can be narrowed. One concerns locating text that performs a particular function. The other concerns naming a connection whose role has to be inferred. Fiacco and colleagues’ contribution addresses those kinds of judgments together with a further obligation: placing the labeled connections into a hierarchy that accounts for the organization of an essay.
Cite
Cite as James Fiacco, Shiyan Jiang, David Adamson and Carolyn Rosé. 2022. Toward Automatic Discourse Parsing of Student Writing Motivated by Neural Interpretation. Proceedings of the 17th Workshop on Innovative Use of NLP for Building Educational Applications (BEA 2022).
@inproceedings{fiacco2022toward,
title = {{Toward Automatic Discourse Parsing of Student Writing Motivated by Neural Interpretation}},
author = {James Fiacco, Shiyan Jiang, David Adamson and Carolyn Rosé},
booktitle = {Proceedings of the 17th Workshop on Innovative Use of NLP for Building Educational Applications (BEA 2022)},
year = {2022},
doi = {10.18653/v1/2022.bea-1.25},
url = {https://doi.org/10.18653/v1/2022.bea-1.25}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/fiacco-2022-automatic-discourse-parsing-student-writing/