Hybrid Logic Dependency Semantics

Similar documents
Model Theory of Modal Logic Lecture 1: A brief introduction to modal logic. Valentin Goranko Technical University of Denmark

Lecture 4: Proposition, Connectives and Truth Tables

Extensions to the Logic of All x are y: Verbs, Relative Clauses, and Only

Lecture 6: Formal Syntax & Propositional Logic. First: Laziness in Haskell. Lazy Lists. Monads Later. CS 181O Spring 2016 Kim Bruce

Proposition Knowledge Graphs. Gabriel Stanovsky Omer Levy Ido Dagan Bar-Ilan University Israel

An Introduction to Modal Logic III

Hybrid Logic, Patrick Blackburn. INRIA Lorraine, Nancy, France. Compter Science Roskilde University 13 June 2005

Natural Language Generation: An Introduction

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

Lecture 7. Logic. Section1: Statement Logic.

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

A Resolution Method for Modal Logic S5

The Importance of Being Formal. Martin Henz. February 5, Propositional Logic

Abstract model theory for extensions of modal logic

A proof theoretical account of polarity items and monotonic inference.

Overview. Knowledge-Based Agents. Introduction. COMP219: Artificial Intelligence. Lecture 19: Logic for KR

Quine s Fluted Fragment is Non-elementary

Propositional Dynamic Logic

Model Theory of Modal Logic Lecture 5. Valentin Goranko Technical University of Denmark

Fuzzy Description Logics

3. Only sequences that were formed by using finitely many applications of rules 1 and 2, are propositional formulas.

CSCE 222 Discrete Structures for Computing. Propositional Logic. Dr. Hyunyoung Lee. !!!!!! Based on slides by Andreas Klappenecker

185.A09 Advanced Mathematical Logic

Notes on Modal Logic

Logic for Computer Science - Week 2 The Syntax of Propositional Logic

Model Theory in the Univalent Foundations

Computational Models - Lecture 3

MODAL LOGICS OF SPACE

Logic as a Tool Chapter 1: Understanding Propositional Logic 1.1 Propositions and logical connectives. Truth tables and tautologies

First Order Logic: Syntax and Semantics

cse541 LOGIC FOR COMPUTER SCIENCE

C. Modal Propositional Logic (MPL)

Hybrid Logic Tango University of Buenos Aires February 2008

Quantification in the predicate calculus

Two hours. Note that the last two pages contain inference rules for natural deduction UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE

Propositional Logic: Logical Agents (Part I)

Overview. CS389L: Automated Logical Reasoning. Lecture 7: Validity Proofs and Properties of FOL. Motivation for semantic argument method

Constructive interpolation in hybrid logic

Phase 1. Phase 2. Phase 3. History. implementation of systems based on incomplete structural subsumption algorithms

Queries, Modalities, Relations, Trees, XPath Lecture VII Core XPath and beyond

Model Checking: An Introduction

Propositional and Predicate Logic - II

ACLT: Algebra, Categories, Logic in Topology - Grothendieck's generalized topological spaces (toposes)

CS 188 Introduction to AI Fall 2005 Stuart Russell Final

First Order Logic Implication (4A) Young W. Lim 4/6/17

Introduction to Temporal Logic. The purpose of temporal logics is to specify properties of dynamic systems. These can be either

Graph Theory and Modal Logic

Inconsistencies in Health Care Knowledge

Structural Induction

cis32-ai lecture # 18 mon-3-apr-2006

5. And. 5.1 The conjunction

Query Reasoning on Data Trees with Counting

Final Exam (100 points)

Suppose h maps number and variables to ɛ, and opening parenthesis to 0 and closing parenthesis

Finite Presentations of Pregroups and the Identity Problem

Mathematical Logic Part One

G52DOA - Derivation of Algorithms Predicate Logic

Predicate Calculus - Syntax

First Order Logic: Syntax and Semantics

DISCRETE STRUCTURES WEEK5 LECTURE1

Intelligent Systems (AI-2)

Mathematical Logic Part Two

Binding Theory Different types of NPs, constraints on their distribution

A generalization of modal definability

What is model theory?

Interpretability Logic

Quantifiers in Frame Semantics

Chapter 0 Introduction. Fourth Academic Year/ Elective Course Electrical Engineering Department College of Engineering University of Salahaddin

Chapter 1: Formal Logic

Completeness Results for Memory Logics

Intelligent Systems (AI-2)

Linear Programming Duality

TR : Binding Modalities

Lecture 15 - NP Completeness 1

Logic for Computational Effects: work in progress

Narcissists, Stepmothers and Spies

Natural Logic Welcome to the Course!

What we have done so far

Truth-Functional Logic

A Mathematical Theory of Communication

Modal Logic. UIT2206: The Importance of Being Formal. Martin Henz. March 19, 2014

Intensionality. 1. Intensional Propositional Logic (IntPL).

INTRODUCTION TO LOGIC. Propositional Logic. Examples of syntactic claims

Introduction to Semantics. Common Nouns and Adjectives in Predicate Position 1

A modal perspective on monadic second-order alternation hierarchies

Existential Second-Order Logic and Modal Logic with Quantified Accessibility Relations

ICS141: Discrete Mathematics for Computer Science I

On the bisimulation invariant fragment of monadic Σ 1 in the finite

Fibrational Semantics

First Order Logic (FOL)


Modal logics and their semantics

Lecture 2: Axiomatic semantics

Propositional Logic: Logical Agents (Part I)

LIN1032 Formal Foundations for Linguistics

Mathematical Logic Part One

Relativizing Tarskian Variables

A brief introduction to Logic. (slides from

Lecture 2: Syntax. January 24, 2018

Lecture 3: Semantics of Propositional Logic

Transcription:

Hybrid Logic Dependency Semantics What goes into the OpenCCG surface realiser? Lecture 2 January 22, 2013 Brief recap - What is NLG? How computer programs can be made to produce (high-quality) natural language text from computer-internal representations of information other texts Brief recap - the NLG pipeline Surface realisation with OpenCCG Communicative Goal(s) Document Planning Document Plans Microplanning Sentence Plans Surface Realisation Surface Text The first part of this course is concerned with the bottom part of the pipeline: surface realisation Using the (state-of-the-art) OpenCCG surface realiser Today's lecture: What do OpenCCG sentence plans look like? i.e. What are hybrid logic dependency structures?

An OpenCCG sentence plan Hybrid logic: @x restaurant ^ @x <THEME> w ^ @y inexpensive ^! @y <THEME> w ^ @z attractive ^ @z <THEME> w ^! @w Giovanni's! Directed graphs OpenCCG input representations are fundamentally directed graphs: XML: <satop nomvar="x"> <prop name="restaurant"/> </satop> <satop nomvar="x"> <diamond mode="theme"> <nomvar name="w"/> </diamond> </satop> English: Giovanni's is an attractive inexpensive restaurant. nodes - "points" edges - "arrows" connecting two points If there is an edge from node X to node Y, there is a dependency between entities X and Y i.e., Y is a dependent of X Directed graphs - topological constraints? Directed graphs - topological constraints? OpenCCG directed graphs can be either trees or non-trees. Re-entrancy and multi-rootedness are permitted OpenCCG directed graphs can even be nonconnected or cyclic

Labelled directed graphs Surface realisation with OpenCCG OpenCCG input representations are labelled directed graphs: node labels - different types of entity edge labels - different types of relation/dependency Sentence plan: a labelled directed graph can be deep or surface or anything in between Surface sentence plans Deep sentence plans Basically a syntactic dependency structure. Possible realisations are highly constrained: Giovanni's is an attractive inexpensive restaurant. Giovanni's is an inexpensive attractive restaurant. Many possible realisations: Giovanni's is an attractive inexpensive restaurant. Giovanni's is both inexpensive and attractive. Giovanni's does cheap food and has attractive decor. At Giovanni's, the food offers good value. Moreover, the decor is attractive.

Intermediate sentence plans Surface realisation with OpenCCG Sentence plan: a labelled directed graph More realisations than surface, but fewer than deep: Giovanni's is an attractive inexpensive restaurant. Giovanni's is a restaurant that is cheap and attractive. Giovanni's, an attractive restaurant, serves inexpensive food. How can we represent labelled directed graphs? i.e., we need a graph description language (a logic) Graphs and logic Think about first order logic. Formulas: x y. x y ^ boy(x) ^ girl(y) ^ love(x,y) ^ ~love(y,x) Every formula describes a set of models: the set of models in which the formula is true Models are graphs! boy LOVE girl Node labels are unary predicates (properties). Edge labels are binary predicates (relations). Graphs and logic Want to encode labelled directed graphs in a linear format i.e., convert graph into a logic formula that describes just that graph But which logical system shall we use to encode labelled directed graphs? first-order logic is way more expressive than we need modal logic is perfectly suited to describe graphs (Kripke structures) - hence used in OpenCCG

Describing directed graphs - modal propositional logic Another example The <> modal operator is used to signal a link between two nodes (i.e. a relation/dependency between two entities) be ^ (<> Giovanni's) ^ (<> (restaurant ^ (<> a) ^! (<> attractive) ^ (<> inexpensive)))! Giovanni's ^ (<> inexpensive) ^ (<> attractive)! Using indentation instead of parentheses to show the relation between the graph and the formula more clearly be! ^ <> Giovanni's! ^ <> restaurant! ^ <> a! ^ <> attractive! ^ <> inexpensive! Describing labelled directed graphs - multimodal propositional logic Instead of just one modal operator <>, there is a range of different multimodal operators, e.g., <PRICE>, <DECOR>! denote different types of relation/dependency between two entities Another example be ^ (<SBJ> Giovanni's) ^ (<PRED> (restaurant ^ (<DET> a)!^ (<MOD> attractive) ^ (<MOD> inexpensive))) Giovanni's ^ (<PRICE> inexpensive) ^ (<DECOR> attractive)! Using indentation: be! ^ <SBJ> Giovanni's! ^ <PRED> restaurant! ^ <DET> a! ^ <MOD> attractive! ^ <MOD> inexpensive!

Graphs that are not trees? Hybrid multimodal logic - nominals restaurant ^ <THEME> Giovanni's! inexpensive ^ <THEME> Giovanni's! attractive ^ <THEME> Giovanni's! But: normal modal logic has no way of ensuring that it is the same entity which is the THEME in all three cases. Also, no way of combining the three fragments into a single formula - conjunction won't do. restaurant ^ <THEME> (w ^ Giovanni's)! inexpensive ^ <THEME> w! attractive ^ <THEME> w! Nominals capture reentrancy, but not multi-rootedness. Hybrid multimodal logic - @ operator Elementary predications Every hybrid logic formula can be turned into an equivalent conjunction of elementary predications (EP) @x restaurant!! @y <THEME> Giovanni's! (@x restaurant ^ <THEME> (w ^ Giovanni's))^! (@y inexpensive ^ <THEME> w)^! (@z attractive ^ <THEME> w)! Two kinds of EP: 1. Node label statements: @x restaurant! node x is labelled restaurant 2. Edge statements: @x <THEME> y! there is an edge labelled theme from node x to node y

Elementary predications Elementary predications Hybrid logic formula: (@x restaurant ^ <THEME> (w ^ Giovanni's))! ^ (@y inexpensive ^ <THEME> w)! ^ (@z attractive ^ <THEME> w)! Conjunction of EPs: @x restaurant ^ @y inexpensive ^ @z attractive ^ @w Giovanni's ^ @x <THEME> w ^ @y <THEME> w ^ @z <THEME> w! Another example Another example be ^ (<SBJ> Giovanni's) ^ (<PRED> (restaurant ^ (<DET> a) ^ (<MOD> attractive) ^ (<MOD> inexpensive)))! @x be ^ @y Giovanni's ^ @z restaurant ^ @w a ^! @u attractive ^ @v inexpensive ^ @x <SBJ> y ^ @x <PRED> z ^ @z <DET> w ^ @z <MOD> u ^! @z <MOD> v!

Elementary predications in XML What you need to know Node label statements: @x attractive <satop nomvar="x">! <prop name="attractive"/>! </satop> Edge statements: @x <THEME> y! <satop nomvar="x">! <diamond mode="theme">! <nomvar name="y"/>! </diamond>! </satop>! How to convert a labelled directed graph into a set of elementary predications of hybrid multimodal logic How to convert a set of elementary predications of hybrid multimodal logic into a labelled directed graph Reading for Week 2: Michael White. Efficient Realization of Coordinate Structures in Combinatory Categorial Grammar. Research on Language and Computation, 4(1):39 75, 2006. Learn more about hybrid logic Patrick Blackburn (2000): "Representation, Reasoning and Relational Structures: a Hybrid Logic Manifesto". Logic Journal of the IGPL, 8(3), 339-365. URL: http://www.loria.fr/~blackbur/papers/manifesto.pdf Patrick Blackburn (1993): "Modal Logic and Attribute Value Structures". In Diamonds and Defaults, edited by M. de Rijke, Kluwer Academic Publishers, 1993, pages 19-65. URL: http://www.loria.fr/~blackbur/papers/attribute.pdf