New Directions in Information Technology Lecture 5 John Lee

Slides:



Advertisements
Similar presentations
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Advertisements

Computational Models The exam. Models of computation. –The Turing machine. –The Von Neumann machine. –The calculus. –The predicate calculus. Turing.
Introducing Formal Methods, Module 1, Version 1.1, Oct., Formal Specification and Analytical Verification L 5.
Knowledge Representation
An Introduction to Artificial Intelligence. Introduction Getting machines to “think”. Imitation game and the Turing test. Chinese room test. Key processes.
Comp 205: Comparative Programming Languages Semantics of Imperative Programming Languages denotational semantics operational semantics logical semantics.
The Turing Test What Is Turing Test? A person and a computer, being separated in two rooms, answer the tester’s questions on-line. If the interrogator.
Humans, Computers, and Computational Complexity J. Winters Brock Nathan Kaplan Jason Thompson.
Axiomatic Semantics Dr. M Al-Mulhem ICS
Copyright © 2006 The McGraw-Hill Companies, Inc. Programming Languages 2nd edition Tucker and Noonan Chapter 18 Program Correctness To treat programming.
Dr. Muhammed Al-Mulhem 1ICS ICS 535 Design and Implementation of Programming Languages Part 1 Fundamentals (Chapter 4) Axiomatic Semantics ICS 535.
Describing Syntax and Semantics
What computers just cannot do. COS 116: 2/28/2008 Sanjeev Arora.
Intelligence & Artificial Intelligence You must have a pre-prepared sentence or two to spout about what is a description of intelligence.. And what is.
More Theory of Computing
1 Neural Networks and Statistics: Intelligence and the Self Prof Bruce Curry and Dr Peter Morgan Cardiff Business School, UK.
Chapter 6: Objections to the Physical Symbol System Hypothesis.
AI and Automation Media and Culture Lecture 9 John Lee.
Full FOPL is undecidable sketch of proof by reduction to Halting problem s CS3518 Buchi, J.R. (1962) “Turing machines and the Entscheidungsproblem,” Boolos,
Artificial Intelligence
1 Knowledge Based Systems (CM0377) Lecture 4 (Last modified 5th February 2001)
1 CO Games Development 2 Week 21 Turing Machines & Computability Gareth Bellaby.
1 Artificial Intelligence Introduction. 2 What is AI? Various definitions: Building intelligent entities. Getting computers to do tasks which require.
Course Overview and Road Map Computability and Logic.
Section 2.3 I, Robot Mind as Software McGraw-Hill © 2013 McGraw-Hill Companies. All Rights Reserved.
1 CS 385 Fall 2006 Chapter 1 AI: Early History and Applications.
1 The main topics in AI Artificial intelligence can be considered under a number of headings: –Search (includes Game Playing). –Representing Knowledge.
Turing Machines and the Halting Problem This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. To.
3.2 Semantics. 2 Semantics Attribute Grammars The Meanings of Programs: Semantics Sebesta Chapter 3.
Programming Languages and Design Lecture 3 Semantic Specifications of Programming Languages Instructor: Li Ma Department of Computer Science Texas Southern.
SIMULATIONS, REALIZATIONS, AND THEORIES OF LIFE H. H. PATTEE (1989) By Hyojung Seo Dept. of Psychology.
Artificial Intelligence “Introduction to Formal Logic” Jennifer J. Burg Department of Mathematics and Computer Science.
Complexity & Computability. Limitations of computer science  Major reasons useful calculations cannot be done:  execution time of program is too long.
11 Artificial Intelligence CS 165A Thursday, October 25, 2007  Knowledge and reasoning (Ch 7) Propositional logic 1.
Capabilities of computing systems Numeric and symbolic Computations A look at Computability theory Turing Machines.
INTRODUCTION TO COGNITIVE SCIENCE NURSING INFORMATICS CHAPTER 3 1.
1 Introduction to Turing Machines
Reminder: Definition of Computation
Umans Complexity Theory Lectures Lecture 1b: Turing Machines & Halting Problem.
Artificial Intelligence Knowledge Representation.
Turing Machines. The next level of Machine… PDAs improved on FSAs by adding memory. We make the memory more flexible to do more complicated tasks.
The Church-Turing Thesis Chapter Are We Done? FSM  PDA  Turing machine Is this the end of the line? There are still problems we cannot solve:
Fall 2013 Lecture 27: Turing machines and decidability CSE 311: Foundations of Computing.
Modeling Arithmetic, Computation, and Languages Mathematical Structures for Computer Science Chapter 8 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesTuring.
Proof And Strategies Chapter 2. Lecturer: Amani Mahajoub Omer Department of Computer Science and Software Engineering Discrete Structures Definition Discrete.
Chapter 7. Propositional and Predicate Logic
CSE202: Introduction to Formal Languages and Automata Theory
CS344: Introduction to Artificial Intelligence (associated lab: CS386)
COMPUTER ARCHITECTURE AND THE CYNAIDE COATED APPLE.
Universality of Computation
CSE 311 Foundations of Computing I
Pushdown Automata.
(Universal Turing Machine)
Knowledge Representation
Turing Machines Acceptors; Enumerators
Chapter 10: Mathematical proofs
Logic Programming Languages
Programming Languages 2nd edition Tucker and Noonan
Theory of Computation Turing Machines.
Decidability Turing Machines Coded as Binary Strings
Decidability Turing Machines Coded as Binary Strings
Artificial Intelligence Lecture 2: Foundation of Artificial Intelligence By: Nur Uddin, Ph.D.
KNOWLEDGE REPRESENTATION
Chapter 7. Propositional and Predicate Logic
The Nature of Computing
Class 26: Modeling Computing CS150: Computer Science
CO Games Development 2 Week 21 Turing Machines & Computability
Programming Languages 2nd edition Tucker and Noonan
Theory of Computation Lecture 23: Turing Machines III
Presentation transcript:

New Directions in Information Technology Lecture 5 John Lee AI and Automation New Directions in Information Technology Lecture 5 John Lee

Formality and formalisation Central issue in AI and automation (but also much else): How to go from informal world to formal system, derive some result, and then get back again without losing anything important What should be preserved? truth? meaning? Formal statement Calculation (Inference) Informal statement Reinterpretation Result

Basic logical principles Analysis of English argument proceeds via translation into logical form, application of rules, then translation back … Compare analysis of arithmetical calculation: Suppose 82 students get 175 pages of notes each … Form is: result = A x B = 82 x 175 … Calculation gives: result = 14,350 So we need (e.g.) to budget for 14,350 copies Formal statement Calculation (Inference) Informal statement Reinterpretation Result

… basic principles (continued) If the switch is down, (then) the light is on; the switch is down … <Informal> If P then Q; P … <(semi-) formal translation> P –> Q P Q <formal inference> … therefore Q So the light is on <reinterpretation> Formal statement Calculation (Inference) Informal statement Reinterpretation Result

Some more simple examples … If Fred likes cheese or Jim likes cake, (then) Mary will do the cooking. Jim likes cake. So …? (P ˚ Q) ® R; Q; …? If Fred likes rhubarb, Jim will stew some. Fred likes rhubarb and custard. So …? P ® Q; P ˙ R; …? (assuming: “Fred likes rhubarb and custard” = “Fred likes rhubarb and Fred likes custard” …

Turing's machine an abstract machine head and tape: head can read, erase, write symbols, and move tape one square left or right head is defined by a few rules e.g.: if the symbol below head is `1', erase it, write a `0', and move one square left input for problem is posed by writing it on the tape at start time output from the problem is on the tape at `halt' time given machine defines a mathematical function (set of pairs of input/output)

Simple example … Head I I I I I I I I I I I I I I an adding machine — two numbers in `tally notation' separated by blank machine finds blank, `moves 1s across blank' until finished infinite (or extendable) machines — can always add more tape Head I I I I I I I I I I I I I I

Universal machines a universal machine can mimic any other Turing machine mimicked machine is encoded as number on U-machine's tape, along with input for particular problem for mimicked machine U-machine can mimic the encoded machine solving the problem <emulation> Turing then proved that there are functions which U-machine can't compute notably the `halting problem' — will machine halt when computing a given function?

What is so important about Turing's machine? active head vs. passive memory: treating program as data hardware vs. software — distinguish abstract computation from physical implementation consider any range of alternative implementations establishes an abstract `informational' level for describing behaviour in fact, engineered computers are like Turing machines with random access memory (RAM) and vastly complicated heads called central processing units (CPUs) (these are technically “von Neumann” machines)

Automation of logical proof Sometimes proofs can be computable Even whole systems of proof Programming languages can be based on this E.g. Prolog A language based on theorem proving from FACTS and RULES factorial(1, 1). factorial(N, F):- M is N-1, factorial(M, FM), F is FM+N.

Representation of knowledge (Contrast with data … knowledge is richer and includes means of deriving consequences) Rule-based systems Cf Prolog: represent everything with facts and rules … … then derive consequences by proof. Assumes all knowledge can be captured this way As in traditional expert systems Case-based reasoning Suppose that systems of rules will be too complicated … Instead store cases that have worked in the past, and some rules for working out how to re-use these

Approaches to formal semantics Meaning as truth conditions What does the world have to be like for a sentence to be true? Provides semantics for simple systems like propositional or predicate calculus Can be elaborated for use with natural languages, e.g. Consider the world at other points in time Consider other possible worlds What can this approach not capture?

Representational theories of mind The Computational Metaphor: hard and soft AI Contrast between focus on representation and focus on behaviour What is "intelligence"? Is it what you can do or is it how you do it? The Turing Test The Loebner Prize – http://hps.elte.hu/~gk/Loebner/TT.html Eliza Dennett, the "Intentional Stance" and instrumentalism Idea that notions like “intelligence” are attributed Linked to anti-essentialism and anti-realism

Connectionist approaches and non-representationalism Connectionism, or “neural-net”-based theories Distributed processing No explicit locus of symbols or syntactic structures Emergence The sum of a system can be more than its parts Environmental embedding and situated action Lucy Suchman Compare philosophical approaches of, e.g. Heidegger (existentialist embedding) Wittgenstein (social embedding)

Two classic critiques Dreyfus – phenomenology & Heidegger – Winograd & Flores Fundamentalist anti-representationalism Strong AI is impossible in principle Searle – the Chinese Room More pragmatic argument Homunculus knows nothing, hence system cannot be a locus of understanding Extended as claim that no mere symbol-processing system could ever “understand” Claimed to be an “in-principle” argument

Practical considerations Various general application fields Expert systems Either rule-based or case-based Verification systems To prove e.g. properties of safety-critical software Language engineering – LSA – etc. Used e.g. to mark essays (!) Dialogue systems Increasingly multimodal: speech, gesture, etc. ITSs Will teachers be replaced by computers?

Design/architecture applications Representation of design knowledge (contrast with Schön!) Cf. Coyne et al. Knowledge-Based Design Systems CBR Building performance evaluation systems Standardisation and automation in construction Prescriptiveness