1 / 23

Spatial Role Labeling Task for SemEval 2012

Spatial Role Labeling Task for SemEval 2012. Natural Language Processing for Massive Textual Data Management Group Presentation. 1. Outline. Introduction Identification of Spatial Indicators Identification of Trajectors and Landmarks Jointly identification Experiments Conclusion. 2.

Télécharger la présentation

Spatial Role Labeling Task for SemEval 2012

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Spatial Role LabelingTask for SemEval 2012 Natural Language Processing for Massive Textual Data Management Group Presentation 1

  2. Outline • Introduction • Identification of Spatial Indicators • Identification of Trajectors and Landmarks • Jointly identification • Experiments • Conclusion 2

  3. Outline • Introduction • Identification of Spatial Indicators • Identification of Trajectors and Landmarks • Jointly identification • Experiments • Conclusion 3

  4. Introduction • Deal with the novel task of spatial role labeling in natural language text. • Extracting spatial roles and their relations: • Find spatial prepositions and then the related trajectors and landmarks. • Joint learning approach, where a spatial relation and its composing indicator, trajector and landmark are classified collectively. • Create triplets of <indicator, trajector, landmark>. 4

  5. Introduction • Task A has to be treated sequentially into several sub-problems: • Identifying the pivot of the spatial relations learning to predict prepositions (Spatial Indicator). • Identify possible arguments of the spatial relations learning to predict trajectors and landmarks. • In task B we investigate another setting in which we classify all roles jointly (without separating classifications for spatial indicators and trajectors/landmarks. 5

  6. Introduction • Two examples of sentences labeled twice, each time with a different spatial indicator: 6

  7. Outline • Introduction • Identification of Spatial Indicators • Identification of Trajectors and Landmarks • Jointly identification • Experiments • Conclusion 7

  8. Identification of Spatial Indicators • Spatial information can be expressed primarily by using prepositions. • Task: classify prepositions on “SI” or “not SI” from these Features: • PREPOSITION • PREPOSITION_POS             (from dependency tree (Stanford Parser)) • HEAD1: word directly dependent on the preposition • HEAD2: word on which the preposition is directly dependent • HEAD1_LEMMA (WordNet) • HEAD1_POS (Stanford Parser) • HEAD2_LEMMA (WordNet) • HEAD2_POS (Stanford Parser)             (from TPP dictionary) • PREP_SPATIAL: % of acceptions where preposition is spatial. 8

  9. Outline • Introduction • Identification of Spatial Indicators • Identification of Trajectors and Landmarks • Jointly identification • Experiments • Conclusion 9

  10. Identification of trajectors and landmarks • We aim to classify : • Features of a word: • Form, POS tag, dependency to the syntactic head in the dependency tree, semantic role, subcategorization. • Features of the spatial indicator: • Form, subcategorization. • Relational Features of the word with respect to the SI: • Path, linear position. • We tried to use Hidden Markov Models and Averaged perceptron and in order to see the probability of each word (with except to the SI) of being trajector, landmark or none. 10

  11. Identification of trajectors and landmarks • The features obtained: PREPOSITION WORD: The word form WORD_POS: word's part of speech WORD_DPRL: syntactic relation with the head WORD_BINARY: if is at left or at right of the preposition WORD_PATH: describe the path from the word to the preposition. • Transformed into numeric features for the perceptron • Using a hash Function 11

  12. Outline • Introduction • Identification of Spatial Indicators • Identification of Trajectors and Landmarks • Jointly identification • Experiments • Conclusion 12

  13. Jointly Identification • Predict each triplet of segments indicator-trajector-landmark jointly. • Omitting the first task of predicting the spatial indicator. • Tagging words with trajector, landmark, SI or none. • Allows multiple words to be classified as SI. • We wanted to use HMM and Averaged Perceptron with another class “SI” added. 13

  14. Outline • Introduction • Identification of Spatial Indicators • Identification of Trajectors and Landmarks • Jointly identification • Experiments • Conclusion 14

  15. Experiments for SI identification • We use K-Fold Cross Validation with K=5 • Training Data chosen: 90% of the original data set. • Accuracy with Naïve Bayes: 85% (on the 10% of test Data)     (not considering multi-word prepositions. "in" is not "in front of") • Problem: "You are in my dreams and they are in my nightmares". Two repeated prepositions, two marked up SI. Which is each one? • Solution: considering word positions 15

  16. Possible approaches for Trajectors and Landmarks Identification • Averaged perceptron [4,5]: • The inference step must be efficient: Φ = A representation, mapping each (x, y) to a feature vector Φ(x, y) - defined as local feature vectors. 16

  17. Possible approaches for Trajectors and Landmarks Identification 17

  18. Possible approaches for Trajectors and Landmarks Identification • Trying to use HMM of [5] • Difficulty was in adapting from the training data with the features extracted to the HMM network. • Then, we wanted to use Viterbi Algorithm to predict the probabilities of belonging to each label (T/L/None). • Use K-Fold Cross Validation with K=5 with the same training set and test set. 18

  19. Possible approaches for Jointly Identification • We wanted to use the same criteria as in the previous task by adding one new 4th observation for the classification “SI” (T/L/SI/None). • Use K-Fold Cross Validation with K=5 with the same training set and test set. 19

  20. Outline • Introduction • Identification of Spatial Indicators • Identification of Trajectors and Landmarks • Jointly identification • Experiments • Conclusion 20

  21. Conclusion • We achieved results for SI identification by using slightly different features. • Try to add new features. • Grateful to offer the possibility of working the whole group together, dealing with the added problems of organization, communication and coordination. • Future Work is for the following tasks with the multi-classification problem. 21

  22. References [1] P. Kordjamshidi, M van Otterlo, and M. F. Moens. Spatial role labeling: task definition and annotation scheme. In LREC, 2010. [2] P. Kordjamshidi, M van Otterlo, and M. F. Moens. From language towards formal spatial calculi.In Workshop on Computational Models of Spatial Language Interpretation (CoSLI 2010, at SpatialCognition 2010), 2010. [3] Parisa Kordjamshidi, Martijn van Otterlo, and Marie-Francie Moens. Spatial role labeling: Towards extraction of spatial relations from natural language. ACM Transactions on Speech and Language Processing, Nov. 2011. to appear. [4] Michael Collins. Discriminative Training Methods for Hidden Markov Models: Theory and Experiments with Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP), Philadelphia, July 2002, pp. 1-8. Association for Computational Linguistics. • [5] LingPipe Carpenter, Bob and Breck Baldwin. 2011. Text Analysis with LingPipe 4. [6] Rabiner. A tutorial on hidden Markov models and selected applications in speech recognition. Proceedings of the IEEE, 1989. 22

  23. Spatial Role LabelingTask for SemEval 2012 Thank you! 23

More Related