1.1. What is AI? ... 1
Acting humanly: The Turing Test approach ... 2
Thinking humanly: The cognitive modeling approach ... 3
Thinking rationally: The ``laws of thought'' approach ... 4
Acting rationally: The rational agent approach ... 4
1.2. The Foundations of Artificial Intelligence ... 5
Philosophy (428 B.C.-present) ... 5
Mathematics (B.C. 800-present) ... 7
Economics (1776-present) ... 9
Neuroscience (1861-present) ... 10
Psychology (1879-present) ... 12
Computer engineering (1940-present) ... 14
Control theory and Cybernetics (1948-present) ... 15
Linguistics (1957-present) ... 16
1.3. The History of Artificial Intelligence ... 16
The gestation of artificial intelligence (1943-1955) ... 16
The birth of artificial intelligence (1956) ... 17
Early enthusiasm, great expectations (1952-1969) ... 18
A dose of reality (1966-1973) ... 21
Knowledge-based systems: The key to power? (1969-1979) ... 22
AI becomes an industry (1980-present) ... 24
The return of neural networks (1986-present) ... 25
AI becomes a science (1987-present) ... 25
The emergence of intelligent agents (1995-present) ... 27
1.4. The State of the Art ... 27
1.5. Summary ... 28
Bibliographical and Historical Notes. ... 29
Exercises. ... 30
6.1. Games ... 161
6.2. Optimal Decisions in Games ... 162
Optimal strategies ... 163
The minimax algorithm ... 165
Optimal decisions in multiplayer games ... 165
6.3. Alpha-Beta Pruning ... 167
6.4. Imperfect, Real-Time Decisions ... 171
Evaluation functions ... 171
Cutting off search ... 173
6.5. Games That Include an Element of Chance ... 175
Position evaluation in games with chance nodes ... 177
Complexity of expectiminimax ... 177
Card games ... 179
6.6. State-of-the-Art Game Programs ... 180
6.7. Discussion ... 183
6.8. Summary ... 185
Bibliographical and Historical Notes. ... 186
Exercises. ... 189
10.1. Ontological Engineering ... 320
10.2. Categories and Objects ... 322
Physical composition ... 324
Measurements ... 325
Substances and objects ... 327
10.3. Actions, Situations, and Events ... 328
The ontology of situation calculus ... 329
Describing actions in situation calculus ... 330
Solving the representational frame problem ... 332
Solving the inferential frame problem ... 333
Time and event calculus ... 334
Generalized events ... 335
Processes ... 337
Intervals ... 338
Fluents and objects ... 339
10.4. Mental Events and Mental Objects ... 341
A formal theory of beliefs ... 341
Knowledge and belief ... 343
Knowledge, time, and action ... 344
10.5. The Internet Shopping World ... 344
Comparing offers ... 348
10.6. Reasoning Systems for Categories ... 349
Semantic networks ... 350
Description logics ... 353
10.7. Reasoning with Default Information ... 354
Open and closed worlds ... 354
Negation as failure and stable model semantics ... 356
Circumscription and default logic ... 358
10.8. Truth Maintenance Systems ... 360
10.9. Summary ... 362
Bibliographical and Historical Notes. ... 363
Exercises. ... 369
13.1. Acting under Uncertainty ... 462
Handling uncertain knowledge ... 463
Uncertainty and rational decisions ... 465
Design for a decision-theoretic agent ... 466
13.2. Basic Probability Notation ... 466
Propositions ... 467
Atomic events ... 468
Prior probability ... 468
Conditional probability ... 470
13.3. The Axioms of Probability ... 471
Using the axioms of probability ... 473
Why the axioms of probability are reasonable ... 473
13.4. Inference Using Full Joint Distributions ... 475
13.5. Independence ... 477
13.6. Bayes' Rule and Its Use ... 479
Applying Bayes' rule: The simple case ... 480
Using Bayes' rule: Combining evidence ... 481
13.7. The Wumpus World Revisited ... 483
13.8. Summary ... 486
Bibliographical and Historical Notes. ... 487
Exercises. ... 489
16.1. Combining Beliefs and Desires under Uncertainty ... 584
16.2. The Basis of Utility Theory ... 586
Constraints on rational preferences ... 586
And then there was Utility ... 588
16.3. Utility Functions ... 589
The utility of money ... 589
Utility scales and utility assessment ... 591
16.4. Multiattribute Utility Functions ... 593
Dominance ... 594
Preference structure and multiattribute utility ... 596
Preferences without uncertainty ... 596
Preferences with uncertainty ... 597
16.5. Decision Networks ... 597
Representing a decision problem with a decision network ... 598
Evaluating decision networks ... 599
16.6. The Value of Information ... 600
A simple example ... 600
A general formula ... 601
Properties of the value of information ... 602
Implementing an information-gathering agent ... 603
16.7. Decision-Theoretic Expert Systems ... 604
16.8. Summary ... 607
Bibliographical and Historical Notes. ... 607
Exercises. ... 609
18.1. Forms of Learning ... 649
18.2. Inductive Learning ... 651
18.3. Learning Decision Trees ... 653
Decision trees as performance elements ... 653
Expressiveness of decision trees ... 655
Inducing decision trees from examples ... 655
Choosing attribute tests ... 659
Assessing the performance of the learning algorithm ... 660
Noise and overfitting ... 661
Broadening the applicability of decision trees ... 663
18.4. Ensemble Learning ... 664
18.5. Why Learning Works: Computational Learning Theory ... 668
How many examples are needed? ... 669
Learning decision lists ... 670
Discussion ... 672
18.6. Summary ... 673
Bibliographical and Historical Notes. ... 674
Exercises. ... 676
22.1. Communication as Action ... 790
Fundamentals of language ... 791
The component steps of communication ... 792
22.2. A Formal Grammar for a Fragment of English ... 795
The Lexicon of E_0 ... 795
The Grammar of E_0 ... 796
22.3. Syntactic Analysis (Parsing) ... 798
Efficient parsing ... 800
22.4. Augmented Grammars ... 806
Verb subcategorization ... 808
Generative capacity of augmented grammars ... 809
22.5. Semantic Interpretation ... 810
The semantics of an English fragment ... 811
Time and tense ... 812
Quantification ... 813
Pragmatic Interpretation ... 815
Language generation with DCGs ... 817
22.6. Ambiguity and Disambiguation ... 818
Disambiguation ... 820
22.7. Discourse Understanding ... 821
Reference resolution ... 821
The structure of coherent discourse ... 823
22.8. Grammar Induction ... 824
22.9. Summary ... 826
Bibliographical and Historical Notes. ... 827
Exercises. ... 831
26.1. Weak AI: Can Machines Act Intelligently? ... 947
The argument from disability ... 948
The mathematical objection ... 949
The argument from informality ... 950
26.2. Strong AI: Can Machines Really Think? ... 952
The mind-body problem ... 954
The ``brain in a vat'' experiment ... 955
The brain prosthesis experiment ... 956
The Chinese room ... 958
26.3. The Ethics and Risks of Developing Artificial Intelligence ... 960
26.4. Summary ... 964
Bibliographical and Historical Notes. ... 964
Exercises. ... 967
27.1. Agent Components ... 968
27.2. Agent Architectures ... 970
27.3. Are We Going in the Right Direction? ... 972
27.4. What if AI Does Succeed? ... 974