SlideShare a Scribd company logo
+
Lean Logic for Lean Times:
Entailment and Contradiction Revisited
Valeria de Paiva
Nuance Communications,
NL and AI Lab, Sunnyvale, CA
+
Nuance Comms,
AI and NL Lab, Sunnyvale, CA
+
Ron Kaplan “Beyond the GUI: It’s Time for a
Conversational User Interface”,Wired 2013
+
The Future is Meaning…
The difficulty is to decide how to get there
CAVEAT EMPTOR
+
Not so recent past…
+
PARC’s Bridge System (2000-2008
for me)
+ PARC’s Bridge System (2000-2008)
F-structure
semantics
KR
Parsing KR Mapping
Inference
EnginesText
Sources
Question
Assertions
Query
Grammar
Stanford
Parser?
Textual Inference
logics
Term rewriting
OpenWN-PT
SUMO-PT
KR mapping rules
+
Powerset
Acquired by Microsoft, 2008
+
and Cuil…
+
Another story
https://www.parc.com/event/934/adventures-in-searchland.html
+ Goals in 2010: a bridge
Improve Lexical Resources
and Inferential Systems to
work with Logic coming from
free form text.
+ Goals in 2010: a bridge
Preprocessing
Grammatical
features
Linguistic
semantics
logic
Automatic theorem
Prover/system
+
Reality Check…
n  Pre-processing is MOST of the processing!
n  XLE research license, but hard to use, hard to
modify, hard to understand decades of code.
Besides, need several lexicons that DO NOT exist
openly or for Portuguese, notably WordNet.
n  Spent the next four years working on OpenWordNet-
PT.
n  Google Translate, Open MultiLingual Wordnet,
BabelNet, FreeLing use our Portuguese wordnet.
n  There are several open toolkits that could be used
for the processing needed. More usable, more
community, less expertise required:
StanfordNLP
OpenNLP
NLTK
FreeLing (English and Spanish…)
+
Reasoning/Inference
n  Which kind?
n  Textual entailment methods recognize, generate, and
extract pairs ⟨T,H⟩ of natural language expressions, such that a
human who reads (and trusts) T would infer that H is most likely
also true (Dagan, Glickman & Magnini, 2006)
n  Example:
(T) The drugs that slow down Alzheimer’s disease work best the
earlier you administer them.
(H) Alzheimer’s disease can be slowed down using drugs.
T⇒H
n  A series of competitions since 2004, ACL “Textual Entailment
Portal”, many different systems...
+ Bridge:Text to Logic
Preprocessing
Grammatical
features
Linguistic
semantics
Linguistics BlackBox
Cyc
UL+ECD KIML+Maude
…
+
Model Theoretic and Proof
Theoretic semantics
n  Introductory courses on semantics for natural languages talk
about creating representations for the sentences in a
logical formalism (the logical forms) and uncovering truth
conditions for these translated sentences.
n  This is Model Theoretic semantics
n  An alternative view, the proof-theoretic paradigm of
semantics claims that the most basic criterion is to establish
when sentences follow from others, when they are consistent
with each other, when they contradict each other. In short
their entailment behavior. (cf. Nissim Francez)
n  Relations of entailment and contradiction are the key data of
semantics, as traditionally viewed as a branch of linguistics.
The ability to recognize such semantic relations is clearly
not a sufficient criterion for language understanding:
there is more than just being able to tell that one sentence
follows from another. But we would argue that it is a
minimal, necessary criterion.
n  Hence Lean Logic
+
Dowty/Hoeksema examples
+
Logical languages?
n  Assuming you believe that text can be transformed coherently
and in a principled fashion into logical formulas…
n  There are still many design choices to make:
n  Which logical language? FOL vs. HOL, modal or not, DRT, lambda-
calculus or not?
n  Which logical system?
n  Logical language and logical system tend to get confused, but
there are many logical systems that use the same language, FOL,
for instance.
n  The same logical system, say IPL, intuitionistic propositional
logic can be represented using many languages e.g. axioms,
sequents, Natural Deduction, etc.
+
Knowledge Inference Management
Language (KIML)
n  A representation language based on events,
concepts, roles and contexts, McCarthy-style
n  Using events, concepts and roles is traditional
in NL semantics (Lasersohn)
n  Usually equivalent to FOL (first-order logic),
ours a small extension, contexts are like
modalities.
Language based on PARC linguists’ intuitions
n  Exact formulation of system still being
decided: e.g. not considering temporal
assertions, yet...
n  (used to call both language and logic AKR,
abstract knowledge representation)
+
Example: a crow slept
Conceptual Structure:
role(cardinality restriction,crow-1,sg)
role(sb,sleep-4,crow-1)
subconcept(crow-1,
[crow#n#1,crow#n#2,brag#n#1])
subconcept(sleep-4,[sleep#v#1,sleep#v#2])
Contextual Structure:
instantiable(crow-1,t)
instantiable(sleep-4,t)
top context(t)
Temporal Structure:
trole(when,sleep-4,interval(before,Now))
+
KIML versus FOL
n  In FOL write ∃Crow∃Sleep.Sleep(crow)
Instead we will use basic concepts from a parameter
ontology O
n  O (can be Cyc, SUMO, UL,WN, DBPedia, Freebase, etc...)
n  Instead of FOL predicates have Skolem constants crow-1 a
subconcept of an ambiguous list of concepts:
subconcept(crow-1,[crow#n#1,crow#n#2,brag#n#1])
n  Same for sleep-2 and have roles relating concepts
role(sb,sleep-4,crow-1)
meaning that the sb=subject of the sleeping event is a crow
concept
+
What is Different?
n Corresponding to formulas in FOL, KIML has a
collection of assertions that, read conjunctively,
correspond to the semantics of (fragments of)
sentences in English.
n Concepts in KIML – similar to Description Logic
concepts primitive concepts from an idealized version of the chosen
n Ontology on-the-fly concepts, always sub-concepts
of some primitive concept. concepts are as fine or as coarse
as needed by the application
n Roles connect concepts: deciding which roles with which
concepts a big problem... for linguists
n Roles assigned in a consistent, coherent and
maximally informative way by the NLP module
+
Contexts for Quantification
n  Contexts for modelling negation, implication, as well as
propositional attitudes and other intensional phenomena.
(Similar to modal DRT)
n  There is a first initial context (written as t), roughly what the
author of the sentence takes the world to be.
n  Contexts used for making existential statements about the
existence and non-existence in specified possible worlds of
entities that satisfy the intensional descriptions specified by our
concepts.
n  Propositional attitudes predicates (knowing, believing,
saying,...) relate contexts and concepts in our logic.
n  Concepts like knowing, believing, saying introduce context that
represents the proposition that is known, believed or said.
+
Ed knows that the crow slept
alias(Ed-0,[Ed])
role(prop,know-1,ctx(sleep-8))
role(sb,know-1,Ed-0)
role(sb,sleep-8,crow-6)
subconcept(Ed-0,[male#n#2]) subconcept(crow-6,
[crow#n#1,crow#n#2,brag#n#1])
subconcept(know-1,[know#v#1,...,sleep-
together#v#1]) subconcept(sleep-8,
[sleep#v#1,sleep#v#2]) context(ctx(sleep-8)),
context(t) context-lifting-
relation(veridical,t,ctx(sleep-8)) context-
relation(t,ctx(sleep-8),crel(prop,know-1))
instantiable(Ed-0,t)
instantiable(crow-6,ctx(sleep-8))
instantiable(sleep-8,ctx(sleep-8))
+
Inference to build reps and to
reason with them
n  In previous example can conclude:
instantiable(sleep-8,t)
if knowing X implies X is true.
(Can conclude instantiable(crow-6,t) too, for definitiveness reasons..)
n  Happening or not of events is dealt with by the instantiability/
uninstantiability predicate that relates concepts and contexts e.g.
Negotiations prevented a strike
n  Contexts can be:
veridical, antiveridical or averidical with respect to other contexts.
n  Have ‘context lifting rules’ to move instantiability assertions between
contexts. (MacCarthy style)
n  Want to describe the logic system making these rules work. HOW?
+
Applied logician’s job as a puzzle
n  When modeling a system as a logic
you can start from the implemented
system…
n  Or you can start from a logic that looks
similar to the system, that could be a
good fit for it.
n  Hopefully the two lines of attack
converge, eventually
+
From implemented system to
Logic
n  A Basic Logic for Textual inference (with D. Bobrow, C. Condoravdi, R.
Crouch, R. Kaplan, L. Karttunen,T. King and A. Zaenen), AAAI Workshop
on Inference for Textual Question Answering, Pittsburgh PA, July 2005.
n  Textual Inference Logic:Take Two, (with D. G. Bobrow, C. Condoravdi, R.
Crouch,  L. Karttunen,T. H. King, R. Nairn and A. Zaenen) Workshop on
Contexts and Ontologies,Representation and Reasoning, CONTEXT 2007.
n  Bridges from Language to Logic: Concepts, Contexts and Ontologies (V.
de Paiva) in 5th LSFA'10, Natal, Brazil, 2010.
n  Contexts for Quantification,Valeria de Paiva, in Proceedings of
CommonSense2013
n  Similar to a Natural Logic extension? Dowty199:4 `studying deductive
systems which approximate the class of common linguistic inferences to
some interesting degree or in some interesting way’
n  Moss, Icard, Djalali and Pratt-Hartmann: maybe we can augment/bend
“Syllogystic inference”
+
Problems
n  System changes under your feet
n  Writing documentation is boring
n  Specs don’t need to be complete, logical systems do
n  Big system, big representations, hard to know what it should
do
n  Layers of tangled code, personal incompetence
n  Mostly: Proprietary code goes away, logic is for all
+
From Logics to Systems
n  Easier and more rewarding. Other people can find other
applications for the systems you’ve developed.
n  Natural Deduction and Context as (Constructive) Modality.
Proceedings of the 4th CONTEXT 2003, Stanford
n  Constructive CK for Contexts (with Michael Mendler),Worskhop on
Context Representation and Reasoning, Paris, France, July 2005.
n  (Towards) Constructive Hybrid Logic (with T. Brauner), Methods for
Modalities 3, LORIA, Nancy, France, September, 2003.(2006)
n  Constructive Description Logics: what, why and how.  Context
Rep and Reasoning, Riva del Garda, 2006.
n  Constructive Description Logics Hybrid-Style.(with Rademaker,
Hauesler) Electr. Notes Theor. Comput. Sci. 273: 21-31 (2011)
n  Contextual Constructive Description Logics (with Natasha Alechina),
preprint
+
TODAY:Textual Entailment and
Connexive Logic
n  Connexive logic is motivated by ideas of coherence or
‘connection’ between premises and conclusions of valid
inferences.
n  No, I had never heard of it till very recently. Wansing has an
updated entry (2014) in SEP about it
n  I’ve known about Relevant Logic for a while. Even had a phd
student trying to produce categorical models for it.
n  But I used to be a purist.Wanted beautiful proof theory and
clean, principled logic systems. More pragmatic now.
n  Can do a relevant lambda-calculus, λI-calculus easily
+
Implicational Relevant Logic
Can we use this to prove “theorem” like the ones next?
+
Experimental Results: a few
`theorems’
n  1. a crow was thirsty ⊢ a thirsty crow
n  2. a thirsty crow ⊢ a crow
n  3. ed arrived and the crow flew away ⊢ the crow
flew away
n  4. ed knew that the crow slept ⊢ the crow slept
n  5. ed did not forget to force the crow to fly ⊢ the
crow flew
n  6 the crow came out in search of water ⊢ the
crow came out
n  7. a crow was thirsty ⊢ a bird was thirsty
Maude implementation of
Entailment and
Contradiction, with
Vivek Nigam LSFA 2014
+
Which Inference Rules?
+
Dowty/Hoeksema examples
+
+
Within Contexts
n  MacCartney and Manning’s Relations
+
Within Contexts
n  A constructive version of Djalali’s Synthetic Logic
+
Within contexts
+
Unprincipled hack?
n  Perhaps. But I’m not the first one to do it.
Generalized Syllogistic Inference System
based on Inclusion and Exclusion Relations
Koji Mineshima, Mitsuhiro Okada, and Ryo Takemura
Department of Philosophy, Keio University. 2010
+
Implicative Commitment Rules
n  Preserving polarity:
“Ed managed to close the door” → “Ed closed the door”
“Ed didn’t manage to close the door” → “Ed didn’t close the
door”.
n  The verb “forget (to)” inverts polarities:
“Ed forgot to close the door” → “Ed didn’t close the door”
“Ed didn’t forget to close the door” → “Ed closed the door”.
n  There are six such classes, depending on whether positive
environments are taken to positive or negative ones. ( Nairn,
Condoravdi and Kartunnen 2006)
n  Accommodating this fine-grained analysis into traditional
logic description is further work. (Nairn et al 2006 presents
an implemented recursive algorithm for composing these
rules)
+
Contexts as Modalities again
Need more typing here.
Criteria for success?
+
Conclusions
n  Proof-of-concept framework
n  KIML assertions and TIL inference system for textual entailment
n  Relevant intuitionistic modal logic for ECD
n  A framework can be implemented in Maude and used to prove in an
semi-automated fashion whether a sentence follows from another
(LSFA2014)
n  ’shallow theorem proving’ for common sense applications?
n  Many problems: black box, ambiguity, temporal information,
paraphrasing, etc..
n  Applied logic needs empirical justification
n  After all these years, work is still only starting to check this route
n  (Newer, more sophisticated work in Stanford and other places carries on
Angeli, Bowman, MacCartney, Bos, etc..)
+
Thanks!
+
References
OpenWordNet-PT: An Open Brazilian WordNet For Reasoning.
de Paiva,Valeria, Alexandre Rademaker, and Gerard de Melo. In
Proceedings of the 24th International Conference On Computational
Linguistics. http://hdl.handle.net/10438/10274.
Embedding NomLex-BR Nominalizations Into OpenWordnet-PT.
Coelho, Livy Maria Real, Alexandre Rademaker,Valeria De Paiva, and
Gerard de Melo. 2014. In Proceedings of the 7th GlobalWordNet
Conference.Tartu, Estonia.
Bridges from Language to Logic:  Concepts, Contexts and
Ontologies Valeria de Paiva (2010)
Logical and Semantic Frameworks with Applications, LSFA'10, Natal,
Brazil, 2010.
`A Basic Logic for Textual inference", AAAI Workshop on Inference for
Textual Question Answering, 2005.
``Textual Inference Logic:Take Two", CONTEXT 2007.
``Precision-focused Textual Inference", Workshop on Textual
Entailment and Paraphrasing, 2007.
PARC's Bridge and Question Answering System Proceedings of
Grammar Engineering Across Frameworks, 2007.
+
Towards a Maude Rewriting
Framework for Textual Entailment
n  Maude is an implementation of rewriting logic developed at
SRI and Illinois.
n  Maude modules (rewrite theories) consist of a term-language
plus sets of equations and rewrite-rules.Terms in rewrite theory
are constructed using operators (functions taking 0 or more
arguments of some sort, which return a term of a specific sort).
n  Hand-correct the representations given by the NLP module: goal
is not to obtain correct representations, but to work logically
with correct representations
n  Thus get an implementation of TIL, using the traditional rewriting
system Maude to reason about the logical representations
produced by the BlackBox module we are considering.
+
A Rewriting Framework
n  A rewrite theory is a triple (Σ,E,R), with (Σ,E) an equational
theory with Σ a signature of operations and sorts, and E a set
of (possibly conditional) equations, and with R a set of
(possibly conditional) rewrite rules.
n  A few logical predicates for our natural languages
representations: (sub)concepts, roles, contexts and a few
relations between these.
n  But the concepts that the representations would use in a
minimally working system in the order of 150 thousand,
concepts in WordNet.
n  Scaling issues?
+
Maude Rewriting
n  Basic rewriting sorts: Relations, SBasic and UnifSet
n  TIL basic assertions such as canary ⊑ bird belong to
Relations.
n  Concept and contextual assertions, such as
instantiable(drink-0,t) belong to the SBasic basic statements
sort.
n  The third basic sort, UnifSet, contains unification of skolem
constants, such as crow-6 := bird-1.This last sort is necessary
for for unifying skolem constants.
+
BlackBox Inference?
n  Can use Xerox’s PARC Bridge system as a black box to
produce NL representations of sentences in KIML
(Knowledge Inference Management Language).
n  KIML + inference rules = TIL (Textual Inference Logic)
n  Translate TIL formulas to a theory in Maude, the SRI
rewriting system.
n  Use Maude rewriting to prove Textual Entailment
“theorems”.

More Related Content

What's hot

Artificial intelligence and first order logic
Artificial intelligence and first order logicArtificial intelligence and first order logic
Artificial intelligence and first order logic
parsa rafiq
 
MORPHOLOGICAL SEGMENTATION WITH LSTM NEURAL NETWORKS FOR TIGRINYA
MORPHOLOGICAL SEGMENTATION WITH LSTM NEURAL NETWORKS FOR TIGRINYAMORPHOLOGICAL SEGMENTATION WITH LSTM NEURAL NETWORKS FOR TIGRINYA
MORPHOLOGICAL SEGMENTATION WITH LSTM NEURAL NETWORKS FOR TIGRINYA
ijnlc
 
Cognitive plausibility in learning algorithms
Cognitive plausibility in learning algorithmsCognitive plausibility in learning algorithms
Cognitive plausibility in learning algorithms
André Karpištšenko
 
Natural Language processing Parts of speech tagging, its classes, and how to ...
Natural Language processing Parts of speech tagging, its classes, and how to ...Natural Language processing Parts of speech tagging, its classes, and how to ...
Natural Language processing Parts of speech tagging, its classes, and how to ...
Rajnish Raj
 
ACL読み会2014@PFI "Less Grammar, More Features"
ACL読み会2014@PFI "Less Grammar, More Features"ACL読み会2014@PFI "Less Grammar, More Features"
ACL読み会2014@PFI "Less Grammar, More Features"nozyh
 
OpenWN-PT: a Brazilian Wordnet for all
OpenWN-PT: a Brazilian Wordnet for allOpenWN-PT: a Brazilian Wordnet for all
OpenWN-PT: a Brazilian Wordnet for all
Alexandre Rademaker
 
W17 5406
W17 5406W17 5406
W17 5406
bonbon93
 
Intro to NLP. Lecture 2
Intro to NLP.  Lecture 2Intro to NLP.  Lecture 2
Intro to NLP. Lecture 2
Ekaterina Chernyak
 
A Combined Approach to Part-of-Speech Tagging Using Features Extraction and H...
A Combined Approach to Part-of-Speech Tagging Using Features Extraction and H...A Combined Approach to Part-of-Speech Tagging Using Features Extraction and H...
A Combined Approach to Part-of-Speech Tagging Using Features Extraction and H...Editor IJARCET
 
Introduction to Ontology Engineering with Fluent Editor 2014
Introduction to Ontology Engineering with Fluent Editor 2014Introduction to Ontology Engineering with Fluent Editor 2014
Introduction to Ontology Engineering with Fluent Editor 2014
Cognitum
 
FUZZY LOGIC IN NARROW SENSE WITH HEDGES
FUZZY LOGIC IN NARROW SENSE WITH HEDGESFUZZY LOGIC IN NARROW SENSE WITH HEDGES
FUZZY LOGIC IN NARROW SENSE WITH HEDGES
ijcsit
 
MEBI 591C/598 – Data and Text Mining in Biomedical Informatics
MEBI 591C/598 – Data and Text Mining in Biomedical InformaticsMEBI 591C/598 – Data and Text Mining in Biomedical Informatics
MEBI 591C/598 – Data and Text Mining in Biomedical Informaticsbutest
 
AINL 2016: Yagunova
AINL 2016: YagunovaAINL 2016: Yagunova
AINL 2016: Yagunova
Lidia Pivovarova
 
Constructive Hybrid Logics
Constructive Hybrid LogicsConstructive Hybrid Logics
Constructive Hybrid LogicsValeria de Paiva
 
Neural Text Embeddings for Information Retrieval (WSDM 2017)
Neural Text Embeddings for Information Retrieval (WSDM 2017)Neural Text Embeddings for Information Retrieval (WSDM 2017)
Neural Text Embeddings for Information Retrieval (WSDM 2017)
Bhaskar Mitra
 
A general method applicable to the search for anglicisms in russian social ne...
A general method applicable to the search for anglicisms in russian social ne...A general method applicable to the search for anglicisms in russian social ne...
A general method applicable to the search for anglicisms in russian social ne...
Ilia Karpov
 
Code Mixing computationally bahut challenging hai
Code Mixing computationally bahut challenging haiCode Mixing computationally bahut challenging hai
Code Mixing computationally bahut challenging hai
IIIT Hyderabad
 
OUTDATED Text Mining 3/5: String Processing
OUTDATED Text Mining 3/5: String ProcessingOUTDATED Text Mining 3/5: String Processing
OUTDATED Text Mining 3/5: String Processing
Florian Leitner
 
Deep Content Learning in Traffic Prediction and Text Classification
Deep Content Learning in Traffic Prediction and Text ClassificationDeep Content Learning in Traffic Prediction and Text Classification
Deep Content Learning in Traffic Prediction and Text Classification
HPCC Systems
 
Introduction to word embeddings with Python
Introduction to word embeddings with PythonIntroduction to word embeddings with Python
Introduction to word embeddings with Python
Pavel Kalaidin
 

What's hot (20)

Artificial intelligence and first order logic
Artificial intelligence and first order logicArtificial intelligence and first order logic
Artificial intelligence and first order logic
 
MORPHOLOGICAL SEGMENTATION WITH LSTM NEURAL NETWORKS FOR TIGRINYA
MORPHOLOGICAL SEGMENTATION WITH LSTM NEURAL NETWORKS FOR TIGRINYAMORPHOLOGICAL SEGMENTATION WITH LSTM NEURAL NETWORKS FOR TIGRINYA
MORPHOLOGICAL SEGMENTATION WITH LSTM NEURAL NETWORKS FOR TIGRINYA
 
Cognitive plausibility in learning algorithms
Cognitive plausibility in learning algorithmsCognitive plausibility in learning algorithms
Cognitive plausibility in learning algorithms
 
Natural Language processing Parts of speech tagging, its classes, and how to ...
Natural Language processing Parts of speech tagging, its classes, and how to ...Natural Language processing Parts of speech tagging, its classes, and how to ...
Natural Language processing Parts of speech tagging, its classes, and how to ...
 
ACL読み会2014@PFI "Less Grammar, More Features"
ACL読み会2014@PFI "Less Grammar, More Features"ACL読み会2014@PFI "Less Grammar, More Features"
ACL読み会2014@PFI "Less Grammar, More Features"
 
OpenWN-PT: a Brazilian Wordnet for all
OpenWN-PT: a Brazilian Wordnet for allOpenWN-PT: a Brazilian Wordnet for all
OpenWN-PT: a Brazilian Wordnet for all
 
W17 5406
W17 5406W17 5406
W17 5406
 
Intro to NLP. Lecture 2
Intro to NLP.  Lecture 2Intro to NLP.  Lecture 2
Intro to NLP. Lecture 2
 
A Combined Approach to Part-of-Speech Tagging Using Features Extraction and H...
A Combined Approach to Part-of-Speech Tagging Using Features Extraction and H...A Combined Approach to Part-of-Speech Tagging Using Features Extraction and H...
A Combined Approach to Part-of-Speech Tagging Using Features Extraction and H...
 
Introduction to Ontology Engineering with Fluent Editor 2014
Introduction to Ontology Engineering with Fluent Editor 2014Introduction to Ontology Engineering with Fluent Editor 2014
Introduction to Ontology Engineering with Fluent Editor 2014
 
FUZZY LOGIC IN NARROW SENSE WITH HEDGES
FUZZY LOGIC IN NARROW SENSE WITH HEDGESFUZZY LOGIC IN NARROW SENSE WITH HEDGES
FUZZY LOGIC IN NARROW SENSE WITH HEDGES
 
MEBI 591C/598 – Data and Text Mining in Biomedical Informatics
MEBI 591C/598 – Data and Text Mining in Biomedical InformaticsMEBI 591C/598 – Data and Text Mining in Biomedical Informatics
MEBI 591C/598 – Data and Text Mining in Biomedical Informatics
 
AINL 2016: Yagunova
AINL 2016: YagunovaAINL 2016: Yagunova
AINL 2016: Yagunova
 
Constructive Hybrid Logics
Constructive Hybrid LogicsConstructive Hybrid Logics
Constructive Hybrid Logics
 
Neural Text Embeddings for Information Retrieval (WSDM 2017)
Neural Text Embeddings for Information Retrieval (WSDM 2017)Neural Text Embeddings for Information Retrieval (WSDM 2017)
Neural Text Embeddings for Information Retrieval (WSDM 2017)
 
A general method applicable to the search for anglicisms in russian social ne...
A general method applicable to the search for anglicisms in russian social ne...A general method applicable to the search for anglicisms in russian social ne...
A general method applicable to the search for anglicisms in russian social ne...
 
Code Mixing computationally bahut challenging hai
Code Mixing computationally bahut challenging haiCode Mixing computationally bahut challenging hai
Code Mixing computationally bahut challenging hai
 
OUTDATED Text Mining 3/5: String Processing
OUTDATED Text Mining 3/5: String ProcessingOUTDATED Text Mining 3/5: String Processing
OUTDATED Text Mining 3/5: String Processing
 
Deep Content Learning in Traffic Prediction and Text Classification
Deep Content Learning in Traffic Prediction and Text ClassificationDeep Content Learning in Traffic Prediction and Text Classification
Deep Content Learning in Traffic Prediction and Text Classification
 
Introduction to word embeddings with Python
Introduction to word embeddings with PythonIntroduction to word embeddings with Python
Introduction to word embeddings with Python
 

Similar to Lean Logic for Lean Times: Entailment and Contradiction Revisited

A Bridge Not too Far
A Bridge Not too FarA Bridge Not too Far
A Bridge Not too Far
Valeria de Paiva
 
Semiotics and conceptual modeling gv 2015
Semiotics and conceptual modeling   gv 2015Semiotics and conceptual modeling   gv 2015
Semiotics and conceptual modeling gv 2015
Guido Vetere
 
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
connectbeubax
 
First order logic
First order logicFirst order logic
First order logic
Chinmay Patel
 
Effective Semantics for Engineering NLP Systems
Effective Semantics for Engineering NLP SystemsEffective Semantics for Engineering NLP Systems
Effective Semantics for Engineering NLP Systems
Andre Freitas
 
Knowledge Extraction
Knowledge ExtractionKnowledge Extraction
Knowledge Extraction
Pierre de Lacaze
 
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
Valeria de Paiva
 
Functional and Structural Models of Commonsense Reasoning in Cognitive Archit...
Functional and Structural Models of Commonsense Reasoning in Cognitive Archit...Functional and Structural Models of Commonsense Reasoning in Cognitive Archit...
Functional and Structural Models of Commonsense Reasoning in Cognitive Archit...
Antonio Lieto
 
KR Workshop 1 - Ontologies
KR Workshop 1 - OntologiesKR Workshop 1 - Ontologies
KR Workshop 1 - OntologiesMichele Pasin
 
A Simple Introduction to Word Embeddings
A Simple Introduction to Word EmbeddingsA Simple Introduction to Word Embeddings
A Simple Introduction to Word Embeddings
Bhaskar Mitra
 
Annotations Propp S Functions
Annotations  Propp S FunctionsAnnotations  Propp S Functions
Annotations Propp S Functions
Angie Miller
 
REPORT.doc
REPORT.docREPORT.doc
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
PriyalMayurManvar
 
Lec 3.pdf
Lec 3.pdfLec 3.pdf
Lec 3.pdf
ZainabShahzad9
 
Ai lecture 09(unit03)
Ai lecture  09(unit03)Ai lecture  09(unit03)
Ai lecture 09(unit03)
vikas dhakane
 
State of NLP and Amazon Comprehend
State of NLP and Amazon ComprehendState of NLP and Amazon Comprehend
State of NLP and Amazon Comprehend
Egor Pushkin
 
Knowledge of meaning an introduction-to_semantic_theory-buku
Knowledge of meaning   an introduction-to_semantic_theory-bukuKnowledge of meaning   an introduction-to_semantic_theory-buku
Knowledge of meaning an introduction-to_semantic_theory-buku
Rossi
 
Unit-4-Knowledge-representation.pdf
Unit-4-Knowledge-representation.pdfUnit-4-Knowledge-representation.pdf
Unit-4-Knowledge-representation.pdf
HrideshSapkota2
 
Deep learning for nlp
Deep learning for nlpDeep learning for nlp
Deep learning for nlp
Viet-Trung TRAN
 

Similar to Lean Logic for Lean Times: Entailment and Contradiction Revisited (20)

A Bridge Not too Far
A Bridge Not too FarA Bridge Not too Far
A Bridge Not too Far
 
Semiotics and conceptual modeling gv 2015
Semiotics and conceptual modeling   gv 2015Semiotics and conceptual modeling   gv 2015
Semiotics and conceptual modeling gv 2015
 
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
 
First order logic
First order logicFirst order logic
First order logic
 
Effective Semantics for Engineering NLP Systems
Effective Semantics for Engineering NLP SystemsEffective Semantics for Engineering NLP Systems
Effective Semantics for Engineering NLP Systems
 
Knowledge Extraction
Knowledge ExtractionKnowledge Extraction
Knowledge Extraction
 
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
 
Functional and Structural Models of Commonsense Reasoning in Cognitive Archit...
Functional and Structural Models of Commonsense Reasoning in Cognitive Archit...Functional and Structural Models of Commonsense Reasoning in Cognitive Archit...
Functional and Structural Models of Commonsense Reasoning in Cognitive Archit...
 
KR Workshop 1 - Ontologies
KR Workshop 1 - OntologiesKR Workshop 1 - Ontologies
KR Workshop 1 - Ontologies
 
A Simple Introduction to Word Embeddings
A Simple Introduction to Word EmbeddingsA Simple Introduction to Word Embeddings
A Simple Introduction to Word Embeddings
 
Annotations Propp S Functions
Annotations  Propp S FunctionsAnnotations  Propp S Functions
Annotations Propp S Functions
 
REPORT.doc
REPORT.docREPORT.doc
REPORT.doc
 
AI Lesson 11
AI Lesson 11AI Lesson 11
AI Lesson 11
 
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
 
Lec 3.pdf
Lec 3.pdfLec 3.pdf
Lec 3.pdf
 
Ai lecture 09(unit03)
Ai lecture  09(unit03)Ai lecture  09(unit03)
Ai lecture 09(unit03)
 
State of NLP and Amazon Comprehend
State of NLP and Amazon ComprehendState of NLP and Amazon Comprehend
State of NLP and Amazon Comprehend
 
Knowledge of meaning an introduction-to_semantic_theory-buku
Knowledge of meaning   an introduction-to_semantic_theory-bukuKnowledge of meaning   an introduction-to_semantic_theory-buku
Knowledge of meaning an introduction-to_semantic_theory-buku
 
Unit-4-Knowledge-representation.pdf
Unit-4-Knowledge-representation.pdfUnit-4-Knowledge-representation.pdf
Unit-4-Knowledge-representation.pdf
 
Deep learning for nlp
Deep learning for nlpDeep learning for nlp
Deep learning for nlp
 

More from Valeria de Paiva

Dialectica Comonoids
Dialectica ComonoidsDialectica Comonoids
Dialectica Comonoids
Valeria de Paiva
 
Dialectica Categorical Constructions
Dialectica Categorical ConstructionsDialectica Categorical Constructions
Dialectica Categorical Constructions
Valeria de Paiva
 
Logic & Representation 2021
Logic & Representation 2021Logic & Representation 2021
Logic & Representation 2021
Valeria de Paiva
 
Constructive Modal and Linear Logics
Constructive Modal and Linear LogicsConstructive Modal and Linear Logics
Constructive Modal and Linear Logics
Valeria de Paiva
 
Dialectica Categories Revisited
Dialectica Categories RevisitedDialectica Categories Revisited
Dialectica Categories Revisited
Valeria de Paiva
 
PLN para Tod@s
PLN para Tod@sPLN para Tod@s
PLN para Tod@s
Valeria 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 Science
Valeria 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 role
Valeria de Paiva
 
Problemas de Kolmogorov-Veloso
Problemas de Kolmogorov-VelosoProblemas de Kolmogorov-Veloso
Problemas de Kolmogorov-Veloso
Valeria 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 Machines
Valeria de Paiva
 
Dialectica Petri Nets
Dialectica Petri NetsDialectica Petri Nets
Dialectica Petri Nets
Valeria 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 Portuguese
Valeria de Paiva
 
Negation in the Ecumenical System
Negation in the Ecumenical SystemNegation in the Ecumenical System
Negation in the Ecumenical System
Valeria de Paiva
 
Constructive Modal and Linear Logics
Constructive Modal and Linear LogicsConstructive Modal and Linear Logics
Constructive Modal and Linear Logics
Valeria 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 ACT
Valeria de Paiva
 
NLCS 2013 opening slides
NLCS 2013 opening slidesNLCS 2013 opening slides
NLCS 2013 opening slides
Valeria de Paiva
 
Dialectica Comonads
Dialectica ComonadsDialectica Comonads
Dialectica Comonads
Valeria de Paiva
 
Categorical Explicit Substitutions
Categorical Explicit SubstitutionsCategorical Explicit Substitutions
Categorical Explicit Substitutions
Valeria de Paiva
 
Logic and Probabilistic Methods for Dialog
Logic and Probabilistic Methods for DialogLogic and Probabilistic Methods for Dialog
Logic and Probabilistic Methods for Dialog
Valeria de Paiva
 
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)
Valeria de Paiva
 

More from 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)
 

Recently uploaded

1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
kimdan468
 
The Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptxThe Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptx
DhatriParmar
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
Mohammed Sikander
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
Chapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdfChapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdf
Kartik Tiwari
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
chanes7
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
Marketing internship report file for MBA
Marketing internship report file for MBAMarketing internship report file for MBA
Marketing internship report file for MBA
gb193092
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 

Recently uploaded (20)

1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
 
The Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptxThe Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptx
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
Chapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdfChapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdf
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
Marketing internship report file for MBA
Marketing internship report file for MBAMarketing internship report file for MBA
Marketing internship report file for MBA
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 

Lean Logic for Lean Times: Entailment and Contradiction Revisited

  • 1. + Lean Logic for Lean Times: Entailment and Contradiction Revisited Valeria de Paiva Nuance Communications, NL and AI Lab, Sunnyvale, CA
  • 2. + Nuance Comms, AI and NL Lab, Sunnyvale, CA
  • 3. + Ron Kaplan “Beyond the GUI: It’s Time for a Conversational User Interface”,Wired 2013
  • 4. + The Future is Meaning… The difficulty is to decide how to get there CAVEAT EMPTOR
  • 5. + Not so recent past…
  • 6. + PARC’s Bridge System (2000-2008 for me)
  • 7. + PARC’s Bridge System (2000-2008) F-structure semantics KR Parsing KR Mapping Inference EnginesText Sources Question Assertions Query Grammar Stanford Parser? Textual Inference logics Term rewriting OpenWN-PT SUMO-PT KR mapping rules
  • 11. + Goals in 2010: a bridge Improve Lexical Resources and Inferential Systems to work with Logic coming from free form text.
  • 12. + Goals in 2010: a bridge Preprocessing Grammatical features Linguistic semantics logic Automatic theorem Prover/system
  • 13. + Reality Check… n  Pre-processing is MOST of the processing! n  XLE research license, but hard to use, hard to modify, hard to understand decades of code. Besides, need several lexicons that DO NOT exist openly or for Portuguese, notably WordNet. n  Spent the next four years working on OpenWordNet- PT. n  Google Translate, Open MultiLingual Wordnet, BabelNet, FreeLing use our Portuguese wordnet. n  There are several open toolkits that could be used for the processing needed. More usable, more community, less expertise required: StanfordNLP OpenNLP NLTK FreeLing (English and Spanish…)
  • 14. + Reasoning/Inference n  Which kind? n  Textual entailment methods recognize, generate, and extract pairs ⟨T,H⟩ of natural language expressions, such that a human who reads (and trusts) T would infer that H is most likely also true (Dagan, Glickman & Magnini, 2006) n  Example: (T) The drugs that slow down Alzheimer’s disease work best the earlier you administer them. (H) Alzheimer’s disease can be slowed down using drugs. T⇒H n  A series of competitions since 2004, ACL “Textual Entailment Portal”, many different systems...
  • 15. + Bridge:Text to Logic Preprocessing Grammatical features Linguistic semantics Linguistics BlackBox Cyc UL+ECD KIML+Maude …
  • 16. + Model Theoretic and Proof Theoretic semantics n  Introductory courses on semantics for natural languages talk about creating representations for the sentences in a logical formalism (the logical forms) and uncovering truth conditions for these translated sentences. n  This is Model Theoretic semantics n  An alternative view, the proof-theoretic paradigm of semantics claims that the most basic criterion is to establish when sentences follow from others, when they are consistent with each other, when they contradict each other. In short their entailment behavior. (cf. Nissim Francez) n  Relations of entailment and contradiction are the key data of semantics, as traditionally viewed as a branch of linguistics. The ability to recognize such semantic relations is clearly not a sufficient criterion for language understanding: there is more than just being able to tell that one sentence follows from another. But we would argue that it is a minimal, necessary criterion. n  Hence Lean Logic
  • 18. + Logical languages? n  Assuming you believe that text can be transformed coherently and in a principled fashion into logical formulas… n  There are still many design choices to make: n  Which logical language? FOL vs. HOL, modal or not, DRT, lambda- calculus or not? n  Which logical system? n  Logical language and logical system tend to get confused, but there are many logical systems that use the same language, FOL, for instance. n  The same logical system, say IPL, intuitionistic propositional logic can be represented using many languages e.g. axioms, sequents, Natural Deduction, etc.
  • 19. + Knowledge Inference Management Language (KIML) n  A representation language based on events, concepts, roles and contexts, McCarthy-style n  Using events, concepts and roles is traditional in NL semantics (Lasersohn) n  Usually equivalent to FOL (first-order logic), ours a small extension, contexts are like modalities. Language based on PARC linguists’ intuitions n  Exact formulation of system still being decided: e.g. not considering temporal assertions, yet... n  (used to call both language and logic AKR, abstract knowledge representation)
  • 20. + Example: a crow slept Conceptual Structure: role(cardinality restriction,crow-1,sg) role(sb,sleep-4,crow-1) subconcept(crow-1, [crow#n#1,crow#n#2,brag#n#1]) subconcept(sleep-4,[sleep#v#1,sleep#v#2]) Contextual Structure: instantiable(crow-1,t) instantiable(sleep-4,t) top context(t) Temporal Structure: trole(when,sleep-4,interval(before,Now))
  • 21. + KIML versus FOL n  In FOL write ∃Crow∃Sleep.Sleep(crow) Instead we will use basic concepts from a parameter ontology O n  O (can be Cyc, SUMO, UL,WN, DBPedia, Freebase, etc...) n  Instead of FOL predicates have Skolem constants crow-1 a subconcept of an ambiguous list of concepts: subconcept(crow-1,[crow#n#1,crow#n#2,brag#n#1]) n  Same for sleep-2 and have roles relating concepts role(sb,sleep-4,crow-1) meaning that the sb=subject of the sleeping event is a crow concept
  • 22. + What is Different? n Corresponding to formulas in FOL, KIML has a collection of assertions that, read conjunctively, correspond to the semantics of (fragments of) sentences in English. n Concepts in KIML – similar to Description Logic concepts primitive concepts from an idealized version of the chosen n Ontology on-the-fly concepts, always sub-concepts of some primitive concept. concepts are as fine or as coarse as needed by the application n Roles connect concepts: deciding which roles with which concepts a big problem... for linguists n Roles assigned in a consistent, coherent and maximally informative way by the NLP module
  • 23. + Contexts for Quantification n  Contexts for modelling negation, implication, as well as propositional attitudes and other intensional phenomena. (Similar to modal DRT) n  There is a first initial context (written as t), roughly what the author of the sentence takes the world to be. n  Contexts used for making existential statements about the existence and non-existence in specified possible worlds of entities that satisfy the intensional descriptions specified by our concepts. n  Propositional attitudes predicates (knowing, believing, saying,...) relate contexts and concepts in our logic. n  Concepts like knowing, believing, saying introduce context that represents the proposition that is known, believed or said.
  • 24. + Ed knows that the crow slept alias(Ed-0,[Ed]) role(prop,know-1,ctx(sleep-8)) role(sb,know-1,Ed-0) role(sb,sleep-8,crow-6) subconcept(Ed-0,[male#n#2]) subconcept(crow-6, [crow#n#1,crow#n#2,brag#n#1]) subconcept(know-1,[know#v#1,...,sleep- together#v#1]) subconcept(sleep-8, [sleep#v#1,sleep#v#2]) context(ctx(sleep-8)), context(t) context-lifting- relation(veridical,t,ctx(sleep-8)) context- relation(t,ctx(sleep-8),crel(prop,know-1)) instantiable(Ed-0,t) instantiable(crow-6,ctx(sleep-8)) instantiable(sleep-8,ctx(sleep-8))
  • 25. + Inference to build reps and to reason with them n  In previous example can conclude: instantiable(sleep-8,t) if knowing X implies X is true. (Can conclude instantiable(crow-6,t) too, for definitiveness reasons..) n  Happening or not of events is dealt with by the instantiability/ uninstantiability predicate that relates concepts and contexts e.g. Negotiations prevented a strike n  Contexts can be: veridical, antiveridical or averidical with respect to other contexts. n  Have ‘context lifting rules’ to move instantiability assertions between contexts. (MacCarthy style) n  Want to describe the logic system making these rules work. HOW?
  • 26. + Applied logician’s job as a puzzle n  When modeling a system as a logic you can start from the implemented system… n  Or you can start from a logic that looks similar to the system, that could be a good fit for it. n  Hopefully the two lines of attack converge, eventually
  • 27. + From implemented system to Logic n  A Basic Logic for Textual inference (with D. Bobrow, C. Condoravdi, R. Crouch, R. Kaplan, L. Karttunen,T. King and A. Zaenen), AAAI Workshop on Inference for Textual Question Answering, Pittsburgh PA, July 2005. n  Textual Inference Logic:Take Two, (with D. G. Bobrow, C. Condoravdi, R. Crouch,  L. Karttunen,T. H. King, R. Nairn and A. Zaenen) Workshop on Contexts and Ontologies,Representation and Reasoning, CONTEXT 2007. n  Bridges from Language to Logic: Concepts, Contexts and Ontologies (V. de Paiva) in 5th LSFA'10, Natal, Brazil, 2010. n  Contexts for Quantification,Valeria de Paiva, in Proceedings of CommonSense2013 n  Similar to a Natural Logic extension? Dowty199:4 `studying deductive systems which approximate the class of common linguistic inferences to some interesting degree or in some interesting way’ n  Moss, Icard, Djalali and Pratt-Hartmann: maybe we can augment/bend “Syllogystic inference”
  • 28. + Problems n  System changes under your feet n  Writing documentation is boring n  Specs don’t need to be complete, logical systems do n  Big system, big representations, hard to know what it should do n  Layers of tangled code, personal incompetence n  Mostly: Proprietary code goes away, logic is for all
  • 29. + From Logics to Systems n  Easier and more rewarding. Other people can find other applications for the systems you’ve developed. n  Natural Deduction and Context as (Constructive) Modality. Proceedings of the 4th CONTEXT 2003, Stanford n  Constructive CK for Contexts (with Michael Mendler),Worskhop on Context Representation and Reasoning, Paris, France, July 2005. n  (Towards) Constructive Hybrid Logic (with T. Brauner), Methods for Modalities 3, LORIA, Nancy, France, September, 2003.(2006) n  Constructive Description Logics: what, why and how.  Context Rep and Reasoning, Riva del Garda, 2006. n  Constructive Description Logics Hybrid-Style.(with Rademaker, Hauesler) Electr. Notes Theor. Comput. Sci. 273: 21-31 (2011) n  Contextual Constructive Description Logics (with Natasha Alechina), preprint
  • 30. + TODAY:Textual Entailment and Connexive Logic n  Connexive logic is motivated by ideas of coherence or ‘connection’ between premises and conclusions of valid inferences. n  No, I had never heard of it till very recently. Wansing has an updated entry (2014) in SEP about it n  I’ve known about Relevant Logic for a while. Even had a phd student trying to produce categorical models for it. n  But I used to be a purist.Wanted beautiful proof theory and clean, principled logic systems. More pragmatic now. n  Can do a relevant lambda-calculus, λI-calculus easily
  • 31. + Implicational Relevant Logic Can we use this to prove “theorem” like the ones next?
  • 32. + Experimental Results: a few `theorems’ n  1. a crow was thirsty ⊢ a thirsty crow n  2. a thirsty crow ⊢ a crow n  3. ed arrived and the crow flew away ⊢ the crow flew away n  4. ed knew that the crow slept ⊢ the crow slept n  5. ed did not forget to force the crow to fly ⊢ the crow flew n  6 the crow came out in search of water ⊢ the crow came out n  7. a crow was thirsty ⊢ a bird was thirsty Maude implementation of Entailment and Contradiction, with Vivek Nigam LSFA 2014
  • 35. +
  • 36. + Within Contexts n  MacCartney and Manning’s Relations
  • 37. + Within Contexts n  A constructive version of Djalali’s Synthetic Logic
  • 39. + Unprincipled hack? n  Perhaps. But I’m not the first one to do it. Generalized Syllogistic Inference System based on Inclusion and Exclusion Relations Koji Mineshima, Mitsuhiro Okada, and Ryo Takemura Department of Philosophy, Keio University. 2010
  • 40. + Implicative Commitment Rules n  Preserving polarity: “Ed managed to close the door” → “Ed closed the door” “Ed didn’t manage to close the door” → “Ed didn’t close the door”. n  The verb “forget (to)” inverts polarities: “Ed forgot to close the door” → “Ed didn’t close the door” “Ed didn’t forget to close the door” → “Ed closed the door”. n  There are six such classes, depending on whether positive environments are taken to positive or negative ones. ( Nairn, Condoravdi and Kartunnen 2006) n  Accommodating this fine-grained analysis into traditional logic description is further work. (Nairn et al 2006 presents an implemented recursive algorithm for composing these rules)
  • 41. + Contexts as Modalities again Need more typing here. Criteria for success?
  • 42. + Conclusions n  Proof-of-concept framework n  KIML assertions and TIL inference system for textual entailment n  Relevant intuitionistic modal logic for ECD n  A framework can be implemented in Maude and used to prove in an semi-automated fashion whether a sentence follows from another (LSFA2014) n  ’shallow theorem proving’ for common sense applications? n  Many problems: black box, ambiguity, temporal information, paraphrasing, etc.. n  Applied logic needs empirical justification n  After all these years, work is still only starting to check this route n  (Newer, more sophisticated work in Stanford and other places carries on Angeli, Bowman, MacCartney, Bos, etc..)
  • 44. + References OpenWordNet-PT: An Open Brazilian WordNet For Reasoning. de Paiva,Valeria, Alexandre Rademaker, and Gerard de Melo. In Proceedings of the 24th International Conference On Computational Linguistics. http://hdl.handle.net/10438/10274. Embedding NomLex-BR Nominalizations Into OpenWordnet-PT. Coelho, Livy Maria Real, Alexandre Rademaker,Valeria De Paiva, and Gerard de Melo. 2014. In Proceedings of the 7th GlobalWordNet Conference.Tartu, Estonia. Bridges from Language to Logic:  Concepts, Contexts and Ontologies Valeria de Paiva (2010) Logical and Semantic Frameworks with Applications, LSFA'10, Natal, Brazil, 2010. `A Basic Logic for Textual inference", AAAI Workshop on Inference for Textual Question Answering, 2005. ``Textual Inference Logic:Take Two", CONTEXT 2007. ``Precision-focused Textual Inference", Workshop on Textual Entailment and Paraphrasing, 2007. PARC's Bridge and Question Answering System Proceedings of Grammar Engineering Across Frameworks, 2007.
  • 45. + Towards a Maude Rewriting Framework for Textual Entailment n  Maude is an implementation of rewriting logic developed at SRI and Illinois. n  Maude modules (rewrite theories) consist of a term-language plus sets of equations and rewrite-rules.Terms in rewrite theory are constructed using operators (functions taking 0 or more arguments of some sort, which return a term of a specific sort). n  Hand-correct the representations given by the NLP module: goal is not to obtain correct representations, but to work logically with correct representations n  Thus get an implementation of TIL, using the traditional rewriting system Maude to reason about the logical representations produced by the BlackBox module we are considering.
  • 46. + A Rewriting Framework n  A rewrite theory is a triple (Σ,E,R), with (Σ,E) an equational theory with Σ a signature of operations and sorts, and E a set of (possibly conditional) equations, and with R a set of (possibly conditional) rewrite rules. n  A few logical predicates for our natural languages representations: (sub)concepts, roles, contexts and a few relations between these. n  But the concepts that the representations would use in a minimally working system in the order of 150 thousand, concepts in WordNet. n  Scaling issues?
  • 47. + Maude Rewriting n  Basic rewriting sorts: Relations, SBasic and UnifSet n  TIL basic assertions such as canary ⊑ bird belong to Relations. n  Concept and contextual assertions, such as instantiable(drink-0,t) belong to the SBasic basic statements sort. n  The third basic sort, UnifSet, contains unification of skolem constants, such as crow-6 := bird-1.This last sort is necessary for for unifying skolem constants.
  • 48. + BlackBox Inference? n  Can use Xerox’s PARC Bridge system as a black box to produce NL representations of sentences in KIML (Knowledge Inference Management Language). n  KIML + inference rules = TIL (Textual Inference Logic) n  Translate TIL formulas to a theory in Maude, the SRI rewriting system. n  Use Maude rewriting to prove Textual Entailment “theorems”.