where are we informatics 2d reasoning and agents
play

Where are we? Informatics 2D Reasoning and Agents Last time . . . - PowerPoint PPT Presentation

Introduction Introduction Acting under uncertainty Acting under uncertainty Basic probability notation Basic probability notation The axioms of probability The axioms of probability Summary Summary Where are we? Informatics 2D


  1. Introduction Introduction Acting under uncertainty Acting under uncertainty Basic probability notation Basic probability notation The axioms of probability The axioms of probability Summary Summary Where are we? Informatics 2D – Reasoning and Agents Last time . . . Semester 2, 2019–2020 ◮ Previous part of course discussed planning as an efficient way of determining actions that will achieve goals Alex Lascarides ◮ Used more elaborate representations than in search, but avoided alex@inf.ed.ac.uk full complexity of logical reasoning ◮ Allowed uncertainty to some extent (e.g. conditional planning, replanning) ◮ However the approaches seen so far don’t allow for a quantification of uncertainty Today . . . Lecture 20 – Acting under Uncertainty ◮ Acting under uncertainty 5th March 2020 Informatics UoE Informatics 2D 1 Informatics UoE Informatics 2D 83 Introduction Introduction Acting under uncertainty Handling uncertain knowledge Acting under uncertainty Handling uncertain knowledge Basic probability notation Uncertainty and rational decisions Basic probability notation Uncertainty and rational decisions The axioms of probability Design for a decision-theoretic agent The axioms of probability Design for a decision-theoretic agent Summary Summary Handling uncertain knowledge Handling uncertain knowledge ◮ To develop theories of uncertain reasoning we must look at the ◮ So far we have always assumed that propositions are assumed to nature of uncertain knowledge be true, false, or unknown ◮ Example: rules for dental diagnosis ◮ But in reality, we have hunches rather than complete ignorance or ◮ A rule like ∀ p Symptom ( p , Toothache ) ⇒ Disease ( p , Cavity ) is absolute knowledge clearly wrong ◮ Approaches like conditional planning and replanning handle things ◮ Disjunctive conclusions require long lists of potential diagnoses: that might go wrong ∀ p Symptom ( p , Toothache ) ⇒ ◮ But they don’t tell us how likely it is that something might go Disease ( p , Cavity ) ∨ Disease ( p , GumDisease ) ∨ Disease ( p , Abscess ). . . wrong. . . ◮ And rational decisions (i.e. ‘the right thing to do’) depend on ◮ Causal rules like ∀ p Disease ( p , Cavity ) ⇒ Symptom ( p , Toothache ) the relative importance of various goals and the likelihood that can also cause problems ◮ Even if we know all possible causes, what if the cavity and the (and degree to which) they will be achieved toothache are not connected? Informatics UoE Informatics 2D 84 Informatics UoE Informatics 2D 85

  2. Introduction Introduction Acting under uncertainty Handling uncertain knowledge Acting under uncertainty Handling uncertain knowledge Basic probability notation Uncertainty and rational decisions Basic probability notation Uncertainty and rational decisions The axioms of probability Design for a decision-theoretic agent The axioms of probability Design for a decision-theoretic agent Summary Summary Uncertain knowledge, logic, and probabilities Degrees of belief and probabilities ◮ Clearly, using (classical) logic is not very useful to capture uncertainty, because of . . . ◮ In probability theory, propositions themselves are actually true or ◮ complexity (can be impractical to include all antecedents and false! consequents in rules, and/or too hard to use them) ◮ Degrees of truth are the subject of other methods (like fuzzy ◮ theoretical ignorance (don’t know a rule completely) logic ) not dealt with here ◮ practical ignorance (don’t know the current state) ◮ Degrees of belief depend on evidence and should change with new ◮ How likely an unknown factor is influences how we reason and act evidence ◮ One possible approach: express degrees of belief in propositions ◮ Don’t confuse this with change in the world that might make the using probability theory Probability can summarise the uncertainty that comes from proposition itself true or false! our ‘laziness’ and ignorance ◮ Before evidence is obtained we speak of prior/unconditional probability , after evidence of posterior probability ◮ Probabilities between 0 and 1 express the degree to which we believe a proposition to be true Informatics UoE Informatics 2D 86 Informatics UoE Informatics 2D 87 Introduction Introduction Acting under uncertainty Handling uncertain knowledge Acting under uncertainty Handling uncertain knowledge Basic probability notation Uncertainty and rational decisions Basic probability notation Uncertainty and rational decisions The axioms of probability Design for a decision-theoretic agent The axioms of probability Design for a decision-theoretic agent Summary Summary Uncertainty and rational decisions Decision theory ◮ A general theory of rational decision making ◮ Logical agent has a goal and executes any plan guaranteed to ◮ Decision theory = probability theory + utility theory achieve it ◮ Different with degrees of belief: If plan P has a 90% chance of ◮ Foundation of decision theory: success, how about another P ′ with a higher probability? Or how An agent is rational if and only if it chooses the action that about P ′′ with higher cost but same probability? yields the highest expected utility, averaged over all possible outcomes of the action ◮ Agent must have preferences over outcomes of plans ◮ Principle of Maximum Expected Utility ◮ Utility theory can be used to reason about those preferences ◮ Although we follow it here, some points of criticism: ◮ Based on idea that every state has a degree of usefulness and ◮ Knowledge of preferences? agents prefer states with higher utility ◮ Consistency of preferences? ◮ Utilities vary from one agent to another. ◮ Risk-taking attitude? Informatics UoE Informatics 2D 88 Informatics UoE Informatics 2D 89

  3. Introduction Introduction Acting under uncertainty Handling uncertain knowledge Acting under uncertainty Handling uncertain knowledge Basic probability notation Uncertainty and rational decisions Basic probability notation Uncertainty and rational decisions The axioms of probability Design for a decision-theoretic agent The axioms of probability Design for a decision-theoretic agent Summary Summary Are We Rational? Design for a decision-theoretic agent A : 100% chance of £ 3000 C : 25% chance of £ 3000 ◮ For the time being, we will focus on probability and not utility. B : 80% chance of £ 4000 D : 20% chance of £ 4000 ◮ But still useful to have an idea of general abstract design for a decision-theoretic (utility-based) agent ◮ 88% of you chose lottery A over lottery B . ◮ Characterised by basic perception-action loop as follows: ◮ 84% of you chose lottery D over lottery C . 1. Update belief state based on previous action and percept ◮ So lots of you chose A and D , which is irrational! 2. Calculate outcome probabilities for actions given action descriptions ◮ If U (3000) > 0 . 8 ∗ U (4000), then 0 . 25 ∗ U (3000) > 0 . 2 ∗ U (4000)!! and belief states ◮ Our ability to MEU also affected by emotion, social relationships, 3. Select action with highest expected utility given probabilities of relationships among our choices. . . outcomes and utility information ◮ In fact, we’re predictably irrational. ◮ Very simple but broadly accepted as a general principle for building agents able to cope with real-world environments ◮ If we were always rational, we wouldn’t have self-help, life coaches etc. Informatics UoE Informatics 2D 90 Informatics UoE Informatics 2D 91 Introduction Introduction Acting under uncertainty Acting under uncertainty Propositions & atomic events Propositions & atomic events Basic probability notation Basic probability notation Conditional probability Conditional probability The axioms of probability The axioms of probability Summary Summary Propositions & atomic events Propositions & atomic events ◮ Unconditional/prior probability = degree of belief in a ◮ Degrees of belief concern propositions proposition a in the absence of any other information ◮ Basic notion: random variable , a part of the world whose status ◮ Can be between 0 and 1, write as P ( Cavity = true ) = 0 . 1 or is unknown, with a domain (e.g. Cavity with domain � true , false � ) P ( cavity ) = 0 . 1 ◮ Can be boolean, discrete or continuous ◮ Probability distribution = the probabilities of all values of a ◮ Can compose complex propositions from statements about random random variable variables (e.g. Cavity = true ∧ Toothache = false ) ◮ Write P ( Weather ) = � 0 . 7 , 0 . 2 , 0 . 1 � for ◮ Atomic event = complete specification of the state of the world ◮ Atomic events are mutually exclusive P ( Weather = sunny ) = 0 . 7 ◮ Their set is exhaustive ◮ Every event entails truth or falsehood of any proposition (like P ( Weather = rain ) = 0 . 2 models in logic) P ( Weather = cloudy ) = 0 . 1 ◮ Every proposition logically equivalent to the disjunction of all atomic events that entail it Informatics UoE Informatics 2D 92 Informatics UoE Informatics 2D 93

Recommend


More recommend