Neural AMR: Sequence-to-Sequence Models for Parsing and Generation
Ιοannis Konstas
joint work with Srinivasan Iyer, Mark Yatskar, Yejin Choi, Luke Zettlemoyer
Neural AMR : Sequence-to-Sequence Models for Parsing and Generation - - PowerPoint PPT Presentation
Neural AMR : Sequence-to-Sequence Models for Parsing and Generation annis Konstas joint work with Srinivasan Iyer, Mark Yatskar, Yejin Choi, Luke Zettlemoyer AMR graph Generate from AMR graph text Decoder Encoder text Attention AMR
Ιοannis Konstas
joint work with Srinivasan Iyer, Mark Yatskar, Yejin Choi, Luke Zettlemoyer
AMR graph text
Generate from AMR
Attention
Encoder Decoder
graph text
AMR graph text
Generate from AMR Parse to AMR
Attention
Encoder Decoder
graph text
Attention
Encoder Decoder
text graph
AMR graph text
Generate from AMR Parse to AMR
Attention
Encoder Decoder
graph text
Attention
Encoder Decoder
text graph
Paired Training
AMR graph text
Generate from AMR Parse to AMR
Attention
Encoder Decoder
graph text
Attention
Encoder Decoder
text graph
Paired Training
(Banarescu et al., 2013)
know I planet lazy ARG0 ARG1 inhabit man ARG1-of ARG0 mod
I have known a planet that was inhabited by a lazy man.
(Banarescu et al., 2013)
know I planet lazy ARG0 ARG1 inhabit man ARG1-of ARG0 mod
I have known a planet that was inhabited by a lazy man.
know
(Banarescu et al., 2013)
know I planet lazy ARG0 ARG1 inhabit man ARG1-of ARG0 mod
I have known a planet that was inhabited by a lazy man.
know I
(Banarescu et al., 2013)
know I planet lazy ARG0 ARG1 inhabit man ARG1-of ARG0 mod
I have known a planet that was inhabited by a lazy man.
know I planet
(Banarescu et al., 2013)
Input: AMR Graph
know I planet lazy ARG0 ARG1 inhabit man ARG1-of ARG0 mod
I have known a planet that was inhabited by a lazy man. I knew a planet that was inhabited by a lazy man. I know a planet. It is inhabited by a lazy man.
know I planet
Generate from AMR
(Banarescu et al., 2013)
know I planet lazy ARG0 ARG1 inhabit man ARG1-of ARG0 mod
I have known a planet that was inhabited by a lazy man.
know I planet
Parse to AMR
Input: Text
sentences:
sentences: Parse sentence AMR graphs:
summary AMR graph: sentences: Parse sentence AMR graphs:
summary AMR graph: sentences: Parse sentence AMR graphs: Generate summary:
summary AMR graph: sentences: Parse sentence AMR graphs: The children told that lie
Source
その うそ は ⼦孑供 たち が つい た sono uso-wa kodomo-tachi-ga tsui-ta that lie-TOP child-and others-NOM breathe out-PAST
Target
Generate summary:
summary AMR graph: sentences: Parse sentence AMR graphs: The children told that lie
Source
その うそ は ⼦孑供 たち が つい た sono uso-wa kodomo-tachi-ga tsui-ta that lie-TOP child-and others-NOM breathe out-PAST
Target
tell
child
lie that ARG0 ARG1 ARG0-of
Generate summary: Parse AMR graph:
summary AMR graph: sentences: Parse sentence AMR graphs: The children told that lie
Source
その うそ は ⼦孑供 たち が つい た sono uso-wa kodomo-tachi-ga tsui-ta that lie-TOP child-and others-NOM breathe out-PAST
Target
Graph-to-graph transformation:
tell
child
lie that ARG0 ARG1 ARG0-of tsuku kodomo tachi sono ARG1 ARG0 ARG0-of
Generate summary: Parse AMR graph:
summary AMR graph: sentences: Parse sentence AMR graphs: The children told that lie
Source
その うそ は ⼦孑供 たち が つい た sono uso-wa kodomo-tachi-ga tsui-ta that lie-TOP child-and others-NOM breathe out-PAST
Target
Graph-to-graph transformation:
tell
child
lie that ARG0 ARG1 ARG0-of tsuku kodomo tachi sono ARG1 ARG0 ARG0-of
Generate summary: Parse AMR graph: Generate translation:
Goodman et al. 2016, Puzikov et al. 2016, Brandt et al. 2017, Nguyen et al. 2017
2017
Encoder
input
Encoder
input
know ARG0 I ARG1 (
h1(s) h2(s) h3(s) h4(s) h5(s)
[ ] [ ] [ ] [ ] [ ]
h1(s) h2(s) h3(s) h4(s) h5(s)
Encoder Decoder
input
I The A … know knew planet … a planet man …
…
inhabit inhabited was …
ˆ w = argmax
w
Y
i
p
know ARG0 I ARG1 (
h1(s) h2(s) h3(s) h4(s) h5(s)
[ ] [ ] [ ] [ ] [ ]
h1(s) h2(s) h3(s) h4(s) h5(s)
Attention Encoder Decoder
input
know ARG0 I ARG1 ( planet ARG1-of inhabit
<s> I know the planet
I The A … know knew planet … a planet man …
…
inhabit inhabited was …
ˆ w = argmax
w
Y
i
p
know ARG0 I ARG1 (
h1(s) h2(s) h3(s) h4(s) h5(s)
[ ] [ ] [ ] [ ] [ ]
h1(s) h2(s) h3(s) h4(s) h5(s)
Graph —> Depth First Search (Human-authored annotation)
hold person meet group ARG0 ARG1 person expert ARG1-of have-role country “United States”
date-entity city “New York” 2002 1 time location name ARG1 name ARG2-of ARG0-of ARG2 year month ARG0
US officials held an expert group meeting in January 2002 in New York .
Graph —> Depth First Search (Human-authored annotation)
hold :ARG0 (person :ARG0-of (have-role :ARG1 United_States :ARG2 official) ) :ARG1 (meet :ARG0 (person :ARG1-of expert :ARG2-of group) ) :time (date-entity 2002 1) :location New_York
hold person meet group ARG0 ARG1 person expert ARG1-of have-role country “United States”
date-entity city “New York” 2002 1 time location name ARG1 name ARG2-of ARG0-of ARG2 year month ARG0
US officials held an expert group meeting in January 2002 in New York .
Graph —> Depth First Search (Human-authored annotation)
hold :ARG0 (person :ARG0-of (have-role :ARG1 United_States :ARG2 official) ) :ARG1 (meet :ARG0 (person :ARG1-of expert :ARG2-of group) ) :time (date-entity 2002 1) :location New_York
hold person meet group ARG0 ARG1 person expert ARG1-of have-role country “United States”
date-entity city “New York” 2002 1 time location name ARG1 name ARG2-of ARG0-of ARG2 year month ARG0
US officials held an expert group meeting in January 2002 in New York .
person
Graph —> Depth First Search (Human-authored annotation)
hold :ARG0 (person :ARG0-of (have-role :ARG1 United_States :ARG2 official) ) :ARG1 (meet :ARG0 (person :ARG1-of expert :ARG2-of group) ) :time (date-entity 2002 1) :location New_York
hold person meet group ARG0 ARG1 person expert ARG1-of have-role country “United States”
date-entity city “New York” 2002 1 time location name ARG1 name ARG2-of ARG0-of ARG2 year month ARG0
US officials held an expert group meeting in January 2002 in New York .
person
Graph —> Depth First Search (Human-authored annotation)
hold :ARG0 (person :ARG0-of (have-role :ARG1 United_States :ARG2 official) ) :ARG1 (meet :ARG0 (person :ARG1-of expert :ARG2-of group) ) :time (date-entity 2002 1) :location New_York
hold person meet group ARG0 ARG1 person expert ARG1-of have-role country “United States”
date-entity city “New York” 2002 1 time location name ARG1 name ARG2-of ARG0-of ARG2 year month ARG0
US officials held an expert group meeting in January 2002 in New York .
person have-role country “United States”
Graph —> Depth First Search (Human-authored annotation)
hold :ARG0 (person :ARG0-of (have-role :ARG1 United_States :ARG2 official) ) :ARG1 (meet :ARG0 (person :ARG1-of expert :ARG2-of group) ) :time (date-entity 2002 1) :location New_York
hold person meet group ARG0 ARG1 person expert ARG1-of have-role country “United States”
date-entity city “New York” 2002 1 time location name ARG1 name ARG2-of ARG0-of ARG2 year month ARG0
US officials held an expert group meeting in January 2002 in New York .
person have-role country “United States”
Linearization —> Anonymization
hold :ARG0 (person :ARG0-of (have-role :ARG1 loc_0 :ARG2 official) ) :ARG1 (meet :ARG0 (person :ARG1-of expert :ARG2-of group) ) :time (date-entity year_0 month_0) :location loc_1
hold person meet group ARG0 ARG1 person expert ARG1-of have-role country “United States”
date-entity city “New York” 2002 1 time location name ARG1 name ARG2-of ARG0-of ARG2 year month ARG0
US officials held an expert group meeting in January 2002 in New York .
Linearization —> Anonymization
hold :ARG0 (person :ARG0-of (have-role :ARG1 loc_0 :ARG2 official) ) :ARG1 (meet :ARG0 (person :ARG1-of expert :ARG2-of group) ) :time (date-entity year_0 month_0) :location loc_1
hold person meet group ARG0 ARG1 person expert ARG1-of have-role country “United States”
date-entity city “New York” 2002 1 time location name ARG1 name ARG2-of ARG0-of ARG2 year month ARG0
US officials held an expert group meeting in January 2002 in New York .
country “United States”
Linearization —> Anonymization
hold :ARG0 (person :ARG0-of (have-role :ARG1 loc_0 :ARG2 official) ) :ARG1 (meet :ARG0 (person :ARG1-of expert :ARG2-of group) ) :time (date-entity year_0 month_0) :location loc_1
hold person meet group ARG0 ARG1 person expert ARG1-of have-role country “United States”
date-entity city “New York” 2002 1 time location name ARG1 name ARG2-of ARG0-of ARG2 year month ARG0
US officials held an expert group meeting in January 2002 in New York .
country “United States” 2002 1
Linearization —> Anonymization
hold :ARG0 (person :ARG0-of (have-role :ARG1 loc_0 :ARG2 official) ) :ARG1 (meet :ARG0 (person :ARG1-of expert :ARG2-of group) ) :time (date-entity year_0 month_0) :location loc_1
hold person meet group ARG0 ARG1 person expert ARG1-of have-role country “United States”
date-entity city “New York” 2002 1 time location name ARG1 name ARG2-of ARG0-of ARG2 year month ARG0
US officials held an expert group meeting in January 2002 in New York .
country “United States” 2002 1 “New York” city
Linearization —> Anonymization
hold :ARG0 (person :ARG0-of (have-role :ARG1 loc_0 :ARG2 official) ) :ARG1 (meet :ARG0 (person :ARG1-of expert :ARG2-of group) ) :time (date-entity year_0 month_0) :location loc_1
hold person meet group ARG0 ARG1 person expert ARG1-of have-role country “United States”
date-entity city “New York” 2002 1 time location name ARG1 name ARG2-of ARG0-of ARG2 year month ARG0
US officials held an expert group meeting in January 2002 in New York .
country “United States” 2002 1 “New York” city
loc_0 officials held an expert group meeting in month_0 year_0 in loc_1 .
AMR LDC2015E86 (SemEval-2016 Task 8)
Train
Evaluation
(Papineni et al., 2002)
(Cai and Knight, 2013)
TreeToStr: Flanigan et al, NAACL 2016 TSP: Song et al, EMNLP 2016 PBMT: Pourdamaghani and Knight, INLG 2016
BLEU 5.8 11.6 17.4 23.2 29
TreeToStr TSP PBMT NeuralAMR
26.9 22.4 23
TreeToStr: Flanigan et al, NAACL 2016 TSP: Song et al, EMNLP 2016 PBMT: Pourdamaghani and Knight, INLG 2016
BLEU 5.8 11.6 17.4 23.2 29
TreeToStr TSP PBMT NeuralAMR
22 26.9 22.4 23
TreeToStr: Flanigan et al, NAACL 2016 TSP: Song et al, EMNLP 2016 PBMT: Pourdamaghani and Knight, INLG 2016
BLEU 5.8 11.6 17.4 23.2 29
TreeToStr TSP PBMT NeuralAMR
22 26.9 22.4 23
TreeToStr: Flanigan et al, NAACL 2016 TSP: Song et al, EMNLP 2016 PBMT: Pourdamaghani and Knight, INLG 2016
All systems use a Language Model trained on a very large corpus. We will emulate via data augmentation.
(Sennrich et al., ACL 2016)
hold :ARG0 (person :ARG0-of (have-role :ARG1 loc_0 :ARG2 official) ) :ARG1 (meet :ARG0 (person :ARG1-of expert :ARG2-of group) ) :time (date-entity year_0 month_0) :location loc_1
US officials held an expert group meeting in January 2002 in New York . United States officials held held a meeting in January 2002 .
Reference Prediction
44.26% 74.85%
hold :ARG0 (person :ARG0-of (have-role :ARG1 loc_0 :ARG2 official) ) :ARG1 (meet :ARG0 (person :ARG1-of expert :ARG2-of group) ) :time (date-entity year_0 month_0) :location loc_1
US officials held an expert group meeting in January 2002 in New York . United States officials held held a meeting in January 2002 .
Reference Prediction
44.26% 74.85%
hold :ARG0 (person :ARG0-of (have-role :ARG1 loc_0 :ARG2 official) ) :ARG1 (meet :ARG0 (person :ARG1-of expert :ARG2-of group) ) :time (date-entity year_0 month_0) :location loc_1
US officials held an expert group meeting in January 2002 in New York . United States officials held held a meeting in January 2002 .
Reference Prediction
44.26% 74.85%
hold :ARG0 (person :ARG0-of (have-role :ARG1 loc_0 :ARG2 official) ) :ARG1 (meet :ARG0 (person :ARG1-of expert :ARG2-of group) ) :time (date-entity year_0 month_0) :location loc_1
US officials held an expert group meeting in January 2002 in New York . United States officials held held a meeting in January 2002 .
Reference Prediction
a) Sparsity
Tokens 4500 9000 13500 18000
Total OOV@1 OOV@5 44.26% 74.85%
hold :ARG0 (person :ARG0-of (have-role :ARG1 loc_0 :ARG2 official) ) :ARG1 (meet :ARG0 (person :ARG1-of expert :ARG2-of group) ) :time (date-entity year_0 month_0) :location loc_1
US officials held an expert group meeting in January 2002 in New York . United States officials held held a meeting in January 2002 .
Reference Prediction
a) Sparsity b) Avg sent length: 20 words c) Limited Language Modeling capacity
Tokens 4500 9000 13500 18000
Total OOV@1 OOV@5 44.26% 74.85%
Original Dataset: ~16k graph-sentence pairs
Original Dataset: ~16k graph-sentence pairs
Gigaword: ~183M sentences *only*
Original Dataset: ~16k graph-sentence pairs
Gigaword: ~183M sentences *only* Sample sentences with vocabulary overlap
% 20 40 60 80 OOV@1 OOV@5
Original Giga-200k Giga-2M Giga-20M
graph text Generate from AMR
Attention
Encoder Decoder
graph text
graph text Generate from AMR Parse to AMR
Attention
Encoder Decoder
graph text
Attention
Encoder Decoder
text graph
graph text Generate from AMR Parse to AMR
Attention
Encoder Decoder
graph text
Attention
Encoder Decoder
text graph
graph text Generate from AMR Parse to AMR
Attention
Encoder Decoder
graph text
Attention
Encoder Decoder
text graph
Re-train
Train AMR Parser P on Original Dataset
( , )
for i = 0 … N
Train AMR Parser P on Original Dataset
( , )
for i = 0 … N
Si =Sample k 10i sentences from Gigaword
Train AMR Parser P on Original Dataset
( , )
for i = 0 … N
Parse Si sentences with P
Si =Sample k 10i sentences from Gigaword
Train AMR Parser P on Original Dataset
( , )
Self-train Parser
for i = 0 … N
Parse Si sentences with P
Si =Sample k 10i sentences from Gigaword
Re-train AMR Parser P on Si Train AMR Parser P on Original Dataset
( , )
Self-train Parser
for i = 0 … N
Parse Si sentences with P
Si =Sample k 10i sentences from Gigaword
Re-train AMR Parser P on Si Train AMR Parser P on Original Dataset
( , )
Self-train Parser
for i = 0 … N
Parse Si sentences with P
Si =Sample k 10i sentences from Gigaword
Re-train AMR Parser P on Si Train AMR Parser P on Original Dataset
( , )
Train Generator G on SN
( , )
Train P on Original Dataset
Train P on Original Dataset
Sample S1=200k sentences from Gigaword Train P on Original Dataset
200k
Sample S1=200k sentences from Gigaword Parse S1 with P Train P on Original Dataset
200k 200k
( , )
Sample S1=200k sentences from Gigaword Train P on S1=200k Parse S1 with P Train P on Original Dataset
200k 200k 200k
( , )
Sample S1=200k sentences from Gigaword Train P on S1=200k Fine-tune P on Original Dataset Parse S1 with P Train P on Original Dataset
200k 200k
Fine-tune: init parameters from previous step and train on Original Dataset
200k
( , )
Train P on S2=2M Fine-tune P on Original Dataset Sample S2=2M sentences from Gigaword Parse S2 with P
200k 200k 200k
Fine-tune: init parameters from previous step and train on Original Dataset
( , )
Train P on S2=2M Fine-tune P on Original Dataset Sample S2=2M sentences from Gigaword Parse S2 with P
200k 2M 2M 2M
Fine-tune: init parameters from previous step and train on Original Dataset
( , )
Train P on S3=20M Fine-tune P on Original Dataset Sample S3=20M sentences from Gigaword Parse S3 with P
2M 2M 2M
Fine-tune: init parameters from previous step and train on Original Dataset
( , )
Train P on S3=20M Fine-tune P on Original Dataset Sample S3=20M sentences from Gigaword Parse S3 with P
2M
Fine-tune: init parameters from previous step and train on Original Dataset
( , )
20M 20M 20M
Train P on S3=20M Fine-tune P on Original Dataset Sample S3=20M sentences from Gigaword Parse S3 with P
2M
Fine-tune: init parameters from previous step and train on Original Dataset
( , )
20M 20M 20M
Train G on S4=20M Fine-tune G on Original Dataset Sample S4=20M sentences from Gigaword Parse S4 with P
Fine-tune: init parameters from previous step and train on Original Dataset
( , )
2M 20M 20M 20M
Train G on S4=20M Fine-tune G on Original Dataset Sample S4=20M sentences from Gigaword Parse S4 with P
Fine-tune: init parameters from previous step and train on Original Dataset
( , )
20M 20M 20M G G 20M
Train G on S4=20M Fine-tune G on Original Dataset Sample S4=20M sentences from Gigaword Parse S4 with P
Fine-tune: init parameters from previous step and train on Original Dataset
( , )
20M 20M 20M G G 20M
TreeToStr: Flanigan et al, NAACL 2016 TSP: Song et al, EMNLP 2016 PBMT: Pourdamaghani and Knight, INLG 2016
BLEU 7 14 21 28 35
TreeToStr TSP PBMT NeuralAMR NeuralAMR-200k NeuralAMR-2M NeuralAMR-20M
22 26.9 22.4 23
TreeToStr: Flanigan et al, NAACL 2016 TSP: Song et al, EMNLP 2016 PBMT: Pourdamaghani and Knight, INLG 2016
BLEU 7 14 21 28 35
TreeToStr TSP PBMT NeuralAMR NeuralAMR-200k NeuralAMR-2M NeuralAMR-20M
27.4 22 26.9 22.4 23
TreeToStr: Flanigan et al, NAACL 2016 TSP: Song et al, EMNLP 2016 PBMT: Pourdamaghani and Knight, INLG 2016
BLEU 7 14 21 28 35
TreeToStr TSP PBMT NeuralAMR NeuralAMR-200k NeuralAMR-2M NeuralAMR-20M
32.3 27.4 22 26.9 22.4 23
TreeToStr: Flanigan et al, NAACL 2016 TSP: Song et al, EMNLP 2016 PBMT: Pourdamaghani and Knight, INLG 2016
BLEU 7 14 21 28 35
TreeToStr TSP PBMT NeuralAMR NeuralAMR-200k NeuralAMR-2M NeuralAMR-20M
33.8 32.3 27.4 22 26.9 22.4 23
TreeToStr: Flanigan et al, NAACL 2016 TSP: Song et al, EMNLP 2016 PBMT: Pourdamaghani and Knight, INLG 2016
BLEU 7 14 21 28 35
TreeToStr TSP PBMT NeuralAMR NeuralAMR-200k NeuralAMR-2M NeuralAMR-20M
33.8 32.3 27.4 22 26.9 22.4 23
TreeToStr: Flanigan et al, NAACL 2016 TSP: Song et al, EMNLP 2016 PBMT: Pourdamaghani and Knight, INLG 2016
BLEU 7 14 21 28 35
TreeToStr TSP PBMT NeuralAMR NeuralAMR-200k NeuralAMR-2M NeuralAMR-20M
33.8 32.3 27.4 22 26.9 22.4 23
TreeToStr: Flanigan et al, NAACL 2016 TSP: Song et al, EMNLP 2016 PBMT: Pourdamaghani and Knight, INLG 2016
SBMT: Pust et al, 2015 CharLSTM+CAMR: Noord and Bos, 2017 Seq2Seq: Peng et al., 2017
SMATCH 14 28 42 56 70
SBMT CharLSTM+CAMR Seq2Seq NeuralAMR-20M
62.1 52 67.3 67.1
SBMT: Pust et al, 2015 CharLSTM+CAMR: Noord and Bos, 2017 Seq2Seq: Peng et al., 2017
SMATCH 14 28 42 56 70
SBMT CharLSTM+CAMR Seq2Seq NeuralAMR-20M
62.1 52 67.3 67.1
SBMT: Pust et al, 2015 CharLSTM+CAMR: Noord and Bos, 2017 Seq2Seq: Peng et al., 2017
SMATCH 14 28 42 56 70
SBMT CharLSTM+CAMR Seq2Seq NeuralAMR-20M
62.1 52 67.3 67.1
SBMT: Pust et al, 2015 CharLSTM+CAMR: Noord and Bos, 2017 Seq2Seq: Peng et al., 2017
SMATCH 14 28 42 56 70
SBMT CharLSTM+CAMR Seq2Seq NeuralAMR-20M
62.1 52 67.3 67.1
SBMT: Pust et al, 2015 CharLSTM+CAMR: Noord and Bos, 2017 Seq2Seq: Peng et al., 2017
hold :ARG0 (person :ARG0-of (have-role :ARG1 loc_0 :ARG2 official) ) :ARG1 (meet :ARG0 (person :ARG1-of expert :ARG2-of group) ) :time (date-entity year_0 month_0) :location loc_1
US officials held an expert group meeting in January 2002 in New York . In January 2002 United States officials held a meeting of the group experts in New York .
Reference Prediction
44.26% 74.85%
Errors: Disfluency Coverage
hold :ARG0 (person :ARG0-of (have-role :ARG1 loc_0 :ARG2 official) ) :ARG1 (meet :ARG0 (person :ARG1-of expert :ARG2-of group) ) :time (date-entity year_0 month_0) :location loc_1
US officials held an expert group meeting in January 2002 in New York . In January 2002 United States officials held a meeting of the group experts in New York .
Reference Prediction
44.26% 74.85%
The report stated British government must help to stabilize weak states and push for international regulations that would stop terrorists using freely available information to create and unleash new forms of biological warfare such as a modified version of the influenza virus.
Reference
The report stated that the Britain government must help stabilize the weak states and push international regulations to stop the use of freely available information to create a form of new biological warfare such as the modified version
Prediction
Errors: Disfluency Coverage
thank-01 you
ARG1
Linearize —> RNN encoding
hold :ARG0 (person :ARG0-of (have-role :ARG1 United_States :ARG2 official) ) :ARG1 (meet :ARG0 (person :ARG1-of expert :ARG2-of group) ) :time (date-entity 2002 1) :location New_York
Linearize —> RNN encoding
hold :ARG0 (person :ARG0-of (have-role :ARG1 United_States :ARG2 official) ) :ARG1 (meet :ARG0 (person :ARG1-of expert :ARG2-of group) ) :time (date-entity 2002 1) :location New_York
Linearize —> RNN encoding
hold ARG0 ( person ARG0-of
hold :ARG0 (person :ARG0-of (have-role :ARG1 United_States :ARG2 official) ) :ARG1 (meet :ARG0 (person :ARG1-of expert :ARG2-of group) ) :time (date-entity 2002 1) :location New_York
Linearize —> RNN encoding
hold ARG0 ( person ARG0-of
h1(s) h2(s) h3(s) h4(s) h5(s)
hold :ARG0 (person :ARG0-of (have-role :ARG1 United_States :ARG2 official) ) :ARG1 (meet :ARG0 (person :ARG1-of expert :ARG2-of group) ) :time (date-entity 2002 1) :location New_York
Linearize —> RNN encoding
hold ARG0 ( person ARG0-of
h1(s) h2(s) h3(s) h4(s) h5(s)
hold :ARG0 (person :ARG0-of (have-role :ARG1 United_States :ARG2 official) ) :ARG1 (meet :ARG0 (person :ARG1-of expert :ARG2-of group) ) :time (date-entity 2002 1) :location New_York
Linearize —> RNN encoding
hold ARG0 ( person ARG0-of
h1(s) h2(s) h3(s) h4(s) h5(s)
h1(s) h2(s) h3(s) h4(s) h5(s)
hold :ARG0 (person :ARG0-of (have-role :ARG1 United_States :ARG2 official) ) :ARG1 (meet :ARG0 (person :ARG1-of expert :ARG2-of group) ) :time (date-entity 2002 1) :location New_York
Linearize —> RNN encoding
hold ARG0 ( person ARG0-of
h1(s) h2(s) h3(s) h4(s) h5(s)
h1(s) h2(s) h3(s) h4(s) h5(s)
hold :ARG0 (person :ARG0-of (have-role :ARG1 United_States :ARG2 official) ) :ARG1 (meet :ARG0 (person :ARG1-of expert :ARG2-of group) ) :time (date-entity 2002 1) :location New_York
h1 hN(s)
RNN Encoding —> RNN Decoding (Beam search)
h1 hN(s)
∅
RNN Encoding —> RNN Decoding (Beam search)
h1 hN(s)
∅
Holding Held US …
RNN Encoding —> RNN Decoding (Beam search)
h1 hN(s)
∅
Holding Held US …
h2
a the meeting …
…
w11:Holding
Helds
w12:
Hold
w13:
US
w14:
RNN Encoding —> RNN Decoding (Beam search)
h1 hN(s)
∅
Holding Held US …
h2
a the meeting …
h3
US person expert …
…
…
w11:Holding
Helds
w12:
Hold
w13:
US
w14:
… Hold a
w21:
Hold the
w22:
Held a
w23:
Held the
w24:
RNN Encoding —> RNN Decoding (Beam search)
h1 hN(s)
∅
Holding Held US …
h2
a the meeting …
h3
US person expert …
hk
…
…
w11:Holding
Helds
w12:
Hold
w13:
US
w14:
… Hold a
w21:
Hold the
w22:
Held a
w23:
Held the
w24: wk1: The
US
wk2:
US
wk3:
US
wk4:
US
…
meeting meetings meet …
RNN Encoding —> RNN Decoding (Beam search)
h2 h3
a the meeting …
w2: held
h3
a the meeting …
w2: held
hold ARG0 ( person ARG0-of
h1(s) h2(s) h3(s) h4(s) h5(s) c3
h3
a the meeting …
w2: held
hold ARG0 ( person ARG0-of
h1(s) h2(s) h3(s) h4(s) h5(s) c3
ci = X
i
aijh(s)
j
ai = soft max
hold ARG0 ( person role US
meet expert group )
US
held an expert group meeting in January 2002
h3
a the meeting …
w2: held
hold ARG0 ( person ARG0-of
h1(s) h2(s) h3(s) h4(s) h5(s) c3
ci = X
i
aijh(s)
j
ai = soft max
hold ARG0 ( person role US
meet expert group )
US
held an expert group meeting in January 2002
h3
a the meeting …
w2: held
hold ARG0 ( person ARG0-of
h1(s) h2(s) h3(s) h4(s) h5(s) c3
ci = X
i
aijh(s)
j
ai = soft max
hold ARG0 ( person role US
meet expert group )
US
held an expert group meeting in January 2002
h3
a the meeting …
w2: held
hold ARG0 ( person ARG0-of
h1(s) h2(s) h3(s) h4(s) h5(s) c3
ci = X
i
aijh(s)
j
ai = soft max
hold ARG0 ( person role US
meet expert group )
US
held an expert group meeting in January 2002
h3
a the meeting …
w2: held
hold ARG0 ( person ARG0-of
h1(s) h2(s) h3(s) h4(s) h5(s) c3
ci = X
i
aijh(s)
j
ai = soft max