Low-dimensional Embeddings of Logic aschel, 1 Matko Bosnjak, 1 Sameer Singh 2 and Sebastian Riedel 1 Tim Rockt¨ 1 University College London 2 University of Washington Machine Reading ACL 2014 Workshop on Semantic Parsing 26th June 2014
Motivation Rockt¨ aschel et al. Low-dimensional Embeddings of Logic 1/7
Motivation Machine Reading and Reasoning Rockt¨ aschel et al. Low-dimensional Embeddings of Logic 1/7
Motivation Machine Reading and Reasoning “Colugos are arboreal gliding mammals that are found in Southeast Asia.” mammal ( Colugo ) Rockt¨ aschel et al. Low-dimensional Embeddings of Logic 1/7
Motivation Machine Reading and Reasoning “Colugos are arboreal gliding mammals that are found in Southeast Asia.” mammal ( Colugo ) “All mammals are endothermic.” ∀ x : mammal ( x ) ⇒ endothermic ( x ) Rockt¨ aschel et al. Low-dimensional Embeddings of Logic 1/7
Motivation Machine Reading and Reasoning “Colugos are arboreal gliding mammals that are found in Southeast Asia.” mammal ( Colugo ) “All mammals are endothermic.” ∀ x : mammal ( x ) ⇒ endothermic ( x ) Reasoning... endothermic ( Colugo ) Rockt¨ aschel et al. Low-dimensional Embeddings of Logic 1/7
Motivation Machine Reading and Reasoning “Colugos are arboreal gliding mammals that are found in Southeast Asia.” mammal ( Colugo ) “All mammals are endothermic.” ∀ x : mammal ( x ) ⇒ endothermic ( x ) Reasoning... endothermic ( Colugo ) I wish I had a distributed model... Mammal Endothermic Colugo Rockt¨ aschel et al. Low-dimensional Embeddings of Logic 1/7
Motivation Machine Reading and Reasoning Debugging Distributed Representations “Colugos are arboreal gliding mammals that are found in Southeast Asia.” mammal ( Colugo ) “All mammals are endothermic.” ∀ x : mammal ( x ) ⇒ endothermic ( x ) Reasoning... endothermic ( Colugo ) I wish I had a distributed model... Mammal Endothermic Colugo Rockt¨ aschel et al. Low-dimensional Embeddings of Logic 1/7
Motivation Machine Reading and Reasoning Debugging Distributed Representations “Colugos are arboreal gliding Endothermic mammals that are found in Colugo Mammal Southeast Asia.” Kagu Ectothermic mammal ( Colugo ) HasFeathers “All mammals are endothermic.” ∀ x : mammal ( x ) ⇒ endothermic ( x ) Reasoning... endothermic ( Colugo ) I wish I had a distributed model... Mammal Endothermic Colugo Rockt¨ aschel et al. Low-dimensional Embeddings of Logic 1/7
Motivation Machine Reading and Reasoning Debugging Distributed Representations “Colugos are arboreal gliding Endothermic mammals that are found in Colugo Mammal Southeast Asia.” Kagu Ectothermic mammal ( Colugo ) HasFeathers “All mammals are endothermic.” Wrong Predictions ∀ x : mammal ( x ) ⇒ endothermic ( x ) mammal ( Kagu ) Reasoning... ectothermic ( Colugo ) endothermic ( Colugo ) I wish I had a distributed model... Mammal Endothermic Colugo Rockt¨ aschel et al. Low-dimensional Embeddings of Logic 1/7
Motivation Machine Reading and Reasoning Debugging Distributed Representations “Colugos are arboreal gliding Endothermic mammals that are found in Colugo Mammal Southeast Asia.” Kagu Ectothermic mammal ( Colugo ) HasFeathers “All mammals are endothermic.” Wrong Predictions ∀ x : mammal ( x ) ⇒ endothermic ( x ) mammal ( Kagu ) Reasoning... ectothermic ( Colugo ) endothermic ( Colugo ) I wish I had a distributed model... I wish I could fix this with... ∀ x : hasFeathers ( x ) ⇒ ¬ mammal ( x ) Mammal Endothermic ∀ x : animal ( x ) ⇒ Colugo endothermic ( x ) ⊕ ectothermic ( x ) Rockt¨ aschel et al. Low-dimensional Embeddings of Logic 1/7
Information Extraction Evidence DB Rockt¨ aschel et al. Low-dimensional Embeddings of Logic 2/7
Information Extraction Logic Evidence Relation Extraction mammal(Colugo), ∀ x : mammal( x ) ⇒ mammal(Tapir), endothermic( x ) endothermic(Colugo), DB Rockt¨ aschel et al. Low-dimensional Embeddings of Logic 2/7
Information Extraction Logic Evidence Discourse Representation Theory or Semantic Parsing Relation Extraction mammal(Colugo), ∀ x : mammal( x ) ⇒ mammal(Tapir), endothermic( x ) endothermic(Colugo), DB Rockt¨ aschel et al. Low-dimensional Embeddings of Logic 2/7
Information Extraction Logic Evidence Discourse Representation Theory or Semantic Parsing Relation Extraction mammal(Colugo), ∀ x : mammal( x ) ⇒ mammal(Tapir), endothermic( x ) endothermic(Colugo), DB Background Knowledge Rockt¨ aschel et al. Low-dimensional Embeddings of Logic 2/7
Logical Inference Logic Evidence Discourse Representation Theory or Semantic Parsing Relation Extraction mammal(Colugo), ∀ x : mammal( x ) ⇒ mammal(Tapir), endothermic( x ) endothermic(Colugo), DB Logical Inference Background · · · Knowledge Baader et al. (2007) Bos (2008) · · · endothermic(Tapir) Rockt¨ aschel et al. Low-dimensional Embeddings of Logic 2/7
Logical Inference Logic Evidence Discourse Representation Theory or Semantic Parsing Relation Extraction mammal(Colugo), ∀ x : mammal( x ) ⇒ mammal(Tapir), endothermic( x ) endothermic(Colugo), weight 0.53 DB Logical Inference Background · · · Knowledge Baader et al. (2007) Bos (2008) · · · Garrette et al. (2011) Beltagy et al. (2013) endothermic(Tapir) Rockt¨ aschel et al. Low-dimensional Embeddings of Logic 2/7
Inference via Distributed Representations Logic Distributed Representations Evidence Bordes et al. (2011), Nickel et al. (2012), Socher et al. (2013) Relation Tapir Extraction mammal(Colugo), ∀ x : mammal( x ) ⇒ mammal mammal(Tapir), endothermic( x ) endothermic(Colugo), Colguo endothermic DB Logical Inference Background · · · Knowledge Baader et al. (2007) Bos (2008) · · · Garrette et al. (2011) Beltagy et al. (2013) endothermic(Tapir) Rockt¨ aschel et al. Low-dimensional Embeddings of Logic 2/7
Inference via Distributed Representations Logic Distributed Representations Evidence Bordes et al. (2011), Nickel et al. (2012), Socher et al. (2013), Riedel et al. (2013) OpenIE Tapir mammal(Colugo), ∀ x : mammal( x ) ⇒ mammal mammal(Tapir), endothermic( x ) endothermic(Colugo), Colguo “Colugos, gliding endothermic mammals. . . “ DB Logical Inference Background · · · Knowledge Baader et al. (2007) Bos (2008) · · · Garrette et al. (2011) Beltagy et al. (2013) endothermic(Tapir) Rockt¨ aschel et al. Low-dimensional Embeddings of Logic 2/7
Inference via Distributed Representations Logic Distributed Representations Evidence Bordes et al. (2011), Nickel et al. (2012), Socher et al. (2013), Riedel et al. (2013) OpenIE Tapir mammal(Colugo), ∀ x : mammal( x ) ⇒ mammal mammal(Tapir), endothermic( x ) endothermic(Colugo), Colguo “Colugos, gliding endothermic mammals. . . “ DB Logical Inference Background Algebra · · · Knowledge Baader et al. (2007) Bos (2008) · · · Garrette et al. (2011) Beltagy et al. (2013) True endothermic(Tapir) endothermic(Tapir) False Rockt¨ aschel et al. Low-dimensional Embeddings of Logic 2/7
Distributed Representations that Simulate First-order Logical Reasoning Logic Distributed Representations Evidence Bordes et al. (2011), Nickel et al. (2012), Socher et al. (2013), Riedel et al. (2013) This Work OpenIE Tapir mammal(Colugo), ∀ x : mammal( x ) ⇒ mammal mammal(Tapir), endothermic( x ) endothermic(Colugo), Colguo “Colugos, gliding endothermic mammals. . . “ DB Logical Inference Background Algebra · · · Knowledge Baader et al. (2007) Bos (2008) · · · Garrette et al. (2011) Beltagy et al. (2013) True endothermic(Tapir) endothermic(Tapir) False Rockt¨ aschel et al. Low-dimensional Embeddings of Logic 2/7
Distributed Representations that Simulate First-order Logical Reasoning Logic Distributed Representations Evidence Bordes et al. (2011), Nickel et al. (2012), Socher et al. (2013), Riedel et al. (2013) This Work OpenIE mammal mammal(Colugo), ∀ x : mammal( x ) ⇒ mammal(Tapir), endothermic( x ) Colugo endothermic(Colugo), Tapir “Colugos, gliding endothermic mammals. . . “ DB Logical Inference Background Algebra · · · Knowledge Baader et al. (2007) Bos (2008) · · · Garrette et al. (2011) Beltagy et al. (2013) True endothermic(Tapir) endothermic(Tapir) False Rockt¨ aschel et al. Low-dimensional Embeddings of Logic 2/7
Distributed Representations that Simulate First-order Logical Reasoning Logic Distributed Representations Evidence Bordes et al. (2011), Nickel et al. (2012), Socher et al. (2013), Riedel et al. (2013) This Work OpenIE mammal mammal(Colugo), ∀ x : mammal( x ) ⇒ mammal(Tapir), endothermic( x ) Colugo endothermic(Colugo), Tapir “Colugos, gliding endothermic mammals. . . “ DB Logical Inference Background Algebra · · · Knowledge Baader et al. (2007) Bos (2008) · · · Garrette et al. (2011) Beltagy et al. (2013) True endothermic(Tapir) endothermic(Tapir) False Rockt¨ aschel et al. Low-dimensional Embeddings of Logic 2/7
Propositional Logic Logic Logical Tensor Calculus (Grefenstette, 2013) � 1 � 0 � � [true]; [false] ; 0 1
Recommend
More recommend