Skip to content
ml-recall

Topic notes

AI Foundations & History

What AI is (weak vs strong, symbolic vs neural, rational agents), the Turing test and its critics, task environments and agent types, and the main eras of AI history.

4-min read AI-checked

Practise 38 questions Take a test

Key ideas

Weak vs strong AI. Weak (narrow) AI is built for one task or a narrow family of tasks (a spam filter, a chess engine, a chatbot). Strong AI or AGI would handle any intellectual task a human can; no such system exists yet1.

Two approaches1:

Defining intelligence.

Agents and task environments. An agent senses through sensors and acts through actuators3; a PEAS description lists Performance measure, Environment, Actuators, Sensors (for an automated taxi: safe, fast, legal trips; roads and traffic; steering, brakes, horn; cameras, GPS, speedometer). Actuators are the agent's outputs, sensors its inputs. Environments are classified along these dimensions4:

Dimension One end Other end
Observability fully observable (chess board) partially observable (hidden cards, unseen traffic)
Effects deterministic (same action, same state → same next state) stochastic (dice, other drivers)
Episodes episodic (each decision independent, e.g. checking parts on a conveyor) sequential (moves affect the future)
Change static (crossword) dynamic (traffic)
States/actions discrete (chess moves) continuous (steering angle)
Agents single-agent (crossword) multi-agent (chess, driving)

A deterministic environment can still be uncertain if it is only partially observable.

Agent designs (Russell & Norvig)3:

Type Decides by Example
Simple reflex condition–action rules on the current percept thermostat
Model-based reflex rules plus an internal state of the unseen world driver aid that tracks a car now hidden behind a truck
Goal-based search/planning towards a goal state route finder
Utility-based maximising expected utility, trading off several criteria taxi weighing speed, safety, comfort and fare
Learning improves itself: performance element acts, critic scores behaviour against a fixed standard, learning element changes the agent, problem generator suggests exploration —

Simple reflex agents fail in partially observable worlds (they can loop forever); adding memory (a model) fixes this3.

Formulas

The rational choice is the action with the highest expected performance:

a∗=arg max⁡a  E[ U(outcome)∣a,percepts,knowledge]a^* = \operatorname*{arg\,max}_{a} \; \mathbb{E}\left[\,U(\text{outcome}) \mid a, \text{percepts}, \text{knowledge}\right]

Worked example

Classify an automated taxi's environment. Its cameras cannot see round corners → partially observable; other drivers and the weather make outcomes uncertain → stochastic; each manoeuvre changes the later situation → sequential; traffic moves while it decides → dynamic; speed and steering vary smoothly → continuous; other road users act → multi-agent. A crossword solver is the opposite on almost every axis: fully observable, deterministic, static, discrete, single-agent — but still sequential, since each filled word constrains the next.

Common pitfalls

References

  1. AI for Beginners — Lesson 1 Introduction to AI: Weak AI vs. Strong AI; Different Approaches to AI; Recent AI Research
  2. Wikipedia: Turing test — History (The Chinese room); Weaknesses (Human intelligence vs. intelligence in general; Impracticality and irrelevance)
  3. Wikipedia: Intelligent agent — Agent-based definition of artificial intelligence; Russell and Norvig's classification
  4. Wikipedia: Multi-agent system — Concept (properties of environments)
  5. Wikipedia: History of artificial intelligence — Dartmouth Workshop; Micro-worlds; Perceptrons and early neural networks; First AI winter (1974–1980) incl. Problems; MIT's "anti-logic" approach; Revival of neural networks ("connectionism"); Second AI winter (AI winter); Deep learning
  6. Wikipedia: Physical symbol system — Introduction (statement of the hypothesis); Evidence against the hypothesis