Natural Language Processing 1
Natural Language Processing 1
Lecture 10: Language generation and summarisation Katia Shutova
ILLC University of Amsterdam
2 December 2019
1 / 51
Natural Language Processing 1 Lecture 10: Language generation and - - PowerPoint PPT Presentation
Natural Language Processing 1 Natural Language Processing 1 Lecture 10: Language generation and summarisation Katia Shutova ILLC University of Amsterdam 2 December 2019 1 / 51 Natural Language Processing 1 Language generation Language
Natural Language Processing 1
1 / 51
Natural Language Processing 1 Language generation
2 / 51
Natural Language Processing 1 Language generation
3 / 51
Natural Language Processing 1 Language generation
4 / 51
Natural Language Processing 1 Language generation
◮ logical form (early work) ◮ distributional representations (e.g. paraphrasing) ◮ hidden states of a neural network
5 / 51
Natural Language Processing 1 Language generation
6 / 51
Natural Language Processing 1 Language generation
7 / 51
Natural Language Processing 1 Language generation
8 / 51
Natural Language Processing 1 Text summarisation
9 / 51
Natural Language Processing 1 Text summarisation
10 / 51
Natural Language Processing 1 Text summarisation
11 / 51
Natural Language Processing 1 Text summarisation
12 / 51
Natural Language Processing 1 Text summarisation
13 / 51
Natural Language Processing 1 Extractive summarisation
14 / 51
Natural Language Processing 1 Extractive summarisation
15 / 51
Natural Language Processing 1 Extractive summarisation
◮ tf-idf: assign a weight to each word i in the doc j as
◮ mutual information 16 / 51
Natural Language Processing 1 Extractive summarisation
◮ position of the sentence (e.g. first sentence) ◮ sentence length ◮ informative words ◮ cue phrases ◮ etc.
17 / 51
Natural Language Processing 1 Extractive summarisation
18 / 51
Natural Language Processing 1 Extractive summarisation
19 / 51
Natural Language Processing 1 Extractive summarisation
20 / 51
Natural Language Processing 1 Query-focused multi-document summarisation
21 / 51
Natural Language Processing 1 Query-focused multi-document summarisation
22 / 51
Natural Language Processing 1 Query-focused multi-document summarisation
◮ appositives: e.g. Also on display was a painting by Sandor
◮ attribution clauses: e.g. Eating too much bacon can lead to
◮ PPs without proper names: e.g. Electoral support for Plaid
◮ initial adverbials: e.g. For example,
23 / 51
Natural Language Processing 1 Query-focused multi-document summarisation
◮ identify informative words based on e.g. tf-idf ◮ words in the query also considered informative
24 / 51
Natural Language Processing 1 Query-focused multi-document summarisation
25 / 51
Natural Language Processing 1 Query-focused multi-document summarisation
◮ order based on sentence similarity (sentences next to each
◮ order so that the sentences next to each other discuss the
26 / 51
Natural Language Processing 1 Query-focused multi-document summarisation
27 / 51
Natural Language Processing 1 Summarisation using neural networks
28 / 51
Natural Language Processing 1 Summarisation using neural networks
29 / 51
Natural Language Processing 1 Summarisation using neural networks
N d
j , hb j] + b),
j Wsd
j Wr tanh(sj)
a
30 / 51
Natural Language Processing 1 Summarisation using neural networks
N d
j , hb j] + b),
j Wsd
j Wr tanh(sj)
a
30 / 51
Natural Language Processing 1 Summarisation using neural networks
N d
j , hb j] + b),
j Wsd
j Wr tanh(sj)
a
30 / 51
Natural Language Processing 1 Summarisation using neural networks
31 / 51
Natural Language Processing 1 Summarisation using neural networks
32 / 51
Natural Language Processing 1 Summarisation using neural networks
33 / 51
Natural Language Processing 1 Summarisation using neural networks
34 / 51
Natural Language Processing 1 Summarisation using neural networks
35 / 51
Natural Language Processing 1 Summarisation using neural networks
How are you ? I’m fine . EOS
EOS I’m fine .
36 / 51
Natural Language Processing 1 Summarisation using neural networks
37 / 51
Natural Language Processing 1 Evaluating summarisation systems
38 / 51
Natural Language Processing 1 Evaluating summarisation systems
◮ "Is this a good summary?" ◮ Use multiple subjects, measure agreement ◮ The best way, but expensive
◮ humans produce a set of reference summaries R1, ..., RN ◮ the system generates a summary S ◮ compute the percentage of n-grams from the reference
39 / 51
Natural Language Processing 1 Evaluating summarisation systems
40 / 51
Natural Language Processing 1 Evaluating summarisation systems
41 / 51
Natural Language Processing 1 Evaluating summarisation systems
41 / 51
Natural Language Processing 1 Evaluating summarisation systems
42 / 51
Natural Language Processing 1 Evaluating summarisation systems
43 / 51
Natural Language Processing 1 Evaluating summarisation systems
44 / 51
Natural Language Processing 1 Evaluating summarisation systems
45 / 51
Natural Language Processing 1 Evaluating summarisation systems
46 / 51
Natural Language Processing 1 Evaluating summarisation systems
◮ Methods for learning meaning representations ◮ focus on deep learning (LSTMs, CNNs, transformers) ◮ Interpretation of meaning representations learnt ◮ Applications
◮ Focus on recent progress in the field ◮ Lectures ◮ You will present and critique recent research papers ◮ and conduct a research project (new research question!) 47 / 51
Natural Language Processing 1 Evaluating summarisation systems
48 / 51
Natural Language Processing 1 Evaluating summarisation systems
49 / 51
Natural Language Processing 1 Evaluating summarisation systems
◮ accepted as a technical paper at AAAI 2020!!
◮ stance detection ◮ misinformation detection
◮ evaluating learnt representations against brain imaging data
50 / 51
Natural Language Processing 1 Evaluating summarisation systems
51 / 51