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
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
www.data61.csiro.au
CSIRO Data61 July 2018
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)
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
destination target
Cross-Target Stance Classification with Self-Attention Networks | Chang Xu
unlabelled labelled
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 |
➢ 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 |
Class label (Favour/Against/Neither)
ො 𝑧
Cross-Target Stance Classification with Self-Attention Networks | Chang Xu
1 2 3 4 Input Output
6 |
Class label (Favour/Against/Neither)
ො 𝑧
Cross-Target Stance Classification with Self-Attention Networks | Chang Xu
1 2 3 4 Input Output
Preliminary modelling
side-only model
7 |
Aspect-aware & target-dependent sentence encoding
𝑼 = [ 1.3 2.9 3.7 , 4.2 0.6 7.1 , 2.6 4.5 8.7 , 0.3 0.2 0.9 ]
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
“We need to protect … destruction of coral reef” We need to
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
Climate Change is Concern Feminist Movement Hillary Clinton Legalization of Abortion Donald Trump
Cross-Target Stance Classification with Self-Attention Networks | Chang Xu 10 |
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
almost all targets
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
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
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
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
16 | Cross-Target Stance Classification with Self-Attention Networks | Chang Xu