review
play

Review Philipp Koehn 30 April 2020 Philipp Koehn Artificial - PowerPoint PPT Presentation

Review Philipp Koehn 30 April 2020 Philipp Koehn Artificial Intelligence: Review 30 April 2020 Exam 1 Date: Thursday, May 13, all day (but should take at most 3 hours) Posted on Piazza, to be submitted to Gradescope Format


  1. Review Philipp Koehn 30 April 2020 Philipp Koehn Artificial Intelligence: Review 30 April 2020

  2. Exam 1 ● Date: Thursday, May 13, all day (but should take at most 3 hours) ● Posted on Piazza, to be submitted to Gradescope ● Format – open book ● Grading: homework is 60%, exam is 40% Philipp Koehn Artificial Intelligence: Review 30 April 2020

  3. Lectures Covered By Exam 2 ● Artificial Intelligence in Context — not covered ● Intelligent Agents, Heuristic Search, ● Uncertainty – Probabilistic Reasoning and Game Playing – Intelligent Agents – Bayesian Networks – Basic Search – Markov Decision Processes – Decision Theory – Informed Search – Game Playing – Constraint Satisfaction ● Machine Learning – Statistical Learning ● Logic and Knowledge Representation – Neural Networks – Logical Agents – Reinforcement Learning – First Order Logic – Deep Reinforcement Learning – Inference in First-Order Logic – Knowledge Representation ● Natural Language – Planning Philipp Koehn Artificial Intelligence: Review 30 April 2020

  4. 3 intelligent agents Philipp Koehn Artificial Intelligence: Review 30 April 2020

  5. Intelligent Agents 4 ● Types of environments: (in)accessible, (non-)deterministic, (non)-episodic ● Types of agents: reflex, with memory, with goals, with learning, utility-based Philipp Koehn Artificial Intelligence: Review 30 April 2020

  6. Basic Search 5 ● Problem solving agents ● Analysis – completeness – time complexity – space complexity – optimality ● Basic search algorithms – tree search – breadth / depth-first search – iterative deepening Philipp Koehn Artificial Intelligence: Review 30 April 2020

  7. Informed Search 6 ● Best-first search ● A ∗ search ● Heuristic algorithms – hill-climbing – simulated annealing Philipp Koehn Artificial Intelligence: Review 30 April 2020

  8. Game Playing 7 ● Types of games – deterministic / probabilistic – (im)perfect information ● Search over game tree – minimax algorithm – α - β pruning – evaluation functions ● Solvable games, but typically resource limits ● Probabilistic games: pruning with bounds Philipp Koehn Artificial Intelligence: Review 30 April 2020

  9. Constraint Satisfaction 8 ● Variables, domains, constraints ● Backtracking search ● Constraint propagation – forward checking – arc consistency ● Problems structure ● Iterative algorithms Philipp Koehn Artificial Intelligence: Review 30 April 2020

  10. 9 logic Philipp Koehn Artificial Intelligence: Review 30 April 2020

  11. Logical Agents 10 ● Knowledge-based agents – internal representations – incorporate new percepts – deduce hidden properties of the world ● Logic – formal language (syntax) – truth in real world (semantics) – entailment and inference ● Algorithms – forward chaining – backward chaining – resolution Philipp Koehn Artificial Intelligence: Review 30 April 2020

  12. First Order Logic 11 ● Adding – variables – relations – functions – quanitifiers ● Modeling natural language ● Dynamic world: states and fluents ● Situation calculus Philipp Koehn Artificial Intelligence: Review 30 April 2020

  13. Inference in First-Order Logic 12 ● Reducing first-order inference to propositional inference ● Unification ● Generalized modus ponens ● Forward and backward chaining ● Logic programming (Prolog) ● Resolution Philipp Koehn Artificial Intelligence: Review 30 April 2020

  14. Knowledge Representation 13 ● Representation systems ● Categories and objects → ontologies ● Frames ● Events and scripts ● Practical examples – Cyc – Semantic web Philipp Koehn Artificial Intelligence: Review 30 April 2020

  15. Planning 14 ● Search vs. planning ● STRIPS operators ● Partial-order planning ● The real world – incomplete information – incorrect information – quantification problem ● Conditional planning ● Monitoring and replanning Philipp Koehn Artificial Intelligence: Review 30 April 2020

  16. 15 uncertainty Philipp Koehn Artificial Intelligence: Review 30 April 2020

  17. Probabilistic Reasoning 16 ● Uncertainty ● Probability – conditional probability – independence – Bayes rule ● Inference ● Independence and Bayes’ Rule Philipp Koehn Artificial Intelligence: Review 30 April 2020

  18. Bayesian Networks 17 ● Bayesian Networks ● Parameterized distributions ● Exact inference – inference by enumeration – variable elimination ● Approximate inference – rejection sampling – likelihood weighting – Markov chain Monte Carlo Philipp Koehn Artificial Intelligence: Review 30 April 2020

  19. Markov Decision Processes 18 ● Temporal processes ● Hidden Markov models ● Inference – filtering – smoothing – best sequence ● Kalman filters ● Dynamic Bayesian nets ● Example: speech recognition Philipp Koehn Artificial Intelligence: Review 30 April 2020

  20. Decision Theory 19 ● Rational preferences ● Utilities ● Decision networks ● Value of information ● Markov decision processes ● Inference algorithms – value iteration – policy iteration ● Partially observable Markov decision processes (POMDP) Philipp Koehn Artificial Intelligence: Review 30 April 2020

  21. Reinforcement Learning 20 ● Rewards, often delayed ● Passive reinforcement learning (compute utility of policy) – adaptive dynamic programming – temporal difference learning ● Active Reinforcement Learning – greedy agent – extended adaptive dynamic programming – Q-learning ● Generalizations over the state space ● Policy search Philipp Koehn Artificial Intelligence: Review 30 April 2020

  22. 21 exam questions Philipp Koehn Artificial Intelligence: Review 30 April 2020

  23. Sample Exam 22 ● Exam will assess – understanding of core concepts – understanding of algorithms → ability to carry them out by hand ● Exam will be similar to last years (posted on web site) Philipp Koehn Artificial Intelligence: Review 30 April 2020

  24. Sample Question 23 Logical knowledge representation Which of the following are semantically and syntactically correct translations of ”Everyone’s zipcode within a state has the same first digit” ? 1. ∀ x, s, z1 [State(s) ∧ LivesIn(x, s) ∧ Zip(x) = z1] ⇒ [ ∀ y, z2 LivesIn(y, s) ∧ Zip(y) = z2 ⇒ Digit(1, z1) = Digit(1, z2)]. 2. ∀ x, s [State(s) ∧ LivesIn(x, s) ∧ ∃ z1 Zip(x) = z1] ⇒ [ ∀ y, z2 LivesIn(y, s) ∧ Zip(y) = z2 ∧ Digit(1, z1) = Digit(1, z2)]. 3. ∀ x, y, s State(s) ∧ LivesIn(x, s) ∧ LivesIn(y, s) ⇒ Digit(1, Zip(x) =Zip(y)). 4. ∀ x, y, s State(s) ∧ LivesIn(x, s) ∧ LivesIn(y, s) ⇒ Digit(1, Zip(x)) = Digit(1, Zip(y)). Philipp Koehn Artificial Intelligence: Review 30 April 2020

  25. Sample Question 24 Game playing Consider the game of 2 × 2 tictactoe. 1. Draw the full game tree down to depth 2. You need not show nodes that are rotations or reflections of siblings already shown. 2. Circle any node that would not be evaluated by alpha–beta during a left-to-right exploration of your tree. Philipp Koehn Artificial Intelligence: Review 30 April 2020

  26. 25 questions? Philipp Koehn Artificial Intelligence: Review 30 April 2020

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend