Logic: Overview

Total Page:16

File Type:pdf, Size:1020Kb

Logic: Overview • Think about how you solved this problem. You could treat it as a CSP with variables X1 and X2, and search through the set of candidate solutions, checking the constraints. • However, more likely, you just added the two equations, divided both sides by 2 to easily find out that X1 = 7. This is the power of logical inference, where we apply a set of truth-preserving rules to arrive at the answer. This is in contrast to what is called model checking (for reasons that will become clear), which tries to directly find assignments. • We'll see that logical inference allows you to perform very powerful manipulations in a very compact way. This allows us to vastly increase the representational power of our models. Course plan Search problems Constraint satisfaction problems Markov decision processes Markov networks Adversarial games Bayesian networks Reflex States Variables Logic "Low-level intelligence" "High-level intelligence" Machine learning CS221 4 • We are at the last stage of our journey through the AI topics of this course: logic. Before launching in, let's take a moment to reflect. Propositional logic Syntax Semantics formula models Inference rules CS221 26 [Warner, 1965] Privacy: Randomized response Do you have a sibling? Method: • Flip two coins. • If both heads: answer yes/no randomly • Otherwise: answer yes/no truthfully Analysis: 4 1 true-prob = 3 × (observed-prob − 8 ) CS221 136 Causality Goal: figure out the effect of a treatment on survival Data: For untreated patients, 80% survive For treated patients, 30% survive Does the treatment help? Sick people are more likely to undergo treatment... CS221 138 [Mykel Kochdorfer] Interpretability versus accuracy • For air-traffic control, threshold level of safety: probability 10−9 for a catastrophic failure (e.g., collision) per flight hour • Move from human designed rules to a numeric Q-value table? CS221 140 CS221 142 Societal and industrial impact Enormous potential for positive impact, use responsibly! CS221 144 Search problems Constraint satisfaction problems Markov decision processes Markov networks Adversarial games Bayesian networks Reflex States Variables Logic "Low-level intelligence" "High-level intelligence" Machine learning Please fill out course evaluations on Axess. Thanks for an exciting quarter! CS221 146.
Recommended publications
  • The Evolution of Intelligence
    Review From Homo Sapiens to Robo Sapiens: The Evolution of Intelligence Anat Ringel Raveh * and Boaz Tamir * Faculty of interdisciplinary studies, S.T.S. Program, Bar-Ilan University, Ramat-Gan 5290002, Israel; [email protected] (A.R.R.); [email protected] (B.T.) Received: 30 October 2018; Accepted: 18 December 2018; Published: 21 December 2018 Abstract: In this paper, we present a review of recent developments in artificial intelligence (AI) towards the possibility of an artificial intelligence equal that of human intelligence. AI technology has always shown a stepwise increase in its capacity and complexity. The last step took place several years ago with the increased progress in deep neural network technology. Each such step goes hand in hand with our understanding of ourselves and our understanding of human cognition. Indeed, AI was always about the question of understanding human nature. AI percolates into our lives, changing our environment. We believe that the next few steps in AI technology, and in our understanding of human behavior, will bring about much more powerful machines that are flexible enough to resemble human behavior. In this context, there are two research fields: Artificial Social Intelligence (ASI) and General Artificial Intelligence (AGI). The authors also allude to one of the main challenges for AI, embodied cognition, and explain how it can viewed as an opportunity for further progress in AI research. Keywords: Artificial Intelligence (AI); artificial general intelligence (AGI); artificial social intelligence (ASI); social sciences; singularity; complexity; embodied cognition; value alignment 1. Introduction 1.1. From Intelligence to Super-Intelligence In this paper we present a review of recent developments in AI towards the possibility of an artificial intelligence equals that of human intelligence.
    [Show full text]
  • Ontology-Based Approach to Semantically Enhanced Question Answering for Closed Domain: a Review
    information Review Ontology-Based Approach to Semantically Enhanced Question Answering for Closed Domain: A Review Ammar Arbaaeen 1,∗ and Asadullah Shah 2 1 Department of Computer Science, Faculty of Information and Communication Technology, International Islamic University Malaysia, Kuala Lumpur 53100, Malaysia 2 Faculty of Information and Communication Technology, International Islamic University Malaysia, Kuala Lumpur 53100, Malaysia; [email protected] * Correspondence: [email protected] Abstract: For many users of natural language processing (NLP), it can be challenging to obtain concise, accurate and precise answers to a question. Systems such as question answering (QA) enable users to ask questions and receive feedback in the form of quick answers to questions posed in natural language, rather than in the form of lists of documents delivered by search engines. This task is challenging and involves complex semantic annotation and knowledge representation. This study reviews the literature detailing ontology-based methods that semantically enhance QA for a closed domain, by presenting a literature review of the relevant studies published between 2000 and 2020. The review reports that 83 of the 124 papers considered acknowledge the QA approach, and recommend its development and evaluation using different methods. These methods are evaluated according to accuracy, precision, and recall. An ontological approach to semantically enhancing QA is found to be adopted in a limited way, as many of the studies reviewed concentrated instead on Citation: Arbaaeen, A.; Shah, A. NLP and information retrieval (IR) processing. While the majority of the studies reviewed focus on Ontology-Based Approach to open domains, this study investigates the closed domain.
    [Show full text]
  • Knowledge Elicitation: Methods, Tools and Techniques Nigel R
    This is a pre-publication version of a paper that will appear as Shadbolt, N. R., & Smart, P. R. (2015) Knowledge Elicitation. In J. R. Wilson & S. Sharples (Eds.), Evaluation of Human Work (4th ed.). CRC Press, Boca Raton, Florida, USA. (http://www.amazon.co.uk/Evaluation-Human-Work-Fourth- Wilson/dp/1466559616/). Knowledge Elicitation: Methods, Tools and Techniques Nigel R. Shadbolt1 and Paul R. Smart1 1Electronics and Computer Science, University of Southampton, Southampton, SO17 1BJ, UK. Introduction Knowledge elicitation consists of a set of techniques and methods that attempt to elicit the knowledge of a domain expert1, typically through some form of direct interaction with the expert. Knowledge elicitation is a sub-process of knowledge acquisition (which deals with the acquisition or capture of knowledge from any source), and knowledge acquisition is, in turn, a sub-process of knowledge engineering (which is a discipline that has evolved to support the whole process of specifying, developing and deploying knowledge-based systems). Although the elicitation, representation and transmission of knowledge can be considered a fundamental human activity – one that has arguably shaped the entire course of human cognitive and social evolution (Gaines, 2013) – knowledge elicitation had its formal beginnings in the early to mid 1980s in the context of knowledge engineering for expert systems2. These systems aimed to emulate the performance of experts within narrowly specified domains of interest3, and it initially seemed that the design of such systems would draw its inspiration from the broader programme of research into artificial intelligence. In the early days of artificial intelligence, much of the research effort was based around the discovery of general principles of intelligent behaviour.
    [Show full text]
  • Evolutionary Psychology As of September 15
    Evolutionary Psychology In its broad sense, the term ‘evolutionary psychology’ stands for any attempt to adopt an evolutionary perspective on human behavior by supplementing psychology with the central tenets of evolutionary biology. The underlying idea is that since our mind is the way it is at least in part because of our evolutionary past, evolutionary theory can aid our understanding not only of the human body, but also of the human mind. In the narrow sense, Evolutionary Psychology (with capital ‘E’ and ‘P’, to distinguish it from evolutionary psychology in the broad sense) is an adaptationist program which regards our mind as an integrated collection of cognitive mechanisms that are adaptations , i.e., the result of evolution by natural selection. Adaptations are traits present today because they helped to solve recurrent adaptive problems in the past. Evolutionary Psychology is interested in those adaptations that have evolved in response to characteristically human adaptive problems like choosing and securing a mate, recognizing emotional expressions, acquiring a language, distinguishing kin from non-kin, detecting cheaters or remembering the location of edible plants. Its purpose is to discover and explain the cognitive mechanisms that guide current human behavior because they have been selected for as solutions to these adaptive problems in the evolutionary environment of our ancestors. 1. Historic and Systematic Roots 1a. The Computational Model of the Mind 1b. The Modularity of Mind 1c. Adaptationism 2. Key Concepts and Arguments 2a. Adaptation and Adaptivity 1 2b. Functional Analysis 2c. The Environment of Evolutionary Adaptedness 2d. Domain-specificity and Modularity 2e. Human Nature 3.
    [Show full text]
  • Eye on the Prize
    AI Magazine Volume 16 Number 2 (1995) (© AAAI) Articles Eye on the Prize Nils J. Nilsson ■ In its early stages, the field of AI had as its main sufficiently powerful to solve large problems goal the invention of computer programs having of real-world consequence. In their efforts to the general problem-solving abilities of humans. get past the barrier separating toy problems Along the way, a major shift of emphasis devel- from real ones, AI researchers became oped from general-purpose programs toward per- absorbed in two important diversions from formance programs, ones whose competence was their original goal of developing general, highly specialized and limited to particular areas intelligent systems. One diversion was toward of expertise. In this article, I claim that AI is now developing performance programs, ones whose at the beginning of another transition, one that competence was highly specialized and limit- will reinvigorate efforts to build programs of gen- eral, humanlike competence. These programs will ed to particular areas of expertise. Another use specialized performance programs as tools, diversion was toward refining specialized much like humans do. techniques beyond those required for general- purpose intelligence. In this article, I specu- ver 40 years ago, soon after the birth late about the reasons for these diversions of electronic computers, people began and then describe growing forces that are Oto think that human levels of intelli- pushing AI to resume work on its original gence might someday be realized in computer goal of building programs of general, human- programs. Alan Turing (1950) was among the like competence.
    [Show full text]
  • Decision-Making with Artificial Intelligence in the Social Context Responsibility, Accountability and Public Perception with Examples from the Banking Industry
    watchit Expertenforum 2. Veröffentlichung Decision-Making with Artificial Intelligence in the Social Context Responsibility, Accountability and Public Perception with Examples from the Banking Industry Udo Milkau and Jürgen Bott BD 2-MOS-Umschlag-RZ.indd 1 09.08.19 08:51 Impressum DHBW Mosbach Lohrtalweg 10 74821 Mosbach www.mosbach.dhbw.de/watchit www.digital-banking-studieren.de Decision-Making with Artificial Intelligence in the Social Context Responsibility, Accountability and Public Perception with Examples from the Banking Industry von Udo Milkau und Jürgen Bott Herausgeber: Jens Saffenreuther Dirk Saller Wolf Wössner Mosbach, im August 2019 BD 2-MOS-Umschlag-RZ.indd 2 09.08.19 08:51 BD 2 - MOS - Innen - RZ_HH.indd 1 02.08.2019 10:37:52 Decision-Making with Artificial Intelligence in the Social Context 1 Decision-Making with Artificial Intelligence in the Social Context Responsibility, Accountability and Public Perception with Examples from the Banking Industry Udo Milkau and Jürgen Bott Udo Milkau received his PhD at Goethe University, Frankfurt, and worked as a research scientist at major European research centres, including CERN, CEA de Saclay and GSI, and has been a part-time lecturer at Goethe University Frankfurt and Frankfurt School of Finance and Management. He is Chief Digital Officer, Transaction Banking at DZ BANK, Frankfurt, and is chairman of the Digitalisation Work- ing Group and member of the Payments Services Working Group of the European Association of Co- operative Banks (EACB) in Brussels. Jürgen Bott is professor of finance management at the University of Applied Sciences in Kaiserslau- tern. As visiting professor and guest lecturer, he has associations with several other universities and business schools, e.g.
    [Show full text]
  • Artificial Intelligence [R18a1205] Lecture Notes B.Tech Iii Year
    ARTIFICIAL INTELLIGENCE [R18A1205] LECTURE NOTES B.TECH III YEAR – I SEM (R18) (2020-2021) MALLA REDDY COLLEGE OF ENGINEERING & TECHNOLOGY (Autonomous Institution – UGC, Govt. of India) Recognized under 2(f) and 12 (B) of UGC ACT 1956 (Affiliated to JNTUH, Hyderabad, Approved by AICTE - Accredited by NBA & NAAC – ‘A’ Grade - ISO 9001:2015 Certified) Maisammaguda, Dhulapally (Post Via. Hakimpet), Secunderabad – 500100, Telangana State, India MALLA REDDY COLLEGE OF ENGINEERING & TECHNOLOGY III Year B. Tech CSE ‐ I Sem L T/P/D C 3 -/-/- 3 (R18A1205) ARTIFICIAL INTELLIGENCE OBJECTIVES: To Learn the significance of intelligence systems. To understand the concepts of heuristic search techniques &logic programming. To know the various knowledge representation techniques. UNIT - I Introduction: AI problems, Agents and Environments, Structure of Agents, Problem Solving Agents Basic Search Strategies: Problem Spaces, Uninformed Search (Breadth-First, Depth-First Search, Depth-first with Iterative Deepening), Heuristic Search (Hill Climbing, Generic Best-First, A*), Constraint Satisfaction (Backtracking, Local Search) UNIT - II Advanced Search: Constructing Search Trees, Stochastic Search, A* Search Implementation, Minimax Search, Alpha-Beta Pruning Basic Knowledge Representation and Reasoning: Propositional Logic, First-Order Logic, Forward Chaining and Backward Chaining, Introduction to Probabilistic Reasoning, Bayes Theorem UNIT – III Advanced Knowledge Representation and Reasoning: Knowledge Representation Issues, Nonmonotonic Reasoning, Other Knowledge Representation Schemes Reasoning Under Uncertainty: Basic probability, Acting Under Uncertainty, Bayes’ Rule, Representing Knowledge in an Uncertain Domain, Bayesian Networks UNIT - IV Learning: What Is Learning? Rote Learning, Learning by Taking Advice, Learning in Problem Solving, Learning from Examples, Winston’s Learning Program, Decision Trees. UNIT - V Expert Systems: Representing and Using Domain Knowledge, Shell, Explanation, Knowledge Acquisition.
    [Show full text]
  • The 'General Problem Solver' Does Not
    ARTICLE The “General Problem Solver” Does Not Exist: Mortimer Taube and the Art of AI Criticism Shunryu Colin Garvey, Stanford University Institute for Human-Centered AI, USA This article reconfigures the history of artificial intelligence (AI) and its accompanying tradition of criticism by excavating the work of Mortimer Taube, a pioneer in information and library sciences, whose magnum opus, Computers and Common Sense: The Myth of Thinking Machines (1961), has been mostly forgotten. To convey the essence of his distinctive critique, the article focuses on Taube’s attack on the general problem solver (GPS), the second major AI program. After examining his analysis of the social construction of this and other “thinking machines,” it concludes that, despite technical changes in AI, much of Taube’s criticism remains relevant today. Moreover, his status as an “information processing” insider who criticized AI on behalf of the public good challenges the boundaries and focus of most critiques of AI from the past half-century. In sum, Taube’s work offers an alternative model from which contemporary AI workers and critics can learn much. EXPOSED INTELLIGENCE RESEARCH (TAUBE, discovered Mortimer Taube in a footnote to the 1961). READERS WHO HAVE BEEN penultimate chapter of Computers and Thought EXPOSED TO THIS BOOK SHOULD (1963), the first collected volume of articles in the REFER TO REVIEWS OF IT BY RICHARD I 1 nascent field of “artificial intelligence” (AI). The chap- LAING (1962) AND WALTER R. REITMAN ter, “Attitudes toward Intelligent Machines,” by Paul (1962), PARTICULARLY THE FORMER.2 Armer, then head of the Computer Sciences Depart- ment of the RAND Corporation, is a partisan consider- ation of the social aspects of AI.
    [Show full text]
  • From NARS to a Thinking Machine
    From NARS to a Thinking Machine Pei Wang Temple University, Philadelphia, USA http://www.cis.temple.edu/~pwang/ Abstract. NARS is an AGI project developed in the framework of reasoning system, and it adapts to its environment with insufficient knowledge and resources. The development of NARS takes an incremental approach, by extending the formal model stage by stage. The system, when finished, can be further augmented in several directions. Keywords. General-purpose system, reasoning, intelligence, development plan 1. Introduction NARS (Non-Axiomatic Reasoning System) is a project aimed at the building of a general-purpose intelligent system, or a “thinking machine”. This chapter focuses on the methodology of this project, and the overall development plan to achieve this extremely difficult goal. There are already many publications discussing various aspects of NARS, which are linked from the author’s website. Especially, [1] is a recent comprehensive description of the project. If there is anything that the field of Artificial Intelligence (AI) has learned in its fifty-year history, it is the complexity and difficulty of making computer systems to show the “intelligence” as displayed by the human mind. When facing such a complicated task, where should we start? Since the only known example that shows intelligence is the human mind, it is where everyone looks at for inspirations at the beginning of research. However, different people get quite different inspirations, and consequently, take different approaches for AI. The basic idea behind NARS can be traced to the simple observation that “intelligence” is a capability possessed by human beings, but not by animals and traditional computer systems.
    [Show full text]
  • Chapter 1 of Artificial Intelligence: a Modern Approach
    1 INTRODUCTION In which we try to explain why we consider artificial intelligence to be a subject most worthy of study, and in which we try to decide what exactly it is, this being a good thing to decide before embarking. INTELLIGENCE We call ourselves Homo sapiens—man the wise—because our intelligence is so important to us. For thousands of years, we have tried to understand how we think; that is, how a mere handful of matter can perceive, understand, predict, and manipulate a world far larger and ARTIFICIAL INTELLIGENCE more complicated than itself. The field of artificial intelligence, or AI, goes further still: it attempts not just to understand but also to build intelligent entities. AI is one of the newest fields in science and engineering. Work started in earnest soon after World War II, and the name itself was coined in 1956. Along with molecular biology, AI is regularly cited as the “field I would most like to be in” by scientists in other disciplines. A student in physics might reasonably feel that all the good ideas have already been taken by Galileo, Newton, Einstein, and the rest. AI, on the other hand, still has openings for several full-time Einsteins and Edisons. AI currently encompasses a huge variety of subfields, ranging from the general (learning and perception) to the specific, such as playing chess, proving mathematical theorems, writing poetry, driving a car on a crowded street, and diagnosing diseases. AI is relevant to any intellectual task; it is truly a universal field. 1.1 WHAT IS AI? We have claimed that AI is exciting, but we have not said what it is.
    [Show full text]
  • Review of Automated Reasoning: Thirty-Three Basic Research
    Book Reviews AI Magazine Volume 10 Number 3 (1989) (© AAAI) BookReviews Automated Reasoning: author writes with a freshness and an price of a (computer science) book is Thirty-Three Basic obvious love for logic. inversely proportional to its content. Between the listing of the prob- This book confirms this law: It is Research Problems lems and their detailed discussion is delightfully low priced. As Georg Ulrich Wend1 a review of AR. It seems to be too Christoph Lichtenberg, a German sketchy for the novice, but a com- physicist of the eighteenth century To read the book Automated Reason- panion book by the same author said: “If you have two trousers, sell ing: Thirty-Three Basic Research Prob- (Wos, L.; Overbeek, R.; Lusk, E.; and one, and buy this book.” lems (Prentice Hall, Englewood Cliffs, Boyle, J. 1984. Automated Reasoning: Ulrich Wend1 is at the SCS Information- N.J., 1987, 300 pp., $11.00) by Larry Introduction and Applications. Engle- stechnik GmbH, Hoerselbergstr. 3, 8000 Wos “it is not necessary to be an wood Cliffs, N.J.: Prentice-Hall.) gives Munchen 80. expert in mathematics or logic or far more details. computer science” (from the preface). Chapter 5, the in-depth discussion, However, even if you are such an is remarkable for its style. It is fasci- expert, you will read it with interest, nating to immerse oneself into the Logical Foundations of and likely, with enjoyment. details guided more by questions Artificial Intelligence The book is outstanding for its pre- from the author than answers; sentation of the theme. Following the indeed, a whole paragraph consists of Drew McDermott introductory chapter, Wos discusses nothing but questions! You will some obstacles to the automation of enjoy this chapter and the whole Knowledge is important to intelligent reasoning in Chapter 2.
    [Show full text]
  • CMSC 471 Introduction
    CMSC 471 Introduction Tim Finin, [email protected] What is AI? • Q. What is artificial intelligence? • A. It is the science and engineering of making intelligent machines, especially intelligent computer programs. It is related to the similar task of using computers to understand human intelligence, but AI does not have to confine itself to methods that are biologically observable. http://www-formal.stanford.edu/jmc/whatisai/ Ok, so what is intelligence? • Q. Yes, but what is intelligence? • A. Intelligence is the computational part of the ability to achieve goals in the world. Varying kinds and degrees of intelligence occur in people, many animals and some machines. http://www-formal.stanford.edu/jmc/whatisai/ Big questions • Can machines think? Can they learn from their experience? • If so, how? • If not, why not? • What does this say about human beings? • What does this say about the mind? A little bit of AI history Ada Lovelace •Babbage thought his machine was just a number cruncher •Ada Lovelace saw that numbers can represent other entities, enabling machines to reason about anything •But, she wrote: The Analytical Engine has no pretentions whatever to originate anything. It can do whatever we know how to order it to perform. AI prehistory and early years • George Boole invented propositional logic (1847) • Karel Capek coined term robot in play R.U.R. (1921) • John von Neumann: minimax (1928) • Norbert Wiener founded field of cybernetics (1940s) • Neural networks, 40s & 50s, among the earliest theories of how we might reproduce intelligence
    [Show full text]