Pairing Model-Theoretic Syntax and Semantic Network for Writing - - PowerPoint PPT Presentation

pairing model theoretic syntax and semantic network for
SMART_READER_LITE
LIVE PREVIEW

Pairing Model-Theoretic Syntax and Semantic Network for Writing - - PowerPoint PPT Presentation

Introduction and Background Error Detection Re-generation Surface Realisation by Network Exploration Conclusion and Perspectives Pairing Model-Theoretic Syntax and Semantic Network for Writing Assistance Jean-Philippe Prost and Mathieu


slide-1
SLIDE 1

Introduction and Background Error Detection Re-generation Surface Realisation by Network Exploration Conclusion and Perspectives

Pairing Model-Theoretic Syntax and Semantic Network for Writing Assistance

Jean-Philippe Prost and Mathieu Lafourcade

LIRMM, Universit´ e Montpellier 2

CSLP@Context, 2011

J-P. Prost and M. Lafourcade Pairing MTS and Semantic Network

slide-2
SLIDE 2

Introduction and Background Error Detection Re-generation Surface Realisation by Network Exploration Conclusion and Perspectives

The Problem

Syntax/Semantics interface for Property Grammar (PG) through writing assistance Example *L’avocat le dossier de son client (The lawyer his client’s file) Case of (likely) missing word: L’avocat X le dossier de son client where X is of category V Expected surface realisation: plaide (pleads)

J-P. Prost and M. Lafourcade Pairing MTS and Semantic Network

slide-3
SLIDE 3

Introduction and Background Error Detection Re-generation Surface Realisation by Network Exploration Conclusion and Perspectives

Outline

1 Introduction and Background 2 Error Detection 3 Re-generation 4 Surface Realisation by Network Exploration

The Lexical Network Completion Message Propagation Algorithm

5 Conclusion and Perspectives

J-P. Prost and M. Lafourcade Pairing MTS and Semantic Network

slide-4
SLIDE 4

Introduction and Background Error Detection Re-generation Surface Realisation by Network Exploration Conclusion and Perspectives

Sketch of the Process

1 Error detection with approximated parse(s) 2 (unrealised) Re-generation by tree transduction 3 Surface realisation with lexical network

choice of functional and semantic roles completion message propagation in the network

J-P. Prost and M. Lafourcade Pairing MTS and Semantic Network

slide-5
SLIDE 5

Introduction and Background Error Detection Re-generation Surface Realisation by Network Exploration Conclusion and Perspectives

Property Grammar (Blache, 2001)

Model-Theoretic Semantics for PG (Duchier et al., 2009)

Models are labelled trees

S NP1 L’avocat VP V plaide NP2 NP3 le dossier PP de son client

The grammar is a constraint system over tree nodes NP : D ≺ N VP : △V NP : N ⇒ D, . . .

J-P. Prost and M. Lafourcade Pairing MTS and Semantic Network

slide-6
SLIDE 6

Introduction and Background Error Detection Re-generation Surface Realisation by Network Exploration Conclusion and Perspectives

Model-Theoretic Semantics for PG

Strong semantics (i.e. well-formedness) τ : σ | = G a syntax tree τ is a strong model of property grammar G, with realization σ, iff it is admissible and Rτ(ε) = σ and I −

G,τ = ∅

J-P. Prost and M. Lafourcade Pairing MTS and Semantic Network

slide-7
SLIDE 7

Introduction and Background Error Detection Re-generation Surface Realisation by Network Exploration Conclusion and Perspectives

Model-Theoretic Semantics for PG

Loose semantics

S NP1 D Les The N employ´ es employees VP V rendent deliver *NP2 N rapport report AP Adv tr` es very A complet complete

fitness FG,τ = I +

G,τ/I 0 G,τ

loose models τ : σ | ≈ G iff τ ∈ argmax

τ ′∈AG,σ

(FG,τ ′)

J-P. Prost and M. Lafourcade Pairing MTS and Semantic Network

slide-8
SLIDE 8

Introduction and Background Error Detection Re-generation Surface Realisation by Network Exploration Conclusion and Perspectives

Getting Approximated Parses

S NP1 D Les The N employ´ es employees VP V rendent deliver *NP2 N rapport report AP Adv tr` es very A complet complete

Use of robust parsers’s combined output as set of models Most robust parsers are not capable of deciding about the well-formedness of the input sentence

J-P. Prost and M. Lafourcade Pairing MTS and Semantic Network

slide-9
SLIDE 9

Introduction and Background Error Detection Re-generation Surface Realisation by Network Exploration Conclusion and Perspectives

Characterising Approximated Parses

Characterisation of a model: set of pairs (pertinent instance of property, truth value) I 0

G,τ = {r ∈ Iτ[

[G] ] | Pτ(r)} I +

G,τ = {r ∈ I 0 G,τ | Sτ(r)}

I −

G,τ = {r ∈ I 0 G,τ | ¬Sτ(r)}

J-P. Prost and M. Lafourcade Pairing MTS and Semantic Network

slide-10
SLIDE 10

Introduction and Background Error Detection Re-generation Surface Realisation by Network Exploration Conclusion and Perspectives

Re-generation by Tree Transduction

Basic tree operations, where τ is a tree, and c, c1, c2 are node labels (i.e. categories):

Node insertion, denoted by τ ↓ c Node deletion, denoted by τ ∤ c Node permutation, denoted by c1

τ

↔ c2

Transduction: Property Violated instances Tree operation Requirement Iτ[ [c0 : c1 ⇒ s2] ] τ ↓ s2 Obligation Iτ[ [c0 : △c1] ] τ ↓ c1 Linearity Iτ[ [c0 : c1 ≺ c2] ] c1

τ

↔ c2 Uniqueness Iτ[ [c0 : c1!] ] τ ∤ c1 Exclusion Iτ[ [c0 : c1 ⇔ c2] ] τ ∤ c1 ∪ τ ∤ c2

J-P. Prost and M. Lafourcade Pairing MTS and Semantic Network

slide-11
SLIDE 11

Introduction and Background Error Detection Re-generation Surface Realisation by Network Exploration Conclusion and Perspectives

Re-generated Model

S NP1 D Les The N employ´ es employees VP V rendent deliver NP2 D X N rapport report AP Adv tr` es very A complet complete

J-P. Prost and M. Lafourcade Pairing MTS and Semantic Network

slide-12
SLIDE 12

Introduction and Background Error Detection Re-generation Surface Realisation by Network Exploration Conclusion and Perspectives The Lexical Network Completion Message Propagation Algorithm

The Lexical Network

rezoJDMFR

Nodes and directed relations Weights and types Example cat isa − → animal cat loc − → sofa cat can − → pur cat part − → claw Many relation types including semantic roles agent, patient, instrument Other relations

Typical location, manner, entailment isa, partof, substance, synonym, antonym, . . .

J-P. Prost and M. Lafourcade Pairing MTS and Semantic Network

slide-13
SLIDE 13

Introduction and Background Error Detection Re-generation Surface Realisation by Network Exploration Conclusion and Perspectives The Lexical Network Completion Message Propagation Algorithm

A game for building the network

JeuxDeMots http://jeuxdemots.org/ Users associate terms given a relation A popular consensus filtered by pairs of players In 4 years time

  • ver 1, 200, 000 relations among 230, 000 terms

evaluation through a guessing game (AKI, tip-of-the-tongue)

term found in more than 75% of cases while the typical human score is around 46%

J-P. Prost and M. Lafourcade Pairing MTS and Semantic Network

slide-14
SLIDE 14

Introduction and Background Error Detection Re-generation Surface Realisation by Network Exploration Conclusion and Perspectives The Lexical Network Completion Message Propagation Algorithm J-P. Prost and M. Lafourcade Pairing MTS and Semantic Network

slide-15
SLIDE 15

Introduction and Background Error Detection Re-generation Surface Realisation by Network Exploration Conclusion and Perspectives The Lexical Network Completion Message Propagation Algorithm J-P. Prost and M. Lafourcade Pairing MTS and Semantic Network

slide-16
SLIDE 16

Introduction and Background Error Detection Re-generation Surface Realisation by Network Exploration Conclusion and Perspectives The Lexical Network Completion Message Propagation Algorithm

Completion Message

a, :R, b :R denotes an oriented semantic relation, and a and b its oriented elements.

J-P. Prost and M. Lafourcade Pairing MTS and Semantic Network

slide-17
SLIDE 17

Introduction and Background Error Detection Re-generation Surface Realisation by Network Exploration Conclusion and Perspectives The Lexical Network Completion Message Propagation Algorithm

Gathering Functional and Semantic Roles

S NP1 L’avocat VP V X NP2 NP3 le dossier PP de son client

VP (Verb Phrase)

  • head

V

subcat

V.subcat

  • Obligation : △V

Uniqueness : V[main past part]! : NP! : PP! Linearity : V ≺ NP : V ≺ Adv : V ≺ PP Requirement : V[past part] ⇒ V[aux] Exclusion : Pro[acc] ⇔ NP : Pro[dat] ⇔ Pro[acc] Dependency : V    role

PRED

subcat

  • arg

role OBJ | P-OBJ | A-OBJ cat NP

  NP [role PAT] : V    role

PRED

subcat

  • arg

role OBJ | P-OBJ | A-OBJ cat PP

  PP [role PAT]

NP2 is in a Patient relationship with V NP2’s head is inherited from NP3’s: dossier (file) Message ♯1 = X, :PAT, dossier

J-P. Prost and M. Lafourcade Pairing MTS and Semantic Network

slide-18
SLIDE 18

Introduction and Background Error Detection Re-generation Surface Realisation by Network Exploration Conclusion and Perspectives The Lexical Network Completion Message Propagation Algorithm

Gathering Functional and Semantic Roles

S (Utterance) Obligation : △VP Uniqueness : NP! : VP! Linearity : NP ≺ VP Dependency : VP    role

PRED

subcat

  • arg

  pos role SUBJ cat NP  

  NP

  • role AGT
  • NP1 is in an Agent relationship with VP

by inheritance, NP1’s head is avocat (lawyer) Message ♯2= avocat, :AGT, X

J-P. Prost and M. Lafourcade Pairing MTS and Semantic Network

slide-19
SLIDE 19

Introduction and Background Error Detection Re-generation Surface Realisation by Network Exploration Conclusion and Perspectives The Lexical Network Completion Message Propagation Algorithm

Completion Messages

{X, :PAT, dossier, avocat, :AGT, X}

J-P. Prost and M. Lafourcade Pairing MTS and Semantic Network

slide-20
SLIDE 20

Introduction and Background Error Detection Re-generation Surface Realisation by Network Exploration Conclusion and Perspectives The Lexical Network Completion Message Propagation Algorithm

Propagation Algorithm

The Problem Given an underspecified input, such as avocat, :AGT, X and X, :PAT, dossier can X be filled in? Propagation in the lexical network

iterative and globally convergent (3 runs) what is the most activated node for X? plaider, . . . , ´ etudier what are the most activated nodes for the constraints? avocat → avocat>justice dossier → dossier>affaire

J-P. Prost and M. Lafourcade Pairing MTS and Semantic Network

slide-21
SLIDE 21

Introduction and Background Error Detection Re-generation Surface Realisation by Network Exploration Conclusion and Perspectives

Conclusion and Perspectives

Near-lack of Syntax/Semantics interface in PG prevents its use for deep processing Yet the PG formal properties are well-suited to address Grammar Checking problems The linguistic information provided by PG properties (i.e. characterisation) allows building a detailed information structure about non-canonical sentences Work in progress: completion of a characterised syntax tree through the exploration of a semantic network.

J-P. Prost and M. Lafourcade Pairing MTS and Semantic Network