From Language towards. Formal Spatial Calculi

Similar documents
Machine Learning for Interpretation of Spatial Natural Language in terms of QSR

Spatial Role Labeling CS365 Course Project

Spatial Role Labeling: Towards Extraction of Spatial Relations from Natural Language

Department of Computer Science and Engineering Indian Institute of Technology, Kanpur. Spatial Role Labeling

SemEval-2012 Task 3: Spatial Role Labeling

CLEF 2017: Multimodal Spatial Role Labeling (msprl) Task Overview

Global Machine Learning for Spatial Ontology Population

CLEF 2017: Multimodal Spatial Role Labeling (msprl) Task Overview

SemEval-2013 Task 3: Spatial Role Labeling

UTD: Ensemble-Based Spatial Relation Extraction

From Descriptions to Depictions: A Conceptual Framework

Extracting Spatial Information From Place Descriptions

Spatial relations in natural language. A constraint-based approach

Annotation tasks and solutions in CLARIN-PL

NAACL HLT Spatial Language Understanding (SpLU-2018) Proceedings of the First International Workshop

Bringing machine learning & compositional semantics together: central concepts

Maschinelle Sprachverarbeitung

Maschinelle Sprachverarbeitung

TALP at GeoQuery 2007: Linguistic and Geographical Analysis for Query Parsing

Geographic Analysis of Linguistically Encoded Movement Patterns A Contextualized Perspective

Information Extraction from Text

Sieve-Based Spatial Relation Extraction with Expanding Parse Trees

Driving Semantic Parsing from the World s Response

Annotating Spatial Containment Relations Between Events. Kirk Roberts, Travis Goodwin, and Sanda Harabagiu

NATURAL LANGUAGE PROCESSING. Dr. G. Bharadwaja Kumar

Chunking with Support Vector Machines

Maintaining Relational Consistency in a Graph-Based Place Database

Representing structured relational data in Euclidean vector spaces. Tony Plate

pursues interdisciplinary long-term research in Spatial Cognition. Particular emphasis is given to:

Probabilistic Context-free Grammars

Latent Variable Models in NLP

GeoVISTA Center, Department of Geography, The Pennsylvania State University, PA, USA

Clock-Modeled Ternary Spatial Relations for Visual Scene Analysis

A proof theoretical account of polarity items and monotonic inference.

Machine Learning for natural language processing

CS626: NLP, Speech and the Web. Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 14: Parsing Algorithms 30 th August, 2012

10/17/04. Today s Main Points

A Supertag-Context Model for Weakly-Supervised CCG Parser Learning

Laconic: Label Consistency for Image Categorization

Natural Language Processing CS Lecture 06. Razvan C. Bunescu School of Electrical Engineering and Computer Science

how to *do* computationally assisted research

Personal Project: Shift-Reduce Dependency Parsing

Semantic Role Labeling via Tree Kernel Joint Inference

Toponym Disambiguation using Ontology-based Semantic Similarity

Hidden Markov Models

Modeling Complex Temporal Composition of Actionlets for Activity Prediction

A Context-Free Grammar

Logic Background (1A) Young W. Lim 12/14/15

Leaving Some Stones Unturned: Dynamic Feature Prioritization for Activity Detection in Streaming Video

Click Prediction and Preference Ranking of RSS Feeds

Empirical Methods in Natural Language Processing Lecture 11 Part-of-speech tagging and HMMs

A Probabilistic Forest-to-String Model for Language Generation from Typed Lambda Calculus Expressions

An Inquisitive Formalization of Interrogative Inquiry

Global Behaviour Inference using Probabilistic Latent Semantic Analysis

First Order Logic (1A) Young W. Lim 11/18/13

Formal Semantics Of Verbs For Knowledge Inference

NEURAL LANGUAGE MODELS

The Relevance of Spatial Relation Terms and Geographical Feature Types

Sound Recognition in Mixtures

Task-Oriented Dialogue System (Young, 2000)

Capturing Argument Relationships for Chinese Semantic Role Labeling

Indoor Scene Knowledge Acquisition using a Natural Language Interface Saranya Kesavan and Nicholas A. Giudice

Intelligent GIS: Automatic generation of qualitative spatial information

Multi-theme Sentiment Analysis using Quantified Contextual

On rigid NL Lambek grammars inference from generalized functor-argument data

SYNTHER A NEW M-GRAM POS TAGGER

Combining binary constraint networks in qualitative reasoning

Parsing. Probabilistic CFG (PCFG) Laura Kallmeyer. Winter 2017/18. Heinrich-Heine-Universität Düsseldorf 1 / 22

Adding ternary complex roles to ALCRP(D)

Adaptive Multi-Compositionality for Recursive Neural Models with Applications to Sentiment Analysis. July 31, 2014

Surface Reasoning Lecture 2: Logic and Grammar

arxiv: v2 [cs.cl] 20 Aug 2016

Natural Language Processing 1. lecture 7: constituent parsing. Ivan Titov. Institute for Logic, Language and Computation

A DOP Model for LFG. Rens Bod and Ronald Kaplan. Kathrin Spreyer Data-Oriented Parsing, 14 June 2005

Natural Language Processing

CLRG Biocreative V

arxiv: v3 [cs.lg] 14 Jan 2018

6.891: Lecture 24 (December 8th, 2003) Kernel Methods

Lab 12: Structured Prediction

Midterm sample questions

Learning Features from Co-occurrences: A Theoretical Analysis

Distinguish between different types of scenes. Matching human perception Understanding the environment

Complexity of Probabilistic Disambiguation

CMU at SemEval-2016 Task 8: Graph-based AMR Parsing with Infinite Ramp Loss

Bar-Hillel and the Division of Labor in Language

The Formal Representation of Scientific Knowledge with Prolog

LECTURER: BURCU CAN Spring

The SUBTLE NL Parsing Pipeline: A Complete Parser for English Mitch Marcus University of Pennsylvania

LC Graphs for the Lambek calculus with product

Penn Treebank Parsing. Advanced Topics in Language Processing Stephen Clark

The Research on Syntactic Features in Semantic Role Labeling

Jointly Extracting Event Triggers and Arguments by Dependency-Bridge RNN and Tensor-Based Argument Interaction

The Noisy Channel Model and Markov Models

Corpus annotation with a linguistic analysis of the associations between event mentions and spatial expressions

Final exam of ECE 457 Applied Artificial Intelligence for the Spring term 2007.

Multiword Expression Identification with Tree Substitution Grammars

Transition-based Dependency Parsing with Selectional Branching

Meaning and Reference INTENSIONAL AND MODAL LOGIC. Intensional Logic. Frege: Predicators (general terms) have

Universität Potsdam Institut für Informatik Lehrstuhl Maschinelles Lernen. Language Models. Tobias Scheffer

Lecture 2: Probability, Naive Bayes

Transcription:

From Language towards Formal Spatial Calculi Parisa Kordjamshidi Martijn Van Otterlo Marie-Francine Moens Katholieke Universiteit Leuven Computer Science Department CoSLI August 2010 1

Introduction Goal: What is placed Where Key points Multimodal environment Unrestricted language Formal spatial representation Relational machine learning Spatial extraction and reasoning Current experiments & Future plans 2

Motivation(Multimodal Environment) 1. so from here exactly opposite is my desk. 2. and next to that left of that is my computer, perhaps a meter away. 3. (breathing) ähm. 4. next to that at the wall is my kitchen, first there is my fridge all the way to the right. Room Description [Bateman, et.al, 2006] 3

Two level of semantics Language side and Spatial Role Labeling: Automatic labeling of natural language with a set of spatial roles. Space side and Spatial Formalizing Automatic mapping of the output of SpRL to formal relations in spatial calculi. 4

Spatial role labeling task Trajectory Landmark Landmark Give me that book on the table in the living room. ON(book,table) IN(table, living room) Spatial Indicator Trajectory Spatial Indicator IN(book,living room)? 5

Labeling the parse tree 6

Holistic spatial semantics The entity whose location or motion is of relevance. A binary component; whether there is perceived motion or not. Motion Trajector Landmark Path The reference entity in relation to which the location or motion of the trajector is determined. In terms of its beginning, middle and end. The direction along the axes provided by the different frames of reference. Direction Frame of Reference Region A region of space which is defined in relation to a landmark. Three types of frame of reference: intrinsic, relative or absolute. 7

Relational representation TRAJECTOR(id, token) LANDMARK(id, token, path) SPATIAL-INDICATOR(id, token,general-type, specific-type, spatial-value) MOTION-INDICATOR(id, token) SR(id, trajector, landmark, spatial-indicator, frame-of-reference, motion-indicator) 8

(Example: The vase is in the living room on the table under the window.) <TRAJECTOR id= 1 > The vase </TRAJECTOR> <LANDMARK id= 1 path= ZERO > the living room </LANDMARK> <LANDMARK id= 2 path= ZERO > the table </LANDMARK> <LANDMARK id= 3 path= ZERO >the window </LANDMARK > <SPATIAL-INDICATOR id= 1 general-type= REGION specific-type= RCC8 spatial-value= NTPP > in </SPATIAL-INDICATOR> <SPATIAL-INDICATOR id= 2 general-type= REGION specific-type= RCC8 spatial-value= EC > on </SPATIAL-INDICATOR> <SPATIAL-INDICATOR id= 3 general-type= DIRECTION specific-type= RELATIVE spatial-value= BELOW > under </SPATIAL-INDICATOR> <SR id= 1 trajector= 1 landmark= 1 spatial-indicator= 1 frame-of-reference= INTRINSIC motion-indicator= NIL /> <SR id= 2 trajector= 1 landmark= 2 spatial-indicator= 2 frame-of-reference= INTRINSIC motion-indicator= NIL /> <SR id=3 trajector=1 landmark=3 spatial-indicator=3 frame-of-reference=intrinsic motionindicator=nil/> [Ref. LREC2010] 9

Spatial reasoning Extraction for Reasoning or Reasoning for Extraction? The vase is on the table to your left. on(vase,table) left(table, you) left(vase,you)? The vase is on the ground to your left. on(vase, ground) left(vase,you) on(you,ground)? 10

Mapping to formal spatial relations (Spatial formalizing) Spatial Relations Region Direction Distance Qualitative RCC8 Absolute Relative Quantitative close... PO DC TPP-1 TPP EC NTPP NTPP-1 EQ West South East North SW SW NW LEFT RIGHT FRONT BELOW BEHIND ABOVE 30 km... SE 11

GUM ontology 12

Mapping to spatial calculi and next to that left of that is my computer, perhaps a meter away. Computer Desk LeftProjectionExt [distance: 1m] next-to(computer,that) DC(computer,that) left-of(computer,that) LEFT(computer, that) a-meter-away(computer,that) DC(computer,that) + In this way: Distance(computer, that, a meter) first: For reasoning we can gain reasoning based on RCC+ Directions+ Distances. It means a combination of spatial calculus. second: These extracted relations are uncertain, we need learning from examples + probabilistic logical inference. third: these capacities are gathered in statistical relational learning

Representation towards spatial reasoning 1. opposite(desk, here) FRONT(desk, here) 2. next-to(computer,that) DC(computer,that) left-of(computer,that) LEFT(computer, that) a-meter-away(computer,that) DC(computer,that) + Distance(computer, that, a meter) 4. next-to(kitchen,computer) DC(kitchen,computer) at(kitchen, wall) EC(kitchen,wall) first(fridge,nil) ClOSE( fridge, you) right(fridge,you) RIGHT(fridge,you) 5. In(water-can, corner) TPP(water-can, corner) In(flowers, corner) TPP(flowers, corner) 1. er, so from here exactly opposite is my desk. 2. and next to that left of that is my computer, perhaps a meter away. 3. (breathing) ähm, (1) [er]. 4. next to that at the wall is my kitchen, first there is my fridge all the way to the right. 5. in the corner where there s also my flowers, is my watering can. 6. and there is my stove, and the table with my sugar bowl is also at the side of the fridge. 7. left of that. 8. yes, and er - so to say behind me but left, er, is the entrance door 9. then further to the right of me directly is my dining table. 10. and er, how is it,from my position let s say between er twelve o clock and three o clock there is directly the TV set 11. and er, to the right of that is my sofa,which I cannot sit on you know, only the guests 12. and also my,er, beautiful coffee table. 14

Representation towards spatial reasoning Utterance Locatum Relatum GUM Category 1 Desk Self NonprojectionAxial: opposite 2 Computer Desk LeftProjectionExt [distance: 1m] 4 Kitchen Computer HorizontalProjectionExt: next 4 Kitchen Wall ExternalConnection: at 4 Fridge Kitchen RightProjectionInt: rightmost 4 Fridge Corner Containment: in 5 Houseplant Corner Utterance Containment: NL Spatial in relation Formal Spatial Relation 6 Stove There 1 opposite(desk, ExternalConnection: here) at FRONT(desk, here) 6 {Stove, kitchen table} Fridge 2 next-to(computer,that) HorizontalProjectionExt: side of DC(computer,that) 6 7 {Stove, kitchen table} Fridge left-of(computer,that) LeftProjectionExt LEFT(computer, that) 9 Entrance Self BackProjectionExt a-meter-away(computer,that) DC(computer,that) + 10 Dining table Self RightProjectionExt Distance(computer, that, a meter) 4 next-to(kitchen,computer) DC(kitchen,computer) at(kitchen, wall) EC(kitchen,wall) first(fridge, NIL) CLOSE( fridge, you) right(fridge,you) RIGHT(fridge,you) 5 In(water-can, corner) TPP(water-can, corner) In(flowers, corner) TPP(flowers, corner) 15

Grounded spatial communication A table-top scene : the apples are on the table A street-scale scene : the car is in front of the church 1. Selection of appropriate reference object(s) 2. Adoption of appropriate reference frame 3. Use of correct spatial prepositions 4.... 16

Spatial Puzzle Text Spatial Role Labeling Mapping NL to Spatial Ontology Mapping to Formal Spatial Relations Discourse Level Extracts Spatial Reasoning Grounding Spatial Relations Image/ Video 17

Current experiments (Preposition disambiguation) The book is on the table. TPP Data on: spatial sense Sentence Linguistically motivated features extracted from parser, dependency tree, semantic role labeler. Preposition Disambigation using Machine Learning(Mallet) The meeting is on Monday. Preposition with spatial sense on: temporal sense 18

Current experiments (Extraction of trajector and landmark) GUM Data Sentence Linguistically motivated features extracted from parser, dependency tree, semantic role labeler. Argument Identification and Classification The book is on the table. Classify the words with respect to the detected spatial indicator on. Spatial Indicator Word-based Constituent-based Sentence (parse tree) labeled with spatial roles Word-based the: None book: Trajector is : None the : None table: Landmark Sequence-tagging 19

Current experiments Preposition disambiguation gaining 87.4% accuracy, outperforming the previous works by 1.3% increase. SemEval07 data (Litkowski and Hargraves, 2007).. gaining 88% accuracy over spatial prepositions. Extraction of trajector and landmark 20

Conclusion & Future directions Conclusion Introduced two semantic levels for mapping language to spatial calculi Covering spatial semantics including dynamic and static spatial information Promising experimental results 21

Conclusion & Future directions Ongoing work and Future directions Getting annotated corpus for the whole scheme (currently working on CLEF, IAPRTC-12 Image Benchmark) Statistical relational learning for the whole automatic mapping (injecting background knowledge to the system in a logical formalization) Spatial reasoning, combining multimodal information 22

Thank you! Questions? 23