machine reasoning a
play

MACHINE REASONING: A PERSPECTIVE AND POSSIBILITY Aik Beng NG, - PowerPoint PPT Presentation

MACHINE REASONING: A PERSPECTIVE AND POSSIBILITY Aik Beng NG, Zhangsheng LAI, Mar 18 AI EXCEEDING HUMAN PERFORMANCE Timeline Estimates for AI Achieving Human Performance [1] Years from 2016 [1] Grace et al. When Will AI Exceed Human


  1. MACHINE REASONING: A PERSPECTIVE AND POSSIBILITY Aik Beng NG, Zhangsheng LAI, Mar 18

  2. AI EXCEEDING HUMAN PERFORMANCE Timeline Estimates for AI Achieving Human Performance [1] Years from 2016 [1] Grace et al. “ When Will AI Exceed Human Performance? Evidence from AI Experts ” Journal of Artificial Intelligence Research 62, 2018, 729-754 2

  3. AI EXCEEDING HUMAN PERFORMANCE Timeline Estimates for AI Achieving Human Performance [1] Years from 2016 [1] Grace et al. “ When Will AI Exceed Human Performance? Evidence from AI Experts ” Journal of Artificial Intelligence Research 62, 2018, 729-754 3

  4. WHERE ARE WE TODAY? Image Recognition [2] Face Recognition [3] Starcraft II [4] Cancer Detection [5] Lip Reading [6] [2] He et al. “ Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classification ” . ICCV '15 Proceedings of the 2015 IEEE International Conference on Computer Vision (ICCV), 2015, Pages 1026-1034 [3] Chaochao Lu and Xiaoou Tang. “ Surpassing Human-Level Face Verification Performance on LFW with GaussianFace ” . AAAI'15 Proceedings of the Twenty-Ninth AAAI Conference on Artificial Intelligence, 2015, Pages 3811-3819 [4] The Challenge of StarCraft, DeepMind 4 [5] Liu et al. “ Artificial Intelligence – Based Breast Cancer Nodal Metastasis Detection ” . Archives of Pathology & Laboratory Medicine In-Press., 2018 [6] Assael et al. “ LipNet: End-to-End Sentence-level Lipreading ” . arXiv:1611.01599v2 [cs.LG], 2016

  5. AI-ENABLED RECOGNITION Significant AI ability underlying many AI successes “to identify something from prior knowledge” Re cognition 5

  6. AI-ENABLED RECOGNITION Significant AI ability underlying many AI successes “to identify something from prior knowledge” Re cognition “again”, “once more” “understand through thought, experience, senses”, “to acquire knowledge” 6

  7. AI-ENABLED RECOGNITION Significant AI ability underlying many AI successes “to identify something from prior knowledge” Re cognition 7

  8. AI-ENABLED RECOGNITION Significant AI ability underlying many AI successes Re cognition 8

  9. AI-ENABLED RECOGNITION Significant AI ability underlying many AI successes Re cognition “again”, “once more” “understand through thought, experience, senses”, “to acquire knowledge” 9

  10. AI-ENABLED RECOGNITION Significant AI ability underlying many AI successes “to identify something from prior knowledge” Re cognition “again”, “once more” “understand through thought, experience, senses”, “to acquire knowledge” 10

  11. REASONING. A KEY ASPECT OF COGNITION “A plausible definition of ‘reasoning’ could be ‘algebraically manipulating previously acquired knowledge in order to answer a new question’.” [7] [7] Leon Bottou. “ From machine learning to machine reasoning ” . Machine Learning Volume 94 Issue 2, 2004, Pages 133-149 11

  12. SIMPLE NEURAL NETWORK MODULE FOR RELATIONAL REASONING [8] Reasoning about relations between “objects” 𝑃 Set of sentences LSTM 𝑕 𝜄 (𝑝 𝑗 , 𝑝 𝑘 , 𝑟) (supporting facts) (sentence processing) 𝑕 𝜄 (𝑝 𝑗 , 𝑝 𝑘 , 𝑟) Σ 𝑔 𝜚 (𝑝 𝑗 , 𝑝 𝑘 , 𝑟) Answer 𝑕 𝜄 (𝑝 𝑗 , 𝑝 𝑘 , 𝑟) Relation Network (RN) 𝑟 LSTM Question (question embedding) 𝑆𝑂 𝑃 = 𝑔 ෍ 𝑕 𝜄 (𝑝 𝑗 , 𝑝 𝑘 , 𝑟) 𝜚 𝑗,𝑘 𝑥ℎ𝑓𝑠𝑓 𝑗𝑜𝑞𝑣𝑢 𝑗𝑡 𝑡𝑓𝑢 𝑝𝑔 objects 𝑃 = 𝑝 1 , 𝑝 2 , … , 𝑝 𝑜 𝑏𝑜𝑒 𝑟𝑣𝑓𝑡𝑢𝑗𝑝𝑜 𝑓𝑛𝑐𝑓𝑒𝑒𝑗𝑜𝑕 𝑟 𝑏𝑜𝑒 𝑔 𝜚 𝑏𝑜𝑒𝑕 𝜄 𝑏𝑠𝑓 𝑁𝑀𝑄𝑡 [8] Adam Santoro, David Raposo, David G. Barrett, Mateusz Malinowski, Razvan Pascanu, Peter Battaglia, and Tim Lillicrap. "A simple neural network module for relational reasoning." In Advances in neural information processing systems, pp. 4974-4983, 2017. 12

  13. ADVANCING REASONING Theory of 2 distinct types of reasoning [9] has long existed “Fast and intuitionistic thinking” System 1 Rapid, automatic, unconscious. • • Involves prior knowledge, beliefs, heuristics. (also known as Type 1) • Instinctive behaviours innately programmed. “Slow and deliberate thinking” Slow, sequential, conscious. • System 2 Capable of abstract and hypothetical thinking. • (also known as Type 2) • Support decisions by constructing mental models or simulations of future possibilities. Designed by Freepik [9] Jonathan St. B.T. Evans. "In two minds: dual-process accounts of reasoning “ . Trends in cognitive sciences 7, no. 10, 2003, 454-459 13

  14. CONSIDER THIS: 𝟐 𝟑 𝟓 ∙ 𝟓 𝟒 𝟐 = ? 𝟒 𝟑 14

  15. CONSIDER THIS: 𝟐 𝟑 𝟓 ∙ 𝟓 𝟒 𝟐 = 𝟓 𝟒 𝟑 𝟓 “Fast and intuitionistic thinking” “Slow and deliberate thinking” Math problem, specifically matrix Enters into analytical thinking. • • operations. • Performs precise steps to derive • Multiplication and addition. answer. Approximate sense of values • within the resulting matrix. 15

  16. CONSIDER THIS: X 𝟐 𝟑 𝟓 ∙ 𝟓 𝟒 𝟐 = 𝟓 𝟗 𝟔 𝟒 𝟑 𝟓 𝟑𝟏 𝟐𝟒 “Fast and intuitionistic thinking” “Slow and deliberate thinking” Math problem, specifically matrix Enters into analytical thinking. • • operations. • Performs precise steps to derive • Multiplication and addition. answer. Approximate sense of values • within the resulting matrix. • 2 x 2 resulting matrix! 16

  17. “A plausible definition of ‘reasoning’ could be ‘algebraically manipulating previously acquired knowledge in order to answer a new question’.” [7] Natural Representations Modular and Composable Constructive 17

  18. TYPE THEORY It all begin from Russell’s Paradox Type theory is a branch of mathematical symbolic logic that formalizes the idea that each term if of some definitive type . We write 𝑏 ∶ 𝐵 which can be interpreted in two ways: The term 𝑏 is of type 𝐵 • 𝑏 is a proof of proposition 𝐵 • Lemma simple : forall (n : nat), n = n. Proof. intros. reflexivity. Qed. 2019 ∶ ℕ simple : forall (n : nat), n = n. 1; 0.75; 2.3; 18.3 ∶ Vec(ℝ, 4) Lemma impossible : forall (n : nat), n = n+1. ?? : forall (n : nat), n = n+1. 18

  19. The dependent pair type is written as ∑ (𝑦:𝐵) 𝐶(𝑦) with term 𝑏, 𝑐 ∶ ∑ (𝑦:𝐵) 𝐶(𝑦) , given 𝑏 ∶ 𝐵 and 𝑐 ∶ 𝐶(𝑏) . DEPENDENT TYPES Types that depend on a term ෍ 𝐺𝑠𝑣𝑗𝑢𝑡(𝑑) or another type (𝑑:𝐷𝑝𝑚𝑝𝑠) Dependent pair types ( ∑ -types) are types with two components where the type of the second component is allowed to vary (red, apple) : ∑ (𝑑:𝐷𝑝𝑚𝑝𝑠) 𝐺𝑠𝑣𝑗𝑢𝑡(𝑑) depending on the choice of the (silver, ??) : ∑ (𝑑:𝐷𝑝𝑚𝑝𝑠) 𝐺𝑠𝑣𝑗𝑢𝑡(𝑑) first component. projT1 ( red , apple) = red projT2 (red, apple ) = apple 19

  20. FAMILY RELATIONS Who is the father? 20

  21. FAMILY RELATIONS Who is the father? Betty Tom (Betty, birthcert) : ∑ 𝑞:𝑄𝑓𝑠𝑡𝑝𝑜 𝑁𝑝𝑢ℎ𝑓𝑠 𝑈𝑝𝑛 (𝑞) 21

  22. FAMILY RELATIONS Who is the father? Andy Betty (Andy, marriagecert) : ∑ 𝑞:𝑄𝑓𝑝𝑞𝑚𝑓 𝐼𝑣𝑡𝑐𝑏𝑜𝑒 𝐶𝑓𝑢𝑢𝑧 (𝑞) 22

  23. FAMILY RELATIONS Who is the father? Andy Betty Betty Tom 23

  24. FAMILY RELATIONS Who is the father? ?? Tom (??, ??) : ∑ 𝑞:𝑄𝑓𝑝𝑞𝑚𝑓 𝐺𝑏𝑢ℎ𝑓𝑠 𝑈𝑝𝑛 (𝑞) 24

  25. FAMILY RELATIONS Who is the father? Mother’s Husband is Father 25

  26. FAMILY RELATIONS Who is the father? Mother’s Husband is Father (??, ??) : ∑ 𝑞:𝑄𝑓𝑝𝑞𝑚𝑓 𝐺𝑏𝑢ℎ𝑓𝑠 𝑈𝑝𝑛 (𝑞) findFather : forall (x : Person) (y : 𝕅 ), ℍ -> Person prfFather : forall (x : Person) (y : 𝕅 ) (z : ℍ ), 𝐺𝑏𝑢ℎ𝑓𝑠 𝑦 (𝑞𝑠𝑝𝑘𝑈1 𝑨) where 𝕅 = ෍ 𝑁𝑝𝑢ℎ𝑓𝑠 𝑦 (𝑞) 𝑞:𝑄𝑓𝑠𝑡𝑝𝑜 ℍ = ෍ 𝐼𝑣𝑡𝑐𝑏𝑜𝑒 𝑞𝑠𝑝𝑘𝑈1 (𝑧) (𝑞) 𝑞:𝑄𝑓𝑠𝑡𝑝𝑜 26

  27. FAMILY RELATIONS Who is the father? Mother’s Husband is Father Merge findFather (??, ??) : ∑ 𝑞:𝑄𝑓𝑝𝑞𝑚𝑓 𝐺𝑏𝑢ℎ𝑓𝑠 𝑈𝑝𝑛 (𝑞) and prfFather infFather : forall (x : Person) (y : 𝕅 ), ℍ -> ∑ 𝑞:𝑄𝑓𝑝𝑞𝑚𝑓 𝐺𝑏𝑢ℎ𝑓𝑠 𝑦 (𝑞) where 𝕅 = ෍ 𝑁𝑝𝑢ℎ𝑓𝑠 𝑦 (𝑞) 𝑞:𝑄𝑓𝑠𝑡𝑝𝑜 ℍ = ෍ 𝐼𝑣𝑡𝑐𝑏𝑜𝑒 𝑞𝑠𝑝𝑘𝑈1 (𝑧) (𝑞) 𝑞:𝑄𝑓𝑠𝑡𝑝𝑜 27

  28. FAMILY RELATIONS Who is the father? Mother’s Husband is Father (??, ??) : ∑ 𝑞:𝑄𝑓𝑝𝑞𝑚𝑓 𝐺𝑏𝑢ℎ𝑓𝑠 𝑈𝑝𝑛 (𝑞) infFather : forall (x : Person) (y : 𝕅 ), ℍ -> ∑ 𝑞:𝑄𝑓𝑝𝑞𝑚𝑓 𝐺𝑏𝑢ℎ𝑓𝑠 𝑦 (𝑞) Theorem father_of_Tom : sigT (Father Tom). Proof. simple refine (infFather _ _ _). exact (Betty, birthcert). exact (Andy, marriagecert). Defined. 28

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend