Elamur Research

Multi-Granularity Semantic Aware Graph Model for Reducing Position Bias in Emotion Cause Pair Extraction

Paper · 2022 · Yinan Bao, Qianwen Ma, Lingwei Wei et al.

Summary

An article can describe an upsetting event well before it says who was upset. Emotion–cause pair extraction asks a system to find both pieces of information and connect them. The output is a pair of clauses, one expressing an emotion and the other giving its cause. Proximity is an appealing shortcut. On the Chinese news benchmark studied by the authors, about 85% of annotated pairs have a relative clause distance below 2. The shortcut becomes a liability when the explanation appears farther away. The paper asks whether a system can use the meaning of the document to recover more of those connections while remaining competitive on the nearby pairs that dominate the data. Information extraction

The authors’ approach, MGSAG, gives each clause access to document context in two ways. One graph connects clauses to emotion words and key phrases collected from the article as a whole. A clause can therefore receive information through a keyword even when the keyword occurs elsewhere. A second graph connects clauses directly, letting each draw on other clauses regardless of their location. The system learns separate representations for a clause’s potential roles as emotion and cause, then combines the information from the graphs to score every ordered pair. That includes a clause paired with itself.

On the full benchmark test folds, MGSAG obtains a pair-extraction F₁ of 0.6846, compared with 0.6740 for ECPE-MLL, the strongest baseline on that measure. The authors also evaluate the same fitted systems on two groups of test documents. The first contains documents with a single annotated pair whose clauses are close together. On this group, MGSAG reaches 0.7730 in pair F₁, compared with 0.7673 for ECPE-MLL. On the remaining documents, the scores are 0.4301 and 0.3988, respectively. The remaining group includes documents with multiple pairs as well as documents with a single more distant pair. Its results therefore show that the approach helps on a set of documents that departs from the dominant pattern, with clause distance among the reasons for that departure.

Removing either graph lowers pair F₁ on each test group, and removing both gives the lowest scores among the graph variants. The keyword experiments also favor combining the emotion lexicon with the document’s key phrases. Replacing the word-level encoder with BERT raises pair F₁ on the full test folds and on the group outside the dominant pattern. A substantial performance gap between the two groups persists. The paper’s evidence supports giving distant clauses a way to exchange information and evaluating how well the resulting system handles them alongside the more common local examples. BERT

Deep dive: Multi-Granularity Semantic Aware Graph Model for Reducing Position Bias in Emotion Cause Pair Extraction

How a graph-based approach links emotions to their causes in Chinese news, and what changes when the relevant clauses are far apart. · about 38 minutes to read

The problem and its context

Finding the emotion, its cause, and the connection

The work belongs to sentiment and emotion analysis, where identifying a feeling can be only the beginning of the task. The paper also wants to know what prompted it. In the earlier emotion cause analysis setting discussed by the authors, the aim is to find a cause or stimulus for an expressed emotion. Emotion–cause pair extraction, abbreviated ECPE, asks for joint discovery. The system has to find the clauses that play the two roles and decide which ones belong together. The authors mention review analysis, public opinion monitoring, and empathetic chatbots as motivations for studying emotional causes. Their experiments focus on extracting pairs from documents. Chatbots

The paper illustrates the problem with an account of a bus preparing to leave. An older woman rushes in front of the bus and sits down. The account then describes passengers witnessing the scene, growing restless, and arguing. Later, some are described as angry. The target pair links the anger in c₇ to the woman’s action in c₂. A clause about an argument may be closer to the expression of anger, yet proximity alone gives little guidance about whether it denotes the event the annotation treats as the cause. The example makes the distinction between finding an emotionally charged passage and identifying the specific link in the document.

Each candidate pair has an order because its positions have different meanings. The first position is for the emotion and the second is for the cause. Reversing them asks whether the earlier candidate for a cause expresses an emotion explained by the other clause. The paper also allows the same clause in both positions. A clause can express an emotion and give enough information to serve as its cause. An extraction system therefore needs to consider identity as well as separation, and role as well as membership in the pair.

A correct list of emotion clauses and a correct list of cause clauses are useful intermediate results. The remaining decision is which cause explains which emotion. This distinction becomes particularly important when a document contains several events or reactions. There can be plausible-looking links between independently correct clauses, with only some links matching the annotations. The pair task assigns a label to the combination, so a system receives credit for locating the relationship as well as its endpoints.

Why there is a temptation to use a window

With the document already divided into clauses, the broadest search pairs each clause with every clause, including itself. Squaring the clause count gives the total number of ordered candidates. Most documents in the benchmark contain a single annotated pair, so the candidates overwhelmingly consist of combinations the system should reject. More apparent options also mean more opportunities for a plausible but incorrect link to receive a high score.

The distance distribution makes it reasonable to consider a smaller search. About 85% of annotated pairs have a relative distance below 2, according to the paper’s description of the benchmark. That means the two roles either fall within the same clause or in adjacent clauses for most pairs. A method can use that regularity by placing a window around a clause and looking for its partner nearby. A window limits the candidates and lets the method concentrate its capacity on the relationships most likely to occur in this particular collection.

The authors use position bias for the consequences of this skew in the task. Distance is a useful clue under the benchmark’s distribution. The difficulty arises when it determines which pairs can be considered or dominates how the surviving candidates are scored. In a news account such as the bus example, intervening clauses can carry relevant context while putting the cause outside a narrow neighborhood of the emotion. A classifier confined to such a neighborhood would have no opportunity to assign the correct pair a positive label.

Even when a system can score every pair, examples in the majority pattern can dominate what it learns. Clauses describing nearby events and reactions occur often among the positive training examples. More distant combinations are plentiful as candidates, while annotated positive examples among them are scarce. Consequently, admitting a distant pair to the search is only the first step. The system still needs a representation that helps it tell that pair apart from all the other distant combinations.

This challenge has a measurement aspect. A score on the full test collection combines common local examples with the less common cases that motivate the paper. Such a score answers how the system performs under the benchmark’s mixture of documents. The authors also want to know what happens when the annotated structure departs from that common pattern. They make that question part of the evaluation by dividing the test documents according to the number and proximity of their annotated pairs. Evaluation and benchmarks

How earlier systems narrowed or organized the task

In the paper’s account, earlier methods differ in whether they give relative position an explicit role. ECPE-MLL makes predictions within sliding windows defined in advance. The local search method evaluated as SLSN-U likewise works within a bounded context. ECPE-2D builds a representation for combinations of clauses, models interactions among them, and makes pair predictions. Its best configuration, as described by the authors, uses a window-constrained Transformer. These approaches have different ways to represent the task, but all give a central role to a neighborhood defined in clause order. Transformer and attention

Other position-sensitive methods put distance into the representations themselves. The paper describes PairGCN as relying substantially on position when it learns relations among pairs. RankCP uses a kernel-based relative position embedding to augment its representations after modeling interactions among clauses. These examples show that position can enter at different points. One design uses it to decide which candidates to examine. Another uses it to help represent or compare the candidates. The authors classify both kinds of design as position-sensitive for their comparison.

An earlier line of work proceeds without explicit relative-position features. Xia and Ding’s two-stage approaches first recover likely emotions and causes, then form combinations of those predictions and classify the combinations. They differ in how the extraction stages interact. Their Cartesian-product step keeps the pairing operation distinct from the selection of the two sets of candidates. In principle this gives a distant emotion and cause a route to consideration if both survive the first stage.

The paper also discusses sequence labeling and transition-based extraction. IE-CNN expresses extraction as a unified labeling problem, so labels assigned over the input sequence encode the pair predictions. The transition-based work of Fan and colleagues casts the task as a sequence of decisions that build the extraction. The authors see a common weakness even among methods without an explicit candidate window. Their representations may give distant clauses too little opportunity to exchange information that would support a link.

MGSAG starts from the idea that the relevant evidence can appear at different scales. A selected word or phrase may point to a feeling or to an important event described elsewhere. The meaning of a whole clause can help relate its event to a reaction in another part of the document. The authors treat these as complementary sources of evidence. They create routes for each kind of information, then ask a classifier to use both when it decides whether an ordered clause pair expresses a relationship.

The method, step by step

From a document to ordered candidates

The input is a document segmented into clauses. Imagine working through the bus account with the system. It has to represent what each clause says, decide what may be relevant elsewhere in the account, and judge each possible emotion–cause link. It does this in stages. It first reads words within clauses and then clauses in document order. From the resulting contextual representations it builds two graphs. A graph is a set of nodes joined by edges, which here define where information can flow. The final pair decision uses the clause representations produced by both graphs.

From document clauses to emotion–cause pairs

The steps in order.

From document clauses to emotion–cause pairsStep 1: Encode words within each clause1. Encode words within each clauseStep 2: Read clauses in document order for both roles2. Read clauses in document order for both rolesStep 3: Fuse emotion and cause representations3. Fuse emotion and cause representationsStep 4: Collect document key phrases and emotion words4. Collect document key phrases and emotion wordsStep 5: Pass information through clause and keyword nodes5. Pass information through clause and keyword nodesStep 6: Exchange information directly among clauses6. Exchange information directly among clausesStep 7: Join graph features and classify ordered pairs7. Join graph features and classify ordered pairs

The diagram puts the two graph operations on consecutive lines. Both start from the same fused clause representation, and their outputs meet at classification. The keyword route passes information between clauses through a set of words and phrases. The direct route lets each clause aggregate information from other clauses. The pair classifier then reads the enriched representation of the potential emotion and the enriched representation of its potential cause.

D = (c₁, …, cₙ)

Here D denotes the input document, cᵢ denotes the clause at position i, and n is shorthand for the paper’s |D|, the number of clauses. The ellipsis covers the intervening clauses in their document order. That order matters to the initial encoder even though the graphs place no distance bound on their connections.

P = {(cᵢᵉ, cⱼᶜ) : i, j index clauses in D}

P is the set of candidate pairs. The superscript e marks the emotion slot and the superscript c marks the cause slot. The indices i and j select clauses independently, and they may refer to the same clause. The braces denote the set formed under the condition following the colon. For a candidate to receive the positive label 1, clause cᵢ must express an emotion whose cause is supplied by clause cⱼ. The label 0 applies to all other combinations. The positive label is thus a statement about a link from the text and its annotations, with each endpoint assigned a specific role.

Reading words, then reading clauses

The first encoder is hierarchical. At the word level, a bidirectional long short-term memory network, or BiLSTM, reads the words in each clause in both directions. A hidden state is the vector of features the network produces at a position. Here each word state contains information from the sequence before and after that word within the clause. The system then uses attention to produce a single vector for the clause. Attention assigns different weights to the word states so that their contributions can vary with the input.

αᵢⱼ = softmax over clause words j of (Wₐ hᵢⱼ)

Here hᵢⱼ is the contextual hidden state of word j in clause i, Wₐ is a learned attention parameter, and αᵢⱼ is the weight assigned to that word. The softmax normalizes the scores across the words in that clause, making them non-negative weights that sum to 1. The same symbol α appears again in the graph formulas. Each occurrence is local to its operation, and the index over which it is normalized determines what that weight means.

hᵢ = ∑ⱼ αᵢⱼ hᵢⱼ

Here hᵢ is the pooled state of clause i. The summation ranges over its word positions j. Each contextual word state hᵢⱼ contributes in proportion to αᵢⱼ. This is the point at which a sequence of word states becomes a single clause state that the next encoder can use as an input.

At the next level, the objects in the sequence are the pooled clause states. The authors use separate bidirectional networks to process this same sequence for the two roles. One learns features useful for detecting an expressed emotion. The other learns features useful for finding what caused it. Reading in both directions can give a clause context from earlier events and later reactions. The clause encoders share the word-level inputs, while their own parameters and supervision distinguish their roles.

uᵢᵉ = BiLSTMₑ(hᵢ)

Here uᵢᵉ is the emotion-specific state for clause i, and BiLSTMₑ denotes the bidirectional clause encoder for that role. The equation names the output at the input position occupied by hᵢ. The encoder has access to the sequence of clause states across the document.

uᵢᶜ = BiLSTM꜀(hᵢ)

Here uᵢᶜ is the cause-specific state for clause i, and BiLSTM꜀ denotes its separate bidirectional encoder. The paper uses dₕ for the number of hidden units in the clause-level BiLSTM. The clause state has width 2dₕ because it contains the two directions. Emotion-specific and cause-specific states have the same width and can therefore be blended component by component.

The blend uses a learned gate. A gate is a scalar here, derived from the emotion-specific representation and applied to both vectors. Intuitively, it lets the system vary the balance between the two streams for different clauses. The two streams remain separate at the auxiliary prediction heads discussed below. Their blend supplies a shared starting point for the graphs.

gᵢ = σ(Wg uᵢᵉ + bg)

Here gᵢ is the gate for clause i. Wg is a learned row of weights with width 2dₕ, and bg is a learned bias. The sigmoid σ maps the affine score to a value between 0 and 1. The gate’s input uᵢᵉ comes from the emotion encoder, while the gated mixture includes the cause encoder’s output.

vᵢ = gᵢ uᵢᶜ + (1 − gᵢ)uᵢᵉ

Here vᵢ is the fused clause vector. The gate gᵢ weights the cause-specific state uᵢᶜ, and its complement weights the emotion-specific state uᵢᵉ. Because the two terms are scaled versions of equally wide vectors, the result still has width 2dₕ. Both the keyword graph and the direct clause graph initialize the node for cᵢ with this same vᵢ.

Choosing words and phrases for the whole document

The authors collect keywords from the input document in two ways. TextRank supplies key phrases, giving the system candidates drawn from the subject matter of that particular text. An affective lexicon supplies emotion words, giving it candidates whose relevance comes from their association with feelings. The paper takes the union. A lexical item can enter through either route, and an item returned by both routes is a member of the same set.

The authors assess these sources by asking how frequently the selected items occur inside annotated clauses. A clause counts as covered when it contains a selected keyword. A pair counts as covered when each of its clauses contains a keyword. The criterion allows different keywords at the two endpoints. It asks whether the selection supplies material inside both clauses, without asking whether any selected item provides evidence for the relationship between them.

TextRank phrases alone cover about 69% of the emotion clauses. Emotion words alone cover about 54% of the cause clauses. For annotated pairs, the paper reports coverage of about 50% from emotion words and about 63% from TextRank phrases. These are corpus coverage measurements, separate from prediction performance. They help explain why the authors include both sources. A list induced from the subject matter can miss emotional language, and a list selected for emotional content can miss details of the event that prompted the feeling.

The union is broad enough that about 79% of clauses contain a selected item. That number is for clauses generally. It helps explain the need for a learned aggregation rule even after keyword selection. Common coverage gives many clauses a lexical connection, and much of that material may be incidental to the target relation. The pair classifier ultimately needs to learn which contextual clause features are relevant, after the keyword branch has brought them together.

Routing information through keywords

The fine-grained branch, abbreviated FGSAG, constructs a bipartite graph. A bipartite graph has nodes in two groups, with its edges running between those groups. One group contains the document’s clauses. The other contains its extracted keywords. The graph joins every clause node to every keyword node in that document, even when a keyword is absent from the particular clause. Thus a clause excluded by the coverage count can still receive a message through the graph.

Gᵦ = (V꜀ ∪ Vₖ, Eᵦ)

Here Gᵦ is the bipartite graph, V꜀ is the set of clause nodes, Vₖ is the set of keyword nodes, and Eᵦ is its set of edges. The union symbol joins the node groups into the graph’s node set. If the document has n clauses and m keywords, the authors describe its clause-by-keyword adjacency matrix as having n rows and m columns, with each entry set to 1. An entry indicates that the corresponding clause and keyword are connected.

The dense arrangement addresses a problem the authors see with using literal co-occurrence as the edge rule. Clauses are short, and many selected keywords occur in just one clause. Connecting each keyword only to the clauses containing it would leave few opportunities for clauses to exchange information through the same keyword. Full connectivity creates a path across the document through any keyword. Learning determines the weights used along that path.

The paper initializes the keyword nodes with the word embeddings released by Xia and Ding for the benchmark. A word embedding is a numerical vector supplied as a feature for a lexical item. The clause nodes begin with the contextual vectors vᵢ produced by the preceding encoder. The paper uses d𝑤 for the width of a word embedding and sets it equal to the width 2dₕ of the fused clause vector. This lets the branch combine transformed clause features with a residual copy of the original clause vector at the end of the update. Word embeddings

αᵢⱼ = exp(wᵀ[W₁vᵢ ∥ W₂kⱼ]) / ∑ₜ exp(wᵀ[W₁vₜ ∥ W₂kⱼ])

Here i indexes a clause, j indexes a keyword, and t in the denominator ranges over all clauses. The vector kⱼ is the initial feature of keyword j, and vᵢ and vₜ are fused clause features. W₁ and W₂ are learned square transformations of width d𝑤. The symbol ∥ within brackets means that the transformed clause and keyword vectors are placed end to end. The learned vector w has width 2d𝑤, and T denotes transposition so that multiplying by wᵀ gives a scalar. The exponential is written exp. The slash divides by the sum of exponential scores for the same keyword taken across the document’s clauses.

The denominator is important to the interpretation. Each keyword’s weights are normalized across the clauses. A row of the clause-by-keyword array consequently has a different meaning from a distribution over keywords for one clause. The first aggregation pools clause information into a keyword node using the weights for that keyword. The next aggregation gathers these summaries back into each clause and uses the same edge weights again.

vᵢᵇ = tanh(vᵢ + ∑ⱼ αᵢⱼ (∑ₜ αₜⱼ W₃vₜ) + b)

Here vᵢᵇ is the updated clause representation from the bipartite graph. In the inner sum, t ranges over the document’s clauses, vₜ is the starting feature of clause t, W₃ is a learned square transformation of width d𝑤, and αₜⱼ is its weight for keyword j. The result inside parentheses is the aggregated representation of that keyword. The outer sum ranges over keywords j and weights each keyword representation by αᵢⱼ before sending it to clause i. The authors add the starting clause vector vᵢ and the bias b, then apply the hyperbolic tangent, tanh, component by component.

This operation gives a clause an indirect route to other clauses. To see where the information comes from, consider the inner sum. Its values are transformed clause features, while the keyword feature enters the stated scoring operation. After the sums, the original clause contributes directly through vᵢ. An enriched clause can thus retain its own information while also receiving a feature built from across the document. This distinction between what an edge carries and how its weight is set matters when interpreting both the keyword experiment and the displayed attention scores.

Connecting clauses directly

The coarse-grained branch, CGSAG, treats each complete clause as a node and learns direct interactions. It starts from the same vᵢ vectors as the keyword branch. The authors connect every clause to every other clause and give each a self-loop. A self-loop allows a clause’s previous state to contribute to its own update. The authors also motivate this choice by the possibility that a clause can occupy both roles in an annotated pair.

G꜀ = (V꜀, E꜀)

Here G꜀ denotes the direct clause graph, V꜀ is again the set of clause nodes, and E꜀ is its edge set. Each clause is a neighbor of every other clause, and its self-loop also makes it its own neighbor. The branch can therefore exchange information across the document without referring to how many clause boundaries separate any pair.

The paper uses graph attention to determine how much information each neighbor supplies. At a given layer, the source of a message and the clause receiving it contribute their current representations to the edge score. Those scores are normalized for each receiving clause. The resulting aggregate updates that clause, and the updates from the first layer become the inputs to the next.

eᵢⱼ⁽ᵗ⁾ = (w⁽ᵗ⁾)ᵀ tanh([W₂⁽ᵗ⁾vᵢ⁽ᵗ⁻¹⁾ ∥ W₃⁽ᵗ⁾vⱼ⁽ᵗ⁻¹⁾])

Here eᵢⱼ⁽ᵗ⁾ is the score for clause i to aggregate a message from clause j in graph layer t. The vectors vᵢ⁽ᵗ⁻¹⁾ and vⱼ⁽ᵗ⁻¹⁾ come from the preceding layer, with the initial states given by the fused clause vectors. W₂⁽ᵗ⁾ and W₃⁽ᵗ⁾ are learned transformations for the two participants. The brackets and ∥ indicate concatenation, and tanh acts on the concatenated vector before the dot product with the transposed, learned vector w⁽ᵗ⁾. These parameters belong to this graph layer. The t index here is a layer index, whereas the t in the bipartite formula ranges over clauses.

αᵢⱼ⁽ᵗ⁾ = exp(LeakyReLU(eᵢⱼ⁽ᵗ⁾)) / ∑ₖ∈N(i) exp(LeakyReLU(eᵢₖ⁽ᵗ⁾))

Here αᵢⱼ⁽ᵗ⁾ is the normalized attention weight on clause j as a neighbor of i at layer t. N(i) is the set of neighbors of clause i, including i itself, and k indexes the neighbors in the denominator. Both eᵢⱼ⁽ᵗ⁾ and eᵢₖ⁽ᵗ⁾ are edge scores from the preceding equation. LeakyReLU is an activation that keeps positive scores and applies a smaller slope to negative scores. The exponential and division by the sum normalize the weights over the receiving clause’s neighbors.

vᵢ⁽ᵗ⁾ = ReLU(∑ⱼ∈N(i) αᵢⱼ⁽ᵗ⁾ W₁⁽ᵗ⁾vⱼ⁽ᵗ⁻¹⁾ + b⁽ᵗ⁾)

Here vᵢ⁽ᵗ⁾ is the new representation of clause i at layer t. The sum gathers clause j’s previous state vⱼ⁽ᵗ⁻¹⁾ after transformation by the learned W₁⁽ᵗ⁾ and scaling by the edge weight αᵢⱼ⁽ᵗ⁾. The parameter b⁽ᵗ⁾ is the layer’s bias. ReLU maps negative components of the biased sum to zero and leaves positive components unchanged. The output after the two graph attention layers is the branch’s representation vᵢᶜ. Since all clauses can already exchange information in the first layer, the next layer works with representations that have already aggregated context from across the document.

Combining the branches and scoring the pair

The two branches enrich the same clause in different ways. The fine-grained branch collects clauses through their connections to document keywords. The coarse-grained branch joins information directly from contextual clause representations. The authors concatenate the two outputs. This keeps the features from both branches available when the pair classification layer assigns weights to the information in each slot.

v̂ᵢ = [vᵢᵇ ∥ vᵢᶜ]

Here v̂ᵢ is the final representation of clause i, vᵢᵇ is its representation from the bipartite graph, and vᵢᶜ is its representation from the direct clause graph. The ∥ symbol denotes concatenation. In this equation the superscript c on vᵢᶜ denotes the direct clause graph. Earlier the superscript c on uᵢᶜ denoted the cause-specific encoder.

vᵢⱼᵖ = [v̂ᵢ ∥ v̂ⱼ]

Here vᵢⱼᵖ is the feature for the candidate with clause i in the emotion slot and clause j in the cause slot. The superscript p identifies a pair feature, and v̂ᵢ and v̂ⱼ are the final clause features. The concatenation preserves the slot order. Swapping the clauses swaps the blocks that the classification layer receives, so that layer can learn different weights for emotional evidence and for evidence of a cause.

p̂ᵢⱼ = softmax(Wₚᵀvᵢⱼᵖ + bₚ)

Here p̂ᵢⱼ is the probability vector for the two pair labels, Wₚ is the learned classification matrix, and bₚ is its bias vector. The superscript T transposes Wₚ for multiplication by the pair vector. The paper gives Wₚ dimensions of 4d𝑤 by 2 and bₚ dimensions of 2 by 1. The softmax normalizes the two output scores, one for an annotated-type emotion–cause link and one for a negative candidate. The resulting predicted binary label for the pair is denoted by EĈᵢⱼ below.

The final layer uses the two contextual representations as its inputs. Evidence from an intervening clause can affect the decision through the clause encoder or either graph. The classification equation gives each candidate its own prediction from those features. The extraction rule then collects the positive pairs, so a clause can appear as an endpoint in more than one predicted relationship.

The authors train with supervision at the clause level and at the pair level. Before graph processing, the emotion-specific vector can already be asked whether its clause expresses an emotion. The cause-specific vector can be asked whether its clause serves as a cause. These targets create a direct reason for the two clause encoders to develop role-specific features. The final prediction is supervised against the annotated pairs, where the target depends on the role assignment and the connection between the two clauses.

ŷᵢᵉ = softmax(Wₑuᵢᵉ + bₑ)

Here ŷᵢᵉ is the auxiliary prediction that clause i has the emotion role, uᵢᵉ is its emotion-specific state, Wₑ is a learned weight, and bₑ is its learned bias. The paper writes the activation as a softmax. Its stated weight shape at this head creates a dimensional ambiguity for a binary distribution, discussed under limitations.

ŷᵢᶜ = softmax(W꜀uᵢᶜ + b꜀)

Here ŷᵢᶜ is the auxiliary prediction for the cause role, uᵢᶜ is the cause-specific state, W꜀ is its learned weight, and b꜀ is its learned bias. Again, the softmax is the activation written in the paper. Each head receives the state of its own role encoder before the gate combines the two states for the graphs.

L = Lpair + Lemo + Lcau

Here L is the training objective, Lpair is the cross-entropy for the final pair labels, Lemo is the cross-entropy for the auxiliary emotion labels, and Lcau is the cross-entropy for the auxiliary cause labels. Cross-entropy penalizes low probability assigned to the annotated label. The terms enter as an unweighted sum in the displayed objective. In particular, the clause labels add training signals even though the paper reports the final clause extraction predictions from the predicted pairs.

Êᵢ = 1 if ∑ⱼ EĈᵢⱼ > 0, and 0 otherwise

Here Êᵢ is the final predicted emotion label for clause i. EĈᵢⱼ is the predicted binary pair label for clause i as the emotion and clause j as its cause. The sum ranges over every clause j. If any candidate link in that direction is positive, the system reports clause i as an emotion. Cause extraction follows the corresponding rule with clause i in the cause slot. This difference between the auxiliary heads and reported clause outputs matters for interpretation. A clause can be recognized in the final evaluation through any correct or incorrect predicted link that assigns it the right role.

Training settings and the pretrained variant

For its main comparison, the paper uses the same benchmark word embeddings as Xia and Ding. Their dimension is 200. The word-level and clause-level BiLSTMs use 200 and 100 hidden units, respectively. The direct clause graph stacks two attention layers. The reported dropout rate is 0.1 for each layer, and the authors use Adam to update the parameters. Dropout reduces reliance on particular features during training, while Adam is the optimizer that adapts parameter updates as learning proceeds. Dropout · Adam

The appendix tests a version with a pretrained Chinese base BERT encoder. It supplies the [CLS] vector for each clause in place of the vector from the word-level encoder. That is the vector at the designated classification position of the encoded clause. The substitution happens before the two role-specific clause encoders, so the graphs still receive contextual clause features via the gate. The paper reports a mini-batch size of 2 and a learning rate of 1e-5 for this version, again using Adam. It presents the BERT results alongside versions that retain the recurrent word encoder.

Experiments and results

The corpus and the division of the test folds

The benchmark comes from Xia and Ding’s emotion–cause pair extraction dataset. It was constructed from an earlier emotion cause corpus containing 1,945 Chinese documents from SINA city news. The task annotations identify clause pairs. From a pair, the two clause roles can also be read individually, which makes it possible to evaluate the main task and the two clause extraction tasks using the same documents. Event-Driven Emotion Cause Extraction with Corpus Construction

The authors follow the benchmark’s 10-fold cross-validation protocol. They report average results over the 10 runs for precision, recall, and F₁. Precision asks what share of the predictions are correct. Recall asks what share of the annotated targets are recovered. F₁ combines the two measures and gives a lower score when either is low. For pair extraction, a correct prediction identifies the annotated clauses in the correct roles. For emotion and cause extraction, the target is an individual clause in the corresponding role. The same system can therefore show a different balance of precision and recall across those tasks.

Within each test fold the authors create two disjoint document groups. Test Bias contains documents with one annotated pair and a relative distance below 2. The definition captures documents whose complete set of gold relationships fits the most common pattern. Test NoBias contains the rest. A single annotated pair at a distance of 2 or more places a document in that second group. A document with multiple pairs also goes there, regardless of the distances of its pairs. Scores on Test NoBias therefore reflect extraction from that complementary group of documents.

The same fitted parameters are evaluated on the complete test fold and on its two parts. The authors thus compare generalization across document groups with the prediction procedure held fixed. The grouping relies on the gold annotations for analysis. It serves to tell the evaluator which documents belong in each score, and the system uses the same learned procedure to produce its predictions on both.

The systems used for comparison

The position-insensitive group in the main comparison includes Indep, Inter-CE, Inter-EC, and IE-CNN. The first three use a two-stage procedure. They extract emotion and cause clauses, form potential pairs from the results, and learn to identify the true pairs. IE-CNN instead implements the earlier sequence-labeling formulation. The group gives the authors a comparison with methods that also avoid explicit relative-position features in their account of prior work.

The position-sensitive group evaluates methods that use proximity or position in different ways. ECPE-MLL learns multiple labels within a sliding window. SLSN-U performs local search within its chosen context window. PairGCN learns relations among pairs with substantial reliance on position, while ECPE-2D uses a window-constrained interaction mechanism in its strongest reported setting. RankCP adds a relative-position representation after inter-clause modeling. Because these designs differ in several respects, their scores provide comparisons between complete systems. The component experiments later give more direct evidence about what makes a difference within MGSAG.

Pair extraction on the full test folds

On Test All, MGSAG obtains 0.6846 in pair F₁. ECPE-MLL is the strongest baseline on this measure at 0.6740. IE-CNN reaches 0.6686, the highest pair F₁ among the position-insensitive baselines on the full test folds. The authors report the leading recurrent-encoder result for MGSAG in spite of leaving out an explicit relative-position feature and retaining distant pairs as candidates.

Pair-extraction F1 on the full Chinese ECPE test folds

MGSAG leads the full-fold comparison, followed by the sliding-window ECPE-MLL approach.

Pair-extraction F1 on the full Chinese ECPE test foldsInter-EC: 0.6128Inter-EC0.6128IE-CNN: 0.6686IE-CNN0.6686PairGCN: 0.6321PairGCN0.6321ECPE-2D: 0.6496ECPE-2D0.6496SLSN-U: 0.6545SLSN-U0.6545RankCP: 0.6610RankCP0.6610ECPE-MLL: 0.6740ECPE-MLL0.6740MGSAG (this paper): 0.6846MGSAG (this paper)0.6846
The numbers
System or settingF1
Inter-EC0.6128
IE-CNN0.6686
PairGCN0.6321
ECPE-2D0.6496
SLSN-U0.6545
RankCP0.6610
ECPE-MLL0.6740
MGSAG (this paper)0.6846

The precision and recall columns clarify the nature of the result. MGSAG’s pair precision is 0.7243, higher than the other entries in the main full-fold comparison. Its pair recall is 0.6507. RankCP, for example, records recall of 0.6546 with precision of 0.6698. Thus MGSAG’s F₁ lead comes with the strongest precision in this comparison, while RankCP retrieves a slightly greater share of the gold links at lower precision. ECPE-MLL records pair precision of 0.7090 and recall of 0.6441. The ordering by F₁ captures both aspects of these different prediction profiles.

A full-fold result matters here because nearby pairs make up the dominant pattern. An architecture designed with distant evidence in mind still has to cope with short-distance alternatives in the usual distribution. MGSAG’s full-fold score shows that the design is competitive on that distribution. The separate test-group results provide the more direct comparison for documents that depart from it.

Emotion and cause extraction on the full test folds

On cause extraction, MGSAG reaches precision of 0.7510, recall of 0.6713, and F₁ of 0.7080 on Test All. ECPE-MLL, the strongest cause F₁ baseline there, reaches 0.6950. RankCP’s cause recall of 0.6743 is higher than the MGSAG recall, while its cause precision is 0.6927. The pattern resembles the pair result. MGSAG’s strongest relative metric is precision, and the combination of precision and recall puts it ahead on F₁.

Emotion extraction has a different ordering. MGSAG’s precision of 0.8721 is the highest in the main full-fold table, with recall of 0.7911 and F₁ of 0.8287. RankCP reaches 0.8548 in emotion F₁ and ECPE-MLL reaches 0.8500. Inter-CE records 0.8300, also above MGSAG on that measure. The authors emphasize the strength of the approach for cause extraction. Their results show that the architecture’s lead on the main task coexists with less complete coverage of gold emotion clauses than some alternatives achieve.

Because these individual-role results are derived from predicted pairs, they measure what can be recovered from the relation predictions. If a predicted pair contains the correct emotion with the wrong cause, that prediction can count in emotion extraction while remaining wrong on pair extraction. Conversely, a missed link can lower emotion recall if no other predicted link contains that emotion. The metrics therefore offer related views of the output and help show where the pair classifier’s decisions leave usable clause information.

What happens outside the usual pattern

On Test Bias, MGSAG reaches 0.7730 in pair F₁. ECPE-MLL records 0.7673 and IE-CNN 0.7666. The highest results are close together in this group of documents with a single nearby pair. The recurrent version of MGSAG has the best score among the methods shown in the split comparison. This is the direct evidence that keeping distant candidates and adding global information can still work on the conventional cases.

The separation is more visible on Test NoBias. MGSAG reaches pair F₁ of 0.4301. ECPE-MLL reaches 0.3988, SLSN-U reaches 0.3978, and RankCP reaches 0.3857. The paper describes the improvement over ECPE-MLL on this group as 3.13% in F₁. The recurrent MGSAG score on this complementary group also remains substantially below its score on Test Bias. Advantage over a baseline and difficulty of the evaluation group are two separate features of the result.

Pair-extraction F1 on the Chinese ECPE Test NoBias documents

MGSAG has the highest pair F1 on documents outside the single-nearby-pair group.

Pair-extraction F1 on the Chinese ECPE Test NoBias documentsInter-EC: 0.3318Inter-EC0.3318IE-CNN: 0.3484IE-CNN0.3484PairGCN: 0.3355PairGCN0.3355ECPE-2D: 0.3830ECPE-2D0.3830SLSN-U: 0.3978SLSN-U0.3978RankCP: 0.3857RankCP0.3857ECPE-MLL: 0.3988ECPE-MLL0.3988MGSAG (this paper): 0.4301MGSAG (this paper)0.4301
The numbers
System or settingF1
Inter-EC0.3318
IE-CNN0.3484
PairGCN0.3355
ECPE-2D0.3830
SLSN-U0.3978
RankCP0.3857
ECPE-MLL0.3988
MGSAG (this paper)0.4301

All the reported approaches show a substantial drop on Test NoBias. The authors associate this with the rarity of cases outside the usual pattern and with systems’ use of distance, explicitly or through learned behavior. The differences between systems add some perspective. IE-CNN is strong on Test Bias and on the full test folds, yet has a lower score on Test NoBias than several systems that explicitly exploit position. Avoiding a hand-specified position feature by itself gives little assurance that a representation will capture long-range links. MGSAG supplies particular ways to exchange evidence across a document and improves the score on that group.

The comparison also helps interpret the position-sensitive baselines. ECPE-MLL and SLSN-U retain relatively strong results on Test NoBias compared with several of the other entries. That group can contain nearby pairs in documents with multiple annotations. A method that handles nearby pairs well can still recover some relationships in those documents. The split score reports the overall extraction performance on that mix, so it should be read together with its document-level definition.

The results with BERT

The BERT comparison asks what happens when the lower-level representation of a clause improves through pretrained encoding. On Test All, the BERT version of MGSAG reaches pair precision of 0.7743, recall of 0.7321, and F₁ of 0.7521. The recurrent version’s corresponding values are 0.7243, 0.6507, and 0.6846. Among the BERT alternatives on the full test folds, ECPE-MLL reaches pair F₁ of 0.7452 and RankCP reaches 0.7360. RankCP has higher recall than MGSAG in this comparison, at 0.7630, and MGSAG has higher precision.

The appendix also reports the split comparison with PairGCN. On Test NoBias, MGSAG with BERT scores 0.5004 in pair F₁ and PairGCN with BERT scores 0.4005. On Test Bias, MGSAG with BERT records 0.8214, with PairGCN with BERT slightly ahead at 0.8219. This qualifies the local ranking from the main comparison. Within this appendix comparison, the BERT variant improves MGSAG’s scores on both groups relative to its recurrent version, and the relative benefit over PairGCN is clearest on Test NoBias.

For cause extraction on Test All, the appendix gives the BERT version of MGSAG an F₁ of 0.7712. ECPE-MLL with BERT records 0.7630 and RankCP with BERT records 0.7615. Across the appendix, each comparison needs its encoder, task, and split specified. The strongest result for pair F₁ and the strength on causes coexist with mixed individual-role rankings. The substantive position result is that changing the clause encoder raises scores on Test NoBias while leaving that group substantially harder than Test Bias.

What the ablations show

What each graph contributes

An ablation removes or changes part of an approach and measures the consequence. The main architecture ablation here takes away the fine-grained graph, the coarse-grained graph, or both. The full system leads on all three evaluations. Test NoBias gives a useful view of the comparison because the design is intended to help the extraction of relationships outside the common local pattern.

Pair-extraction F1 for graph ablations on Chinese ECPE Test NoBias

Each graph improves the result when added to the architecture with the other graph present.

Pair-extraction F1 for graph ablations on Chinese ECPE Test NoBiasNeither graph: 0.3269Neither graph0.3269Coarse-grained graph only: 0.3894Coarse-grained graph only0.3894Fine-grained graph only: 0.4027Fine-grained graph only0.4027MGSAG with both graphs (this paper): 0.4301MGSAG with both graphs (this paper)0.4301
The numbers
System or settingF1
Neither graph0.3269
Coarse-grained graph only0.3894
Fine-grained graph only0.4027
MGSAG with both graphs (this paper)0.4301

When the fine-grained graph is removed, pair F₁ is 0.7594 on Test Bias and 0.6519 on Test All. Test NoBias falls to 0.3894. The authors report a decrease of 4.07% in pair F₁ for that last group. The experiment tests the whole branch. It takes away the extra representation produced by the keyword-mediated exchange, including its attention and aggregation. The result establishes the value of keeping that branch in the tested architecture. The separate keyword experiments give a closer look at which inputs to it matter.

When the coarse-grained graph is removed, the scores are 0.7654 on Test Bias, 0.4027 on Test NoBias, and 0.6529 on Test All. The direct clause route therefore contributes to performance even while the keyword route is available. The authors report a decrease of 0.76% on Test Bias and 2.74% on Test NoBias in pair F₁ for this removal. Under their split, direct aggregation from clauses is especially helpful on the group that contains the more varied pair configurations.

Removing both graphs gives pair F₁ of 0.7264 on Test Bias, 0.3269 on Test NoBias, and 0.6242 on Test All. On every test grouping, the system with both graphs comes ahead of either single-graph variant, and either single-graph variant comes ahead of removing both. That is the empirical sense in which their contributions are complementary here. The comparison evaluates the utility of branches as part of a predictor. It gives more limited information about exactly which features the branches encode, or whether another equally expressive mechanism could capture similar evidence.

What the extra training signals change

The supervision study compares the full objective with training on pair cross-entropy alone. With only the pair loss, the approach achieves precision of 0.6940, recall of 0.6533, and F₁ of 0.6720 for pair extraction on the full test folds. With clause-level supervision added, precision is 0.7243, recall is 0.6507, and F₁ is 0.6846. The overall gain in this comparison comes through higher precision alongside slightly lower recall.

This pattern fits the authors’ view that explicit role targets help the clause encoders develop features useful for choosing valid pairs. The test demonstrates the effect of training with the auxiliary terms together. It leaves the separate contributions of emotion supervision and cause supervision unresolved. It also matters that the auxiliary heads are early in the network. The measured improvement is in final pair predictions derived after graph aggregation. The additional labels therefore appear useful even when the system ultimately makes its decisions at the level of whole pairs.

The role targets and pair targets reward different judgments. An emotion label concerns what one clause expresses. The pair target concerns that clause in relation to a specific candidate cause. By comparing the objectives directly, the paper tests whether enforcing the former judgment during training helps the latter decision. The precision and recall columns show where it helps. A reader interested in missed links would still need to examine the recall result even though the aggregate F₁ favors the full objective.

What the keyword inputs contribute

The keyword setting with both sources reaches pair F₁ of 0.6846 on Test All. Removing emotion words yields 0.6686, and removing TextRank phrases yields 0.6771. On Test Bias, the corresponding removal scores are 0.7669 and 0.7658, compared with 0.7730 with both sources. The union is the best of these settings on both the complete test set and the local document group.

The removals differ more clearly on Test NoBias. The full keyword set gives 0.4301 in pair F₁. Omitting emotion words gives 0.3920, while omitting TextRank phrases gives 0.4271. Within this architecture and these test documents, the emotion word source makes the greater difference to that particular score. The coverage analysis alone would give an incomplete picture of this result. Coverage records where selected items appear. The ablation measures the behavior of a system trained and evaluated with a changed keyword set.

A further variant keeps the keywords but uses randomly initialized vectors as their initial features. Its pair F₁ is 0.7596 on Test Bias, 0.4078 on Test NoBias, and 0.6674 on Test All. The authors interpret the difference from full MGSAG as support for the lexical information supplied by the released embeddings. This intervention addresses a separate question from changing which nodes are present. Removing a keyword source changes the membership of the graph, while random initialization changes the starting features assigned to its keyword nodes. The printed attention formula complicates a literal account of how the latter effect arises, as discussed below.

A distant relationship in a single document

The case study examines a gold pair with emotion clause c₁₁ and cause clause c₄, separated by a distance of 7. MGSAG extracts the link, while ECPE-MLL misses it. The cause clause contains none of the selected keywords. It still participates in the bipartite graph because the connection rule gives every clause access to every keyword node in the document. The example illustrates what this design makes possible even when co-occurrence would have left a clause with no keyword neighbor.

The authors show the weight array as a heatmap. The rows for c₁₁ and c₄ are the darkest, indicating that the graph assigns comparatively strong weights to those clause rows. This is consistent with the route for information the authors intended to create. The example also clarifies why a coverage test can underestimate the reach of the graph. Coverage asks whether a selected item appears inside the cause clause. The graph allows affinity scores and aggregation to give that clause a role regardless of its local keyword inventory.

The heatmap is an account of the internal scores for a successful prediction, with a concrete comparison against a window-based baseline on the same example. The graph removals supply the broader evidence that the branches change performance. Attributing this individual decision to a particular keyword or attention connection would require an intervention on the case. The paper’s case study gives a view of a possible route through the system and of the kind of distant link the architecture can recover. Interpretability

Limitations

Limits the authors identify

The authors describe the benchmark as the only typical, widely used dataset for the task at the time of their experiments. Its imbalance creates the problem they study and also limits the test of their solution. The uncommon configurations are drawn from the same collection as the dominant ones. The split makes performance on those documents visible. Evidence for transfer to a different collection, language, or kind of document would require another evaluation.

The results leave a sizable gap between Test Bias and Test NoBias, even with BERT. The authors connect the gap to both the imbalance of the benchmark and the reliance of extraction methods on position. They treat their graph approach as an improvement in handling the difficult group. The remaining scores show how much room there is for improvement when documents fall outside the single-nearby-pair pattern.

The paper’s future-work direction is to reduce the number of negative candidates using a procedure that avoids a distance-based restriction. MGSAG still forms candidates from every ordered clause combination. Its direct clause graph likewise includes every clause as a neighbor of every other clause. Those choices preserve paths to distant evidence but keep the burden of representing and scoring many combinations. The reported experiments establish accuracy comparisons on the benchmark. Runtime, memory use, and the behavior of these dense operations on much longer documents remain open.

The authors also acknowledge the possibility that broad keyword coverage admits irrelevant material. Their design assigns weights to the resulting connections. The removal and initialization experiments show that the keyword setting matters for the reported scores. A more detailed analysis of which lexical items help, and in which types of documents, would provide evidence about how the system deals with noise inside an individual graph.

Limits of the evaluation

Test NoBias combines more than one source of difficulty. It includes documents whose sole annotated pair is distant and documents whose annotation contains multiple pairs. Multiplicity can make it harder to select the correct association even when the clauses within a pair are close. The reported gain demonstrates better performance on the combined group. Isolating the contribution of distance would require results stratified by the distances of individual annotated pairs or a comparison that controls for how many pairs each document contains. Likewise, a Test NoBias score measures performance on a selected group from an imbalanced corpus, rather than performance on a corpus with a balanced distance distribution.

The approach avoids explicit relative-position features in the graph and keeps candidates across the document. Its recurrent clause encoders still process an ordered sequence. They can make use of patterns in how events and emotions are arranged, and training continues to expose them to the benchmark’s majority pattern. The architecture reduces a direct dependence on locality in candidate generation and graph connectivity. The experiments leave open how strongly the trained system still uses order implicitly, or how it would respond if the same kinds of clues were distributed differently in another corpus.

The full comparison also brings together complete systems with different encoders, objectives, and prediction procedures. Their rankings can show that a position-insensitive architecture is competitive under this protocol. The rankings give limited evidence about how much of a baseline’s score is caused by its use of distance, because other parts of its design change at the same time. The MGSAG ablations answer a narrower question under more controlled conditions. They show the change associated with removing its own branches or training signals.

The tables report averaged scores. They give no fold-level spread, uncertainty intervals, or statistical tests for the key comparisons. The ordering is clear from the reported values, while the variability of close scores across folds remains unknown. This applies especially to the closely spaced results on Test Bias. The BERT split comparison also lists PairGCN as the comparison system, so its rankings on those subsets have a narrower scope than the original split comparison.

Pair labels concern an explanation expressed or supported within a news document. Recovering an annotated pair establishes agreement with the task’s labeling of that text. The experimental protocol offers no independent test of whether the event caused the emotion in the world, and it does not establish effects in the applications discussed in the introduction. The distinction matters particularly when the evidence is indirect. The extraction output links two clauses, leaving the origin and reliability of the account outside the evaluation.

Questions raised by the printed equations

The fine-grained attention equation deserves a close reading because the paper intends each keyword to help determine how clauses are weighted. In the printed equation, the transformed clause and keyword vectors are concatenated, then scored by a linear dot product. That score is the sum of a clause-dependent term and a keyword-dependent term. For a fixed keyword, its term is identical in every score in the denominator. After exponentiation it becomes a common factor, which cancels during normalization across clauses. As printed, the resulting weights across clauses are therefore the same for each keyword. The branch can still aggregate transformed clause features, and the number of keyword nodes can affect the outer sum.

This algebra limits what can be inferred about keyword identity from the displayed operation. If the equation is followed literally, changes to the initial keyword vectors leave those normalized weights unchanged. Yet the random-initialization experiment reports a change in performance, and the paper attributes it to the lexical information supplied by the original embeddings. The paper leaves that discrepancy unresolved. The reported ablation establishes a result for the tested variant, while the displayed equation alone fails to account for the stated pathway from lexical identity to the attention weights.

The auxiliary clause heads pose a separate issue. The paper describes binary role supervision and writes each head using softmax, but gives a 1 by 2dₕ weight shape. With a scalar bias, that shape gives a single output score from each head, whereas a softmax over a single score always assigns it all the probability. The text consequently leaves the exact binary parameterization uncertain. The intended training arrangement is still clear at the architectural level. There are distinct emotion and cause supervision signals, and the ablation compares training with both signals to training with the pair signal alone.

A reporting inconsistency also affects the BERT appendix’s emotion extraction row for MGSAG. The printed full-test values give precision of 0.9208, recall of 0.9211, and F₁ of 0.8717. For a single precision and recall pair, the harmonic mean lies between its input values. Averaging metrics across folds can change that relationship for the reported averages, so recomputing F₁ from those averages would be unwarranted. The paper gives too little detail about those entries to reconcile them from the table alone. The main pair results and the cause results are reported separately.

What came after

No later studies are documented here for tracing how the paper’s keyword-mediated graph, direct clause graph, or distance-based evaluation was carried forward. The authors’ own proposed continuation was to reduce the number of negative pairs without using proximity to decide which candidates survive. That proposal addresses an open question left by the dense design. A system can preserve access to distant causes by considering the full document, while still needing a way to discard unrelated combinations before they overwhelm the search.

Cite

Cite as Yinan Bao, Qianwen Ma, Lingwei Wei, Wei Zhou and Songlin Hu. 2022. Multi-Granularity Semantic Aware Graph Model for Reducing Position Bias in Emotion Cause Pair Extraction. Findings of the Association for Computational Linguistics: ACL 2022.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2022.findings-acl.95

@inproceedings{bao2022multi,
  title = {{Multi-Granularity Semantic Aware Graph Model for Reducing Position Bias in Emotion Cause Pair Extraction}},
  author = {Yinan Bao, Qianwen Ma, Lingwei Wei, Wei Zhou and Songlin Hu},
  booktitle = {Findings of the Association for Computational Linguistics: ACL 2022},
  year = {2022},
  doi = {10.18653/v1/2022.findings-acl.95},
  url = {https://doi.org/10.18653/v1/2022.findings-acl.95}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/bao-2022-multi-granularity-semantic-aware-graph/