SlideShare une entreprise Scribd logo
1  sur  30
Télécharger pour lire hors ligne
Contexts for Quantification

                                   Valeria de Paiva

                                       FGV Rio


                                      Nov, 2011




Valeria de Paiva (FGV Rio)               C4Q              Nov, 2011   1 / 29
Introduction


Before I forget it again...




  Valeria de Paiva (FGV Rio)              C4Q   Nov, 2011   2 / 29
Introduction


Natural logic: what do we want?
Many thanks to Larry Moss for slides!




Program
Show that significant parts of natural language inference can be
carried out in easy, mathematically characterized logical systems.

Whenever possible, to obtain complete axiomatizations,
because the resulting logical systems are likely to be interesting.

To work using all tools of fields like
proof theory, (finite) model theory, algebraic logic,
and even complexity theory...



   Valeria de Paiva (FGV Rio)                      C4Q           Nov, 2011   3 / 29
Introduction


Introduction

Logic is a cake that can be cut many ways.




This work presents the logical system TIL (for textual inference logic),
a formalization of the AI implemented system Bridge developed in PARC.


 Valeria de Paiva (FGV Rio)              C4Q                Nov, 2011   4 / 29
Introduction


Introduction


Logic is a cake that can be cut many ways.

Usually:
Propositional logic,
First order logic,
Higher order logic.

What about modal logic?
What about constructive logic?
Hybrid logics? Description logics?
Yesterday frame systems...



 Valeria de Paiva (FGV Rio)              C4Q   Nov, 2011   5 / 29
Introduction


Introduction

Previous presentations of TIL described it as a stand alone system,
synthetized from what is produced by the software.
This is applied logic.




Much work has gone and has still has to go into the process of creating
these representations from sentences, but we will not worry about this
process (or how to improve it) here.
Want to see TIL now in the context of the work of van Benthem,
Pratt-Hartmann and especially Moss, as an extension of traditional
syllogistic logic.
 Valeria de Paiva (FGV Rio)              C4Q                  Nov, 2011   6 / 29
Introduction


Which logic?




     Bridge reads in a sentence s in English and produces a logical
     knowledge representation r for it.
     The collection of all representations forms the system TIL.
     TIL was meant to be kept as close as it was sensible to FOL
     (first-order logic) but from the start we knew that to model natural
     language sentences we wanted intensional ‘concepts’ and ‘contexts’..
     (cf. ‘Preventing Existence’, FOIS’01)




 Valeria de Paiva (FGV Rio)              C4Q                  Nov, 2011   7 / 29
Introduction


An Example: “Three boys ate pizzas"
Conceptual Structure:
     subconcept(boy-1,[List1])
     subconcept(eat-3,[List2])
     subconcept(pizza-5,[List3])
     role(ob,eat-3,pizza-5)
     role(sb,eat-3,boy-1)
     role(cardinality-restriction,boy-1,3)
     role(cardinality-restriction,pizza-5,pl)
Contextual Structure:
    context(t)
    instantiable(boy-1,t)
    instantiable(eat-3,t)
    instantiable(pizza-5,t)
    top-context(t)
 Valeria de Paiva (FGV Rio)              C4Q    Nov, 2011   8 / 29
Introduction


TIL has concepts, contexts and roles...

Instead of constants and variables like FOL,
TIL has concepts and subconcepts.
The concept boy-1 is a subconcept of one of the concepts in the list of
concepts represented by the synsets in WordNet for boy.




Similarly for the concepts pizza-5 and eat-3.

 Valeria de Paiva (FGV Rio)              C4Q                  Nov, 2011   9 / 29
Introduction


TIL has concepts, contexts and roles...



     Concepts in TIL are similar to Description Logic concepts.
     They are similar to predicates in FOL,
     but are not always unary predicates.
     Think of ‘eat-3’ above as a collection of ‘eating’ events,
     in which other concepts in our domain participate.
     Have two kinds of concepts, primitive concepts extracted from an
     idealized version of WordNet and constructed concepts, which are
     always sub-concepts of some primitive concept.
     we assume that our concepts are as fine or as coarse as the sentences that we deal with require.




 Valeria de Paiva (FGV Rio)                         C4Q                                    Nov, 2011   10 / 29
Introduction


TIL has concepts, contexts and roles...



       Concepts are related to others via roles. Like
           role(ob,eat-3,pizza-5)
           role(sb,eat-3,boy-1)
       The name of the role in question (ob-ject, sb-subject, agent, patient,
       theme, etc...) will not matter for us here.
       Linguists are used to this ‘event semantics’.
       Yes, this is similar to description logics, but not exactly one.
Deciding which roles will be used with which concepts is a major problem in computational linguistics.

We bypass this problem by assuming that roles are assigned in a consistent, coherent and maximally informative way.




  Valeria de Paiva (FGV Rio)                           C4Q                                    Nov, 2011      11 / 29
Introduction


TIL has concepts, contexts and roles...
One main difference is contexts and how we use them for e.g. negation.
For example, for the sentence No boys hopped.
Conceptual Structure:
     role(cardinality-restriction,boy-5,no)
     role(sb,hop-6,boy-5)
     subconcept(boy-5,[List1])
     subconcept(hop-6,[List2])
Contextual Structure:
    context(ctx(hop-6)), context(t)
    context-lifting-relation(antiveridical,t,ctx(hop-6))
    context-relation(t,ctx(hop-6),not-29)
    instantiable(boy-5,ctx(hop-6))
    instantiable(hop-6,ctx(hop-6))
    top-context(t)
    uninstantiable(hop-6,t)
 Valeria de Paiva (FGV Rio)              C4Q               Nov, 2011   12 / 29
Introduction


TIL has concepts, contexts and roles...



     Contexts here are similar to the formal objects with the same name,
     discussed by J. McCarthy.
     Contexts are used to ‘fence-off’ concepts and corresponding predicates.
     The same mechanism works for negation, disjunction and many
     intensional concepts, like ‘know’, ‘believe’, ‘prevent’, etc..
     Instantiability and uninstantiability are used to deal with quantification
     and existential import.




 Valeria de Paiva (FGV Rio)              C4Q                   Nov, 2011   13 / 29
Introduction


Inference in TIL?


     Inference in TIL is very rudimentary.
     We can ‘drop clauses’ like in most event semantics.
     From the sentence Ed walked and Mary talked
     we are able to infer both Ed walked and Mary talked
     by simply forgetting the respective clauses in the original
     representation.
     We can do trivial inferences like identity and we can compose
     derivations:
                                        s→r r→t
                       s→s                  s→t




 Valeria de Paiva (FGV Rio)              C4Q                   Nov, 2011   14 / 29
Introduction


How does TIL deal with syllogisms?...
As far as semantics is concerned, very much like Moss’ and MacCartney’s
systems
Example: All boys are mammals
Conceptual Structure:
     role(cardinality-restriction,boy-2,all(pl))
     role(cardinality-restriction,mammal-4,pl)
     role(copula-pred,be-3,mammal-4)
     role(copula-subj,be-3,boy-2)
     subconcept(boy-2,[List1])
     subconcept(mammal-4,[List2])
Contextual Structure:
     context(t)
     instantiable(be-3,t)
     instantiable(boy-2,t)
     instantiable(mammal-4,t)
     top-context(t)
 Valeria de Paiva (FGV Rio)              C4Q               Nov, 2011   15 / 29
Introduction


Semantics


Concepts are interpreted as subsets, so

                                       subconcept(boy-2,[List1])
means that the boys we’re talking about
are a subset of all the boys in the universe
in the senses of the word ‘boy’ in Wordnet.
Similarly the eating concept in our sentence is a subset of the eating events
in the universe.
                           subconcept(eat-3,[List])
This is a bit non-intuitive for proper names, but we still use subsets and not individuals.

This semantics agrees with Moss’ description.



  Valeria de Paiva (FGV Rio)                             C4Q                                  Nov, 2011   16 / 29
Introduction


Syllogistic Logic of All
Thanks Larry!




Syntax: Start with a collection of unary atoms (for nouns).
The sentences are the expressions All p are q
Semantics: A model M is a collection of sets M ,
and for each noun p we have an interpretation [[p]] ⊆ M .

                           M |= All p are q          iff   [[p]] ⊆ [[q]]
Proof system:

                                              All p are n All n are q
                      All p are p                    All p are q



   Valeria de Paiva (FGV Rio)                  C4Q                        Nov, 2011   17 / 29
Introduction


TIL satisfies the rules for All



                                            All p are n All n are q
                    All p are p                    All p are q

Semantically just transitivity of subset containment.
All boys are boys is odd, but not problematic...
For TIL the transitive inference is simply climbing up the concept hierarchy.

                All boys are mammals All mammals are animals
                              All boys are animals




 Valeria de Paiva (FGV Rio)                  C4Q                      Nov, 2011   18 / 29
Introduction


Syllogistic Logic of Some


The sentences are the expressions Some p are q
Semantics: A model M is a collection of sets M ,
and for each noun p,q we have an interpretation [[p,q]] ⊆ M .

                    M |= Some p are q             iff      [[p]] ∩ [[q]] = ∅


Proof system:


      Some p are q            Some p are q             All q are n Some p are q
      Some q are p            Some p are p                    Some p are n




 Valeria de Paiva (FGV Rio)                 C4Q                               Nov, 2011   19 / 29
Introduction


TIL satisfies the rules for Some




        Some p are q                 Some p are q                 All q are n Some p are q
        Some q are p                 Some p are p                        Some p are n

The semantics is the same as Moss’, intersection of subsets.
The inference relation between ‘all’ and ‘some’ is outsourced.
Our ‘poor man’s inference system’ called Entailment and Contradiction
Detection (ECD), has a table of relationships between
‘cardinality-restrictions’ postulated.
This is useful if you want to keep your logic options open, no need to decide if empty domains...




  Valeria de Paiva (FGV Rio)                            C4Q                                    Nov, 2011   20 / 29
Introduction


The languages S and S † with noun-level negation

If one adds complemented atoms on top of
the language of All and Some,
with interpretation via set complement: [[p]] = M  [[p]],

So if one has
                                                            
                        All p are q
                                                            
                                                             
                                                            
                        Some p are q
                                                            
                                                             
                                                             
                 S
                                                             
                                                             
                        All p are q ≡ No p are q
                                                             
                                                             
                                                                 S†
                       
                       
                        Some p are q ≡ Some p aren’t q
                       
                                                             
                                                             
                                                             
                                                             
                                                             
                                                             
                                                             
                                                             
                              Some non-p are non-q
                                                             
                                                             

Things can get strange, as explained by Moss-Hartmann....

 Valeria de Paiva (FGV Rio)                    C4Q               Nov, 2011   21 / 29
Introduction


The logical system for S p + names

The language S p is the language of All and Some, with no negation, p for
positive syllogisms.

                                 Some p are q           Some p are q
           All p are p           Some p are p           Some q are p

         All p are n All n are q                      All n are p Some n are q
                All p are q                                  Some p are q


                              J is M M is F           J is a p J is a q
           J is J                  F is J               Some p are q

         All p are q J is a p                       M is a p J is M
                J is a q                                 J is a p

 Valeria de Paiva (FGV Rio)                     C4Q                       Nov, 2011   22 / 29
Introduction


TIL satisfies S p + names



This corresponds to sentences like
     Jon is Jon,
     Jon is Mary and Mary is Fred entails Fred is Jon,
     Jon is a man and Jon is a doctor entails Some men are doctors,
     All cats are mammals and Jon is a cat entails Jon is a mammal
     Mary is a cat and Jon is Mary entails Jon is a cat.




 Valeria de Paiva (FGV Rio)              C4Q               Nov, 2011   23 / 29
Introduction


A picture stolen from Larry...

                                                          g
                                                      rin
                            F OL                 h-Tu
                                             urc
                                           Ch




                  F Omon    F O2                              2 variable FO logic



                            R†                                † adds full N -negation
     Pe
        a
       no
          -F
            reg
             e




                       S†
                             R                                relational syllogistic
                  S≥
                       S           Rp

                             Sp

 Valeria de Paiva (FGV Rio)                            C4Q                              Nov, 2011   24 / 29
Introduction


TIL is not about syllogisms or copula...



Event semantics in general is about transitive,
intransitive, ditransitive, etc. verbs.
TIL should be able to deal with S p and Rp and more...
Noun negation should not present problems,
(outsourced again)
but sentential negation is dealt via contexts.
Contexts look like the higher parts of the picture...
Modal and hybrid logic!




 Valeria de Paiva (FGV Rio)              C4Q             Nov, 2011   25 / 29
Introduction


Another picture stolen from Larry...

                                                               g
                                                           rin
                            F OL                      h-Tu
                                                  urc
                                                Ch




                  F Omon    F O2        Kn                         2 variable FO logic



                            R†                                     † adds full N -negation
     Pe
        a
       no
          -F
            reg
             e




                       S†
                             R                                     relational syllogistic
                  S≥
                       S           Rp

                             Sp

 Valeria de Paiva (FGV Rio)                                 C4Q                              Nov, 2011   26 / 29
Introduction


Thinking Differently....




 Valeria de Paiva (FGV Rio)              C4Q   Nov, 2011   27 / 29
Introduction


Avi-Francez’05 sequent system


           Γ, x : S x : S
           Γ, x : J is a p y : J is a q
              Γ λx.y : All p are q
           Γ z : All p are q ∆ y : J is a p
                     Γ, ∆ zy : J is a q
           Γ x : J is p ∆ y : J is q
           Γ, ∆      x, y : Some p are q
           Γ m : Some p are q ∆, x : J is a p, y : J is a q   t: S
                          Γ, ∆ let x, y = m in t : S




 Valeria de Paiva (FGV Rio)              C4Q                  Nov, 2011   28 / 29
Introduction


Conjectures




TIL =? Kn (Rp )
Must show S maps into TIL properly
Same for R
What about S and R dagger?
TIL maps into FOL− (Crouch), but need to do better...
Decidability?
Monotonicity principles?




 Valeria de Paiva (FGV Rio)              C4Q            Nov, 2011   29 / 29
Introduction


Conclusions




TIL defined from representations, linguistic intuitions taken seriously.
Attempts to fit it into the ‘Cinderella’ shoe of traditional logic.
Gains on the combination logic front, already.
Work is only starting...




 Valeria de Paiva (FGV Rio)              C4Q                   Nov, 2011   30 / 29

Contenu connexe

Tendances

Fun with Constructive Modalities
Fun with Constructive ModalitiesFun with Constructive Modalities
Fun with Constructive ModalitiesValeria de Paiva
 
Interlanguage l2 acq
Interlanguage l2 acqInterlanguage l2 acq
Interlanguage l2 acqFatima Flor
 
Jena Hwang - Double Trouble: The Problem of Construal in Semantic Annotation ...
Jena Hwang - Double Trouble: The Problem of Construal in Semantic Annotation ...Jena Hwang - Double Trouble: The Problem of Construal in Semantic Annotation ...
Jena Hwang - Double Trouble: The Problem of Construal in Semantic Annotation ...Association for Computational Linguistics
 
Translating into Common Logic
Translating into Common LogicTranslating into Common Logic
Translating into Common LogicPat Hayes
 
ESSLLI2016 DTS Lecture Day 5-2: Proof-theoretic Turn
ESSLLI2016 DTS Lecture Day 5-2: Proof-theoretic TurnESSLLI2016 DTS Lecture Day 5-2: Proof-theoretic Turn
ESSLLI2016 DTS Lecture Day 5-2: Proof-theoretic TurnDaisuke BEKKI
 
Coping with Semantic Variation Points in Domain-Specific Modeling Languages
Coping with Semantic Variation Points in Domain-Specific Modeling LanguagesCoping with Semantic Variation Points in Domain-Specific Modeling Languages
Coping with Semantic Variation Points in Domain-Specific Modeling LanguagesMarc Pantel
 
Open Source Natural Language Processing - Francis Bond
Open Source Natural Language Processing - Francis BondOpen Source Natural Language Processing - Francis Bond
Open Source Natural Language Processing - Francis Bondjasonong
 
Mathematics rules and scientific representations
Mathematics rules and scientific representationsMathematics rules and scientific representations
Mathematics rules and scientific representationsJeff Long
 

Tendances (10)

Fun with Constructive Modalities
Fun with Constructive ModalitiesFun with Constructive Modalities
Fun with Constructive Modalities
 
Interlanguage l2 acq
Interlanguage l2 acqInterlanguage l2 acq
Interlanguage l2 acq
 
Jena Hwang - Double Trouble: The Problem of Construal in Semantic Annotation ...
Jena Hwang - Double Trouble: The Problem of Construal in Semantic Annotation ...Jena Hwang - Double Trouble: The Problem of Construal in Semantic Annotation ...
Jena Hwang - Double Trouble: The Problem of Construal in Semantic Annotation ...
 
Translating into Common Logic
Translating into Common LogicTranslating into Common Logic
Translating into Common Logic
 
ESSLLI2016 DTS Lecture Day 5-2: Proof-theoretic Turn
ESSLLI2016 DTS Lecture Day 5-2: Proof-theoretic TurnESSLLI2016 DTS Lecture Day 5-2: Proof-theoretic Turn
ESSLLI2016 DTS Lecture Day 5-2: Proof-theoretic Turn
 
The dp2
The dp2The dp2
The dp2
 
Coping with Semantic Variation Points in Domain-Specific Modeling Languages
Coping with Semantic Variation Points in Domain-Specific Modeling LanguagesCoping with Semantic Variation Points in Domain-Specific Modeling Languages
Coping with Semantic Variation Points in Domain-Specific Modeling Languages
 
Open Source Natural Language Processing - Francis Bond
Open Source Natural Language Processing - Francis BondOpen Source Natural Language Processing - Francis Bond
Open Source Natural Language Processing - Francis Bond
 
Lorenzen
LorenzenLorenzen
Lorenzen
 
Mathematics rules and scientific representations
Mathematics rules and scientific representationsMathematics rules and scientific representations
Mathematics rules and scientific representations
 

Similaire à Contexts for Quantification

Towards a Rewriting Framework for Textual Entailment
Towards a Rewriting Framework for Textual EntailmentTowards a Rewriting Framework for Textual Entailment
Towards a Rewriting Framework for Textual EntailmentValeria de Paiva
 
Classifying Processes and Basic Formal Ontology
Classifying Processes  and Basic Formal OntologyClassifying Processes  and Basic Formal Ontology
Classifying Processes and Basic Formal OntologyMustafa Jarrar
 
Towards a lingua universalis
Towards a lingua universalisTowards a lingua universalis
Towards a lingua universalisWalid Saba
 
Professor Michael Hoey: The hidden similarities across languages - some good ...
Professor Michael Hoey: The hidden similarities across languages - some good ...Professor Michael Hoey: The hidden similarities across languages - some good ...
Professor Michael Hoey: The hidden similarities across languages - some good ...eaquals
 
Benchmarking Linear Logic Proofs
Benchmarking Linear Logic ProofsBenchmarking Linear Logic Proofs
Benchmarking Linear Logic ProofsValeria de Paiva
 

Similaire à Contexts for Quantification (6)

Towards a Rewriting Framework for Textual Entailment
Towards a Rewriting Framework for Textual EntailmentTowards a Rewriting Framework for Textual Entailment
Towards a Rewriting Framework for Textual Entailment
 
Classifying Processes and Basic Formal Ontology
Classifying Processes  and Basic Formal OntologyClassifying Processes  and Basic Formal Ontology
Classifying Processes and Basic Formal Ontology
 
Towards a lingua universalis
Towards a lingua universalisTowards a lingua universalis
Towards a lingua universalis
 
MediaFilmExchange.co.uk Powerpoint
MediaFilmExchange.co.uk PowerpointMediaFilmExchange.co.uk Powerpoint
MediaFilmExchange.co.uk Powerpoint
 
Professor Michael Hoey: The hidden similarities across languages - some good ...
Professor Michael Hoey: The hidden similarities across languages - some good ...Professor Michael Hoey: The hidden similarities across languages - some good ...
Professor Michael Hoey: The hidden similarities across languages - some good ...
 
Benchmarking Linear Logic Proofs
Benchmarking Linear Logic ProofsBenchmarking Linear Logic Proofs
Benchmarking Linear Logic Proofs
 

Plus de Valeria de Paiva

Dialectica Categorical Constructions
Dialectica Categorical ConstructionsDialectica Categorical Constructions
Dialectica Categorical ConstructionsValeria de Paiva
 
Logic & Representation 2021
Logic & Representation 2021Logic & Representation 2021
Logic & Representation 2021Valeria de Paiva
 
Constructive Modal and Linear Logics
Constructive Modal and Linear LogicsConstructive Modal and Linear Logics
Constructive Modal and Linear LogicsValeria de Paiva
 
Dialectica Categories Revisited
Dialectica Categories RevisitedDialectica Categories Revisited
Dialectica Categories RevisitedValeria de Paiva
 
Networked Mathematics: NLP tools for Better Science
Networked Mathematics: NLP tools for Better ScienceNetworked Mathematics: NLP tools for Better Science
Networked Mathematics: NLP tools for Better ScienceValeria de Paiva
 
Going Without: a modality and its role
Going Without: a modality and its roleGoing Without: a modality and its role
Going Without: a modality and its roleValeria de Paiva
 
Problemas de Kolmogorov-Veloso
Problemas de Kolmogorov-VelosoProblemas de Kolmogorov-Veloso
Problemas de Kolmogorov-VelosoValeria de Paiva
 
Natural Language Inference: for Humans and Machines
Natural Language Inference: for Humans and MachinesNatural Language Inference: for Humans and Machines
Natural Language Inference: for Humans and MachinesValeria de Paiva
 
The importance of Being Erneast: Open datasets in Portuguese
The importance of Being Erneast: Open datasets in PortugueseThe importance of Being Erneast: Open datasets in Portuguese
The importance of Being Erneast: Open datasets in PortugueseValeria de Paiva
 
Negation in the Ecumenical System
Negation in the Ecumenical SystemNegation in the Ecumenical System
Negation in the Ecumenical SystemValeria de Paiva
 
Constructive Modal and Linear Logics
Constructive Modal and Linear LogicsConstructive Modal and Linear Logics
Constructive Modal and Linear LogicsValeria de Paiva
 
Semantics and Reasoning for NLP, AI and ACT
Semantics and Reasoning for NLP, AI and ACTSemantics and Reasoning for NLP, AI and ACT
Semantics and Reasoning for NLP, AI and ACTValeria de Paiva
 
Categorical Explicit Substitutions
Categorical Explicit SubstitutionsCategorical Explicit Substitutions
Categorical Explicit SubstitutionsValeria de Paiva
 
Logic and Probabilistic Methods for Dialog
Logic and Probabilistic Methods for DialogLogic and Probabilistic Methods for Dialog
Logic and Probabilistic Methods for DialogValeria de Paiva
 
Dialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsDialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsValeria de Paiva
 

Plus de Valeria de Paiva (20)

Dialectica Comonoids
Dialectica ComonoidsDialectica Comonoids
Dialectica Comonoids
 
Dialectica Categorical Constructions
Dialectica Categorical ConstructionsDialectica Categorical Constructions
Dialectica Categorical Constructions
 
Logic & Representation 2021
Logic & Representation 2021Logic & Representation 2021
Logic & Representation 2021
 
Constructive Modal and Linear Logics
Constructive Modal and Linear LogicsConstructive Modal and Linear Logics
Constructive Modal and Linear Logics
 
Dialectica Categories Revisited
Dialectica Categories RevisitedDialectica Categories Revisited
Dialectica Categories Revisited
 
PLN para Tod@s
PLN para Tod@sPLN para Tod@s
PLN para Tod@s
 
Networked Mathematics: NLP tools for Better Science
Networked Mathematics: NLP tools for Better ScienceNetworked Mathematics: NLP tools for Better Science
Networked Mathematics: NLP tools for Better Science
 
Going Without: a modality and its role
Going Without: a modality and its roleGoing Without: a modality and its role
Going Without: a modality and its role
 
Problemas de Kolmogorov-Veloso
Problemas de Kolmogorov-VelosoProblemas de Kolmogorov-Veloso
Problemas de Kolmogorov-Veloso
 
Natural Language Inference: for Humans and Machines
Natural Language Inference: for Humans and MachinesNatural Language Inference: for Humans and Machines
Natural Language Inference: for Humans and Machines
 
Dialectica Petri Nets
Dialectica Petri NetsDialectica Petri Nets
Dialectica Petri Nets
 
The importance of Being Erneast: Open datasets in Portuguese
The importance of Being Erneast: Open datasets in PortugueseThe importance of Being Erneast: Open datasets in Portuguese
The importance of Being Erneast: Open datasets in Portuguese
 
Negation in the Ecumenical System
Negation in the Ecumenical SystemNegation in the Ecumenical System
Negation in the Ecumenical System
 
Constructive Modal and Linear Logics
Constructive Modal and Linear LogicsConstructive Modal and Linear Logics
Constructive Modal and Linear Logics
 
Semantics and Reasoning for NLP, AI and ACT
Semantics and Reasoning for NLP, AI and ACTSemantics and Reasoning for NLP, AI and ACT
Semantics and Reasoning for NLP, AI and ACT
 
NLCS 2013 opening slides
NLCS 2013 opening slidesNLCS 2013 opening slides
NLCS 2013 opening slides
 
Dialectica Comonads
Dialectica ComonadsDialectica Comonads
Dialectica Comonads
 
Categorical Explicit Substitutions
Categorical Explicit SubstitutionsCategorical Explicit Substitutions
Categorical Explicit Substitutions
 
Logic and Probabilistic Methods for Dialog
Logic and Probabilistic Methods for DialogLogic and Probabilistic Methods for Dialog
Logic and Probabilistic Methods for Dialog
 
Dialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsDialectica and Kolmogorov Problems
Dialectica and Kolmogorov Problems
 

Dernier

Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 

Dernier (20)

Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 

Contexts for Quantification

  • 1. Contexts for Quantification Valeria de Paiva FGV Rio Nov, 2011 Valeria de Paiva (FGV Rio) C4Q Nov, 2011 1 / 29
  • 2. Introduction Before I forget it again... Valeria de Paiva (FGV Rio) C4Q Nov, 2011 2 / 29
  • 3. Introduction Natural logic: what do we want? Many thanks to Larry Moss for slides! Program Show that significant parts of natural language inference can be carried out in easy, mathematically characterized logical systems. Whenever possible, to obtain complete axiomatizations, because the resulting logical systems are likely to be interesting. To work using all tools of fields like proof theory, (finite) model theory, algebraic logic, and even complexity theory... Valeria de Paiva (FGV Rio) C4Q Nov, 2011 3 / 29
  • 4. Introduction Introduction Logic is a cake that can be cut many ways. This work presents the logical system TIL (for textual inference logic), a formalization of the AI implemented system Bridge developed in PARC. Valeria de Paiva (FGV Rio) C4Q Nov, 2011 4 / 29
  • 5. Introduction Introduction Logic is a cake that can be cut many ways. Usually: Propositional logic, First order logic, Higher order logic. What about modal logic? What about constructive logic? Hybrid logics? Description logics? Yesterday frame systems... Valeria de Paiva (FGV Rio) C4Q Nov, 2011 5 / 29
  • 6. Introduction Introduction Previous presentations of TIL described it as a stand alone system, synthetized from what is produced by the software. This is applied logic. Much work has gone and has still has to go into the process of creating these representations from sentences, but we will not worry about this process (or how to improve it) here. Want to see TIL now in the context of the work of van Benthem, Pratt-Hartmann and especially Moss, as an extension of traditional syllogistic logic. Valeria de Paiva (FGV Rio) C4Q Nov, 2011 6 / 29
  • 7. Introduction Which logic? Bridge reads in a sentence s in English and produces a logical knowledge representation r for it. The collection of all representations forms the system TIL. TIL was meant to be kept as close as it was sensible to FOL (first-order logic) but from the start we knew that to model natural language sentences we wanted intensional ‘concepts’ and ‘contexts’.. (cf. ‘Preventing Existence’, FOIS’01) Valeria de Paiva (FGV Rio) C4Q Nov, 2011 7 / 29
  • 8. Introduction An Example: “Three boys ate pizzas" Conceptual Structure: subconcept(boy-1,[List1]) subconcept(eat-3,[List2]) subconcept(pizza-5,[List3]) role(ob,eat-3,pizza-5) role(sb,eat-3,boy-1) role(cardinality-restriction,boy-1,3) role(cardinality-restriction,pizza-5,pl) Contextual Structure: context(t) instantiable(boy-1,t) instantiable(eat-3,t) instantiable(pizza-5,t) top-context(t) Valeria de Paiva (FGV Rio) C4Q Nov, 2011 8 / 29
  • 9. Introduction TIL has concepts, contexts and roles... Instead of constants and variables like FOL, TIL has concepts and subconcepts. The concept boy-1 is a subconcept of one of the concepts in the list of concepts represented by the synsets in WordNet for boy. Similarly for the concepts pizza-5 and eat-3. Valeria de Paiva (FGV Rio) C4Q Nov, 2011 9 / 29
  • 10. Introduction TIL has concepts, contexts and roles... Concepts in TIL are similar to Description Logic concepts. They are similar to predicates in FOL, but are not always unary predicates. Think of ‘eat-3’ above as a collection of ‘eating’ events, in which other concepts in our domain participate. Have two kinds of concepts, primitive concepts extracted from an idealized version of WordNet and constructed concepts, which are always sub-concepts of some primitive concept. we assume that our concepts are as fine or as coarse as the sentences that we deal with require. Valeria de Paiva (FGV Rio) C4Q Nov, 2011 10 / 29
  • 11. Introduction TIL has concepts, contexts and roles... Concepts are related to others via roles. Like role(ob,eat-3,pizza-5) role(sb,eat-3,boy-1) The name of the role in question (ob-ject, sb-subject, agent, patient, theme, etc...) will not matter for us here. Linguists are used to this ‘event semantics’. Yes, this is similar to description logics, but not exactly one. Deciding which roles will be used with which concepts is a major problem in computational linguistics. We bypass this problem by assuming that roles are assigned in a consistent, coherent and maximally informative way. Valeria de Paiva (FGV Rio) C4Q Nov, 2011 11 / 29
  • 12. Introduction TIL has concepts, contexts and roles... One main difference is contexts and how we use them for e.g. negation. For example, for the sentence No boys hopped. Conceptual Structure: role(cardinality-restriction,boy-5,no) role(sb,hop-6,boy-5) subconcept(boy-5,[List1]) subconcept(hop-6,[List2]) Contextual Structure: context(ctx(hop-6)), context(t) context-lifting-relation(antiveridical,t,ctx(hop-6)) context-relation(t,ctx(hop-6),not-29) instantiable(boy-5,ctx(hop-6)) instantiable(hop-6,ctx(hop-6)) top-context(t) uninstantiable(hop-6,t) Valeria de Paiva (FGV Rio) C4Q Nov, 2011 12 / 29
  • 13. Introduction TIL has concepts, contexts and roles... Contexts here are similar to the formal objects with the same name, discussed by J. McCarthy. Contexts are used to ‘fence-off’ concepts and corresponding predicates. The same mechanism works for negation, disjunction and many intensional concepts, like ‘know’, ‘believe’, ‘prevent’, etc.. Instantiability and uninstantiability are used to deal with quantification and existential import. Valeria de Paiva (FGV Rio) C4Q Nov, 2011 13 / 29
  • 14. Introduction Inference in TIL? Inference in TIL is very rudimentary. We can ‘drop clauses’ like in most event semantics. From the sentence Ed walked and Mary talked we are able to infer both Ed walked and Mary talked by simply forgetting the respective clauses in the original representation. We can do trivial inferences like identity and we can compose derivations: s→r r→t s→s s→t Valeria de Paiva (FGV Rio) C4Q Nov, 2011 14 / 29
  • 15. Introduction How does TIL deal with syllogisms?... As far as semantics is concerned, very much like Moss’ and MacCartney’s systems Example: All boys are mammals Conceptual Structure: role(cardinality-restriction,boy-2,all(pl)) role(cardinality-restriction,mammal-4,pl) role(copula-pred,be-3,mammal-4) role(copula-subj,be-3,boy-2) subconcept(boy-2,[List1]) subconcept(mammal-4,[List2]) Contextual Structure: context(t) instantiable(be-3,t) instantiable(boy-2,t) instantiable(mammal-4,t) top-context(t) Valeria de Paiva (FGV Rio) C4Q Nov, 2011 15 / 29
  • 16. Introduction Semantics Concepts are interpreted as subsets, so subconcept(boy-2,[List1]) means that the boys we’re talking about are a subset of all the boys in the universe in the senses of the word ‘boy’ in Wordnet. Similarly the eating concept in our sentence is a subset of the eating events in the universe. subconcept(eat-3,[List]) This is a bit non-intuitive for proper names, but we still use subsets and not individuals. This semantics agrees with Moss’ description. Valeria de Paiva (FGV Rio) C4Q Nov, 2011 16 / 29
  • 17. Introduction Syllogistic Logic of All Thanks Larry! Syntax: Start with a collection of unary atoms (for nouns). The sentences are the expressions All p are q Semantics: A model M is a collection of sets M , and for each noun p we have an interpretation [[p]] ⊆ M . M |= All p are q iff [[p]] ⊆ [[q]] Proof system: All p are n All n are q All p are p All p are q Valeria de Paiva (FGV Rio) C4Q Nov, 2011 17 / 29
  • 18. Introduction TIL satisfies the rules for All All p are n All n are q All p are p All p are q Semantically just transitivity of subset containment. All boys are boys is odd, but not problematic... For TIL the transitive inference is simply climbing up the concept hierarchy. All boys are mammals All mammals are animals All boys are animals Valeria de Paiva (FGV Rio) C4Q Nov, 2011 18 / 29
  • 19. Introduction Syllogistic Logic of Some The sentences are the expressions Some p are q Semantics: A model M is a collection of sets M , and for each noun p,q we have an interpretation [[p,q]] ⊆ M . M |= Some p are q iff [[p]] ∩ [[q]] = ∅ Proof system: Some p are q Some p are q All q are n Some p are q Some q are p Some p are p Some p are n Valeria de Paiva (FGV Rio) C4Q Nov, 2011 19 / 29
  • 20. Introduction TIL satisfies the rules for Some Some p are q Some p are q All q are n Some p are q Some q are p Some p are p Some p are n The semantics is the same as Moss’, intersection of subsets. The inference relation between ‘all’ and ‘some’ is outsourced. Our ‘poor man’s inference system’ called Entailment and Contradiction Detection (ECD), has a table of relationships between ‘cardinality-restrictions’ postulated. This is useful if you want to keep your logic options open, no need to decide if empty domains... Valeria de Paiva (FGV Rio) C4Q Nov, 2011 20 / 29
  • 21. Introduction The languages S and S † with noun-level negation If one adds complemented atoms on top of the language of All and Some, with interpretation via set complement: [[p]] = M [[p]], So if one has    All p are q       Some p are q     S    All p are q ≡ No p are q   S†    Some p are q ≡ Some p aren’t q          Some non-p are non-q   Things can get strange, as explained by Moss-Hartmann.... Valeria de Paiva (FGV Rio) C4Q Nov, 2011 21 / 29
  • 22. Introduction The logical system for S p + names The language S p is the language of All and Some, with no negation, p for positive syllogisms. Some p are q Some p are q All p are p Some p are p Some q are p All p are n All n are q All n are p Some n are q All p are q Some p are q J is M M is F J is a p J is a q J is J F is J Some p are q All p are q J is a p M is a p J is M J is a q J is a p Valeria de Paiva (FGV Rio) C4Q Nov, 2011 22 / 29
  • 23. Introduction TIL satisfies S p + names This corresponds to sentences like Jon is Jon, Jon is Mary and Mary is Fred entails Fred is Jon, Jon is a man and Jon is a doctor entails Some men are doctors, All cats are mammals and Jon is a cat entails Jon is a mammal Mary is a cat and Jon is Mary entails Jon is a cat. Valeria de Paiva (FGV Rio) C4Q Nov, 2011 23 / 29
  • 24. Introduction A picture stolen from Larry... g rin F OL h-Tu urc Ch F Omon F O2 2 variable FO logic R† † adds full N -negation Pe a no -F reg e S† R relational syllogistic S≥ S Rp Sp Valeria de Paiva (FGV Rio) C4Q Nov, 2011 24 / 29
  • 25. Introduction TIL is not about syllogisms or copula... Event semantics in general is about transitive, intransitive, ditransitive, etc. verbs. TIL should be able to deal with S p and Rp and more... Noun negation should not present problems, (outsourced again) but sentential negation is dealt via contexts. Contexts look like the higher parts of the picture... Modal and hybrid logic! Valeria de Paiva (FGV Rio) C4Q Nov, 2011 25 / 29
  • 26. Introduction Another picture stolen from Larry... g rin F OL h-Tu urc Ch F Omon F O2 Kn 2 variable FO logic R† † adds full N -negation Pe a no -F reg e S† R relational syllogistic S≥ S Rp Sp Valeria de Paiva (FGV Rio) C4Q Nov, 2011 26 / 29
  • 27. Introduction Thinking Differently.... Valeria de Paiva (FGV Rio) C4Q Nov, 2011 27 / 29
  • 28. Introduction Avi-Francez’05 sequent system Γ, x : S x : S Γ, x : J is a p y : J is a q Γ λx.y : All p are q Γ z : All p are q ∆ y : J is a p Γ, ∆ zy : J is a q Γ x : J is p ∆ y : J is q Γ, ∆ x, y : Some p are q Γ m : Some p are q ∆, x : J is a p, y : J is a q t: S Γ, ∆ let x, y = m in t : S Valeria de Paiva (FGV Rio) C4Q Nov, 2011 28 / 29
  • 29. Introduction Conjectures TIL =? Kn (Rp ) Must show S maps into TIL properly Same for R What about S and R dagger? TIL maps into FOL− (Crouch), but need to do better... Decidability? Monotonicity principles? Valeria de Paiva (FGV Rio) C4Q Nov, 2011 29 / 29
  • 30. Introduction Conclusions TIL defined from representations, linguistic intuitions taken seriously. Attempts to fit it into the ‘Cinderella’ shoe of traditional logic. Gains on the combination logic front, already. Work is only starting... Valeria de Paiva (FGV Rio) C4Q Nov, 2011 30 / 29