Neural Networks for Natural Language Processing
Alexandre Allauzen
Universit´ e Paris-Sud / LIMSI-CNRS
19/01/2017
- A. Allauzen
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 1 / 46
Neural Networks for Natural Language Processing Alexandre Allauzen - - PowerPoint PPT Presentation
Neural Networks for Natural Language Processing Alexandre Allauzen Universit e Paris-Sud / LIMSI-CNRS 19/01/2017 A. Allauzen (Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 1 / 46 Introduction Outline 1 Introduction 2 The language
Universit´ e Paris-Sud / LIMSI-CNRS
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 1 / 46
Introduction
1 Introduction 2 The language modeling and tagging tasks 3 Neural network language model 4 Character based model sequence tagging 5 Conclusion
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 2 / 46
Introduction
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 3 / 46
Introduction
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 3 / 46
Introduction
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 3 / 46
Introduction
Spam detection
Let’s&go&to&Agra!& Buy$V1AGRA$…$
Part of Speech (POS) tagging Colorless'''green'''ideas'''sleep'''furiously ADJ'''''''ADJ''''''NOUN''VERB'''''ADV Coreference resolution Carter'told'Mubarak'he'shouldn’t'run'again Syntactic Parsing I see him with a telescope Word Sense Disambiguation I need new batteries for my mouse Machine Translation
13… The 13th Shanghai Film festival ...
Paraphrase
XYZ'acquired'ABC'yesterday ABC'has'been'taken'over'by'XYZ
Summarization The Dow Jones is up The S&P 500 jumped Housing price rose Economy is good Dialog / Question Answering
Where is a Bug's life playing ? Sept Parnassien at 7:30
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 4 / 46
Introduction
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 5 / 46
Introduction
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 5 / 46
Introduction
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 6 / 46
Introduction
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 6 / 46
Introduction
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 6 / 46
Introduction
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 7 / 46
Introduction
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 8 / 46
Introduction
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 9 / 46
Introduction
1 Introduction 2 The language modeling and tagging tasks 3 Neural network language model 4 Character based model sequence tagging 5 Conclusion
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 10 / 46
The language modeling and tagging tasks
1 Introduction 2 The language modeling and tagging tasks 3 Neural network language model 4 Character based model sequence tagging 5 Conclusion
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 11 / 46
The language modeling and tagging tasks
L
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 12 / 46
The language modeling and tagging tasks
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 13 / 46
The language modeling and tagging tasks
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 13 / 46
The language modeling and tagging tasks
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 13 / 46
The language modeling and tagging tasks
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 13 / 46
The language modeling and tagging tasks
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 13 / 46
The language modeling and tagging tasks
200 400 600 800 1000 1200 1 2 3 4 5 6 1e7
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 14 / 46
The language modeling and tagging tasks
100 101 102 103 104 105 106 107 Rank 100 101 102 103 104 105 106 107 108 de la l' des que ne même place enfants recherche cent prévues cherchent prestigieuse reconnaisse stimulants mélopée Hirano Rainville Kande
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 14 / 46
The language modeling and tagging tasks
100 101 102 103 104 105 106 107 Rank 100 101 102 103 104 105 106 107 108 de la l' des que ne même place enfants recherche cent prévues cherchent prestigieuse reconnaisse stimulants mélopée Hirano Rainville Kande
Bures-sur-Yvette,133096
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 14 / 46
The language modeling and tagging tasks
100 101 102 103 104 105 106 107 Rank 100 101 102 103 104 105 106 107 108 109 the to and for as we government day leader series competition combined torture critically Eileen USGA Radin Vebacom hyperinflationary emitirá
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 15 / 46
The language modeling and tagging tasks
100 101 102 103 104 105 106 107 Rank 100 101 102 103 104 105 106 107 108 109 the to and for as we government day leader series competition combined torture critically Eileen USGA Radin Vebacom hyperinflationary emitirá
Bures-sur-Yvette,1859467
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 15 / 46
The language modeling and tagging tasks
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 16 / 46
The language modeling and tagging tasks
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 17 / 46
The language modeling and tagging tasks
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 17 / 46
The language modeling and tagging tasks
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 18 / 46
The language modeling and tagging tasks
1 = w1, w2, ..., wL
1 = t1, t2, ..., tL
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 19 / 46
The language modeling and tagging tasks
L
L
ti ti+1 wi−1 wi wi+1
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 20 / 46
The language modeling and tagging tasks
L
L
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 20 / 46
The language modeling and tagging tasks
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 21 / 46
The language modeling and tagging tasks
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 21 / 46
The language modeling and tagging tasks
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 21 / 46
The language modeling and tagging tasks
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 22 / 46
The language modeling and tagging tasks
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 22 / 46
Neural network language model
1 Introduction 2 The language modeling and tagging tasks 3 Neural network language model 4 Character based model sequence tagging 5 Conclusion
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 23 / 46
Neural network language model
1 associate each word with a continuous feature vector 2 express the probability function of a word sequence in terms of the
3 learn simultaneously the feature vectors and the parameters of that
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 24 / 46
Neural network language model
1 associate each word with a continuous feature vector 2 express the probability function of a word sequence in terms of the
3 learn simultaneously the feature vectors and the parameters of that
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 24 / 46
Neural network language model
1
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 25 / 46
Neural network language model
1
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 25 / 46
Neural network language model
1
1
1
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 25 / 46
Neural network language model
1
1
1
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 25 / 46
Neural network language model
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 26 / 46
Neural network language model
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 26 / 46
Neural network language model
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 26 / 46
Neural network language model
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 27 / 46
Neural network language model
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 27 / 46
Neural network language model
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 28 / 46
Neural network language model
C1(w)
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 28 / 46
Neural network language model
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 28 / 46
Neural network language model
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 28 / 46
Neural network language model
D
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 29 / 46
Neural network language model
C1(w)
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 30 / 46
Neural network language model
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 30 / 46
Neural network language model
C1(w) C2(w) C3(w)
D
d=2
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 30 / 46
Neural network language model
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 31 / 46
Character based model sequence tagging
1 Introduction 2 The language modeling and tagging tasks 3 Neural network language model 4 Character based model sequence tagging 5 Conclusion
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 32 / 46
Character based model sequence tagging
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 33 / 46
Character based model sequence tagging
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 34 / 46
Character based model sequence tagging
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 35 / 46
Character based model sequence tagging
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 36 / 46
Character based model sequence tagging
<s> Er f¨ urchtet noch ... PPER VVFIN ... R W vh W vh W ho W hh
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 37 / 46
Character based model sequence tagging
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 38 / 46
Character based model sequence tagging
<s> Er f¨ urchtet noch ... R R − → W vh ← − W vh − → W hh ← − W hh
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 39 / 46
Character based model sequence tagging
Char embeddings
word representation
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 40 / 46
Character based model sequence tagging
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 41 / 46
Conclusion
1 Introduction 2 The language modeling and tagging tasks 3 Neural network language model 4 Character based model sequence tagging 5 Conclusion
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 42 / 46
Conclusion
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 43 / 46
Conclusion
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 44 / 46
Conclusion
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 45 / 46
Conclusion
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 46 / 46
Conclusion
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 46 / 46
Conclusion
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 46 / 46
Conclusion
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 46 / 46
Conclusion
(Univ. Paris-Sud/LIMSI) NNet & NLP 19/01/2017 46 / 46