neural methods for semantic role labeling
play

Neural Methods for Semantic Role Labeling Diego Marcheggiani , - PowerPoint PPT Presentation

Semantic Role Labeling Tutorial Part 2 Neural Methods for Semantic Role Labeling Diego Marcheggiani , Michael Roth, Ivan Titov, Benjamin Van Durme University of Amsterdam University of Edinburgh EMNLP 2017 Copenhagen Outline: the fall and


  1. Semantic Role Labeling Tutorial Part 2 Neural Methods for Semantic Role Labeling Diego Marcheggiani , Michael Roth, Ivan Titov, Benjamin Van Durme University of Amsterdam University of Edinburgh EMNLP 2017 Copenhagen

  2. Outline: the fall and rise of syntax in SRL } Early SRL methods } Symbolic approaches + Neural networks (syntax-aware models) } Syntax-agnostic neural methods } Syntax-aware neural methods

  3. Disclaimer } Recent papers which involve neural networks and SRL } English language } Skip predicate identification and disambiguation methods } Focus on labeling of semantic roles } PropBank [Palmer et al. 2005] } CoNLL 2005 dataset (span-based SRL) } CoNLL 2009 dataset (dependency-based SRL) } F1 measure for role labeling and predicate disambiguation

  4. Outline: the fall and rise of syntax in SRL } Early SRL methods } Symbolic approaches + Neural networks (syntax-aware models) } Syntax-agnostic neural methods } Syntax-aware neural methods

  5. General SRL Pipeline } Given a predicate: repair.01 Sequa makes and repairs jet engines

  6. General SRL Pipeline } Given a predicate: } Argument identification repair.01 Sequa makes and repairs jet engines

  7. General SRL Pipeline } Given a predicate: } Argument identification } Role labeling ARG 1 ARG 0 repair.01 ARG 1 ARG 1 Sequa makes and repairs jet engines

  8. General SRL Pipeline } Given a predicate: } Argument identification } Role labeling } Global and/or constrained inference ARG 1 ARG 0 repair.01 Sequa makes and repairs jet engines

  9. Argument identification } Hand-crafted rules on the full syntactic tree [Xue and Palmer, 2004] } Binary classifier [Pradhan et al., 2005; Toutanova et al., 2008] } Both [Punyakanok et al., 2008]

  10. Role labeling } Labeling is performed using a classifier (SVM, logistic regression) } For each argument we get a label distribution } Argmax over roles will result in a local assignment } No guarantee the labeling is well formed } overlapping arguments, duplicate core roles, etc.

  11. Inference } Enforce linguistic and structural constraint (e.g., no overlaps, discontinuous arguments, reference arguments, …) } Viterbi decoding (k-best list with constraints) [Täckström et al., 2015] } Dynamic programming [Täckström et al., 2015; Toutanova et al., 2008] } Integer linear programming [Punyakanok et al., 2008] } Re-ranking [Toutanova et al., 2008; Bjö ̈ rkelund et al., 2009]

  12. Early symbolic models } 3 steps pipeline } Massive feature engineering } argument identification } role labeling } re-ranking } Most of the features are syntactic [Gildea and Jurafsky, 2002]

  13. Outline: the fall and rise of syntax in SRL } Early SRL framework } Symbolic approaches + Neural networks (syntax-aware models) } Syntax-agnostic neural methods } Syntax-Aware neural methods

  14. Fitzgerald et al., 2015 } Rule based argument identification } as in [Xue and Palmer, 2004] but for dependency parsing } Neural network for local role labeling } Global structural inference based on dynamic programming } [Täckström et al., 2015]

  15. Fitzgerald et al., 2015: Architecture Hidden layer Embedding layer e s Candidate argument features

  16. Fitzgerald et al., 2015: Architecture Hidden layer v s Embedding layer e s Candidate argument features

  17. Fitzgerald et al., 2015: Architecture Hidden layer v s Embedding layer e s e r e f Predicate embedding Candidate argument features Role embedding

  18. Fitzgerald et al., 2015: Architecture Predicate-specific role representation Hidden layer v f,r v s Nonlinear transform Embedding layer e s e r e f Predicate embedding Candidate argument features Role embedding

  19. Fitzgerald et al., 2015: Architecture Dot product g NN ( s, r, θ ) Compatibility score Predicate-specific role representation Hidden layer v f,r v s Nonlinear transform Embedding layer e s e r e f Predicate embedding Candidate argument features Role embedding

  20. Fitzgerald et al., 2015: Span-based SRL results CoNLL 2005 test 81 79,9 80 79,7 79,4 79 78 77,2 77 76 75 74 Täckström et al. (2015) (global) T outanova et al. (2008) (global) Surdenau et al. (2007) (global) FitzGerald et al. (2015) (global)

  21. Fitzgerald et al., 2015: Span-based SRL results CoNLL 2005 out of domain 72 71,3 71,2 71 70 69 67,8 68 67,7 67 66 65 Täckström et al. (2015) (global) T outanova et al. (2008) (global) Surdenau et al. (2007) (global) FitzGerald et al. (2015) (global)

  22. Fitzgerald et al., 2015: Dependency-based SRL results CoNLL 2009 test 88 87,3 87,3 87 86,9 86,6 86 Lei et al. (2016) (local) Bj ö̈ rkelund et al. (2010) (global) Täckström et al. (2015) (global) FitzGerald et al. (2015) (global)

  23. Fitzgerald et al., 2015: Dependency-based SRL results CoNLL 2009 out of domain 77 75,9 76 75,7 75,6 75,2 75 74 Lei et al. (2016) (local) Bj ö̈ rkelund et al. (2010) (global) Roth and Woodsend (2014) (global) FitzGerald et al. (2015) (global)

  24. Fitzgerald et al., 2015 } Predicate-role composition } Predicate-specific role representation } Learning distributed predicate representation across different formalisms } State of the art on FrameNet dataset } Feature embeddings } Use “simple” span features } Let the network figure out how to compose them } Reduced feature engineering

  25. Roth and Lapata, 2016 } Dependency-based SRL } Neural network with dependency path embeddings as local classifier } Argument identification } Role labeling } Global re-ranking of k-best local assignments

  26. Roth and Lapata, 2016: Dependency path embeddings } Syntactic paths between predicates and arguments are an important feature } It may be extremely sparse } Creating a distributed representation can solve the problem } Use LSTM [Hochreiter and Schmidhuber, 1995] to encode paths

  27. Roth and Lapata, 2016: Example A0 A1 repair.01 Sequa makes and repairs jet engines. COORD CONJ NMOD SBJ OBJ ROOT repairs CONJ and COORD makes SUBJ Sequa

  28. Roth and Lapata, 2016: Dependency path embeddings example LSTM over dependency path Embedding Layer repairs CONJ and COORD makes SUBJ Sequa

  29. Roth and Lapata, 2016: Architecture Candidate Softmax Layer Predicate argument Non linear layer … Embedding Layer x pos x rel x pos x w x w 1 1 2 n 1 Candidate argument features

  30. Roth and Lapata, 2016: Dependency-based SRL results CoNLL 2009 test 88 87,7 87,3 87,3 87 86,9 86,6 86 Lei et al. (2016) (local) Bj ö̈ rkelund et al. (2010) Täckström et al. (2015) FitzGerald et al. (2015) Roth and Lapata (2016) (global) (global) (global) (global)

  31. Roth and Lapata, 2016: Dependency-based SRL results CoNLL 2009 out of domain 77 76,1 75,9 76 75,7 75,6 75,2 75 74 Lei et al. (2016) (local) Bj ö̈ rkelund et al. (2010) Roth and Woodsend (2014) FitzGerald et al. (2015) Roth and Lapata (2016) (global) (global) (global) (global)

  32. Roth and Lapata, 2016: Analysis

  33. Roth and Lapata, 2016 } Encode syntactic paths with LSTMs } Overcome sparsity } Combination of symbolic features and continuous syntactic paths

  34. Outline: the fall and rise of syntax in SRL } Early SRL framework } Symbolic approaches + Neural networks } Syntax-agnostic neural methods (the fall) } Syntax-aware neural methods

  35. Syntax-agnostic neural methods } SRL as a sequence labeling task ARG 0 repair.01 ARG 1 Sequa makes and repairs jet engines

  36. Syntax-agnostic neural methods } SRL as a sequence labeling task } Argument identification and role labeling in one step ARG 0 repair.01 ARG 1 Sequa makes and repairs jet engines B-A0 O O O B-A1 I-A1

  37. Syntax-agnostic neural methods } General architecture } Word encoding } Sentence encoding (via LSTM) } Decoding } No use of any kind of treebank syntax (not trivial to encode it) } Differentiable end-to-end } [Collobert et al., (2011)]

  38. Zhou and Xu, 2015: Word encoding } Pretrained word embedding word representation Lane disputed those estimates

  39. Zhou and Xu, 2015: Word encoding } Pretrained word embedding } Distance from the predicate word representation Lane disputed those estimates

  40. Zhou and Xu, 2015: Word encoding } Pretrained word embedding } Distance from the predicate } Predicate context (for disambiguation) word representation Lane disputed those estimates

  41. Zhou and Xu, 2015: Word encoding } Pretrained word embedding } Distance from the predicate } Predicate context (for disambiguation) } Predicate region mark word representation Lane disputed those estimates

  42. Zhou and Xu, 2015: Sentence encoding } Bidirectional LSTM } Forward (left context) K layers BiLSTM word representation Lane disputed those estimates

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