A Distance-Aware Multi-Task Framework for Conversational Discourse Parsing
Paper · 2022 · Yaxin Fan, Peifeng Li, Fang Kong et al.
Summary
When several people are talking at once, the latest message may answer a question asked well before the previous turn. A reader who follows only the order of the messages can miss which question was answered, which claim prompted a clarification, or which comment explained a result. Conversational discourse parsing turns those connections into an explicit structure. In the setup studied in this paper, an utterance is an elementary discourse unit, or EDU. The parser identifies an earlier unit for an attachment and assigns a relation to the link. The resulting dependency tree describes how the conversation fits together. Such structure can inform tasks such as dialogue reading comprehension and summarization.
The authors start with a comparison on STAC and Molweni, two collections of annotated multi-party chats. A graph-based parser scores possible pairs and uses those scores to assemble a tree. A transition-based parser works through the conversation, selecting an attachment for the current unit as it builds the structure. With a comparable dialogue encoder, the graph-based parser was more accurate on links at distance 1, where the units are neighbors. The transition-based parser did better at distances greater than 1. This gave the authors a concrete reason to combine the approaches. The parser that was stronger on adjacent turns could use structural evidence from the one that handled links across intervening turns better.
Their framework, DAMT, lets the two branches interact at different stages. First, a shared hierarchy of recurrent encoders reads words within each utterance and then reads the utterances as a conversation. An encoding interaction module lets each branch draw on the other branch’s representation through attention. Next, the transition branch uses a pointer network to choose earlier units and predict relation types. A distance-aware graph convolution passes information along those predicted links, weighting each link using its distance category and relation type. The graph branch combines that information with its own representation of candidate pairs and makes the final attachment and labeling decisions.
Across both benchmarks, DAMT led the reported comparison on both link-only and joint link-and-relation F1 in the experiments without a pretrained dialogue encoder. On the Molweni test set, for instance, its F1 scores were 82.25 for links and 57.35 for links with their labels, compared with 81.15 and 56.93 for the graph-based SSAM baseline. DAMT also led the reported comparisons with pretrained representations. The distance analysis locates much of the benefit in attachments that skip intervening utterances. On those links, removing either interaction component reduced accuracy in both test sets, and removing the graph convolution had the larger effect of the two individual removals. The authors released their implementation in the DAMT code repository.
Deep dive: A Distance-Aware Multi-Task Framework for Conversational Discourse Parsing
How a distance-aware parser combines two ways of tracing replies in multi-party conversations, and where the combination improves discourse links. · about 35 minutes to read
The problem and its context
A conversation has an order and a structure
The paper illustrates the task with a technical support conversation from Molweni. One participant reports a compiler problem. Another asks what project is being built. A different participant describes the compiler failing on a simple program, and further questions raise possible causes or ask for diagnostic information. Near the end, someone asks about installed packages, and the original participant asks how to find that out. A message’s position tells the reader when it appeared. Its connection to an earlier message tells the reader what it is doing in the conversation.
The distinction becomes important as soon as several issues are under discussion. A question about installed packages can refer back to the earlier failure while the response asking how to check those packages can attach directly to that question. Both attachments are part of the same exchange. One crosses intervening turns, and the other connects neighbors. Recovering the exchange requires representing both kinds of connection within one structure.
The paper frames this as a form of dependency parsing. The basic objects here are utterances in a conversation. A dependency link identifies which earlier unit a later one is connected to, and a relation label describes the connection. For example, a question can seek clarification about an earlier report. The endpoint decision identifies the report, and the label decision identifies what kind of question the later utterance poses in relation to it. A parser can succeed on one decision and fail on the other.
That distinction also explains the paper’s interest in practical applications. A reading comprehension system can use discourse structure to locate which message supplies context for a question. In meeting summarization, links can help tie a later clarification to the issue it clarifies. The authors also point to previous applications in response generation and emotion recognition. In this paper the object of evaluation is the recovered discourse structure itself.
Why the authors use conversational dependencies
The authors place their work in the tradition of Segmented Discourse Representation Theory, or SDRT. Their motivation is that multi-party conversations admit crossing dependencies. If utterances are laid out by time, a response can reach back into an earlier thread while contributions to another thread intervene. The placement of the endpoints can make the links cross when drawn over the sequence. A representation that permits such attachments can express how the threads are interleaved.
The paper distinguishes this setting from the monologue parsing work it reviews under Rhetorical Structure Theory, or RST. In its account, the RST setting organizes relations around neighboring spans, while conversational SDRT supports dependency structures with crossings. The unit of analysis also differs in the authors’ description. An EDU can be a phrase or sentence in monologue, whereas the conversation setup treats an utterance as the unit. The paper’s architectural choices concern this conversation-level dependency problem.
The authors recall several strategies from earlier RST parsing, including greedy procedures that build larger structures from smaller ones, algorithms based on CYK, and transition procedures. The relevance of that history is that discourse parsing offers several ways to search for a structure. For the conversational task, the authors focus on a more specific distinction. One family scores candidate attachments before choosing a structure. The other makes successive attachment decisions while maintaining a representation of previously built structure.
The availability of SDRT-style conversational corpora makes that distinction testable. The STAC corpus supplies examples from game chat. Molweni supplies examples from technical support conversation. Both let researchers ask whether the parser recovered the connection between particular utterances and whether it assigned the annotated relation. A pair’s distance can be read from its positions, making it possible to compare the same task at different degrees of separation.
What earlier graph and transition parsers could use
In the graph-based family, the parser first assigns scores to candidate EDU pairs. A decoding procedure then turns those scores into an overall discourse structure. Early approaches reviewed by the authors calculated candidate scores from manually selected features. They used methods such as maximum spanning trees, A* search, and integer linear programming to select structures. These are examples of how the pair-scoring and structure-selection stages can be separated. Constrained decoding for discourse parsing, multi-party chat parsing, and integer linear programming for discourse parsing.
In the later graph-based work discussed by the paper, more of the evidence came from learned representations. An edge-centric approach used interactions among pair representations to improve the evidence available for scoring. Another approach used a syntactic dependency graph to strengthen the representations of the utterances before scoring their discourse relationships. Syntax and discourse play different roles in that setup. The syntactic connections provide input evidence, and the discourse dependency between utterances is the output to be predicted. Joint dropped-pronoun recovery and discourse parsing.
A transition-based parser gets its structural context in a different way. At a given step, it has a current utterance and possible predecessors. It selects an attachment while carrying information from earlier decisions. The deep sequential approach discussed by the authors makes link decisions and relation decisions in alternation, using local utterance evidence together with the structure built so far. A subsequent approach improved the utterance representation with cohesion information, including lexical chains and coreference chains.
The labels graph-based and transition-based therefore refer to the way the parse is constructed. A graph-based parser can encode utterances using an ordered recurrent encoder. A transition-based parser can use a graph mechanism to represent cohesion. Neither choice changes the basic distinction between assembling a parse from pair scores and constructing it through successive decisions. This matters for DAMT because the authors give both branches access to enriched representations while preserving their different decoding procedures.
The paper also describes earlier work that combined the two families for syntactic dependency parsing. Sharing an encoder allowed the tasks to influence a common representation through training. The authors ask how to make the exchange more direct for conversation. Their design gives each branch an explicit way to read the other during encoding. It also provides a separate route for the transition branch’s predicted attachments to influence the graph branch’s decisions. The second route is especially important to the research question, since it lets the graph decoder receive specific structural predictions and use distance to decide how to represent them.
The method, step by step
From a chat transcript to candidate attachments
The input is a sequence of utterances in the order they occurred. The encoder turns the words in each utterance into a vector, then revisits those vectors in conversation order. Both decoding branches begin with representations from this hierarchy. The transition branch will eventually use one vector per utterance as a candidate for its pointer. The graph branch will retain a vector for each candidate pair, because its final decision is made by scoring pairs. The intermediate encoding steps supply the context that these different decisions need.
The information exchange happens before and after the transition branch makes its predictions. The first exchange concerns the representations of the conversation, while the second concerns links that the pointer has already selected. In the second exchange, a graph convolution summarizes information carried by those selected links and feeds the result to the final pair scorer. The final graph decoder can use that evidence along with its own view of the conversation.
From utterance sequences to a labeled discourse tree
The steps in order.
Read within utterances, then across the dialogue
The paper calls the first component the encoding module. Its basic operation is a gated recurrent unit, or GRU. A recurrent encoder reads a sequence by updating a state as it goes. In a bidirectional GRU, one pass reads the sequence in its original direction and another reads it in reverse. For the first level, the sequence is the words of the utterance. The authors concatenate the last hidden state of each direction to represent that utterance.
D = {u₁, u₂, …, uₙ}
Here D denotes a dialogue. The symbol u denotes an utterance, and the subscript identifies its position, from the first unit u₁ to the last unit uₙ. The dots stand for intervening units. The notation lists the members in conversation order, which is the order the recurrent encoder uses. In the architectural description, n counts the utterances. The paper also introduces a dummy root u₀ for the beginning of the conversation.
The second bidirectional GRU takes the utterance vectors in sequence. At this level, the states represent the utterances in the context of the whole dialogue. The first level can encode what an individual message says. The second can bring in the exchange around it, so a short question can be represented in the context of the surrounding discussion. Since this pass is bidirectional, the resulting vectors can reflect utterances on both sides of a given position.
The paper denotes the representations that enter the transition and graph branches by Hₜd and Hgd, respectively. Each has n utterance positions and a feature size d. The same hierarchy provides the basis for both tasks. The following component gives them a direct way to modify their representations using the counterpart branch.
Let each branch consult the other
The Encoding Interaction Module, or EIM, starts with self-attention. Attention forms a weighted combination of information from a collection of positions. It uses a query to specify which information is wanted, keys to determine which positions match that query, and values to supply the information to be combined. In self-attention, all three come from the same sequence. Multi-head attention carries out several such comparisons through separate projections, allowing the output to combine different patterns of relevance. The authors use the attention operation described in Attention Is All You Need.
Hₜ = SA(Wˢq Hₜd, Wˢk Hₜd, Wˢv Hₜd)
Hₜ is the transition branch’s output from this self-attention step. SA denotes multi-head self-attention. Hₜd is the dialogue representation entering that branch. Wˢq, Wˢk, and Wˢv are learned projections for the queries, keys, and values, respectively. The superscript s identifies the self-attention stage. Each projection is applied to the same input sequence.
Hg = SA(Wˢq Hgd, Wˢk Hgd, Wˢv Hgd)
Hg is the corresponding self-attention output for the graph branch. Hgd is that branch’s input dialogue representation. SA again denotes multi-head self-attention, with Wˢq, Wˢk, and Wˢv denoting the query, key, and value projections as written by the authors. Since the queries and context in this equation all come from Hgd, this step contextualizes the graph branch internally.
The next attention step uses the sequence from one branch as its queries and the sequence from the other as its keys and values. The query source determines which representation is being updated. The key and value source determines where it looks for information. The authors run this operation in each direction. Their subscripts use the arrow from the query branch to the branch it consults.
Hg→t = UCA(Wᶜq Hg, Wᶜk Hₜ, Wᶜv Hₜ)
Hg→t is the result of graph-branch queries consulting the transition context. UCA denotes unidirectional cross-attention. Wᶜq, Wᶜk, and Wᶜv are learned projections for queries, keys, and values at the cross-attention stage, indicated by c. Hg provides the queries. Hₜ provides both the keys used for matching and the values used to update the graph representation.
Hₜ→g = UCA(Wᶜq Hₜ, Wᶜk Hg, Wᶜv Hg)
Hₜ→g is the result for transition-branch queries consulting the graph context. UCA again denotes unidirectional cross-attention, and Wᶜq, Wᶜk, and Wᶜv again denote its query, key, and value projections. Hₜ is now the source of the queries and Hg is the source of the keys and values. The two directions together supply the bidirectional connection described by the authors.
Each branch then adds its cross-attention result to the representation it had just before asking the other branch for information. This addition is a residual connection. It gives the next operation access to the branch’s own representation alongside the information obtained through cross-attention. Layer normalization acts on the combined representation.
Hₜc = LayerNorm(Hₜ + Hₜ→g)
Hₜc is the transition representation after the interaction. LayerNorm denotes layer normalization. Hₜ is the transition self-attention output, Hₜ→g is what the transition queries retrieved from the graph context, and the plus sign adds the aligned features of the two representations.
Hgc = LayerNorm(Hg + Hg→t)
Hgc is the graph representation after the interaction. Hg is the graph self-attention output. Hg→t is the information obtained using graph queries over the transition context. The plus sign adds the representations before LayerNorm normalizes the sum.
These updates happen before either branch supplies a hard attachment decision. Their purpose is to exchange information about what the utterances and their contexts represent. In a conversation about a program failing to compile, both branches have access to the same ordered utterances. Through cross-attention, each can use signals emphasized by the other branch when forming its own representation of that exchange. The paper motivates this kind of explicit interaction with earlier multitask work, including joint intent and slot prediction. Bidirectional interaction for intent detection and slot filling.
After the exchange, the authors apply Structure Self Attention, or SSA, from earlier graph-based parsing work. It injects conversational structural information and represents pairs of units. The outputs are Hₜs and Hgs, for the transition and graph branches respectively. Each has two EDU axes, both of size n, and a feature axis of size d. A pair representation can carry information about the connection between its two endpoints. The graph decoder preserves that pairwise view, while the transition decoder summarizes it to obtain vectors it can point to.
Build a tree with the pointer network
The transition module first applies mean pooling to Hₜs. Mean pooling aggregates values by averaging them. Here it turns the pair representations into Hₜm, which has one vector of size d per utterance. The structural information introduced at the pair stage can thus contribute to the vectors used by the pointer. At the next stage, those vectors provide both the inputs to the decoder and the candidates among which it chooses.
The decoder itself is a unidirectional GRU. Its initial state combines the final states of the hierarchical encoder’s forward and backward directions. As the decoder works through the sequence, its output state supplies the current decision with context inherited from previous steps. At a step concerning a given utterance, the pointer compares that state with the representations of the preceding units. The name pointer refers to the fact that the selection identifies a position in the conversation.
The comparison uses biaffine scoring. A bilinear term lets features of the candidate utterance interact with features of the current decoder state. Separate linear terms allow either input to contribute to the score on its own, and a bias supplies an additional learned offset. The paper writes the scoring operation using the pooled representation Hₜm. In a score indexed by a specific candidate, the relevant vector from that representation is the one for that candidate.
sⱼᵢ = (Hₜm)ᵀ W hᵈₖ + U Hₜm + V hᵈₖ + b
Here i is the index of the current EDU, j is the index of a previous EDU, and k is the decoding step. The output state at that step is hᵈₖ. Hₜm is the pooled transition representation, read at candidate j for the score sⱼᵢ, and T denotes transpose. W is the learned weight of the bilinear term. U and V are learned weights for the candidate and decoder contributions, and b is a bias. The score has output width m. The authors set this width to 1 for link prediction and to the number of available relations for relation prediction. The displayed expression is the affine scoring operation used to obtain the predictions.
There are two distinct outputs to preserve when the pointer has finished. One is the set of selected attachments. The other is the predicted relation associated with each of those attachments. The authors represent the first with an adjacency matrix A. The matrix has n rows and n columns for a conversation with n utterances. The entry Aᵢⱼ is 1 when the transition structure contains the link between the indexed units in that entry. An absent edge contributes nothing through this adjacency. The selected relation remains available as an attribute of a predicted edge.
This conversion is the point at which a sequential prediction becomes graph input. A recurrent state can reflect the history of the transition decoder, but it does not by itself give the graph branch a list of the attachments chosen by the pointer. The adjacency makes the choices available as links between utterances. A predicted edge that spans a stretch of conversation can thereby connect its endpoints directly for the next computation.
Weight the predicted graph using distance and relation
The distance-aware decoding module uses a graph convolution, called DAGCN, to process the pointer’s structure. It starts from a simple premise. A predicted link’s value as evidence for the final decoder can depend on its distance and on the type of connection the pointer predicts. The authors give the network a way to learn this dependence by attaching a weight to each predicted link.
Distance here means separation in EDU positions. The paper’s example puts u₁ and u₂ at distance 1 and u₃ and u₈ at distance 5. The implementation assigns distances greater than or equal to 2 to the category 2. Thus the weight calculation can distinguish adjacent links from the longer group. It can also distinguish relation types within either distance group.
The attributes are represented by learned embeddings. Wd is the lookup matrix for distances, with Nd indexing the available distance categories. Wr is the lookup matrix for relations, with Nr indexing the available relation types. The feature width of either embedding is d′. The lookup selects the embedding associated with the active category in a one-hot indicator. A one-hot indicator identifies a category by giving it the active position in a vector.
αᵢⱼ = W [dis(dᵢⱼ) : rel(rᵢⱼ)]
The scalar αᵢⱼ is the learned weight for the entry indexed by i and j. The symbol dᵢⱼ denotes the EDU distance, represented by its category at lookup time, and rᵢⱼ denotes the transition branch’s predicted relation type. The function dis selects the corresponding distance embedding from Wd, and rel selects the relation embedding from Wr. The bracketed colon means concatenation, giving a vector of width 2d′, where d′ is the width of each embedding. W maps that combined vector to an edge weight. This W belongs to the edge-weight computation.
Distance and relation enter the computation as attributes of a prediction. The graph branch has yet to choose its final labels. A transition prediction of a clarification therefore has two roles at different stages: it is the pointer’s candidate interpretation of the link, and it supplies evidence to the weighting of that edge. The graph branch can subsequently choose another label. The equation also leaves the relative weights to training. The fact that an edge is long supplies a category to the lookup, while the fitted parameters determine its numerical contribution.
A′ᵢⱼ = αᵢⱼ Aᵢⱼ
A′ᵢⱼ is the weighted adjacency entry at indices i and j. Aᵢⱼ records whether the transition branch selected the link, and αᵢⱼ is the weight computed from its attributes. Multiplication retains a weighted value for selected links and leaves an absent link at zero. The authors then add an identity matrix to A′. This provides a self-connection at each utterance position for the convolution.
There is a useful distinction between this graph and the collection of pair representations held by the graph branch. The adjacency contains the pointer’s selected links. The pair representations cover candidate pairs for the graph decoder. The selected edges control where the convolution aggregates information. They enter the final scorer through the resulting features, so the set of pairs available to that scorer is still the graph branch’s candidate set. A missed pointer attachment can remain a candidate for the final parse.
Bring graph features back to the candidate pairs
To supply features at the nodes of the graph, the authors mean-pool the graph branch’s pair representation Hgs. This gives Hgm, an utterance representation with n positions and feature width d/2. The graph convolution uses those features and the weighted adjacency. In broad terms, each node receives a mixture of features available through its incident entries in the adjacency. The computation maintains a direct contribution from the pooled representation through a residual addition.
Hgcn = ReLU(A′ Hgm W) + Hgm
Hgcn is the output of the graph convolution and has one row per utterance with feature width d/2. A′ is the weighted adjacency with the self-connections added. Hgm is the mean-pooled graph representation, where d is the main hidden width and d/2 is the width used here. W is the convolution’s learned parameter matrix. ReLU applies the rectified linear operation to the transformed graph aggregation. The plus sign adds the original pooled features back to the result.
The adjacency in this computation comes from the transition branch. The vectors being aggregated come from the graph branch. This division matters for understanding what passes between them. The pointer has chosen which pairs of units are connected and supplied labels for those choices. The graph branch still supplies the substance of the features that are combined across the chosen connections. Both sources therefore affect the result of the convolution.
The authors broadcast the resulting node features to the pairwise representation and add them to Hgs. Broadcasting makes the utterance-level information available at the relevant pair positions. The fused representation Hf has n positions on each of its two EDU axes and a feature width d. The paper then applies separate multilayer perceptrons to this fused representation. A multilayer perceptron transforms its input features into the scores needed for a prediction.
Sₗ = Softmax(MLP(Hf))
Sₗ is the link prediction output, with the two EDU axes and a final width of 1 as reported in the paper. The subscript l identifies the link output. Hf is the fused representation for the candidate pairs. MLP here denotes the link-scoring multilayer perceptron, and Softmax turns scores into a probability distribution over the relevant alternatives. The compact formula does not specify the normalization axis.
Sᵣ = Softmax(MLP(Hf))
Sᵣ is the relation prediction output, with the two EDU axes and a final width m, where m is the number of relation types in this prediction. The subscript r identifies the relation output. Hf is again the fused pair representation. MLP now denotes the separate relation-scoring multilayer perceptron, and Softmax supplies probabilities for the relation choices.
The final graph stage uses greedy decoding on the link scores. A greedy procedure makes its selections according to the scores available at the step, and the paper describes using it to obtain a high-scoring tree. Once the procedure selects an attachment from uⱼ to uᵢ, the corresponding entry in Sᵣ supplies the relation probabilities. The two predictors consequently have different responsibilities even though both read Hf. The link scorer determines which pairs enter the tree. The relation scorer supplies the type for a pair once its link has been selected.
Train both decoding branches
DAMT trains the transition and graph branches together. Each has an attachment objective and a relation objective. The transition attachment probability explicitly conditions on the history of the sequential decisions. The graph attachment term scores gold links from the candidate pairs. This assigns supervision to the pointer that supplies the graph as well as to the graph decoder that produces the final parse.
The authors write the transition objective as a sum of negative log-probability terms. In the prose below the equation, they use n for the number of dependency links in the loss. This is a separate use of n from its use to specify the utterance axes of the representations.
Lₜ(θₜ) = −∑ₜ₌₁ⁿ log Pθₜ(yₜ | y<ₜ, X)
−∑ₜ₌₁ⁿ ∑ⱼ₌₁ᵐ rₜ,ⱼ log Pθₜ(rₜ, X)
Lₜ is the transition loss and θₜ denotes the transition branch’s parameters. The symbol ∑ denotes summation, t indexes the current attachment step, n is the number of dependency links used in the objective, and 1 marks the first summation index. Pθₜ is the probability assigned by the transition branch, log is the logarithm, and X denotes the input conversation. In the first term, yₜ is the target attachment and y<ₜ is the structure produced before step t. The bar indicates conditioning on that history and the input. In the second term, j indexes a relation category up to m, the total number of categories, and rₜ,ⱼ indicates the gold label. The expression Pθₜ(rₜ, X) is the paper’s shorthand for the relation prediction at step t given the input. The class index is explicit in the target indicator and implicit in the probability term. The leading minus signs make higher assigned probabilities for the targets correspond to lower loss.
Lg(θg) = −∑ᵢ₌₁ⁿ y* log Pθg(yₜ, X)
−∑ᵢ₌₁ⁿ ∑ⱼ₌₁ᵐ rᵢ,ⱼ log Pθg(rᵢ, X)
Lg is the graph loss and θg denotes the graph branch’s parameters. The summation over i runs from 1 to n, the paper’s count of dependency links for this objective. In the relation term, j runs from 1 to m, the number of relation categories. The gold link indicator is y*, Pθg is a probability from the graph branch, log denotes the logarithm, and X is the input. The link probability is written with yₜ even though the displayed summation uses i. It describes the probability term for the attachment being scored. The indicator rᵢ,ⱼ marks the gold relation for item i, and rᵢ denotes the relation at that item, again with the class index implicit in the probability term. The authors describe this objective as cross-entropy against gold attachments and labels. The minus signs give the negative log-probability contributions for those targets.
L = Lₜ + Lg
L is the joint training loss. Lₜ is the transition objective, and Lg is the graph objective. The plus sign adds their contributions directly. The expression supplies one objective for training both tasks. It does not specify further details of how discrete pointer selections are handled during optimization.
The training procedure uses the corpus preprocessing of the earlier deep sequential parser. In the experiments without a pretrained dialogue encoder, words are initialized with GloVe embeddings and updated through fine-tuning during training. The word embedding width is 200 for Molweni and 100 for STAC. The hidden representation width d is 256. The EIM uses a depth of 1 with 4 attention heads, and SSA uses a depth of 2 with 4 heads. The distance and relation embeddings used in DAGCN have width d′ of 8.
For this configuration, the authors use dropout at 0.5 and optimize with stochastic gradient descent. The batch size is 150 on Molweni and 70 on STAC. The initial learning rate is 3e-2. A separate experimental condition uses XLNet to obtain the EDU representations. It uses a hidden width d of 768, the AdamW optimizer, and a learning rate of 3e-4. These settings matter when reading the benchmark table because the pretrained condition changes how the initial utterance evidence is obtained and how training is configured.
Experiments and results
Two annotated chat benchmarks
STAC comes from conversations around the online game The Settlers of Catan. The paper reports 1,062 dialogues for training and 111 for testing. Molweni comes from Ubuntu Chat and has 9,000 training instances, 500 validation instances, and 500 test instances. The authors describe both datasets as using 16 discourse relation types. The domains differ, so a result on both corpora shows that the comparison extends across the game chats and the technical support chats used in the experiments. The Ubuntu Dialogue Corpus.
Adjacent links are the most common in both training sets. On Molweni, the percentages are 64.94 at distance 1, 21.49 at distance 2, 7.38 at distance 3, and 6.19 in the category for distances of 4 or more. For STAC, the corresponding training percentages are 55.63, 21.26, 10.63, and 12.48. These are descriptive categories for the data analysis. The convolution uses the coarser division between distance 1 and the category 2 for longer links.
The distribution gives a reason to read the overall results alongside the distance analysis. A parser can do well on a benchmark partly because it recovers the common links between neighboring units. A benefit on a less common category may be important to recovering the exchange while receiving less emphasis in an aggregate score. Conversely, a gain on an infrequent subset supplies only part of the evidence about overall parsing. The authors report both views.
What the evaluation counts
The main comparison uses micro-averaged F1, expressed as a percentage. Micro-averaging pools decisions across the evaluation examples before calculating the score. F1 balances precision, the share of predicted items that are correct, with recall, the share of reference items recovered. Here the definition of a correct item depends on which column is being read.
Link credits a prediction when its attachment matches the annotated attachment. Link&Rel requires the attachment and the relation type to match together. Suppose a later question is correctly tied to the earlier remark that prompted it. If the parser assigns the wrong type to that connection, the result can count for Link while failing Link&Rel. The joint measure therefore assesses whether the recovered edge also has the right discourse interpretation. It does not isolate labeling performance on a fixed set of gold attachments.
The distance analysis and the ablation use link accuracy for the indicated subsets. In the distance analysis, the authors group links by how far apart the endpoints occur. For an ablation, they pool the test links with distance greater than 1 and compare the proportion recovered by different versions of DAMT. Those percentages answer a narrower question than the main F1 scores. They should be read with their distance group, split, and metric attached.
The comparison systems
The transition baselines include DSM, LCCC, and PN. DSM is the deep sequential parser that uses previously predicted structure while alternating link and relation decisions. LCCC extends that approach by adding cohesion information to the utterance representations. PN is the pointer-network baseline from the DAMT study. The authors obtain it by dropping the encoding interaction and distance-aware decoding modules, leaving the transition route. PN provides a direct comparison with the kind of decoder from which DAMT takes its intermediate graph.
The graph baselines are DiscProReco and SSAM. DiscProReco uses syntactic dependency evidence to enrich the representation used for pair scoring. SSAM uses structure self-attention and auxiliary training signals to enrich candidate pair representations. SSAM is a particularly relevant comparator because DAMT also adopts the structure self-attention mechanism. The system comparison tests whether the additions on top of structure-aware representations deliver a better final parse.
The table separates results with and without pretrained representations. The authors reproduce DSM and SSAM scores using released implementations. Some baselines appear only for one benchmark or condition. LCCC contributes scores to the non-pretrained STAC comparison. DiscProReco contributes to the pretrained STAC comparison. The scope of a ranking therefore depends on the systems actually evaluated in each column.
Overall F1 without pretrained representations
On the Molweni test set, DAMT has Link F1 of 82.25. Its pointer baseline reaches 81.02 and SSAM reaches 81.15. For Link&Rel on the same split, DAMT reaches 57.35, PN reaches 56.47, and SSAM reaches 56.93. DSM obtains 54.15 on that joint measure. The paper reports DAMT’s gains over PN as 1.23 for Link and 0.88 for Link&Rel, and its gains over SSAM as 1.10 and 0.42, respectively.
Link prediction on the Molweni test set without pretrained representations
DAMT leads both the pointer baseline and the strongest graph-based baseline in this comparison.
The numbers
| System or setting | Link F1 % |
|---|---|
| DSM | 77.32 |
| PN | 81.02 |
| SSAM | 81.15 |
| DAMT (this paper) | 82.25 |
The non-pretrained STAC test results tell a similar story on attachment selection. DAMT reaches Link F1 of 73.54. SSAM reaches 72.92 and PN reaches 72.56. LCCC has 72.50 and DSM has 72.10. The paper reports gains for DAMT of 0.62 over SSAM and 0.98 over PN on this test measure.
For Link&Rel on the STAC test set, DAMT reaches 55.32, compared with 55.20 for LCCC, 54.83 for SSAM, 54.40 for PN, and 53.56 for DSM. The authors report improvements of 0.49 over SSAM and 0.92 over PN. The ranking of the baselines differs between the two STAC metrics. In particular, LCCC is closer to DAMT on the joint measure than it is on Link. This is one reason to track the two criteria separately when interpreting the result.
Overall F1 with pretrained representations
With pretrained representations on Molweni, DAMT achieves 82.50 Link F1 and 58.91 Link&Rel F1 on the test set. SSAM achieves 81.52 and 57.90 on those measures. The results show an advantage for DAMT over SSAM within this condition as well as within the earlier condition. The comparison within each condition is the direct test of the relative performance of the parsers under that representation setup.
The pretrained STAC test results are more mixed. DAMT has Link F1 of 73.64 and Link&Rel F1 of 57.42. SSAM has 73.09 and 56.57, respectively. DiscProReco records 74.10 for Link and 57.00 for Link&Rel. Thus the strongest reported Link result in this condition belongs to DiscProReco, and the strongest joint result belongs to DAMT. A description of the method as leading the entire pretrained comparison would lose that distinction.
Joint attachment and relation prediction on the STAC test set with pretrained representations
DAMT has the highest joint score among the reported systems for this condition.
The numbers
| System or setting | Link&Rel F1 % |
|---|---|
| SSAM | 56.57 |
| DiscProReco | 57.00 |
| DAMT (this paper) | 57.42 |
The paper reports a t-test with a 95% confidence interval and says that the gains over SSAM in the main comparison satisfy p < 0.05. This statistical statement concerns the DAMT–SSAM comparisons. The paper also describes substantial gains in its distance analysis, where the metric is link accuracy. The reported significance statement in the main table should be read with the systems and metrics named there.
What the ablations show
The distance split explains the design
The authors begin their investigation of distance by comparing representative transition and graph parsers on the Molweni and STAC test sets. The transition parser comes from the earlier deep sequential approach. The graph parser comes from the structure-aware work, with the authors using a hierarchical GRU for the dialogue encoder to make the comparison more comparable. They plot link accuracy against the separation of the linked utterances. The graph approach is stronger at distance 1 and the transition approach is stronger beyond distance 1 in this comparison.
The later Molweni test analysis revisits the pattern with the stronger transition baseline PN and the graph baseline SSAM. SSAM again performs better on adjacent links, while PN has the better accuracy on the longer links. DAMT improves on both baselines for the longer distances in that analysis. Accuracy generally falls with distance across the systems. The combined approach improves the difficult part of the problem even though the downward trend remains.
This pair of comparisons helps distinguish the empirical motivation from the proposed remedy. The first comparison establishes why the two decoding procedures were worth combining. The later comparison asks whether DAMT improves the part of the benchmark where the graph baseline had been weaker. The repetition of the pattern with PN and SSAM makes the motivation more specific to the systems used in the main evaluation. It still ties the conclusion to these parsers and corpora.
Removing each route of interaction
The ablation asks what happens to long-link accuracy when the full system loses one or both of its new components. The test subset consists of links whose distance is greater than 1. Removing EIM drops the direct attention exchange between the branches during encoding. Removing DAGCN drops the convolution that incorporates the pointer’s predicted graph. The joint removal tests the absence of both of these paths in the ablation setup.
Accuracy on links at distance greater than 1 in the STAC test set
Removing the graph convolution causes the larger individual loss, and removing both components gives the lowest accuracy.
The numbers
| System or setting | Link accuracy % |
|---|---|
| Without EIM and DAGCN | 43.00 |
| Without DAGCN | 44.40 |
| Without EIM | 47.60 |
| DAMT (this paper) | 50.20 |
On the Molweni test links at distance greater than 1, full DAMT reaches 66.93 accuracy. Removing EIM gives 64.60, with a reported drop of 2.33. Removing DAGCN gives 62.91, with a reported drop of 4.02. Removing both yields 62.27, with a reported drop of 4.66. These figures refer to the long-link subset of the Molweni test set, rather than to F1 on the entire benchmark.
The STAC test subset has the same ordering of settings. The authors report a drop of 2.60 when EIM is removed, 5.80 when DAGCN is removed, and 7.20 when both are removed. The losses show that each route contributes to the strongest setting in the reported comparison. The larger individual loss from removing DAGCN supports the importance of handing the predicted structure to the graph decoder, especially for the links that motivated the architecture.
The scope of the removal matters for interpreting the result. DAGCN includes a transfer of predicted edges and their weighted aggregation. Removing the whole component tests the contribution of that package. It leaves open how much of the gain comes from access to the edges, how much comes from distinguishing distance categories, and how much comes from conditioning on the predicted relation. The EIM removal likewise concerns the entire interaction component. Its result does not assign a separate effect to one direction of cross-attention.
The joint removal also gives information about the roles of the components. Its score is below the score of either individual removal in both corpora. The authors can therefore see evidence for retaining both. The joint setting cannot determine whether either component would yield the same benefit in an architecture with a different pair encoder or a different transition decoder. The comparisons establish their contribution in the particular configuration evaluated.
Dialogue length and the prevalence of long links
The authors also divide Molweni dialogues by the number of EDUs. This asks a different question from grouping links by endpoint distance. A dialogue with many units may contain a mixture of adjacent and longer attachments. A link-level comparison holds the distance group in view, while a dialogue-length comparison asks which conversation groups show the largest overall improvement.
DAMT improves over SSAM across almost all of the plotted Molweni dialogue lengths. The most pronounced results highlighted in the paper are conversations with 11 EDUs, where the reported improvement in link accuracy is 9 %, and those with 8 EDUs, where it is 4 %. The authors examine the composition of these groups and report that long links make up 41% in the 11-EDU group and 43% in the 8-EDU group. They identify these groups as having the highest proportions of long links in that analysis.
The two views are consistent with one another. The link-level analysis says that the improvement is prominent on edges whose endpoints are separated by intervening units. The dialogue-length analysis says that the largest highlighted improvements appear in groups with high shares of such edges. That is evidence about what those length groups contain. It does not establish dialogue length alone as an explanation for the gain.
What changes in a single conversation
The case study returns to the Molweni discussion of a compiler problem and compares the annotated structure with the trees produced by DAMT, SSAM, and PN. One nearby attachment joins u₈, the question about installed packages, to u₉, the request for help checking them. PN chooses the right attachment but assigns the wrong label. DAMT recovers the label as well. This illustrates why the joint metric can tell a different story from the link score even for adjacent utterances.
The examples u₃ → u₆ and u₃ → u₈ show the other side of the comparison. They connect later troubleshooting questions to the earlier report in u₃. PN handles these longer links better than SSAM in the example, and DAMT recovers both of them. The two decisions fit the architecture’s intended use of the transition output. A plausible attachment from the pointer becomes evidence for the final graph decoder.
The authors also point to u₁ → u₃ and u₄ → u₅ as attachments missed by all three parsers. The latter link is adjacent. Even in a case that illustrates successful transfer on long links, the full system can miss a neighboring attachment. The example thus illustrates several distinct outcomes within one conversation: a correct link with a wrong label, longer links recovered by some systems, and links missed across the comparison. The aggregate analyses establish how performance changes across the datasets.
Limitations
What the authors identify
The authors close by identifying relation recognition as a direction for further work. The evaluation gives that concern a concrete basis. A correct attachment can still receive the wrong type, and the joint scores are lower than the link-only scores in both corpora. The case study makes the error visible in a particular pair rather than leaving it as an aggregate difference. Since Link&Rel requires both decisions to be correct, its score alone cannot say how often a parser would label a relation correctly if it were given the gold attachment.
The paper also identifies links on which all the compared parsers fail. This qualifies the claim that combining parsing procedures solves the distance problem. The architecture improves the measured recovery of longer links, but the case study and the downward accuracy trend show remaining attachment errors. The authors treat conversational discourse parsing as a continuing challenge.
What follows from the experimental setup
The complementarity result is empirical. The authors observe a local advantage for the graph parser and a longer-distance advantage for the transition parser in the comparisons they ran. They motivate that pattern by pointing to the different ways the parsers construct a tree. The experiments do not isolate the construction procedure from every other implementation choice. Matching the encoder in the initial comparison helps, but each branch still includes its own representations and scoring operations. The results provide evidence for combining these particular approaches on these datasets.
The distance categories in the architecture are also coarser than the ones in the analysis. The graph convolution assigns adjacent links to one category and groups links at distances of 2 or more into another. Relation attributes and the underlying utterance features can still distinguish links within that group. The distance embedding itself supplies no separate category for a link at distance 3 or a link at distance 5. The paper’s plots at different distances therefore show where the system changed performance, rather than demonstrating that it learned an individual weighting policy for each plotted distance.
The attribution to distance-aware edge weighting has a related limit. The ablation demonstrates that removing the full convolution damages long-link accuracy. A comparison between the full convolution and an otherwise identical version with uniform weights would address a narrower question. Comparisons that held relation weights fixed while varying distance, or held distance fixed while varying relations, would also isolate those attributes. The reported ablation leaves these effects combined.
Predicted structure introduces another dependency. The graph convolution sees the links and relation types chosen by the transition branch. A wrong choice can therefore become input to the next stage. The final scorer can draw on its independent pair evidence, and it can make a different attachment or label decision. The experiments establish that the combined design improves the measured outputs on balance. They do not separately measure how often the graph branch corrects a mistaken pointer attachment, retains a correct one, or is misled by the transferred structure.
The task starts from utterance units and annotated corpora. The evaluation consequently addresses the recovery of attachments and labels over those units. It does not test discovery of EDU boundaries from an unsegmented conversation. The hierarchical bidirectional encoding also has access to context on both sides of an utterance. The sequential pointer should therefore be understood as a sequential decoder over contextualized input. An evaluation that required decisions as messages arrived would ask a different question about information availability.
The domains represented by the evaluation are game chat and Ubuntu technical support. Results on both show that the improvements are not confined to a single benchmark of these two. The experiments leave open how the method behaves in other conversation settings, with other annotation schemes, or with different mixes of relation types and distances. The downstream applications discussed by the authors provide a reason to recover discourse structure, while the experiments measure discourse parsing itself. They establish no measured improvement in reading comprehension, response generation, summarization, or emotion recognition.
Finally, the numerical claims depend on the metric and comparison condition. The favorable aggregate comparisons with SSAM hold across the reported settings, while DiscProReco leads on pretrained STAC Link F1. The long-link ablations measure attachment accuracy, so they do not show that the removed components have effects of the same size on relation recognition. Keeping those conditions visible makes it possible to say precisely where the study shows an improvement.
What came after
Improving Dialogue Discourse Parsing via Reply-to Structures of Addressee Recognition places reply-to structure at the center of its approach to dialogue parsing. It connects discourse parsing with addressee recognition, using reply-to structure as the link between the tasks. This work bears the strongest resemblance to DAMT among the later works on this list. Both use an intermediate account of conversational connections to inform discourse parsing. The stated source of those connections differs. DAMT obtains them from its transition parser, while the later work’s title identifies reply-to structures from addressee recognition.
Task-Aware Self-Supervised Framework for Dialogue Discourse Parsing takes up the same parsing problem through task-aware self-supervision. The focus is on training signals adapted to the task. DAMT’s joint objective trains two supervised routes to the annotated structure. This later direction addresses how the parsing task can obtain training signal through self-supervision. The record establishes that connection to the research problem and the citation to DAMT. It does not establish that the later framework uses DAMT’s pointer, cross-attention, or distance categories.
Discourse Relation Prediction and Discourse Parsing in Dialogues with Minimal Supervision addresses both discourse relation prediction and dialogue discourse parsing under minimal supervision. The two tasks connect to the distinction in DAMT’s evaluation between recovering an attachment and recovering it with the right relation. The later work frames the question around the amount of supervision available. Its stated scope is relevant to the original paper’s interest in better relation recognition, although the citation alone does not show that the later work directly pursued that stated future direction.
Together, these citing works trace different ways of extending the dialogue parsing problem. One brings in reply-to evidence from a related task. The others investigate what training signal can be obtained through task-aware self-supervision or under minimal supervision. The citation record supports those connections at the level of their stated aims. It leaves the component-by-component inheritance of DAMT’s design open.
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 2Research subjects and languages the work is about.Dialogue systems · 664 worksDiscourse analysis · 471 works
Cite
Cite as Yaxin Fan, Peifeng Li, Fang Kong and Qiaoming Zhu. 2022. A Distance-Aware Multi-Task Framework for Conversational Discourse Parsing. Proceedings of the 29th International Conference on Computational Linguistics.
@inproceedings{fan2022distance,
title = {{A Distance-Aware Multi-Task Framework for Conversational Discourse Parsing}},
author = {Yaxin Fan, Peifeng Li, Fang Kong and Qiaoming Zhu},
booktitle = {Proceedings of the 29th International Conference on Computational Linguistics},
year = {2022},
doi = {10.48448/qp5b-0w87},
url = {https://doi.org/10.48448/qp5b-0w87}
}References
- Stergos Afantenos, Éric Kow, Nicholas Asher, and Jérémy Perret. 2015. Discourse parsing for multi-party chat dialogues. In EMNLP, pages 928–937.
- Nicholas Asher, Nicholas Michael Asher, and Alex Lascarides. 2003. Logics of conversation. Cambridge University Press. OpenAlex ↗ · Scholar ↗
- Nicholas Asher, Julie Hunter, Mathieu Morey, Farah Benamara, and Stergos Afantenos. 2016. Discourse structure and dialogue acts in multiparty dialogue: the stac corpus. In LREC, pages 2721–2727.
- Lynn Carlson, Daniel Marcu, and Mary Ellen Okurowski. 2003. Building a discourse-tagged corpus in the framework of rhetorical structure theory. In Current and new directions in discourse and dialogue, pages 85–112. Springer.
- Jiaqi Li, Ming Liu, Zihao Zheng, Heng Zhang, Bing Qin, Min-Yen Kan, and Ting Liu. 2021b. Dadgraph: A discourse-aware dialogue graph neural network for multiparty dialogue machine reading comprehension. In IJCNN, pages 1–8. OpenAlex ↗ · Scholar ↗
- Yiyang Li and Hai Zhao. 2021. Self- and pseudo-self-supervised prediction of speaker and key-utterance for multi-party dialogue reading comprehension. In Findings of EMNLP, pages 2053–2063. OpenAlex ↗ · Scholar ↗
- Xiang Lin, Shafiq Joty, Prathyusha Jwalapuram, and M Saiful Bari. 2019. A unified linear-time framework for sentence-level discourse parsing. In ACL, pages 4190–4200.
- Yang Liu and Mirella Lapata. 2017. Learning contextually informed representations for linear-time discourse parsing. In EMNLP, pages 1289–1298.
- Haihong E, Peiqing Niu, Zhongfu Chen, and Meina Song. 2019. A novel bi-directional interrelated model for joint intent detection and slot filling. In ACL, pages 5467–5471.
- Ryan Lowe, Nissan Pow, Iulian Vlad Serban, and Joelle Pineau. 2015. The ubuntu dialogue corpus: A large dataset for research in unstructured multi-turn dialogue systems. In SIGDIAL, pages 285–294.
- Agnieszka Falenska, Anders Björkelund, and Jonas Kuhn. 2020. Integrating graph-based and transition-based dependency parsers in the deep contextualized era. In IWPT, pages 25–39.
- William C Mann and Sandra A Thompson. 1987. Rhetorical structure theory: A theory of text organization. Information Sciences Institute, Los Angeles: University of Southern California. OpenAlex ↗ · Scholar ↗
- Fanyu Meng, Junlan Feng, Danping Yin, Si Chen, and Min Hu. 2020. A structure-enhanced graph convolutional network for sentiment analysis. In Findings of EMNLP, pages 586–595, Online. OpenAlex ↗ · Scholar ↗
- Philippe Muller, Stergos Afantenos, Pascal Denis, and Nicholas Asher. 2012. Constrained decoding for text-level discourse parsing. In COLING, pages 1883– 1900.
- Jeffrey Pennington, Richard Socher, and Christopher D Manning. 2014. Glove: Global vectors for word representation. In EMNLP, pages 1532–1543.
- Jérémy Perret, Stergos Afantenos, Nicholas Asher, and Mathieu Morey. 2016. Integer linear programming for discourse parsing. In NAACL, pages 99–109.
- Libo Qin, Tailu Liu, Wanxiang Che, Bingbing Kang, Sendong Zhao, and Ting Liu. 2021. A co-interactive transformer for joint slot filling and intent detection. In ICASSP, pages 8193–8197. OpenAlex ↗ · Scholar ↗
- Zhouxing Shi and Minlie Huang. 2019. A deep sequential model for discourse parsing on multi-party dialogues. In AAAI, pages 7007–7014. OpenAlex ↗ · Scholar ↗
- Yang Sun, Nan Yu, and Guohong Fu. 2021. A discourse-aware graph neural network for emotion recognition in multi-party conversation. In Findings of ACL, pages 2949–2958. OpenAlex ↗ · Scholar ↗
- Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Ł ukasz Kaiser, and Illia Polosukhin. 2017. Attention is all you need. In NIPS, page 5998–6008.
- Ante Wang, Linfeng Song, Hui Jiang, Shaopeng Lai, Junfeng Yao, Min Zhang, and Jinsong Su. 2021a. A structure self-aware model for discourse parsing on multi-party dialogues. In IJCAI, pages 3943–3949. OpenAlex ↗ · Scholar ↗
- Jinfeng Wang, Longyin Zhang, and Fang Kong. 2021b. Multi-level cohesion information modeling for better written and dialogue discourse parsing. In NLPCC, pages 40–52. OpenAlex ↗ · Scholar ↗
- Yizhong Wang, Sujian Li, and Houfeng Wang. 2017. A two-stage parsing method for text-level discourse analysis. In ACL, pages 184–188.
- Jingxuan Yang, Kerui Xu, Jun Xu, Si Li, Sheng Gao, Jun Guo, Nianwen Xue, and Ji-Rong Wen. 2021. A joint model for dropped pronoun recovery and conversational discourse parsing in Chinese conversational speech. In ACL, pages 1752–1763.
- Zhilin Yang, Zihang Dai, Yiming Yang, Jaime Carbonell, Russ R Salakhutdinov, and Quoc V Le. 2019. Xlnet: Generalized autoregressive pretraining for language understanding. In NIPS, volume 32.
- Longyin Zhang, Fang Kong, and Guodong Zhou. 2021. Adversarial learning for discourse rhetorical structure parsing. In ACL-IJCNLP, pages 3946–3957.
This page in Markdown https://md.research.elamur.ai/free/en/papers/fan-2022-distance-aware-multi-task-framework/