---
title: "A simple but effective model for attachment in discourse parsing"
description: "BERTLine parses group chats by scoring pairs of discourse units, learning relation labels jointly, and allowing replies to attach to multiple turns."
canonical: "https://research.elamur.ai/free/en/papers/bennis-2023-simple-but-effective-model-attachment/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/bennis-2023-simple-but-effective-model-attachment/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2023](https://md.research.elamur.ai/free/en/papers/2023/) / A simple but effective model for attachment in discourse parsing with multi-task learning for relation labeling

# A simple but effective model for attachment in discourse parsing with multi-task learning for relation labeling

Paper · 2023 · Zineb Bennis, Julie Hunter and Nicholas Asher

**Authors:** [Zineb Bennis](https://md.research.elamur.ai/free/en/authors/zineb-bennis/), [Julie Hunter](https://md.research.elamur.ai/free/en/authors/julie-hunter/) and [Nicholas Asher](https://md.research.elamur.ai/free/en/authors/nicholas-asher/) · **Year:** 2023 · **Venue:** Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2023.eacl-main.247/)
- [PDF](https://aclanthology.org/2023.eacl-main.247.pdf)
- [DOI 10.18653/v1/2023.eacl-main.247](https://doi.org/10.18653/v1/2023.eacl-main.247)

## Summary

In a group chat, a brief reply can answer several people at once. A discourse parser has to identify those connections and tell them apart from other links, such as a question followed by its answer or a claim followed by an explanation. Bennis, Hunter, and Asher study this problem on [the STAC corpus](https://md.research.elamur.ai/free/en/papers/asher-2016-discourse-structure-dialogue-acts-multiparty/), a collection of chats from an online game of Settlers of Catan. Some versions of the corpus include game events alongside the chat. The distinction matters because a player’s next message may make sense in light of a move on the board even when its connection to the preceding messages is hard to explain.

Their parser, BERTLine, reads candidate pairs of discourse units together and uses a linear classifier to score each possible attachment. A unit can keep several links if their scores clear the decision threshold. The relation classifier learns from both attachment decisions and relation labels during [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/). The authors’ reasoning comes from the annotation task itself. Sometimes a reader knows what a reply addresses before deciding what kind of reply it is. In other cases, a word that signals an explanation helps the reader work out which earlier statement the explanation belongs to.

On standard STAC, BERTLine scored 73.1 attachment F1 and 56.25 labeled attachment F1 in the baseline comparison. The strongest rerun scored 73.2 on attachment and 55.5 on labeled attachment under the authors’ evaluation. Earlier papers reported higher scores under their own evaluation conditions. BERTLine also recovered about 20% of the 77 multiple-parent structures in the test set. That result gives a separate view of a capability that overall F1 can obscure, since links involving several parents are infrequent.

The authors also release STAC-Squished, a version that keeps game events in the discourse graphs while compressing sequences of events whose internal links are highly predictable. In the corpus comparison, fully situated STAC scored 76.94 attachment F1 overall and 62 on attachments between linguistic units. STAC-Squished scored 79.93 overall and 68.7 on linguistic attachments. Both situated versions scored higher overall than standard STAC, even though standard STAC scored 73.06 on linguistic attachment. The distinction between those measurements is central to the paper. Adding game events can supply missing context and change the mix of links being scored at the same time.

## Deep dive: A simple but effective model for attachment in discourse parsing with multi-task learning for relation labeling

BERTLine parses group chats by scoring pairs of discourse units, learning relation labels jointly, and allowing replies to attach to multiple turns. · about 32 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### What a link in a conversation represents

In [discourse analysis](https://md.research.elamur.ai/free/en/concepts/discourse-analysis/), the order of utterances is only part of the evidence for how a conversation fits together. An answer may reach back to a question asked before an intervening exchange. An acknowledgment may apply to more than one message. Discourse parsing makes these connections explicit by representing the conversation as a graph. Its nodes stand for pieces of discourse, and its labeled edges say which pieces are related and how. The parser studied in this paper starts with the pieces already identified. Its task is to recover the links and their labels.

The authors call the pieces *elementary discourse units*, or EDUs. A clause can constitute an EDU, and some units are smaller than clauses. The choice of unit matters because the relation can concern a particular contribution made within a turn. Representing an entire turn as a single node would leave less room to say which contribution a later utterance answers or acknowledges. Once the units are set out in conversational order, attachment asks which other unit a given unit is linked to. Relation labeling asks whether that connection is an Explanation, a Question-Answer-Pair, an Acknowledgement, or another category in the annotation scheme.

Knowing which units are connected and knowing the type of connection are different judgments. A reader might understand that a player is reacting to an offer while still needing to decide whether the reaction acknowledges the offer or develops it. Conversely, a connective such as *because* can make an explanatory relation apparent while leaving open what is being explained. A system that evaluates these judgments separately can learn where it succeeds, and a system that trains on both can share evidence between them. The paper uses this distinction to motivate separate outputs and a shared learning objective for labeling.

Multiparty conversation makes the attachment judgment particularly interesting. In the STAC example in the paper, William responds with “kk” after more than one participant has refused his offer. The annotation links that brief response to both refusals. The utterance registers the replies and helps close the exchange before William ends his turn. It is easy to understand what the response is doing once the refusals are in view. For a parser, however, a rule that permits just one parent makes the complete annotation unreachable. The restriction would matter here even if the system could identify both relevant refusals.

The paper describes these structures as uncommon but consequential. In group negotiation, a speaker can settle several outstanding moves with a single contribution. Picking one antecedent can leave a reasonable-looking local chain while losing part of what the speaker has resolved. Aggregate evaluation presents a related problem. A system may do well on familiar short-range links, and those successes can account for much of its score, even when it regularly misses the extra link in a multi-parent construction. The ability to propose multiple parents therefore matters both to the design of the parser and to the interpretation of its results.

#### Why the setting includes more than the chat

The authors place their work in Segmented Discourse Representation Theory, or SDRT. The paper discusses SDRT and Rhetorical Structure Theory as frameworks for representing discourse across a text. It identifies SDRT as the framework applied to the multiparty conversations in STAC and Molweni. In the account used here, the completed conversation forms a weakly connected directed acyclic graph. Weak connectivity means that the graph hangs together if the direction of the edges is ignored. Acyclicity means that following the directed links cannot bring a reader back to the starting node. A node can still have more than one parent.

Under the conventions the paper describes, each EDU except the head has an incoming link. Direction matters because units occur in an ordered conversation and the annotations impose a restriction on backward links between different speakers. The 16 relation types identify the function of an edge in the discourse. These are properties of the annotated structures. They provide a target against which to judge a parser, whether the parser enforces them through a decoding procedure or predicts individual edges and is evaluated on the resulting set.

STAC’s conversations come from an online game in which players acquire and exchange resources and build roads and settlements. The chat can refer to that activity without spelling it out. A spoken or written move can be intelligible to the players because they have seen an intervening action. Someone looking at the chat transcript has less evidence. For [linguistic annotation](https://md.research.elamur.ai/free/en/concepts/annotation/), the difference is concrete. If the triggering action appears in the record, the annotator can link the utterance to it. If the graph contains chat units alone, a representation meant to stay connected can lead to links between utterances that have little direct rhetorical connection.

The paper illustrates this with parallel views of the same portion of STAC. In the chat-only view, Continuation links connect successive points in the exchange in ways the authors find hard to justify. In the situated view, game events are available as units in the graph and those Continuations disappear. The example is about the construction of the reference graph as much as it is about inference by the parser. An omitted action can change which answer counts as correct. The authors connect the problem of inconsistent relation use in standard STAC to observations in [Weak Supervision for Learning Discourse Structure](https://md.research.elamur.ai/free/en/papers/badene-2019-weak-supervision-learning-discourse-structure/).

Adding events addresses the missing evidence but creates a different assessment problem. If a series of game events is routinely annotated as a chain, the next edge in that chain is comparatively easy to predict. Those events also occupy positions in the sequence. Two utterances that look close when reading chat alone can be farther apart once intervening events have their own units. A situated corpus can consequently make certain edges easier and certain linguistic links harder in the same experiment. The paper’s revised corpus is an attempt to retain the distinction between speech and action while reducing the effect of long event chains.

#### How earlier parsers used local and global structure

The paper describes earlier multiparty parsers as combining hand-selected properties of candidate EDU pairs with a local learner, followed by a decoding mechanism. Such pair properties supply clues about how the two units are related before any whole-graph decisions are made. A decoder can then use graph-level restrictions when choosing the final edges. This lineage includes [Discourse Parsing for Multi-Party Chat Dialogues](https://md.research.elamur.ai/free/en/papers/afantenos-2015-discourse-parsing-multi-party-chat/) and [Integer Linear Programming for Discourse Parsing](https://md.research.elamur.ai/free/en/papers/perret-2016-integer-linear-programming-discourse-parsing/). BERTLine retains the pair as a useful unit of decision and changes how most of the information about the pair is obtained.

Shi and Huang’s deep sequential approach pursued a richer view of conversational history. A supplemental encoder was meant to update the representation of attachment paths as the dialogue was processed. Such a path records a succession of links through parent and child units. The idea was to let earlier structural decisions inform the interpretation of later candidates. The BERTLine paper also reports Wang and colleagues’ finding that removing the supplemental encoder produced similar scores. The existence of a component designed to capture incremental structure thus gave little assurance that its contribution would show up in evaluation.

Another route was to contextualize the units before predicting the edges. [Improving Multi-Party Dialogue Discourse Parsing via Domain Integration](https://md.research.elamur.ai/free/en/papers/liu-2021-improving-multi-party-dialogue-discourse/) used [RoBERTa](https://md.research.elamur.ai/free/en/papers/liu-2019-roberta-robustly-optimized-bert-pretraining/) to encode EDUs, followed by a bidirectional gated recurrent unit to combine information along the sequence. It then used linear layers for the attachment and label decisions. The account in Bennis and colleagues’ paper notes a limit on the length of dialogues accepted as input. Wider context in this architecture therefore still depends on how much of the conversation can be represented in one pass.

Wang and colleagues’ structure-aware graph approach went further in representing units and edges together. It first obtained contextual unit representations using a hierarchical recurrent component. It then used graph attention to update unit and edge representations with structural information, drawing on techniques also used in [AMR-to-Text Generation with Graph Transformer](https://md.research.elamur.ai/free/en/papers/wang-2020-amr-text-generation-graph-transformer/). An auxiliary loss from a teacher network supplemented the main classification loss. In this design, the graph provides a way for information beyond the pair under consideration to affect the representation used to make a decision about it.

BERTLine asks how far a deliberately local design can go with information from both candidate units already present in the same encoding. Reading them together makes it possible to represent a relationship between their contents directly. The fact that an answer uses few words is then less of an obstacle than it would be if the answer had to be represented on its own before the parser knew which question it might answer. This approach still uses context. Its context is anchored to a particular proposed pair, supplemented with limited structural information about where the units occur and who produced them.

The choice also focuses attention on what is passed between the attachment and relation decisions. The paper describes a pipeline as the usual arrangement in earlier work, with Wang and colleagues as the exception it identifies. A pipeline first proposes a link and then assigns its relation. BERTLine also needs a selected edge to produce a labeled attachment at inference. Its change is to let supervision from both tasks shape the features used by the relation classifier during training. The order in which a prediction is assembled and the way its components learned are separate questions.

### The method, step by step

#### Start with a proposed pair

BERTLine starts from an ordered conversation whose units have already been identified. Consider the later unit in a candidate pair as the one whose parents the parser is trying to find. For each eligible earlier unit, the parser has a specific question to ask. Does this earlier unit stand in an annotated discourse relation to the later one? It can consider an earlier refusal paired with William’s acknowledgment and then consider another refusal paired with that same acknowledgment. Each candidate has its own score, so the decision about one refusal can leave room for a link to the other.

The encoder takes the text of the two units together and uses the BERT classification-token representation as a summary of the pair. The paper cites BERT’s token position inputs as a reason for the choice. Token positions help represent the order inside the paired input. The distance feature added later has a different job. It describes the separation of the units in the original conversation, information that cannot be recovered simply from how their text has been placed together in the encoder input. The authors describe the information available to the attachment system in terms of the units’ content and speaker or emitter, along with the explicit structural features.

How BERTLine predicts discourse links and relation labels The steps in order.

The diagram follows the decisions needed to produce a labeled graph. Training includes another step behind the final box. The relation encoder learns to support a link-classification head as well as a relation-classification head. That learning arrangement supplies a rationale for why a representation used to label an edge might preserve cues about its endpoints. The separately described attachment module handles the decision about which edges appear in the parser’s output.

#### Learn an encoding that can distinguish links

The paper writes the encoding of a pair as follows.

```
hᵢⱼ = BERT(eᵢ, eⱼ)
```

Here eᵢ and eⱼ are the discourse units in positions i and j. The function BERT represents the joint encoding of their input, and hᵢⱼ is the resulting pair vector taken from the classification token. The subscripts track the order of the units. The vector is specific to the pair, so a representation of a given unit as part of one pair can differ from its representation as part of another.

The attachment encoder is fine-tuned on positive and negative examples. A positive example is a pair with a link in the reference annotation. A negative example gives supervision for the decision that the candidate does not form an annotated link. Training on both kinds matters because an earlier unit can be close in the conversation or similar in subject matter without being the parent selected by the annotation. The aim is a representation from which the classifier can recognize the distinction by using both units’ contents.

```
Lₗ₁(Sₗ, θ) = −∑₍ᵢ,ⱼ₎∈Sₗ log P(s*ᵢⱼ = sᵢⱼ | hᵢⱼ)
```

Here Lₗ₁ is the encoder’s attachment loss, Sₗ is the set of positive and negative attachment examples, and θ denotes the parameters being optimized. The sum runs over candidate pairs indexed by i and j in Sₗ. The reference attachment decision is s*ᵢⱼ and the prediction is sᵢⱼ. The expression inside the logarithm gives the probability assigned to the reference outcome for the pair, conditional on hᵢⱼ. The vertical bar marks that conditioning, P denotes probability, and log is the logarithm. The minus sign turns a low probability for the reference outcome into a larger loss.

An encoder shaped by this objective can make two superficially similar responses distinguishable through their partners. The same acknowledgment can fit a preceding refusal, another speaker’s refusal, or neither, depending on the surrounding move represented by the candidate unit. This is the limited sense in which the authors describe pair encoding as passing information between units. A candidate’s two ends are read together. There is no stage in this encoding that revises the current pair by propagating the state of a fully assembled discourse graph.

The explicit features are added to the vector for the attachment decoder.

```
structᵢⱼ = [tᵢⱼ, dᵢⱼ]
```

Here structᵢⱼ is the structural feature vector for positions i and j. The component tᵢⱼ takes the value 1 for the same speaker and 0 for different speakers. The natural sequence of the dialogue determines how far apart the units are, and dᵢⱼ stores that distance. The brackets collect the values into one vector. Speaker agreement is a property of the proposed pair. The distance describes where the units occurred before they were packed into a joint input.

```
Hᵢⱼ = hᵢⱼ ⊕ structᵢⱼ
```

Here Hᵢⱼ is the final attachment representation for the pair, hᵢⱼ is the BERT vector, and structᵢⱼ is the speaker and distance vector. The symbol ⊕ means concatenation. It appends the feature values to the pair vector so that the linear decoder can use them alongside the learned features. The notation places the hand-supplied information at the attachment decision, while the paper writes the joint training losses for the relation encoder in terms of hᵢⱼ.

#### Score the nearby candidates independently

The attachment classifier searches backward within a fixed window. The paper expresses the restriction on positions as follows.

```
j > i ≥ j − 10
```

Here j is the position of the unit whose parents are being sought and i is the position of a candidate parent. The first inequality requires an earlier candidate. The second includes candidates as far back as j − 10. At the beginning of a dialogue, the candidates are the earlier positions that actually exist. An edge outside the window cannot be selected through this scoring step, whatever semantic evidence might support it.

The linear classifier scores the pair vectors for the candidate positions.

```
Pⱼ = Linear(Hⱼ₋₁,ⱼ, Hⱼ₋₂,ⱼ, …, Hⱼ₋₁₀,ⱼ)
```

Here Pⱼ collects link scores for the current unit at j. Linear denotes the linear attachment decoder. Each H term represents the current unit paired with a particular predecessor. The ellipsis continues the series of candidate offsets through the last one displayed, subject to the beginning of the dialogue. The classifier makes a binary decision for each pair. The candidates are independent choices at the point of selection, so the list of scores does not require a single winner.

The decoder’s training objective is binary cross-entropy over candidate attachments. Writing the paper’s per-dialogue sum over the eligible positions makes its indices explicit.

```
Lₗᵢₙₖ(d, θ) = −∑ⱼ∈d ∑ᵢ eligible for j log P(l*ᵢⱼ = lᵢⱼ | Hᵢⱼ)
```

Here d is a dialogue and Lₗᵢₙₖ(d, θ) is its link loss under the parameters θ. The outer sum visits the unit positions j in the dialogue. The inner sum visits the eligible candidate positions i for each j. The variable l*ᵢⱼ is the reference link decision, lᵢⱼ is the predicted decision, and Hᵢⱼ is the final pair vector supplied to the decoder. As in the encoder loss, log P measures the log probability of the reference decision given the vector. Both a reference link and a reference absence of a link can contribute to this objective.

```
Lₗᵢₙₖ(θ) = ∑d∈D Lₗᵢₙₖ(d, θ)
```

Here D is the training set of dialogues, d ranges over its members, and Lₗᵢₙₖ(d, θ) is the loss for the individual dialogue. The unqualified Lₗᵢₙₖ(θ) is the aggregate loss for the parameters θ. The sum combines supervision across conversations while retaining the candidate-pair decisions within each conversation. The authors train the linear layer for 15 epochs, where an epoch is a pass through the training data.

At inference, the candidate scores are converted into a set of edges using a threshold.

```
lᵢⱼ ∈ L  ⇔  P(lᵢⱼ) > α, with α = 0.8
```

Here lᵢⱼ is the candidate link from i to j, L is the set of predicted links, and P(lᵢⱼ) is its predicted probability of attachment. The symbol ∈ means that the link belongs to the set, and ⇔ means that membership holds exactly when the threshold condition holds. The threshold is α, whose value of 0.8 the authors selected using the validation set. The inequality is strict. With this rule, several candidates for j can enter L, and a candidate list can also leave j without a selected parent if all scores fall short.

That last possibility helps distinguish the decision procedure from the SDRT annotation conventions. Ordering candidate edges from earlier to later prevents cycles through those edges. The threshold itself gives no assurance that the completed graph is connected or that each non-head unit has a parent. The architecture is built to recognize plausible local links and permit several of them to survive. The evaluation then measures what this produces against the annotated set of edges.

#### Train the relation classifier with both tasks

To learn relation labels, the authors fine-tune a BERT encoder with separate classification heads. A head is the part that reads the shared representation and produces scores for the outcomes of its own task. The attachment head learns the binary distinction between linked and unlinked units. The relation head learns to choose among SDRT’s 16 relation labels using annotated relation instances. The shared encoder is where the two forms of supervision meet. An update caused by errors on one task can change the features the other head sees.

```
Lᵣₑₗ(Sᵣ, θ) = −∑₍ᵢ,ⱼ₎∈Sᵣ log P(r*ᵢⱼ = rᵢⱼ | hᵢⱼ)
```

Here Lᵣₑₗ is the relation classification loss, Sᵣ is the set of relation label instances, and θ again denotes the parameters being optimized. Positions i and j identify the units in each instance. The symbol r*ᵢⱼ stands for the reference relation and rᵢⱼ for the predicted relation. The probability P is evaluated conditional on the pair vector hᵢⱼ. The negative logarithm penalizes low probability assigned to the correct relation, and the sum accumulates that penalty over the labeled instances.

```
Lₘᵤₗₜᵢ(Sₗ ∪ Sᵣ, θ) = mean(Lₗ₁(Sₗ, θ), Lᵣₑₗ(Sᵣ, θ))
```

Here Lₘᵤₗₜᵢ is the joint training loss. The union symbol ∪ denotes the inclusion of the attachment examples Sₗ and the relation instances Sᵣ in the training setup. The function mean averages the independently computed attachment loss Lₗ₁ and relation loss Lᵣₑₗ. The symbol θ again represents the parameters subject to optimization. The authors back-propagate the averaged loss into the shared BERT encoder, so both tasks influence the representation. They report 3 epochs of fine-tuning over the attachment examples together with training on the relation instances.

During inference, the multitask encoder uses its relation head to predict labels. The auxiliary attachment head supplies supervision during training, while the attachment module supplies the selected links. This division lets the training scheme exploit a connection between the tasks without changing the output into a single classification over every possible labeled edge. It also means that task interaction is chiefly a statement about the learned representation. The paper gives no procedure in which a promising relation label reopens a rejected attachment or in which edge labels are checked jointly for the whole conversation.

The relation classifier can benefit even when the output architecture looks like a pipeline. To label an Acknowledgement reliably, it helps to represent what is being acknowledged. Conversely, evidence of an identifiable reaction can be relevant to the attachment task. A shared representation can preserve both kinds of information before the predictions are used. The learning arrangement gives the parser a way to use the interdependence that motivated the paper, with separate decisions remaining available for evaluation.

#### Change which game events become individual nodes

The data preparation starts from standard STAC, S, and the situated version, S-Sit. The latter treats a recorded nonlinguistic action as an *elementary event unit*, or EEU. An EEU can enter a discourse graph alongside an EDU. This extends the set of possible endpoints. A link can run between an utterance and an event, and a chain can consist entirely of events. The authors’ compressed version, S-Sq, changes how some event sequences are represented while continuing to include both kinds of units.

The compression targets adjacent event sequences that supply predictable internal attachments and lack attachments to an EDU of the kind the authors want to preserve. The authors treat the sequence as a block and represent it by a single event unit without the chain’s internal structure. The transformation removes some easy event-to-event decisions from the task and shortens stretches of events between utterances. It also changes which positions fall within a backward search window. The resulting graphs are related to the situated originals, although their edge sets and candidate sets differ.

The corpus inventory shows the effect of the transformation. S-Sit and S-Sq each contain 12,588 EDUs. The number of EEUs is 18,576 in S-Sit and 12,985 in S-Sq. Relations involving only EEUs number 16,382 in S-Sit and 10,790 in S-Sq. These are corpus counts. The corresponding table gives mean distances for attachments between linguistic units of 2.14 in S-Sit and 2.04 in S-Sq. Standard S has 13,054 EDUs and a mean linguistic attachment distance of 2.04. The standard version has 0 EEUs and 0 relations restricted to EEUs.

The authors also identify an extraction error in S that produced 488 duplicated EDUs across 60 duplicated dialogues. The duplicated material and the missing event information are separate reasons for looking beyond S. A repeated dialogue is a data preparation problem. A graph that omits an action relevant to an utterance is a representation problem. S remains the comparison point for earlier parser results, which makes it possible to address those issues without giving up the standard benchmark as a basis for comparison. The authors make STAC-Squished available through their LineBert repository and provide code for recomputing evaluation scores.

### Experiments and results

#### What the evaluation counts

The authors report attachment and labeled attachment F1. An attachment is correct when the prediction selects the annotated pair in the appropriate direction. Labeled attachment also requires the relation type to match the annotation. That distinction matters for interpreting the label scores. A correct relation name on the wrong pair cannot recover the reference edge, and a correctly attached pair with a wrong label fails the stricter measurement. The labeled score therefore combines the effects of endpoint selection and relation classification.

The evaluation in the baseline comparison uses micro-averaging over the gold attachments and relation instances. Micro-averaging pools decisions across the examples being scored. Precision concerns the share of predicted edges that match the reference, and recall concerns the share of reference edges the parser recovers. F1 combines them. Counting each gold edge lets the evaluation register partial recovery of a multi-parent structure. A system may retrieve a correct link to one parent while missing a further link, and the missed edge still affects recall.

A separate result asks how often BERTLine captured multi-parent structures themselves. The authors identify 77 such structures in the test set, including 8 with more than 3 parents. They report capturing about 20%. This is a result about the multi-parent cases instead of an overall edge score. The paper gives no detailed breakdown of partial recoveries in this group. Read alongside the architecture, the result shows that independent link selection can yield multi-parent outputs, while the observed recovery rate leaves many of the reference structures unaccounted for.

#### Standard STAC and the earlier parsers

The baseline comparison gives results under two reporting conditions. For the neural baselines, the paper shows the scores reported in the original work and the scores Bennis and colleagues obtained by rerunning the systems or retraining from their code with the same gold input and scoring procedure. The older DAG result is given as a single published score. The distinction is important because even the order of systems can change across the published and recomputed results. The chart uses the reruns and BERTLine to keep the score comparison within the shared evaluation.

Labeled attachment F1 on standard STAC under the authors’ evaluation BERTLine leads the rerun baselines on labeled attachments.

**The numbers**

| System or setting | F1 |
| --- | --- |
| Deep sequential parser | 54.8 |
| Hierarchical parser | 50.48 |
| Structure-aware graph parser | 55.5 |
| BERTLine (this paper) | 56.25 |

On attachment F1 for standard S, BERTLine scores 73.1 in this comparison. The recomputed results are 72.5 for the deep sequential parser, 68.61 for the hierarchical parser, and 73.2 for the structure-aware graph parser. The graph system is slightly ahead on unlabeled attachment, while BERTLine is ahead on labeled attachment. Looking at both measurements makes the paper’s claim more precise. A local pair encoder can come close to the strongest rerun’s attachment performance, and the parser using it can place first among the reruns once a correct type is required too.

The original scores tell a separate story. The deep sequential parser originally reports 73.2 attachment F1 and 55.7 labeled F1 on S. The hierarchical parser reports 75.1 attachment F1 and 57.1 labeled F1. The structure-aware graph parser reports 73.4 and 57.3, respectively. The published DAG baseline scores 69.0 for attachment and 53.1 for labeled attachment. These figures give the historical context for the shared evaluation. In particular, 56.25 leads the recomputed labeled comparisons, while some original labeled scores are higher.

The authors suggest that evaluation choices can account for discrepancies between published scores and reruns. Inclusion of multiple parents and treatment of the full collection of reference pairs are relevant to their own evaluation. They mention hardware as another possible source of variation. The reruns do not isolate the source of each discrepancy. In particular, the hierarchical system’s published and recomputed scores establish that its reported performance was difficult to reproduce under this setup. They leave open how much of that gap is due to differences in scoring, training, or implementation.

The paper also gives BERTLine’s S-Sq scores alongside its baseline comparison, with 79.49 attachment F1 and 71.15 labeled attachment F1. The earlier parsers in that table were evaluated on S. The S-Sq row describes how BERTLine performs on a different corpus version, where event units and event relations contribute to scoring. The comparison among architectures is made on S. The movement across corpus versions is a result about BERTLine under changing data and annotation conditions.

#### The overall scores and the linguistic subset

The paper’s comparison of corpus versions gives its own set of F1 values. For overall attachment, standard S scores 73.06, S-Sit scores 76.94, and S-Sq scores 79.93. The labeled attachment scores in the same comparison are 56.25 on S, 69.6 on S-Sit, and 71.64 on S-Sq. These are the figures from the corpus comparison, which reports different S-Sq results from the baseline comparison. Keeping the values identified with their respective tables preserves the conditions as the authors report them.

Overall attachment F1 by STAC corpus version The compressed situated corpus gives the highest overall attachment score.

**The numbers**

| System or setting | F1 |
| --- | --- |
| Standard STAC | 73.06 |
| Situated STAC | 76.94 |
| STAC-Squished (this paper) | 79.93 |

Overall attachment includes the event-related links in the situated corpora. The authors report a separate measure, A-L, that concerns attachments between linguistic units. The scores are 73.06 on standard S, 62 on S-Sit, and 68.7 on S-Sq. Standard S has only linguistic nodes, which is why its overall attachment and A-L values are the same in this comparison. In fully situated STAC the two measurements diverge. Its overall attachment score exceeds that of S, and its linguistic attachment score falls below it.

Attachment F1 for linguistic-unit pairs by STAC corpus version Compression improves linguistic attachment relative to the fully situated corpus, with standard STAC still highest.

**The numbers**

| System or setting | F1 |
| --- | --- |
| Standard STAC | 73.06 |
| Situated STAC | 62 |
| STAC-Squished (this paper) | 68.7 |

The authors attribute the divergence to the prevalence and spacing of game-event links. Adjacent EEUs yield many instances that are comparatively simple to predict. Meanwhile, event sequences can push apart two EDUs whose relation would have spanned fewer positions in a chat-only representation. The parser is biased toward closer candidates because those candidates are common in training. Its search window also imposes a hard boundary. Thus event sequences can affect a linguistic link both by making it look less like the attachments commonly seen in training and by changing whether the candidate is available for scoring.

Compression changes those conditions. It removes many event-only relations, and it shortens some stretches separating linguistic units. On S-Sq the linguistic-only score exceeds that on S-Sit, and the overall attachment and labeling scores also increase in the corpus comparison. The authors suggest that reducing the typical separation of linguistic units and changing the balance of event and language units contributes to the result. Their corpus inventory reports a mean attachment distance. The discussion invokes a lower median as part of the explanation but gives no separate median value.

The scores also need to be read alongside how the reference graphs were made. S and S-Sit can give distinct analyses of what looks like the same linguistic exchange because the situated version supplies a relevant action. Improving the coherence of a reference graph matters even if a parser scores lower on the linguistic edges it contains. Likewise, the higher overall score for a corpus with many predictable links does not measure how well the parser understands the interleaved chat. The authors use the corpus example, the aggregate results, and the linguistic subset to address these different concerns.

Continuations make the interpretation concrete. The authors identify 300 cases of the problematic pattern among 1116 Continuation instances in S’s training set, and 45 among 113 in its test set. These counts describe concerns about how the relation is used in the annotation. They do not count BERTLine errors. A parser evaluated on S can be rewarded for predicting such an edge if it appears in the reference graph. The situated representation allows a different analysis, in which the intervening event does some of the work assigned to Continuation in the chat-only version.

Even staged this way, the corpus experiment changes several things at once. The graph may contain a different explanation for a linguistic move, the available candidate pairs can change, and the prevalence of easily classified edges can shift. A-L limits the scored edges to linguistic pairs, but the examples and their positions still come from their own corpus version. The measures show how the same parser behaves when trained and evaluated in those settings. They give a more differentiated picture than an overall score alone, while leaving the effects of individual data changes for separate experiments.

### What the ablations show

#### Joint training and the explicit pair features

The ablation study considers two alterations on S-Sq. BL-Simple fine-tunes BERT to classify the relation for an attachment that has already been predicted, using training that covers only relation prediction. BL-Noinfo removes the structural vector from the pair representation. The paper says each variation was trained 10 times and compared with the average of 10 BERTLine runs. Repeated training provides a comparison across runs for these settings. The reported table gives point scores, so the reader can see the direction and size of the reported performance differences without a distribution of outcomes for individual runs.

The prose describes the relation benefit of multitask training as one F1 point over a pipeline relation prediction task. That is a claim about the value of the attachment objective as additional supervision for labeling. It is consistent with the authors’ motivation that a representation can usefully keep evidence about who or what a later unit responds to while deciding what the response does. The ablation does not identify specific relations for which this happens most often. The most direct reading is an improvement in the reported relation score for the comparison described in the prose.

The structural comparison concerns information supplied explicitly at the local attachment decision. Speaker agreement can help define the type of exchange under consideration. Distance exposes a regularity in how far units tend to attach, including the abundance of nearby edges in training. Removing the structural vector removes both cues at once. The joint encoding still provides the contents of the units, and the backward window still limits the candidates. Consequently the comparison concerns the added numeric features, with the broader use of locality retained.

There is an attribution problem in the reporting of the ablations. The S-Sq table puts BL at 79.49 and BL-Simple at 78.55 under attachment, and BL at 71.41 and BL-Noinfo at 71.15 under relation. In the prose, BL-Simple is defined through the relation-training change and BL-Noinfo through the removal of the vector described for attachment. Reporting the table as labeled preserves the measurements. Assigning the first difference exclusively to removing speaker and distance, or the second exclusively to dropping multitask training, would require changing the labels shown in the table or supplying an explanation the paper does not give.

Taken together, the authors describe the ablations as moderate improvements from the added features and the joint objective. The definitions of the variants explain the intended interventions, and the prose supplies the direction of the claimed labeling benefit. The correspondence between the individual numeric gaps and those interventions remains uncertain because of the table’s presentation. The results provide a reason to look at the training setup and the structural features separately, but they give less detailed evidence about either feature’s individual contribution within the full system.

#### What the other comparisons can explain

The corpus comparisons add a different kind of evidence about locality. The approach keeps the same general pair-scoring procedure as the input goes from chat alone to situated graphs and then to compressed situated graphs. The linguistic attachment result worsens when long event sequences enter the representation and improves when some such sequences are compressed. This fits the authors’ account of the influence of distance. The compression also changes the number and kinds of scored event edges, so the evidence concerns the effects of a data representation in which distance is one of several changing properties.

Comparisons against the earlier architectures show what can be attained by explicit pair encoding in the common evaluation. They do not isolate explicit pair encoding as a component. The systems differ in context windows, network structure, training objectives, and decoding, as described by the paper. An experiment that replaced joint pair encoding with a separate encoding within the same parser would measure a narrower effect. The paper’s evidence instead comes from the complete BERTLine system staying close on attachment and leading the reruns on labeled attachment.

The multiple-parent result is similarly informative about capability and limited as an explanation. Selecting candidates independently makes it possible to output several parents. The recovery figure shows that the capability is exercised on actual test examples. Assessing the benefit of the thresholding rule separately would require comparing it with a competing selection rule under matching conditions. The paper gives the selected validation threshold and the resulting recovery figure, with no threshold sweep or forced single-parent comparison for these cases.

The strongest conclusion from the controlled changes is therefore about the conditions under which the tested design is effective. The local representation supports competitive parsing under the shared standard-STAC evaluation. The tested training and feature variations give the authors some evidence for the choices they made on S-Sq. The size of each mechanism’s contribution, its interactions with corpus version, and its importance for particular types of relation remain less well resolved than the aggregate comparisons.

### Limitations

#### Limits the authors identify

The authors describe the scarcity and limited variety of expertly annotated data for situated group conversation as a major constraint. The experiments concern written chats from an online game. The paper points to spoken conversation as an untested setting. A result on STAC gives an account of how the pair-based approach behaves when dialogue and sometimes game events are represented in these corpora. Its behavior when the interaction is spoken remains an open empirical question.

The authors also call for more investigation of S-Sq. They see reasons to expect its linguistic labels to be more semantically appropriate than some labels in standard STAC, and they recognize that predictable nonlinguistic links still affect its structure. Their example explains why retaining situated information can make a particular annotation more coherent. Broader claims about label quality across the corpus need a more systematic analysis. In particular, the high labeled attachment score on S-Sq is compatible with different explanations involving both annotation choices and the relative ease of the edges being predicted.

The paper asks for an in-depth error analysis across the STAC versions. The present measurements can identify a fall in the linguistic subset and can distinguish unlabeled from labeled performance. They provide limited insight into the cases behind those changes. A missing candidate due to distance, a poor attachment score for a candidate that was considered, and a wrong type on a selected edge contribute to different failures. The aggregate results offer no full accounting of how those cases are distributed in S, S-Sit, or S-Sq.

Transfer experiments are also left open. The authors propose training on one corpus and applying the parser to another, as well as investigating Molweni. The separate STAC results establish performance within the corpus conditions reported in the paper. They give no direct estimate of how well a parser trained with situated event evidence would do on chat alone, or how a parser trained on chat alone would respond to events as new candidate nodes. In addition to changes in conversational wording, crossing those conditions would change the kinds of endpoints available to the system.

Finally, the authors treat better exploitation of broader context and structural constraints as research still to do. Their conclusion is tied to the architectures and evaluation they compare. The performance of a compact local approach gives a demanding benchmark for methods designed to use more context. It does not establish a ceiling on the usefulness of that context. In cases where a relevant link is distant or the interpretation of a unit depends on the state of several exchanges, local scoring leaves information available elsewhere in the graph unused.

#### Further limits of the setup

One limit follows from the candidate definition. BERTLine scores earlier units up to the boundary of its fixed window. The annotation conventions described in the paper constrain backward links between different speakers, while the parser’s direction restriction rules out later parents altogether. The set of graphs permitted by the theory is therefore broader than the set reachable by this candidate generator. S-Sq can improve a pair’s eligibility by bringing its endpoints closer in the sequence, but the corpus comparison does not count how many gold links become newly reachable in this way.

The decision rule also permits gaps in the graph. Since edges are kept according to individual thresholds, there is no global requirement at selection time that a later unit be connected to the rest of the conversation. Higher edge-level F1 can coexist with incomplete discourse graphs, especially in portions of the conversation where no candidate receives strong support. Conversely, accepting several parents is a valuable property when the annotation calls for several links, and the threshold rule can also accept several candidates when only some are correct. The paper does not report graph validity or exact graph recovery rates to complement the edge measures.

The multi-parent counts are too coarse to tell which forms of multiple attachment remain difficult. The paper identifies 8 structures with more than 3 parents among the 77 in the test set, without reporting recovery separately for those larger structures. It also does not break the cases down by relation, distance, or the number of parents recovered when the whole structure is missed. In the example with the refusals, an evaluator might care whether both acknowledgments were recovered and whether they received the right labels. The published capture figure gives the overall extent of recovery at the stated level of aggregation.

Confounds across the corpus versions further limit a causal reading. Collapsing event sequences changes the number of units, their spacing, and which event-only links remain in the reference. The standard version includes the duplicated material the authors identified, along with differences arising from the absence of events. The paper does not independently vary these factors. The improvement on linguistic attachments from S-Sit to S-Sq is compatible with the authors’ distance account, but the design gives no isolated estimate of the effect of shorter distances with labels and all other graph properties held fixed.

Similarly, the number of problematic Continuations identifies an annotation pattern that warrants attention. It does not measure the error rate of the full annotation, and it says little about how frequently other relation types would change if the event sequence were restored. The example distinguishes a questionable link from the more coherent situated alternative on the authors’ reading. To turn that judgment into a general statement about label quality would require a study that examines more of the disagreements systematically. The ablations concern parser components, so they cannot supply that annotation analysis.

The earlier systems’ reported and recomputed scores place a practical boundary on claims of superiority. The matched scoring procedure strengthens the comparison made within this paper, in particular by including all the attachments it counts in the reference. At the same time, the reruns compare systems as executed under those conditions. The study does not apportion score discrepancies among evaluation differences and other replication conditions. Its clearest comparative claim remains the observed ordering under the recomputation, where BERTLine leads the labeled comparison and the graph parser has the highest attachment F1 among the reruns.

Finally, simplicity here refers to the discourse architecture. Pair vectors, a linear attachment classifier, and a threshold make the path from input candidates to chosen links relatively direct. Each pair still requires encoding, and a unit can occur in several candidates. The paper presents predictive scores and architectural comparisons. It offers no measured efficiency comparison that would establish a runtime or memory advantage over the earlier systems. The simplicity claim can therefore be assessed through the stated design, while resource use remains unmeasured by these experiments.

### What came after

A later citation connects BERTLine with discourse structure in a Minecraft corpus. The subject places the follow-up near the situated side of the original study, where activity in a game can matter to the interpretation of conversation. The citation establishes that connection at the level of research topic. It does not specify whether the later work adopted BERTLine’s pair encoder, reused its method for combining attachment and relation supervision, or drew on its analysis of event units and multiple parents. The particular use of the paper’s method and any comparative results remain unspecified. [Discourse Structure for the Minecraft Corpus](https://md.research.elamur.ai/free/en/papers/thompson-2024-discourse-structure-minecraft-corpus/)

## Cite

Cite as Zineb Bennis, Julie Hunter and Nicholas Asher. 2023. A simple but effective model for attachment in discourse parsing with multi-task learning for relation labeling. Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.18653/v1/2023.eacl-main.247](https://doi.org/10.18653/v1/2023.eacl-main.247)

```bibtex
@inproceedings{bennis2023simple,
  title = {{A simple but effective model for attachment in discourse parsing with multi-task learning for relation labeling}},
  author = {Zineb Bennis, Julie Hunter and Nicholas Asher},
  booktitle = {Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.eacl-main.247},
  url = {https://doi.org/10.18653/v1/2023.eacl-main.247}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
