Presentation is loading. Please wait.

Presentation is loading. Please wait.

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

Similar presentations


Presentation on theme: "CS498-EA Reasoning in AI Lecture #1 Instructor: Eyal Amir Fall Semester 2011."— Presentation transcript:

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

2 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

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

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

5 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

6 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?

7 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

8 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

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

10 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)

11 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??

12 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

13 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)

14 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

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

16 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

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

18 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)

19 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

20 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

21 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

22 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

23 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

24 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

25 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

26 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) http://reason.cs.uiuc.edu/cs498ea Compass Email list (sign up!): cs498ea-f09 –http://lists.cs.uiuc.edu/mailman/listinfo


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

Similar presentations


Ads by Google