Summary Introduction to AI: Search Strategies, Decision-Making, and Uncertainty
20 views 1 purchase
Course
Introduction to AI
Institution
Tilburg University (UVT)
English:
This document serves as a guide for the “Introduction to AI” course, covering key topics like search strategies (Hill Climbing, Genetic Algorithms), adversarial search (Minimax, Alpha-Beta pruning), uncertainty, inference, and Bayesian Networks. It includes practical exercises to appl...
SEARCH STRATEGIES 04-05 INFERENCE 13
Local search: Hill-Climbing, Simulated Annealing 04 Deductive / Inductive 13
Local search: Local Beam Search 05 Observation 13
Genetic Algorithms 05
POLYNOMIAL MODEL 14
DISCUSSION ASSIGNMENT: SEARLE 05 Measuring error of model 14
HILL CLIMBING (STEEPEST DESCENT) & GENETIC ALGORITHMS 06 TRAINING A MODEL 15
PRACTICAL: Hill Climbing (steepest descent) 06 Fitting vs. prediction 15
PRACTICAL: Genetic Algorithms 06
ADVERSARIAL SEARCH 07-08
Ordinary vs. Adversarial Search / Adversarial games 07
Minimax search (+ complexity) / Summary 07
Alpha-Beta pruning / Move ordering / Forward pruning 08
Heuristic strategies / Heuristic Alpha-Beta Tree Search 08
Transpositional tables / Monte Carlo Tree search 08
DEMO: GRID GAME 09-10
TWO-PLAYER ZERO-SUM GAMES 10
MINIMAX & A-B PRUNING PRACTICAL 11
ACTING UNDER UNCERTAINTY 16-22
Symbols and interpretation 16
Logic is insufficient / Perfect knowledge is not possible 16
Probability statements / Decision theory 16
Principle of Maximum Expected Utility (MEU) 16-17
Possible worlds (+ symbols and interpretation) 17
Definition of event / Computing (un)conditional probabilities 18
Random variables 18
Joint probability distribution 19
Complement of a proposition and its negation 19
Product rule / Bayes’s rule / Multivalued variables 19
Normalisation / Marginalisation 20
General form of procedure (+ space and time complexity) 21
(Conditional) independence 21
PRACTICAL: Quantifying uncertainty 22
Scaling up inference / Summary 22
BAYESIAN NETWORKS 23-27
Graphs, Networks / Path, trail, walk / Definition Bayesian Network 23
Constructing a Bayesian Network 24
Chain rule / Constructing a Bayesian Network 25
Size complexity Conditional Probability Tables (CPT) 26
Efficiency of representing CPT 26
Exact inference / Summary 27
DISCUSSION ASSIGNMENT: ETHICS 28-29
, LOCAL SEARCH (GENERAL
3
SEARCH STRATEGIES
STRATEGY COMMENTS PROBLEMS IMPROVEMENTS
Hill-Climbing ● Keeps track of only one current ● Local Maxima ● Allow for a limited number of sideways moves (if on plateau that
state (no backtracking) ● Plateaus (flat local is really a shoulder) (Higher success rate + Higher number of
If elevation = ● Does not look beyond the maximum or moves)
objective → immediate neighbours of the shoulder) ● Stochastic hill climbing: random selection between the uphill
Hill-Climbing current state (greedy) ● Ridges: Sequence of moves, with probability related to steepness.
If elevation = ● On each iteration moves to the local maxima that are ● First-choice hill climbing: random testing of successors until
cost → find neighboring state with highest not directly one is found that is better than the current state. Good strategy
the global value (steepest ascent) connected, Each local when testing all successors is costly
minimum or ● Terminates when a peak is maxima only has ● Random-restart hill climbing: do a number of hill-climbing
lowest valley reached (no neighbor has a worse connecting searches from randomly selected states. If each hill-climbing
→ Steepest higher value) states, Common in search has probability of success p then solution will be found on
Descent low-dimensional state average after 1/p restarts. Will eventually find the correct solution
(Category: Local search) spaces because goal state will be initial state.
Simulated ● Move to randomly chosen ● Problem with hill climbing: efficient, but will get stuck in a local maximum.
Annealing neighbor state ● Problem with random walk: most inefficient, but will eventually find the local maximum.
● If utility is higher, always move to ● Combination of both → simulated annealing (more complete and efficient)
(Category: that state.
Local ● If utility is lower, move to that
search) state with probability p < 1.
● Probability of a move to a worse
state
● Becomes less likely the worse
the move makes the situation
● Becomes less likely as
temperature decreases
4
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller KoendeB. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $5.97. You're not tied to anything after your purchase.