cross target stance classification with self attention
play

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


  1. Cross-Target Stance Classification with Self-Attention Networks Chang Xu, Cécile Paris, Surya Nepal, and Ross Sparks CSIRO Data61 July 2018 www.data61.csiro.au

  2. Stance Classification in Tweets • Automatically identify users’ positions on a pre -chosen target of interest (e.g., public issues) from text ( Input ) Target (given) : Climate Change is Real Concern ( Input ) Tweet (given) : We need to protect our islands and stop the destruction of coral reef. Stance label (to be predicted) : Favour ( Output ) 2 | Cross-Target Stance Classification with Self-Attention Networks | Chang Xu

  3. Cross-Target Stance Classification • Generalise user stance on unseen targets Target : A mining project in Australia ( Destination ) Tweet : Environmentalists warn the $16 billion coal unlabelled facility will damage the Great Barrier Reef. Stance : ??? Apply classifiers trained Destination target on a source target to the destination target Target : Climate Change is Real Concern ( Source ) Tweet : We need to protect our islands and stop labelled the destruction of coral reef. Stance : Favour Source target 3 | Cross-Target Stance Classification with Self-Attention Networks | Chang Xu

  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 Tweet : Environmentalists warn the $16 billion Tweet : We need to protect our islands and stop coal facility will damage the Great Barrier Reef. the destruction of coral reef. Target : A mining project in Australia Target : Climate Change is Real Concern Stance : Favour Stance : Favour Destination target Source target 4 | Domain aspects : e.g., reef, destruction/damage (Implicit) Domain : environment 4 | Cross-Target Stance Classification with Self-Attention Networks | Chang Xu

  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.” 5 | Cross-Target Stance Classification with Self-Attention Networks | Chang Xu

  6. A Self-Attention Neural Model: Overview 𝑧 ො Class label (Favour/Against/Neither) 4 Output 3 2 Input 1 6 | Cross-Target Stance Classification with Self-Attention Networks | Chang Xu

  7. A Self-Attention Neural Model: Overview 𝑧 ො Class label (Favour/Against/Neither) 4 Output 3 Aspect-aware & target-dependent sentence encoding 2 Input Preliminary modelling • The simplest case: source- 1 side-only model 7 | Cross-Target Stance Classification with Self-Attention Networks | Chang Xu

  8. Context Encoding Layer • Conditional sentence encoding [Augenstein et al., 2016]: Learn a target-dependent representation for the sentence 6.3 4.2 2.6 2.9 Target-conditioned sentence encoding 𝑰 = [ , , , ] 5.9 0.6 4.5 3.1 1.7 7.1 8.7 4.8 Bi-LSTM Bi-LSTM initialize 1.3 4.2 2.6 0.3 2.2 4.6 1.1 8.4 𝑼 = [ 2.9 , 0.6 , 4.5 , 0.2 ] 𝑸 = [ 1.1 , 4.5 , 1.9 , 6.6 ] 3.7 7.1 8.7 0.9 0.9 5.2 1.7 3.3 Target Sentence 8 | Cross-Target Stance Classification with Self-Attention Networks | Chang Xu

  9. Aspect Attention Layer • Extract domain aspect words using self-attention weighting • Attention weights on word positions : the importance in carrying the sentence meaning sentence “We need to protect … destruction of coral reef” Compatibility function semantic similarity word position We need to of coral reef weight 0.4 0.01 0.2 0.01 0.01 0.4 𝐵 = ෍ 𝑥𝑓𝑗𝑕ℎ𝑢 𝑗 ∙ 𝑥𝑝𝑠𝑒 𝑗 Domain-aspect encoding vector 𝑗 9 | Cross-Target Stance Classification with Self-Attention Networks | Chang Xu

  10. Experiments Datasets • SemEval 2016 Task 6 : Twitter stance detection Climate Change is Concern Feminist Movement Hillary Clinton Legalization of Abortion Donald Trump Domains and targets 1. Women’s Rights : Feminist Movement <> Legalisation of Abortion 2. American Politics : Hillary Clinton <> Donald Trump 10 | Cross-Target Stance Classification with Self-Attention Networks | Chang Xu

  11. Classification performance ∆𝐺 1 =3.0% Extracted domain aspects benefit cross-target task more Better performance on both tasks across ∆𝐺 1 =6.6% almost all targets FM : Feminist Movement LA : Legalization of Abortion HC : Hillary Clinton DT : Donald Trump CC : Climate Change is Concern 11 | Cross-Target Stance Classification with Self-Attention Networks | Chang Xu

  12. Visualisation of attention The heatmap of the attention weights assigned to some tweet examples Women’s rights American politics Environments FM : Feminist Movement A: Against F: Favour LA : Legalization of Abortion Words central to expressing stances HC : Hillary Clinton DT : Donald Trump are highlighted by our model! CC : Climate Change is Concern AMP : Australian mining project 12 | Cross-Target Stance Classification with Self-Attention Networks | Chang Xu

  13. Visualisation of attention The heatmap of the attention weights assigned to some tweet examples Women’s rights American politics Environments FM : Feminist Movement A: Against F: Favour LA : Legalization of Abortion Words central to expressing stances HC : Hillary Clinton DT : Donald Trump are highlighted by our model! CC : Climate Change is Concern AMP : Australian mining project 13 | Cross-Target Stance Classification with Self-Attention Networks | Chang Xu

  14. Visualisation of attention The heatmap of the attention weights assigned to some tweet examples Women’s rights American politics Environments FM : Feminist Movement A: Against F: Favour LA : Legalization of Abortion Words central to expressing stances HC : Hillary Clinton DT : Donald Trump are highlighted by our model! CC : Climate Change is Concern AMP : Australian mining project 14 | Cross-Target Stance Classification with Self-Attention Networks | Chang Xu

  15. Visualisation of attention The heatmap of the attention weights assigned to some tweet examples Women’s rights American politics Environments FM : Feminist Movement A: Against F: Favour LA : Legalization of Abortion Words central to expressing stances HC : Hillary Clinton DT : Donald Trump are highlighted by our model! CC : Climate Change is Concern AMP : Australian mining project 15 | Cross-Target Stance Classification with Self-Attention Networks | Chang Xu

  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

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend