SlideShare ist ein Scribd-Unternehmen logo
1 von 36
Downloaden Sie, um offline zu lesen
Constructive Hybrid Logics
and Contexts
       Valeria de Paiva
    Intelligent System Lab
   Palo Alto Research Center
Outline

   Motivation
   Textual Inference Logic
   Contexts as Modalities
   Contexts as @-operators
   The experiment
   Discussion
An applied logician’s job is never
done…
   When modeling a system as a logic you can
    start from the system




   Or you can start from logics that could fit it
   Hopefully the two meet up…
Motivation: Logic for Text
Understanding
   A logic for reasoning about questions and
    answers using formulae automatically created
    from texts in English
   Logic used both to describe the logical
    representation of information and to
    answer/solve/infer questions
   How?
   Build upon decades of work on NLP at PARC
Motivation: PARC’s approach
   Knowledge-based question answering
    –   Deep/logical representations allow high precision and recall, but
    –   Typically on restricted domains
    –   Hard for users to pose KR questions and interpret KR answers
    –   Very hard for system to build up knowledge

   Shallow, open-domain question answering
    – Broad-coverage
    – Lower precision and recall
    – Easy to pose questions but sensitive to question form

   Question answering at PARC
    – Layered mapping from language to deeper semantic representations
    – Broad-coverage: Matching for answers as light reasoning
    – Expresses KRR answers in real English -- eventually
Architecture: 2-way bridge between
  language & logic
            XLE/LFG Pa                                                 Target
Text                  r      sing     KR Mapping
                                                                        KRR
                     F-structure
                                     Semantics
                                                         Abstract KR
 Sources
                                                                       Assertions

                             Match           M              M          Inference

Question                                                               Query




                                    Transfer semantics
Lexical Functional Grammar                                   Textual Inference
                                    Glue semantics
 Text
Ambiguity management                                         Logics
Key Process: Canonicalization of
representations
   Sentences are parsed into f(unctional)-structures
    using XLE
   F-structures are (somewhat) semantic
    representations
   Transform f-structures into (flat and contexted)
    transfer semantic structures
    (inspired by Glue and need to ‘pack’ semantics )
   Transform transfer sem-structures into (flat and
    contexted) AKR structures
   Today: Discuss logics for AKR structures
    but before that, what do these layers of
    representation buy you?
Canonicalization helps matching

   Argument structure:
    – Mary bought an apple/An apple was bought by Mary.
   Synonyms and hypernyms:
    – Mary bought/purchased/acquired an apple.
   Factivity and contexts:
    –   Mary bought an apple/Mary did not buy an apple.
    –   Mary managed/failed to buy an apple.
    –   Ed prevented Mary from buying an apple.
    –   We know/said/believe that Mary bought an apple.
    –   Mary didn’t wait to buy an apple.
Layers to overcome language/KR
misalignments:

   Language
    – Generalizations come from the structure of the language
    – Representations compositionally derived from sentence structure
   Knowledge representation and reasoning
    – Generalizations come from the structure of the world
    – Representations to support reasoning
   Layered architecture helps with different constraints
   But boundaries are not fixed (like beads in a string?)
This talk: Logics for Abstract KR only
           XLE/LFG Pa
Text                 r   sing   KR Mapping

                F-structure
                                Semantics
                                             Abstract KR
Sources
                                                           Assertions
                     Match           M           M         Inference

Question                                                   Query




                                            Textual Inference Logic?
                                            Abstract model of TIL?
                                            How? Which inferences?
PRED fire<Ed, boy>

 Abstract KR: “Ed fired the boy.”              TENSE past
                                               SUBJ [ PRED Ed ]
(Cyc version)                                  OBJ
                                                       PRED boy
                                                       DEF +



(subconcept Ed3 Person)
(subconcept boy2 MaleChild)
(subconcept fire_ev1 DischargeWithPrejudice)         Conceptual
(role fire_ev1 performedBy Ed3)
(role fire_ev1 objectActedOn boy2)

(context t)
(instantiable Ed3 t)
                                                     Contextual
(instantiable boy2 t)
(instantiable fire_ev1 t)

(temporalRel startsAfterEndingOf Now                 Temporal
  fire_ev1)
Abstract Knowledge Representation
   Encode different aspects of meaning
     – Asserted content
         » concepts and arguments, relations among objects
     – Contexts
         » author commitment, belief, report, denial, prevent, …
     – Temporal relations
         » qualitative relations among time intervals, events
   Translate to various target KR's
        e.g. CycL, Knowledge Machine, AnsProlog
   Capture meaning ambiguity
     – Mapping to KR can introduce and reduce ambiguity
     – Need to handle ambiguity efficiently
   A Basic Logic for Textual Inference (Bobrow et al, July 05)
Textual Inference Logic (TIL)
Cyc version (Bobrow et al 2005)
 A contexted version of a description logic of
  concepts
 Static Cyc concepts: Person, MaleChild,,
  DischargeWithPrejudice, etc..
 Cyc Roles: objectActedOn, performedBy,
  infoTransferred, etc
 Dynamic concepts like Ed3, boy2 and fire_ev1
 WordNet/VerbNet as fallback mechanisms
 Sortal restrictions from Cyc disambiguate
 e.g, Ed fired the boy/Ed fired the gun.
 Limitation: raggedness of Cyc
Textual Inference Logic (TIL)
WN/VN version 2006
 A contexted version of a description logic of
  concepts
 Concepts from WordNet: e.g. [1740] synset for
  Thing
 VerbNet Roles: Agent, Theme, Experiencer, etc
 Sortal restrictions not used to disambiguate

 e.g, Ed fired the boy/the gun  packed version of
  ‘fire’.
 Contexts as black boxes/boundaries, e.g “Mary
  knows that Ed fired the boy”, two contexts t and what
  is known, named by firing event.
Ed fired the boy.
 cf(1, context(t)),
 cf(1, instantiable(‘Ed##0',t)),
 cf(1, instantiable('boy##3',t)),
 cf(1, instantiable('fire##1',t)),
 cf(1, role('Agent','fire##1',‘Ed##0')),
 cf(1, role('Theme','fire##1','boy##3')),
cf(1,subconcept(‘Ed##0',[[7626,4576]])),
cf(1,subconcept('boy##3',[[10131706],[9725282],[10464570],
    [9500236] ),),
  cf(A1, subconcept('fire##1',[[1124984],[1123061],[1123474]])),
  cf(A2, subconcept('fire##1',[[2379472]])),
  cf(1, temporalRel(startsAfterEndingOf,'Now','fire##1'))
So far starting from the system…

                   Now for off-the-shelf
                    logical systems:
                     –   Modal logic
                     –   Hybrid logic
                     –   Description logic
                     –   Situation Semantics
                     –   MCS/LMS
                     –   FOL/HOL
                     –   Intensional Logic
                     –   Etc…
TIL Contexts

   Contexts introduced by syntactical items
    such as verbs, adverbs and adjectives
   Contexts in TIL like nano-theories to Cyc’s
    microtheories
   How do we analyze the logic of contexts?
   If instead of concepts and roles we had
    traditional propositional logic formulae, then
    contexts could be thought of as modalities in
   McCarthy’s logic of contexts
   Slogan: contexts as constructive modalities
Contexts as Constructive Modalities
   Abstract version of TIL has contexts that
    behave like black boxes
   Similar to McCarthy’s ‘Logic of Contexts’, as
    formalized by Buvac and Mason
   Can be seen as a multimodal system K
   Paper in Context2003 proposes a
    constructive version of multimodal K
   Several constructive versions of K in
    literature. ours doesn’t satisfy
    § (A _ B ) ! (§ A _ § B ) nor : § ?
Contexts as Constructive Modalities

   Pros: well-understood syntax,
    – traditional Kripke semantics (2005),
    – categorical semantics (2001)
    – Curry-Howard Isomorphism (2001)
   Cons: modeling too abstract, cannot capture
    work on factives and implicatives (Nairn,
    Condoravdi, Karttunen), as it stands
    – Need to be extended to deal with temporal
      phenomena.
   Maybe should try another notion of context?..
Which contexts for NL?

Literature vast, many conceptions, many
   formalisms
 Theories?
 Viewpoints?
 Situations?
 Indexicals?
 Propositional Attitudes?
 …
Contexts as @-Operators?

   Can we use Hybrid Logic instead of Modal
    Logic for our contexts?
   How easy it is to do it?
   Should we do it?
   Which possible way should we do it?
   What do we gain?
Contexts as @-Operators?

   Clearly can do it: HL is a generalization of ML
   Could use the boxes in HL as contexts (if
    motivation was simply better proof theory)
   Or could use @ operators as contexts
   This seems intuitive: a context looks like a
    possible world that one wants to get to,
    reason within and move out, when convenient
   Surely this has been tried before?...
Hybrid logic for Situation Theory
@-Operators for situations
   Two examples: Seligman’s “Logic of Correct
    Description” and Ahn-Schubert’s HLC**
   Both logics model relations between sentences and
    situations, in the Barwise-Perry meaning of the term.
   Seligman’s logic has an operator for “phi is a correct
    description of s”, call his system SHL
   Schubert and Ahn have two such operators relating
    sentences to situations, one where sentences
    ‘characterize’ situations and where they ‘support’
    situations
@-Operators for situations: SHL

   Seligman’s operator for correct description: phi is a
    correct description of s
   Cut-free sequent calculus, one of the sources for
    Brauner and de Paiva intuitionistic hybrid logic
   Omniscient situations (either phi or not phi is a
    correct description of s) oversimplification
   Analogy to spatial reasoning: in location loc, phi
    holds. Exemple: This is Abu Dabi. Alcohol is
    forbidden. In Abu Dabi, alcohol is forbidden.
   Intuitively a good notion of context
    But not what we’re doing at PARC
@-Operators for situations: HLC**

   Based on Schubert’s FOL**, episodic logic
   Alternative to (generalization of) Davidsonian
    theory: for atoms Davidsonian
   partial situations,satisfaction/characterization
    relation between situations and formulas
   Adds binary modality for conjoined situations
   Sound and complete tableau system
   HLC** is modal reconstruction of
    propositional fragment of FOL**
   Positive and negative characterizations
@-operators as contexts

   Neither SHL or HLC** works well for us
   Our contexts are not about indexicals
   Negation introduces a context for us, in
    HLC** it’s an orthogonal mechanism
   If temporal information were to introduce a
    context, then we could use a hybrid logic
   Then the ability to say Holds_at(c, A), where c
    is a temporal context, would be useful
   To do it constructively, could use Brauner and
    de Paiva’s Intuitionistic Hybrid Logic (IHL)
Digression: Intuitionistic Hybrid
Logics
   (Brauner & de Paiva 2003) 1st intuitionistic proposal
    based on Simpson’s ND formulation for modal logic
   IHL = HL(@) over a intuitionistic basis
   ND rules for nominals simple, but all rules are
    satisfaction statements,
   Main results: normalization + ability to extend to
    geometric theories
   Robust: extended by Brauner to first-order, and to
    N4 (Nelson’s constructible falsity) system
   Applied work on variations of IHL going strong:
    Walker and Jia 2003/4, Sassone et al 2004/5, J.
    Moody, etc
The experiment: not done, yet?

   ONE: Use @ operators of IHL for temporal contexts
    and usual boxes for contexts
    (How different from system envisaged by semanticists?)
   TWO: Build Constructive HL by using ND rules for CK
    plus nominal rules of SHL
   Reduction rules of CK plus ones for nominals?
   Prove soundness and completeness using new
    models (Mendler and de Paiva 2005) & normalization
   Problem: counterexample to subformula property in
    Brauner’s comparison paper
The experiments: why not?

   For implemented system need temporal relations
   Semanticists say they don’t look like contexts: no use
    for hybrid logic?
   No obvious need for A-boxes in our application
   At the level of `contexted description logic’ things not
    brilliant: yes, we do have concepts, roles and
    subsumption of concepts, but not clear if TIL+ really
    is/can be thought of/ as multimodal ALC or not
(More) Discussion

   For TIL+ not clear whether to use hybrid logic
   Need to see which kinds of temporal features the
    linguists want
   For type theory/logic would like to see what CHL
    would look like
   Also want to play with the very impoverished version
    of HL that has no modalities, only nominals and
    satisfaction operators: distributed propositional logic
    ‘a la Ghidini and Serafini?
   Proposed application: distributed sensors network
References
   Natural Deduction for Hybrid Logic. Torben Braüner J. Log. Comput. 14
    (3): 329-353 (2004)
   Intuitionistic Hybrid Logic. Torben Braüner and Valeria de Paiva: J.
    Applied Log. To appear. Also in M4M-3.
   The Logic of Correct Description Jerry Seligman In M. de Rijke, et al
    (ed.) Advances in Intensional Logic. Dordrecht, Kluwer Academic
    Publishers, 107-136, 1997.

    A binary modality for reasoning about conjoined situations in a hybrid logic
    . 2003. David D. Ahn and Lenhart K. Schubert. Proceedings of Methods
    for Modalities 3 (M4M-3).
   A Basic Logic for Textual inference ( D. Bobrow, C. Condoravdi, R.
    Crouch, R. Kaplan, L. Karttunen, T. King, V. de Paiva and A. Zaenen),
    In Procs. of the AAAI Workshop on Inference for Textual Question
    Answering, Pittsburgh PA, July 2005.
   Modal Proofs As Distributed Programs (Limin Jia and David Walker) In
    the European Symposium on Programming, LNCS 2986, David
    Schmidt (Ed.), pp. 219--233, Springer, April, 2004. (pdf)

    A binary modality for reasoning about conjoined situations in a hybrid logic
    . 2003. David D. Ahn and Lenhart K. Schubert. Proceedings of Methods
    for Modalities 3 (M4M-3).
Thanks!
ND for Hybrid Logics

   Brauner2003 comparison between IHL and SHL
   IHL has reduction rules & satisfies normalization
   SHL doesn’t have reduction rules, so provide
    translations to and from IHL and induce reductions
    via the reductions in IHL
   Does it work? No, can’t prove normalization with
    induced rules
   Problem: SHL doesn’t have subformula property
Local Textual Inference
   Broadening and Narrowing
        Ed went to Boston by bus → Ed went to Boston
        Ed didn’t go to Boston   → Ed didn’t go to Boston by bus
   Positive implicative
         Ed managed to go       → Ed went
         Ed didn’t manage to go → Ed didn’t go
   Negative implicative
         Ed forgot to go        → Ed didn’t go
         Ed didn’t forget to go → Ed went
   Factive
         Ed forgot that Bill went           → Bill went
         Ed didn’t forget that Bill went
Verbs differ as to speaker commitments

“Bush realized that the US Army had to be transformed to meet new
   threats”


“The US Army had to be transformed to meet new threats”




“Bush said that Khan sold centrifuges to North Korea”


“Khan sold centrifuges to North Korea”

Weitere ähnliche Inhalte

Was ist angesagt?

Like Alice in Wonderland: Unraveling Reasoning and Cognition Using Analogies ...
Like Alice in Wonderland: Unraveling Reasoning and Cognition Using Analogies ...Like Alice in Wonderland: Unraveling Reasoning and Cognition Using Analogies ...
Like Alice in Wonderland: Unraveling Reasoning and Cognition Using Analogies ...
Facultad de Informática UCM
 
Dependency Analysis of Abstract Universal Structures in Korean and English
Dependency Analysis of Abstract Universal Structures in Korean and EnglishDependency Analysis of Abstract Universal Structures in Korean and English
Dependency Analysis of Abstract Universal Structures in Korean and English
Jinho Choi
 
Solutions advanced sb
Solutions advanced sbSolutions advanced sb
Solutions advanced sb
maicanhtinh
 
A Constructive Mathematics approach for NL formal grammars
A Constructive Mathematics approach for NL formal grammarsA Constructive Mathematics approach for NL formal grammars
A Constructive Mathematics approach for NL formal grammars
Federico Gobbo
 
Response Categories, Draft 2 for Tallying Student Responses to the Write-Arou...
Response Categories, Draft 2 for Tallying Student Responses to the Write-Arou...Response Categories, Draft 2 for Tallying Student Responses to the Write-Arou...
Response Categories, Draft 2 for Tallying Student Responses to the Write-Arou...
Buffy Hamilton
 

Was ist angesagt? (19)

Supporting language learners with the
Supporting language learners with theSupporting language learners with the
Supporting language learners with the
 
Like Alice in Wonderland: Unraveling Reasoning and Cognition Using Analogies ...
Like Alice in Wonderland: Unraveling Reasoning and Cognition Using Analogies ...Like Alice in Wonderland: Unraveling Reasoning and Cognition Using Analogies ...
Like Alice in Wonderland: Unraveling Reasoning and Cognition Using Analogies ...
 
Practical Non-Monotonic Reasoning
Practical Non-Monotonic ReasoningPractical Non-Monotonic Reasoning
Practical Non-Monotonic Reasoning
 
Artificial intelligence and first order logic
Artificial intelligence and first order logicArtificial intelligence and first order logic
Artificial intelligence and first order logic
 
Dependency Analysis of Abstract Universal Structures in Korean and English
Dependency Analysis of Abstract Universal Structures in Korean and EnglishDependency Analysis of Abstract Universal Structures in Korean and English
Dependency Analysis of Abstract Universal Structures in Korean and English
 
Solutions advanced sb
Solutions advanced sbSolutions advanced sb
Solutions advanced sb
 
Distributional semantics
Distributional semanticsDistributional semantics
Distributional semantics
 
Artificial Intelligence (AI) | Prepositional logic (PL)and first order predic...
Artificial Intelligence (AI) | Prepositional logic (PL)and first order predic...Artificial Intelligence (AI) | Prepositional logic (PL)and first order predic...
Artificial Intelligence (AI) | Prepositional logic (PL)and first order predic...
 
A Constructive Mathematics approach for NL formal grammars
A Constructive Mathematics approach for NL formal grammarsA Constructive Mathematics approach for NL formal grammars
A Constructive Mathematics approach for NL formal grammars
 
First order predicate logic (fopl)
First order predicate logic (fopl)First order predicate logic (fopl)
First order predicate logic (fopl)
 
PHPnw (England) User Group - Concepts, Spaces and Thresholds and why they matter
PHPnw (England) User Group - Concepts, Spaces and Thresholds and why they matterPHPnw (England) User Group - Concepts, Spaces and Thresholds and why they matter
PHPnw (England) User Group - Concepts, Spaces and Thresholds and why they matter
 
Logics of Context and Modal Type Theories
Logics of Context and Modal Type TheoriesLogics of Context and Modal Type Theories
Logics of Context and Modal Type Theories
 
artificial intelligence
artificial intelligenceartificial intelligence
artificial intelligence
 
First order predicate logic(fopl)
First order predicate logic(fopl)First order predicate logic(fopl)
First order predicate logic(fopl)
 
RuleML2015 The Herbrand Manifesto - Thinking Inside the Box
RuleML2015 The Herbrand Manifesto - Thinking Inside the Box RuleML2015 The Herbrand Manifesto - Thinking Inside the Box
RuleML2015 The Herbrand Manifesto - Thinking Inside the Box
 
Artificial intelligence and knowledge representation
Artificial intelligence and knowledge representationArtificial intelligence and knowledge representation
Artificial intelligence and knowledge representation
 
Incrementality
IncrementalityIncrementality
Incrementality
 
Response Categories, Draft 2 for Tallying Student Responses to the Write-Arou...
Response Categories, Draft 2 for Tallying Student Responses to the Write-Arou...Response Categories, Draft 2 for Tallying Student Responses to the Write-Arou...
Response Categories, Draft 2 for Tallying Student Responses to the Write-Arou...
 
A Natural Logic for Artificial Intelligence, and its Risks and Benefits
A Natural Logic for Artificial Intelligence, and its Risks and Benefits A Natural Logic for Artificial Intelligence, and its Risks and Benefits
A Natural Logic for Artificial Intelligence, and its Risks and Benefits
 

Andere mochten auch

Andere mochten auch (20)

If, not when
If, not whenIf, not when
If, not when
 
Constructive Modal Logics, Once Again
Constructive Modal Logics, Once AgainConstructive Modal Logics, Once Again
Constructive Modal Logics, Once Again
 
Fun with Constructive Modalities
Fun with Constructive ModalitiesFun with Constructive Modalities
Fun with Constructive Modalities
 
Categorical Type Theory and its Uses
Categorical Type Theory and its UsesCategorical Type Theory and its Uses
Categorical Type Theory and its Uses
 
Functors, Comonads, and Digital Image Processing
Functors, Comonads, and Digital Image ProcessingFunctors, Comonads, and Digital Image Processing
Functors, Comonads, and Digital Image Processing
 
Ricon/West 2013: Adventures with Riak Pipe
Ricon/West 2013: Adventures with Riak PipeRicon/West 2013: Adventures with Riak Pipe
Ricon/West 2013: Adventures with Riak Pipe
 
Twitter4R OAuth
Twitter4R OAuthTwitter4R OAuth
Twitter4R OAuth
 
Distributed Developer Workflows using Git
Distributed Developer Workflows using GitDistributed Developer Workflows using Git
Distributed Developer Workflows using Git
 
Writing Bullet-Proof Javascript: By Using CoffeeScript
Writing Bullet-Proof Javascript: By Using CoffeeScriptWriting Bullet-Proof Javascript: By Using CoffeeScript
Writing Bullet-Proof Javascript: By Using CoffeeScript
 
Deploying distributed software services to the cloud without breaking a sweat
Deploying distributed software services to the cloud without breaking a sweatDeploying distributed software services to the cloud without breaking a sweat
Deploying distributed software services to the cloud without breaking a sweat
 
Edwardian Proofs as futuristic Programs for Personal Assistants
Edwardian Proofs as futuristic Programs for Personal AssistantsEdwardian Proofs as futuristic Programs for Personal Assistants
Edwardian Proofs as futuristic Programs for Personal Assistants
 
Intuitionistic Modal Logic: fifteen years later
Intuitionistic Modal Logic: fifteen years laterIntuitionistic Modal Logic: fifteen years later
Intuitionistic Modal Logic: fifteen years later
 
Dialectica Categories and Cardinalities of the Continuum (March2014)
Dialectica Categories and  Cardinalities of the Continuum (March2014)Dialectica Categories and  Cardinalities of the Continuum (March2014)
Dialectica Categories and Cardinalities of the Continuum (March2014)
 
Linear Type Theory Revisited (BACAT Feb 2014)
Linear Type Theory Revisited (BACAT Feb 2014)Linear Type Theory Revisited (BACAT Feb 2014)
Linear Type Theory Revisited (BACAT Feb 2014)
 
Natural Number Objects in Dialectica Categories
Natural Number Objects in Dialectica CategoriesNatural Number Objects in Dialectica Categories
Natural Number Objects in Dialectica Categories
 
Designing for Concurrency
Designing for ConcurrencyDesigning for Concurrency
Designing for Concurrency
 
Type Theory and Practical Application
Type Theory and Practical ApplicationType Theory and Practical Application
Type Theory and Practical Application
 
types, types, types
types, types, typestypes, types, types
types, types, types
 
The Yoneda lemma and String diagrams
The Yoneda lemma and String diagramsThe Yoneda lemma and String diagrams
The Yoneda lemma and String diagrams
 
Scalaz By Example (An IO Taster) -- PDXScala Meetup Jan 2014
Scalaz By Example (An IO Taster) -- PDXScala Meetup Jan 2014Scalaz By Example (An IO Taster) -- PDXScala Meetup Jan 2014
Scalaz By Example (An IO Taster) -- PDXScala Meetup Jan 2014
 

Ähnlich wie Constructive Hybrid Logics

5 Lessons Learned from Designing Neural Models for Information Retrieval
5 Lessons Learned from Designing Neural Models for Information Retrieval5 Lessons Learned from Designing Neural Models for Information Retrieval
5 Lessons Learned from Designing Neural Models for Information Retrieval
Bhaskar Mitra
 

Ähnlich wie Constructive Hybrid Logics (20)

Lean Logic for Lean Times: Entailment and Contradiction Revisited
Lean Logic for Lean Times: Entailment and Contradiction RevisitedLean Logic for Lean Times: Entailment and Contradiction Revisited
Lean Logic for Lean Times: Entailment and Contradiction Revisited
 
Designing, Visualizing and Understanding Deep Neural Networks
Designing, Visualizing and Understanding Deep Neural NetworksDesigning, Visualizing and Understanding Deep Neural Networks
Designing, Visualizing and Understanding Deep Neural Networks
 
AI_Session 21 First order logic.pptx
AI_Session 21 First order logic.pptxAI_Session 21 First order logic.pptx
AI_Session 21 First order logic.pptx
 
5 Lessons Learned from Designing Neural Models for Information Retrieval
5 Lessons Learned from Designing Neural Models for Information Retrieval5 Lessons Learned from Designing Neural Models for Information Retrieval
5 Lessons Learned from Designing Neural Models for Information Retrieval
 
IKL presentation for Ontolog
IKL presentation for OntologIKL presentation for Ontolog
IKL presentation for Ontolog
 
A Simple Introduction to Word Embeddings
A Simple Introduction to Word EmbeddingsA Simple Introduction to Word Embeddings
A Simple Introduction to Word Embeddings
 
Knowledge Extraction
Knowledge ExtractionKnowledge Extraction
Knowledge Extraction
 
AI Lesson 11
AI Lesson 11AI Lesson 11
AI Lesson 11
 
Semantics and Computational Semantics
Semantics and Computational SemanticsSemantics and Computational Semantics
Semantics and Computational Semantics
 
Study_Report
Study_ReportStudy_Report
Study_Report
 
Next Steps in Propositional Horn Contraction
Next Steps in Propositional Horn ContractionNext Steps in Propositional Horn Contraction
Next Steps in Propositional Horn Contraction
 
Artifial intelligence
Artifial intelligenceArtifial intelligence
Artifial intelligence
 
Lec 3.pdf
Lec 3.pdfLec 3.pdf
Lec 3.pdf
 
A Bridge Not too Far
A Bridge Not too FarA Bridge Not too Far
A Bridge Not too Far
 
continuity of module 2.pptx
continuity of module 2.pptxcontinuity of module 2.pptx
continuity of module 2.pptx
 
Using topic modelling frameworks for NLP and semantic search
Using topic modelling frameworks for NLP and semantic searchUsing topic modelling frameworks for NLP and semantic search
Using topic modelling frameworks for NLP and semantic search
 
Lecture 1-3-Logics-In-computer-science.pptx
Lecture 1-3-Logics-In-computer-science.pptxLecture 1-3-Logics-In-computer-science.pptx
Lecture 1-3-Logics-In-computer-science.pptx
 
AI_Session 20 Horn clause.pptx
AI_Session 20 Horn clause.pptxAI_Session 20 Horn clause.pptx
AI_Session 20 Horn clause.pptx
 
A Featherweight Approach to FOOL
A Featherweight Approach to FOOLA Featherweight Approach to FOOL
A Featherweight Approach to FOOL
 
DATA641 Lecture 3 - Word meaning.pptx
DATA641 Lecture 3 - Word meaning.pptxDATA641 Lecture 3 - Word meaning.pptx
DATA641 Lecture 3 - Word meaning.pptx
 

Mehr von Valeria de Paiva

Mehr von 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
 
Intuitive Semantics for Full Intuitionistic Linear Logic (2014)
Intuitive Semantics for Full Intuitionistic Linear Logic (2014)Intuitive Semantics for Full Intuitionistic Linear Logic (2014)
Intuitive Semantics for Full Intuitionistic Linear Logic (2014)
 

Kürzlich hochgeladen

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Kürzlich hochgeladen (20)

The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
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
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
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
 
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
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
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
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
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
 

Constructive Hybrid Logics

  • 1. Constructive Hybrid Logics and Contexts Valeria de Paiva Intelligent System Lab Palo Alto Research Center
  • 2. Outline  Motivation  Textual Inference Logic  Contexts as Modalities  Contexts as @-operators  The experiment  Discussion
  • 3. An applied logician’s job is never done…  When modeling a system as a logic you can start from the system  Or you can start from logics that could fit it  Hopefully the two meet up…
  • 4. Motivation: Logic for Text Understanding  A logic for reasoning about questions and answers using formulae automatically created from texts in English  Logic used both to describe the logical representation of information and to answer/solve/infer questions  How?  Build upon decades of work on NLP at PARC
  • 5. Motivation: PARC’s approach  Knowledge-based question answering – Deep/logical representations allow high precision and recall, but – Typically on restricted domains – Hard for users to pose KR questions and interpret KR answers – Very hard for system to build up knowledge  Shallow, open-domain question answering – Broad-coverage – Lower precision and recall – Easy to pose questions but sensitive to question form  Question answering at PARC – Layered mapping from language to deeper semantic representations – Broad-coverage: Matching for answers as light reasoning – Expresses KRR answers in real English -- eventually
  • 6. Architecture: 2-way bridge between language & logic XLE/LFG Pa Target Text r sing KR Mapping KRR F-structure Semantics Abstract KR Sources Assertions Match M M Inference Question Query Transfer semantics Lexical Functional Grammar Textual Inference Glue semantics Text Ambiguity management Logics
  • 7. Key Process: Canonicalization of representations  Sentences are parsed into f(unctional)-structures using XLE  F-structures are (somewhat) semantic representations  Transform f-structures into (flat and contexted) transfer semantic structures (inspired by Glue and need to ‘pack’ semantics )  Transform transfer sem-structures into (flat and contexted) AKR structures  Today: Discuss logics for AKR structures  but before that, what do these layers of representation buy you?
  • 8. Canonicalization helps matching  Argument structure: – Mary bought an apple/An apple was bought by Mary.  Synonyms and hypernyms: – Mary bought/purchased/acquired an apple.  Factivity and contexts: – Mary bought an apple/Mary did not buy an apple. – Mary managed/failed to buy an apple. – Ed prevented Mary from buying an apple. – We know/said/believe that Mary bought an apple. – Mary didn’t wait to buy an apple.
  • 9. Layers to overcome language/KR misalignments:  Language – Generalizations come from the structure of the language – Representations compositionally derived from sentence structure  Knowledge representation and reasoning – Generalizations come from the structure of the world – Representations to support reasoning  Layered architecture helps with different constraints  But boundaries are not fixed (like beads in a string?)
  • 10. This talk: Logics for Abstract KR only XLE/LFG Pa Text r sing KR Mapping F-structure Semantics Abstract KR Sources Assertions Match M M Inference Question Query Textual Inference Logic? Abstract model of TIL? How? Which inferences?
  • 11. PRED fire<Ed, boy> Abstract KR: “Ed fired the boy.” TENSE past SUBJ [ PRED Ed ] (Cyc version) OBJ PRED boy DEF + (subconcept Ed3 Person) (subconcept boy2 MaleChild) (subconcept fire_ev1 DischargeWithPrejudice) Conceptual (role fire_ev1 performedBy Ed3) (role fire_ev1 objectActedOn boy2) (context t) (instantiable Ed3 t) Contextual (instantiable boy2 t) (instantiable fire_ev1 t) (temporalRel startsAfterEndingOf Now Temporal fire_ev1)
  • 12. Abstract Knowledge Representation  Encode different aspects of meaning – Asserted content » concepts and arguments, relations among objects – Contexts » author commitment, belief, report, denial, prevent, … – Temporal relations » qualitative relations among time intervals, events  Translate to various target KR's e.g. CycL, Knowledge Machine, AnsProlog  Capture meaning ambiguity – Mapping to KR can introduce and reduce ambiguity – Need to handle ambiguity efficiently  A Basic Logic for Textual Inference (Bobrow et al, July 05)
  • 13. Textual Inference Logic (TIL) Cyc version (Bobrow et al 2005)  A contexted version of a description logic of concepts  Static Cyc concepts: Person, MaleChild,, DischargeWithPrejudice, etc..  Cyc Roles: objectActedOn, performedBy, infoTransferred, etc  Dynamic concepts like Ed3, boy2 and fire_ev1  WordNet/VerbNet as fallback mechanisms  Sortal restrictions from Cyc disambiguate e.g, Ed fired the boy/Ed fired the gun.  Limitation: raggedness of Cyc
  • 14. Textual Inference Logic (TIL) WN/VN version 2006  A contexted version of a description logic of concepts  Concepts from WordNet: e.g. [1740] synset for Thing  VerbNet Roles: Agent, Theme, Experiencer, etc  Sortal restrictions not used to disambiguate e.g, Ed fired the boy/the gun  packed version of ‘fire’.  Contexts as black boxes/boundaries, e.g “Mary knows that Ed fired the boy”, two contexts t and what is known, named by firing event.
  • 15. Ed fired the boy. cf(1, context(t)), cf(1, instantiable(‘Ed##0',t)), cf(1, instantiable('boy##3',t)), cf(1, instantiable('fire##1',t)), cf(1, role('Agent','fire##1',‘Ed##0')), cf(1, role('Theme','fire##1','boy##3')), cf(1,subconcept(‘Ed##0',[[7626,4576]])), cf(1,subconcept('boy##3',[[10131706],[9725282],[10464570], [9500236] ),), cf(A1, subconcept('fire##1',[[1124984],[1123061],[1123474]])), cf(A2, subconcept('fire##1',[[2379472]])), cf(1, temporalRel(startsAfterEndingOf,'Now','fire##1'))
  • 16. So far starting from the system… Now for off-the-shelf logical systems: – Modal logic – Hybrid logic – Description logic – Situation Semantics – MCS/LMS – FOL/HOL – Intensional Logic – Etc…
  • 17. TIL Contexts  Contexts introduced by syntactical items such as verbs, adverbs and adjectives  Contexts in TIL like nano-theories to Cyc’s microtheories  How do we analyze the logic of contexts?  If instead of concepts and roles we had traditional propositional logic formulae, then contexts could be thought of as modalities in  McCarthy’s logic of contexts  Slogan: contexts as constructive modalities
  • 18. Contexts as Constructive Modalities  Abstract version of TIL has contexts that behave like black boxes  Similar to McCarthy’s ‘Logic of Contexts’, as formalized by Buvac and Mason  Can be seen as a multimodal system K  Paper in Context2003 proposes a constructive version of multimodal K  Several constructive versions of K in literature. ours doesn’t satisfy § (A _ B ) ! (§ A _ § B ) nor : § ?
  • 19. Contexts as Constructive Modalities  Pros: well-understood syntax, – traditional Kripke semantics (2005), – categorical semantics (2001) – Curry-Howard Isomorphism (2001)  Cons: modeling too abstract, cannot capture work on factives and implicatives (Nairn, Condoravdi, Karttunen), as it stands – Need to be extended to deal with temporal phenomena.  Maybe should try another notion of context?..
  • 20. Which contexts for NL? Literature vast, many conceptions, many formalisms  Theories?  Viewpoints?  Situations?  Indexicals?  Propositional Attitudes?  …
  • 21. Contexts as @-Operators?  Can we use Hybrid Logic instead of Modal Logic for our contexts?  How easy it is to do it?  Should we do it?  Which possible way should we do it?  What do we gain?
  • 22. Contexts as @-Operators?  Clearly can do it: HL is a generalization of ML  Could use the boxes in HL as contexts (if motivation was simply better proof theory)  Or could use @ operators as contexts  This seems intuitive: a context looks like a possible world that one wants to get to, reason within and move out, when convenient  Surely this has been tried before?...
  • 23. Hybrid logic for Situation Theory @-Operators for situations  Two examples: Seligman’s “Logic of Correct Description” and Ahn-Schubert’s HLC**  Both logics model relations between sentences and situations, in the Barwise-Perry meaning of the term.  Seligman’s logic has an operator for “phi is a correct description of s”, call his system SHL  Schubert and Ahn have two such operators relating sentences to situations, one where sentences ‘characterize’ situations and where they ‘support’ situations
  • 24. @-Operators for situations: SHL  Seligman’s operator for correct description: phi is a correct description of s  Cut-free sequent calculus, one of the sources for Brauner and de Paiva intuitionistic hybrid logic  Omniscient situations (either phi or not phi is a correct description of s) oversimplification  Analogy to spatial reasoning: in location loc, phi holds. Exemple: This is Abu Dabi. Alcohol is forbidden. In Abu Dabi, alcohol is forbidden.  Intuitively a good notion of context  But not what we’re doing at PARC
  • 25. @-Operators for situations: HLC**  Based on Schubert’s FOL**, episodic logic  Alternative to (generalization of) Davidsonian theory: for atoms Davidsonian  partial situations,satisfaction/characterization relation between situations and formulas  Adds binary modality for conjoined situations  Sound and complete tableau system  HLC** is modal reconstruction of propositional fragment of FOL**  Positive and negative characterizations
  • 26. @-operators as contexts  Neither SHL or HLC** works well for us  Our contexts are not about indexicals  Negation introduces a context for us, in HLC** it’s an orthogonal mechanism  If temporal information were to introduce a context, then we could use a hybrid logic  Then the ability to say Holds_at(c, A), where c is a temporal context, would be useful  To do it constructively, could use Brauner and de Paiva’s Intuitionistic Hybrid Logic (IHL)
  • 27. Digression: Intuitionistic Hybrid Logics  (Brauner & de Paiva 2003) 1st intuitionistic proposal based on Simpson’s ND formulation for modal logic  IHL = HL(@) over a intuitionistic basis  ND rules for nominals simple, but all rules are satisfaction statements,  Main results: normalization + ability to extend to geometric theories  Robust: extended by Brauner to first-order, and to N4 (Nelson’s constructible falsity) system  Applied work on variations of IHL going strong: Walker and Jia 2003/4, Sassone et al 2004/5, J. Moody, etc
  • 28. The experiment: not done, yet?  ONE: Use @ operators of IHL for temporal contexts and usual boxes for contexts (How different from system envisaged by semanticists?)  TWO: Build Constructive HL by using ND rules for CK plus nominal rules of SHL  Reduction rules of CK plus ones for nominals?  Prove soundness and completeness using new models (Mendler and de Paiva 2005) & normalization  Problem: counterexample to subformula property in Brauner’s comparison paper
  • 29. The experiments: why not?  For implemented system need temporal relations  Semanticists say they don’t look like contexts: no use for hybrid logic?  No obvious need for A-boxes in our application  At the level of `contexted description logic’ things not brilliant: yes, we do have concepts, roles and subsumption of concepts, but not clear if TIL+ really is/can be thought of/ as multimodal ALC or not
  • 30. (More) Discussion  For TIL+ not clear whether to use hybrid logic  Need to see which kinds of temporal features the linguists want  For type theory/logic would like to see what CHL would look like  Also want to play with the very impoverished version of HL that has no modalities, only nominals and satisfaction operators: distributed propositional logic ‘a la Ghidini and Serafini?  Proposed application: distributed sensors network
  • 31. References  Natural Deduction for Hybrid Logic. Torben Braüner J. Log. Comput. 14 (3): 329-353 (2004)  Intuitionistic Hybrid Logic. Torben Braüner and Valeria de Paiva: J. Applied Log. To appear. Also in M4M-3.  The Logic of Correct Description Jerry Seligman In M. de Rijke, et al (ed.) Advances in Intensional Logic. Dordrecht, Kluwer Academic Publishers, 107-136, 1997.  A binary modality for reasoning about conjoined situations in a hybrid logic . 2003. David D. Ahn and Lenhart K. Schubert. Proceedings of Methods for Modalities 3 (M4M-3).  A Basic Logic for Textual inference ( D. Bobrow, C. Condoravdi, R. Crouch, R. Kaplan, L. Karttunen, T. King, V. de Paiva and A. Zaenen), In Procs. of the AAAI Workshop on Inference for Textual Question Answering, Pittsburgh PA, July 2005.  Modal Proofs As Distributed Programs (Limin Jia and David Walker) In the European Symposium on Programming, LNCS 2986, David Schmidt (Ed.), pp. 219--233, Springer, April, 2004. (pdf)  A binary modality for reasoning about conjoined situations in a hybrid logic . 2003. David D. Ahn and Lenhart K. Schubert. Proceedings of Methods for Modalities 3 (M4M-3).
  • 33.
  • 34. ND for Hybrid Logics  Brauner2003 comparison between IHL and SHL  IHL has reduction rules & satisfies normalization  SHL doesn’t have reduction rules, so provide translations to and from IHL and induce reductions via the reductions in IHL  Does it work? No, can’t prove normalization with induced rules  Problem: SHL doesn’t have subformula property
  • 35. Local Textual Inference  Broadening and Narrowing Ed went to Boston by bus → Ed went to Boston Ed didn’t go to Boston → Ed didn’t go to Boston by bus  Positive implicative Ed managed to go → Ed went Ed didn’t manage to go → Ed didn’t go  Negative implicative Ed forgot to go → Ed didn’t go Ed didn’t forget to go → Ed went  Factive Ed forgot that Bill went → Bill went Ed didn’t forget that Bill went
  • 36. Verbs differ as to speaker commitments “Bush realized that the US Army had to be transformed to meet new threats” “The US Army had to be transformed to meet new threats” “Bush said that Khan sold centrifuges to North Korea” “Khan sold centrifuges to North Korea”