Cross-Target Stance Classification with Self-Attention Networks - - PowerPoint PPT Presentation

cross target stance classification with self attention
SMART_READER_LITE
LIVE PREVIEW

Cross-Target Stance Classification with Self-Attention Networks - - PowerPoint PPT Presentation

Cross-Target Stance Classification with Self-Attention Networks Chang Xu, Ccile Paris, Surya Nepal, and Ross Sparks CSIRO Data61 July 2018 www.data61.csiro.au Stance Classification in Tweets Automatically identify users positions on a


slide-1
SLIDE 1

www.data61.csiro.au

Cross-Target Stance Classification with Self-Attention Networks

Chang Xu, Cécile Paris, Surya Nepal, and Ross Sparks

CSIRO Data61 July 2018

slide-2
SLIDE 2

Stance Classification in Tweets

  • Automatically identify users’ positions on a pre-chosen target of

interest (e.g., public issues) from text

Cross-Target Stance Classification with Self-Attention Networks | Chang Xu

Target (given): Climate Change is Real Concern Tweet (given): We need to protect our islands and stop the destruction of coral reef. Stance label (to be predicted): Favour

2 |

(Input) (Input) (Output)

slide-3
SLIDE 3

Cross-Target Stance Classification

  • Generalise user stance on unseen targets

3 |

Target: Climate Change is Real Concern (Source) Tweet: We need to protect our islands and stop the destruction of coral reef. Stance: Favour

Source target

Target: A mining project in Australia (Destination) Tweet: Environmentalists warn the $16 billion coal facility will damage the Great Barrier Reef. Stance: ???

Destination target

Apply classifiers trained

  • n a source target to the

destination target

Cross-Target Stance Classification with Self-Attention Networks | Chang Xu

unlabelled labelled

slide-4
SLIDE 4

Our Approach: Basic Idea

  • For targets both related to a common domain, stance generalisation is possible

via domain-specific information that reflects users’ major concerns

4 |

Tweet: We need to protect our islands and stop the destruction of coral reef. Target: Climate Change is Real Concern Stance: Favour

Source target

Tweet: Environmentalists warn the $16 billion coal facility will damage the Great Barrier Reef. Target: A mining project in Australia Stance: Favour

Destination target Domain aspects: e.g., reef, destruction/damage (Implicit) Domain: environment

Cross-Target Stance Classification with Self-Attention Networks | Chang Xu 4 |

slide-5
SLIDE 5

Extraction of Domain Aspects

  • Key properties of domain aspects
  • They tend to be mentioned by multiple users in a corpus
  • They tend to carry the core meaning of a stance-bearing tweet

➢ In our project dataset, 3776 our of 41805 tweets mentioned the aspect ”reef”

“why fund Adani #Coal Mine and destroy our Reef when there’s so much sun in Queensland?” “And your massive polluting Carmichael mine will do its bit to kill Australia's great barrier reef?” “And thousands of jobs will be lost in reef tourism when Adani goes ahead.” “The coral reef crisis is actually a crisis of governance.”

Cross-Target Stance Classification with Self-Attention Networks | Chang Xu 5 |

slide-6
SLIDE 6

A Self-Attention Neural Model: Overview

Class label (Favour/Against/Neither)

ො 𝑧

Cross-Target Stance Classification with Self-Attention Networks | Chang Xu

1 2 3 4 Input Output

6 |

slide-7
SLIDE 7

A Self-Attention Neural Model: Overview

Class label (Favour/Against/Neither)

ො 𝑧

Cross-Target Stance Classification with Self-Attention Networks | Chang Xu

1 2 3 4 Input Output

Preliminary modelling

  • The simplest case: source-

side-only model

7 |

Aspect-aware & target-dependent sentence encoding

slide-8
SLIDE 8

𝑼 = [ 1.3 2.9 3.7 , 4.2 0.6 7.1 , 2.6 4.5 8.7 , 0.3 0.2 0.9 ]

Context Encoding Layer

  • Conditional sentence encoding [Augenstein et al., 2016]: Learn a

target-dependent representation for the sentence

𝑸 = [ 2.2 1.1 0.9 , 4.6 4.5 5.2 , 1.1 1.9 1.7 , 8.4 6.6 3.3 ]

Target Sentence

𝑰 = [ 6.3 5.9 1.7 , 4.2 0.6 7.1 , 2.6 4.5 8.7 , 2.9 3.1 4.8 ]

Bi-LSTM Bi-LSTM

Target-conditioned sentence encoding

Cross-Target Stance Classification with Self-Attention Networks | Chang Xu 8 |

initialize

slide-9
SLIDE 9

Aspect Attention Layer

  • Extract domain aspect words using self-attention weighting
  • Attention weights on word positions : the importance in carrying the sentence meaning

“We need to protect … destruction of coral reef” We need to

  • f

coral reef

0.01 0.2 0.01 0.01 0.4 0.4

word position weight sentence

𝐵 = ෍

𝑗

𝑥𝑓𝑗𝑕ℎ𝑢𝑗 ∙ 𝑥𝑝𝑠𝑒𝑗 Domain-aspect encoding vector

Compatibility function

Cross-Target Stance Classification with Self-Attention Networks | Chang Xu 9 |

semantic similarity

slide-10
SLIDE 10

Experiments

Datasets

  • SemEval 2016 Task 6: Twitter stance detection

Domains and targets

  • 1. Women’s Rights: Feminist Movement <> Legalisation of Abortion
  • 2. American Politics: Hillary Clinton <> Donald Trump

Climate Change is Concern Feminist Movement Hillary Clinton Legalization of Abortion Donald Trump

Cross-Target Stance Classification with Self-Attention Networks | Chang Xu 10 |

slide-11
SLIDE 11

Classification performance

Cross-Target Stance Classification with Self-Attention Networks | Chang Xu 11 |

∆𝐺

1=3.0%

∆𝐺

1=6.6%

FM: Feminist Movement LA: Legalization of Abortion HC: Hillary Clinton DT: Donald Trump CC: Climate Change is Concern

Extracted domain aspects benefit cross-target task more Better performance

  • n both tasks across

almost all targets

slide-12
SLIDE 12

Visualisation of attention

12 | Cross-Target Stance Classification with Self-Attention Networks | Chang Xu

The heatmap of the attention weights assigned to some tweet examples

A: Against F: Favour

Words central to expressing stances are highlighted by our model!

FM: Feminist Movement LA: Legalization of Abortion HC: Hillary Clinton DT: Donald Trump CC: Climate Change is Concern AMP: Australian mining project

Women’s rights American politics Environments

slide-13
SLIDE 13

Visualisation of attention

13 | Cross-Target Stance Classification with Self-Attention Networks | Chang Xu

The heatmap of the attention weights assigned to some tweet examples

A: Against F: Favour

Words central to expressing stances are highlighted by our model!

FM: Feminist Movement LA: Legalization of Abortion HC: Hillary Clinton DT: Donald Trump CC: Climate Change is Concern AMP: Australian mining project

Women’s rights American politics Environments

slide-14
SLIDE 14

Visualisation of attention

14 | Cross-Target Stance Classification with Self-Attention Networks | Chang Xu

The heatmap of the attention weights assigned to some tweet examples

A: Against F: Favour

Words central to expressing stances are highlighted by our model!

FM: Feminist Movement LA: Legalization of Abortion HC: Hillary Clinton DT: Donald Trump CC: Climate Change is Concern AMP: Australian mining project

Women’s rights American politics Environments

slide-15
SLIDE 15

Visualisation of attention

15 | Cross-Target Stance Classification with Self-Attention Networks | Chang Xu

The heatmap of the attention weights assigned to some tweet examples

A: Against F: Favour

Words central to expressing stances are highlighted by our model!

FM: Feminist Movement LA: Legalization of Abortion HC: Hillary Clinton DT: Donald Trump CC: Climate Change is Concern AMP: Australian mining project

Women’s rights American politics Environments

slide-16
SLIDE 16

Conclusion

  • A self-attention model which can attend high-level information

about the domain for stance generalisation

  • Domain aspect words are useful to determine the user stance
  • Future directions
  • Incorporation of target divergence into our modelling.
  • Learning aspects from multiple sources (e.g., environment, community, and

economics aspects for “mining projects”)

16 | Cross-Target Stance Classification with Self-Attention Networks | Chang Xu