CS498-EA Reasoning in AI Lecture #1 Instructor: Eyal Amir Fall Semester 2011.

Slides:



Advertisements
Similar presentations
1 Probability and the Web Ken Baclawski Northeastern University VIStology, Inc.
Advertisements

Pat Langley Computational Learning Laboratory Center for the Study of Language and Information Stanford University, Stanford, California
State Estimation and Kalman Filtering CS B659 Spring 2013 Kris Hauser.
UIUC CS 497: Section EA Lecture #2 Reasoning in Artificial Intelligence Professor: Eyal Amir Spring Semester 2004.
SA-1 Probabilistic Robotics Planning and Control: Partially Observable Markov Decision Processes.
CPSC 322, Lecture 2Slide 1 Representational Dimensions Computer Science cpsc322, Lecture 2 (Textbook Chpt1) Sept, 6, 2013.
CSE 5522: Survey of Artificial Intelligence II: Advanced Techniques Instructor: Alan Ritter TA: Fan Yang.
Markov Logic Networks Instructor: Pedro Domingos.
Bart Selman CS CS 475: Uncertainty and Multi-Agent Systems Prof. Bart Selman Introduction.
CPSC 322, Lecture 23Slide 1 Logic: TD as search, Datalog (variables) Computer Science cpsc322, Lecture 23 (Textbook Chpt 5.2 & some basic concepts from.
CPSC 322, Lecture 19Slide 1 Propositional Logic Intro, Syntax Computer Science cpsc322, Lecture 19 (Textbook Chpt ) February, 23, 2009.
CPSC 322, Lecture 37Slide 1 Finish Markov Decision Processes Last Class Computer Science cpsc322, Lecture 37 (Textbook Chpt 9.5) April, 8, 2009.
CS B553: A LGORITHMS FOR O PTIMIZATION AND L EARNING aka “Neural and Genetic Approaches to Artificial Intelligence” Spring 2011 Kris Hauser.
LEARNING FROM OBSERVATIONS Yılmaz KILIÇASLAN. Definition Learning takes place as the agent observes its interactions with the world and its own decision-making.
CPSC 322, Lecture 23Slide 1 Logic: TD as search, Datalog (variables) Computer Science cpsc322, Lecture 23 (Textbook Chpt 5.2 & some basic concepts from.
CSE 574 – Artificial Intelligence II Statistical Relational Learning Instructor: Pedro Domingos.
Artificial Intelligence and Lisp Lecture 13 Additional Topics in Artificial Intelligence LiU Course TDDC65 Autumn Semester, 2010
Computing & Information Sciences Kansas State University Lecture 11 of 42 CIS 530 / 730 Artificial Intelligence Lecture 11 of 42 William H. Hsu Department.
CSE 574: Artificial Intelligence II Statistical Relational Learning Instructor: Pedro Domingos.
LEARNING FROM OBSERVATIONS Yılmaz KILIÇASLAN. Definition Learning takes place as the agent observes its interactions with the world and its own decision-making.
Introduction to Artificial Intelligence Prof. Kathleen McKeown 722 CEPSR, TAs: Kapil Thadani 724 CEPSR, Phong Pham TA Room.
CPSC 322, Lecture 31Slide 1 Probability and Time: Markov Models Computer Science cpsc322, Lecture 31 (Textbook Chpt 6.5) March, 25, 2009.
Learning Programs Danielle and Joseph Bennett (and Lorelei) 4 December 2007.
CSE 590ST Statistical Methods in Computer Science Instructor: Pedro Domingos.
Dynamic Bayesian Networks CSE 473. © Daniel S. Weld Topics Agency Problem Spaces Search Knowledge Representation Reinforcement Learning InferencePlanningLearning.
CIS 410/510 Probabilistic Methods for Artificial Intelligence Instructor: Daniel Lowd.
CSE 515 Statistical Methods in Computer Science Instructor: Pedro Domingos.
CS Machine Learning. What is Machine Learning? Adapt to / learn from data  To optimize a performance function Can be used to:  Extract knowledge.
Artificial Intelligence Dr. Paul Wagner Department of Computer Science University of Wisconsin – Eau Claire.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 26 of 41 Friday, 22 October.
Artificial Intelligence
AIAI, The University of Edinburgh Jessica Chen-Burger A Few Highlights from IJCAI 2001, Seattle, USA.
1 Robot Environment Interaction Environment perception provides information about the environment’s state, and it tends to increase the robot’s knowledge.
Computing & Information Sciences Kansas State University Wednesday, 22 Oct 2008CIS 530 / 730: Artificial Intelligence Lecture 22 of 42 Wednesday, 22 October.
UIUC CS 498: Section EA Lecture #21 Reasoning in Artificial Intelligence Professor: Eyal Amir Fall Semester 2011 (Some slides from Kevin Murphy (UBC))
1 2010/2011 Semester 2 Introduction: Chapter 1 ARTIFICIAL INTELLIGENCE.
1 The main topics in AI Artificial intelligence can be considered under a number of headings: –Search (includes Game Playing). –Representing Knowledge.
Simultaneously Learning and Filtering Juan F. Mancilla-Caceres CS498EA - Fall 2011 Some slides from Connecting Learning and Logic, Eyal Amir 2006.
Knowledge Representation & Reasoning Lecture #1 UIUC CS 498: Section EA Professor: Eyal Amir Fall Semester 2004.
Algorithmic, Game-theoretic and Logical Foundations
Of 33 lecture 1: introduction. of 33 the semantic web vision today’s web (1) web content – for human consumption (no structural information) people search.
CPSC 322, Lecture 33Slide 1 Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 33 Nov, 30, 2015 Slide source: from David Page (MIT) (which were.
Introduction to Artificial Intelligence CS 438 Spring 2008 Today –AIMA, Chapter 1 –Defining AI Next Tuesday –Intelligent Agents –AIMA, Chapter 2 –HW: Problem.
CPSC 322, Lecture 19Slide 1 (finish Planning) Propositional Logic Intro, Syntax Computer Science cpsc322, Lecture 19 (Textbook Chpt – 5.2) Oct,
What is Artificial Intelligence?
Decision Making Under Uncertainty Lec #1: Introduction UIUC CS 598: Section EA Professor: Eyal Amir Spring Semester 2005.
CPSC 422, Lecture 17Slide 1 Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 17 Oct, 19, 2015 Slide Sources D. Koller, Stanford CS - Probabilistic.
Spring, 2005 CSE391 – Lecture 1 1 Introduction to Artificial Intelligence Martha Palmer CSE391 Spring, 2005.
CPSC 322, Lecture 2Slide 1 Representational Dimensions Computer Science cpsc322, Lecture 2 (Textbook Chpt1) Sept, 7, 2012.
Knowledge Representation & Reasoning Lecture #1 UIUC CS 498: Section EA Professor: Eyal Amir Fall Semester 2005.
Introduction: What is AI? CMSC Introduction to Artificial Intelligence January 3, 2002.
Introduction: What is AI? CMSC Introduction to Artificial Intelligence January 7, 2003.
Knowledge Repn. & Reasoning Lecture #9: Propositional Logic UIUC CS 498: Section EA Professor: Eyal Amir Fall Semester 2005.
Computing & Information Sciences Kansas State University Wednesday, 04 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 17 of 42 Wednesday, 04 October.
Computing & Information Sciences Kansas State University Friday, 13 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 21 of 42 Friday, 13 October.
Instructor: Eyal Amir Grad TAs: Wen Pu, Yonatan Bisk Undergrad TAs: Sam Johnson, Nikhil Johri CS 440 / ECE 448 Introduction to Artificial Intelligence.
EEL 5937 Multi Agent Systems -an introduction-. EEL 5937 Content What is an agent? Communication Ontologies Mobility Mutability Applications.
Announcements  Upcoming due dates  Thursday 10/1 in class Midterm  Coverage: everything in lecture and readings except first-order logic; NOT probability.
Introduction to Artificial Intelligence Prof. Kathleen McKeown 722 CEPSR Tas: Andrew Rosenberg Speech Lab, 7 th Floor CEPSR Sowmya Vishwanath TA Room.
CS498-EA Reasoning in AI Lecture #23 Instructor: Eyal Amir Fall Semester 2011.
Brief Intro to Machine Learning CS539
Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 7
Artificial Intelligence and Lisp Lecture 13 Additional Topics in Artificial Intelligence LiU Course TDDC65 Autumn Semester,
CSCI 5582 Artificial Intelligence
Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 20
CSE 515 Statistical Methods in Computer Science
Logic for Artificial Intelligence
Course Overview and Introduction
Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 7
Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 7
Presentation transcript:

CS498-EA Reasoning in AI Lecture #1 Instructor: Eyal Amir Fall Semester 2011

Artificial Intelligence (AI) Subfield of computer science Three related tasks –Understand “intelligence” Cognitive theories, architectures Similar fields: linguistics, cognitive science –Build “intelligence” Commonsense reasoning –Apply “intelligent” techniques to applications NLP, Econometrics, Social Networks, Robotics, Electronic commerce

Artificial Intelligence (AI) Reasoning Natural Language Learning Vision Knowledge Decision Making Robotics

Artificial Intelligence (AI) Reasoning Natural Language Learning Vision Knowledge Decision Making Robotics

Reasoning in AI Reason with a given knowledge Types of knowledge: –Logical: (p & q  r) –Probabilistic (Pr(p,q) = 0.75) –Preferences (p preferred over q) –Data and Observations: “p occurred” Knowledge structures –Space, time, actions, situations –Beliefs, knowledge (of agents) –State representations

Reasoning in AI Reason with a given knowledge Types of reasoning: –Does r follow from p? What can explain p? –What is the probability of r? What value of r is most likely? Mean, Mode, Median of r? –Do I prefer p over q? What if r holds? –Did action a occur? What sequence of events is most likely? –Is a model correct? Likely?

Reasoning in AI Decision Making and Planning are special cases of Reasoning in AI We will cover them only very briefly –They are the topic of other courses –They can be cast within the frameworks that we will discuss here Decision Making as Reasoning –Given action descriptions (knowledge) –Find (reason) a sequence/policy of actions that achieves the goal or optimizes our rewards/value

Reasoning in AI Learning can also be seen as a special cases of Reasoning in AI Bayesian Learning = reasoning about parameters in a model that includes observations –Estimating the parameters of a model = learning –Finding the most-likely parameters or the expected parameters = reasoning

AI Applications Reasoning Natural Language Learning Vision Knowledge Decision Making Robotics Medicin Econometrics Social Science Databases Networks Autonomous Vehicles Electronic Commerce

Econometrics Capital Asset Pricing Model (CAPM): –E(Ri) = Rf + bi*(E(Rm)-Rf) –bi – the sensitivity of the asset returns to the market returns –E(Rm)-Rf – risk premium Estimating bi from data – learning [reasoning] Using regression in a linear model: –Bi = Cov(Ri,Rm) / Var(Rm)

Syllabus WeekTopicApplicationsReadings 1Applications of reasoningecon, nlp, robotics, vision 2Propositional reasoningverification, generation, planGN87(2); Darwiche & Marquis 3Bayesian Networks: semanticschecking independenceRN(13-14) 4 Bayesian Networks: exact inferencevision; NLP QARN(14); Amir'08; Pedro Feldenszwab 5Bayesian Networks: learningNB generalizationsMitchell (stat-learning); RN(18?) 6Sampling 2-layer networks: diagnosis, state est.Jordan ed.(MacKay ch) 7Variational Approximations?? 8DBNs Localizing robots, Market predictionJordan book (KF ch), RN(15) 9Logical FilteringConveyor belt, KriegspielAmir'08 tech report on Logical Filtering 10Logical Particle FilteringNLP, SLAMHajishirzi-Amir'07,'08 11FOL: semanticsNLP, SitCalc, GologGN87(3); Shoenfield (1) 12FOL: reasoningQA from NLPGN87(4-5) 13Relational Probabilistic Modelssocial nets MLNs (Pedro Domingos), Braz-etal'07 (with me and Dan Roth) 14Description Logics / Semantic Webwww services? - semantics web conference? 15 Cross-cutting: uncertain graphs, beliefslogistics, networksChang-Amir'07; Shirazi-Amir'08 16Cross-cutting: convex optimization??

High Dimensionality Many objects: books, people, computers Many properties: price, size, location Many relationships: sick(Person,Disease), FacebookFriend(P1,P2), before(W1,W2,D) Many questions Learning from examples, trials, observations

mini-Project Ideas Experimental comparison of –SAT solvers –FOL reasoners –Probabilistic inference approaches Applications of reasoning methods –Reasoning about STD spread (highlyActive(P), std(D),sick(P,D), sex(P1,P2)) –Stock-price prediction (small)

Project Ideas (1-3 people) Applications of reasoning methods: –Games: cards (Poker, Bridge, 21, Stratego) –Commonsense knowledge collection (2-people team) –Probabilistic commonsense (2-people team) –Question answering from text (CCG) –Stock-price prediction (interactions) Enhanced reasoning methods –Approximate theories by eliminating variables –Dynamic lifted probabilistic inference –Lifted probabilistic inference: (a) BNs, (b) Observsn. –Lifted probabilistic database queries –Learning probabilistic partially observed dynamic models –Parsing as probabilistic reasoning –Bayesian SVMs

Knowledge in Different Forms CYC, OpenMind, SUMO – Commonsense Ontologies – frame-based, semantic web Medical knowledge Diseases/symptoms networks Dynamic systems Specific applications: NLP, Databases

Reasoning Tasks A robot moving and manipulating the world –Track the environment and its body (actions) –Update its knowledge with new information (sensors & communications) –Make timely decisions –Safe decisions –Take uncertainty into account –Learning and generalizing from knowledge

Example A robot moving and manipulating the world Reasoner + Knowledge World Sensory information Actions/Decisions Reasoning Algorithm KB Symbols to Sensors Tasks Mngr

Example Use of Reasoning 1 Task: select an action to perform Logical KB: (a) Prove that KB entails move_fwd (e.g.,FOL) (b) Find a model of KB that satisfies move_fwd (e.g., propositional logic) Probabilistic KB: –Find the probability of move_fwd (e.g., BNs) –Find an action that gives best utility (MDPs)

Example Use of Reasoning 2 Task: find cause of error Err Logical KB: Abduction: Find an explanation Exp such that KB  Exp logically entails Err Probabilistic KB: –Find the set of variable assignments that has maximum posterior probability given Err

Knowledge Representation and Reasoning (KR&R) Two agents interacting –Sales and purchase agent –Collaboration to achieve a task –Information agent and user agent Reasoning Agent 1 + Knowledge Base 1 Agent 2 + Knowledge Base 2 Response Request

Knowledge Representation and Reasoning (KR&R) Query answering: –Formal verification of digital circuits –Temporal verification of programs –Prediction and explanation Human / Software Reasoning with A Knowledge Base Answer Query

Tractability of Reasoning More expressive languages require more time to reason with Expressivity – Tractability tradeoff Compact representations not always more efficient for reasoning Reasoning with a complete model many times easier than reasoning with general knowledge in the same language

Summary: Why, When, How KR&R Reasoning with knowledge is good when we are not sure about knowledge or query. The language of KB is determined by the application: –Need for expressive language –Need for fast/accurate response Knowledge is entered by hand or learned Tasks for reasoning algorithms vary

Administrativia of this Class 4-5 homeworks 3 units (undergrads / grads): –Choice between small project and decreased homeworks –Full homeworks require CS473/CS573 knowledge 4 units (grads) –Full homeworks + project A light final exam will be given

Project Choice 12 th lec. (Sep 29): Project proposals due (~1-pages) 18 th lec. (Oct 20): Progress Review due (~3 page) Final Project Submission (Dec 1): Projects due

Grading Administrativia Late HW submission policy: 7 days Course grading: 0.8*(HW+project) + 0.2*final (3 units) 0.4*HW + 0.4*Project + 0.2*final (4 units) Compass list (sign up!): cs498ea-f09 –