Joyous Brands

Artificial Intelligence: A Visual Learner's Series

Part 1: What is AI?

Every concept in this series starts with a one-line summary and a picture. Look at the picture first, then read the short notes under it.

Intelligence is a spectrum, not a switch

In one line: A machine is intelligent to the degree it reliably picks actions that work out well, including in situations nobody spelled out for it.

Fixed ruleAdaptsBroad
ExampleThermostat: heat below 68°FThermostat that learns your scheduleA person running a household
Handles new situations?NoWithin one taskAcross many tasks
LabelNot intelligentNarrow AIGeneral intelligence (AGI)

Watch out: Superhuman at one task (a chess engine) says nothing about other tasks.

Four goals for AI

In one line: Researchers have aimed either to copy humans or to do the right thing, judged either by reasoning or by behavior.

Most modern AI aims to act rationallyYardstick: human-likeYardstick: rationalThinkingActingThinking humanlyCognitive modelingReasons the way people doThinking rationallyLaws of thought (formal logic)Provably correct stepsActing humanlyThe Turing testBehaves like a personActing rationallyThe rational agentJudged by results
  • Columns ask what counts as success: matching people, or being correct.

  • Rows ask what gets judged: the reasoning inside, or the behavior outside.

  • The highlighted cell wins most modern work because results are easier to measure than human-likeness, and good action doesn't always need logic.

Watch out: "Rational" means effective at the goal, not emotionless.

The Turing test

In one line: Judge a machine by whether its conversation can be told apart from a person's.

  Judge ── text chat ──▶  Hidden A  (person?)
        ── text chat ──▶  Hidden B  (program?)
  Can't tell better than a coin flip  →  program passes

Key terms: imitation game (Alan Turing, 1950); total Turing test (adds vision and robotics).

Watch out: Fooling a judge isn't understanding, and it depends heavily on how skeptical the judge is.

The rational agent

In one line: An agent senses and acts; a rational one picks the action it expects to score best, given what it has sensed so far.

The agent senses, decides and acts, and the outcome is scoredEnvironmentThe house: floors, dirt,furniture and stairsRational agentAgent program picks theaction with the highestexpected performancePercepts (sensors)dirt seen, bump feltActions (actuators)move, turn, suck, dockoutcome scoredPerformance measureScores outcomes: clean floor, no falls, battery left
  • Percepts flow in, actions flow out, and the performance measure judges what happens in the world.

  • The agent is judged on what it could know: missing dirt it can't sense isn't irrational.

Watch out: Reward results in the world, not actions. Pay a vacuum per suck and it sucks one clean spot forever.

Bounded rationality

In one line: Perfect decisions take too long to compute, so real agents make good-enough ones within limits.

Perfect rationalityBounded rationality
Restaurant choiceRead every review in townCheck three nearby, pick one
ChessSearch every game (about 10^120)Look a few moves ahead, estimate
OutcomeNever finishesGood answer in time

Key terms: satisficing (Herbert Simon), heuristics, anytime algorithms.

Fields AI borrows from

In one line: Most of AI's core tools came from older disciplines.

FieldWhat AI took
PhilosophyLogic; mind as mechanism
MathematicsProof, computation, probability
EconomicsUtility, decisions, game theory
NeuroscienceInspiration for neural networks
PsychologyModels of cognition
Computer engineeringFast hardware, GPUs
Control theoryFeedback, objectives over time
LinguisticsModels of grammar and meaning

How the field developed

In one line: AI has moved in waves of hype, crash and a better new approach, shifting from hand-written rules to learning from data.

YearMilestone
2022ChatGPT brings language models to a mass audience
2017Transformer architecture published
2016AlphaGo beats Lee Sedol at Go
2012AlexNet launches the deep learning era
1997Deep Blue beats Kasparov at chess
~1987–1993Second AI winter as expert systems prove brittle
1980sExpert systems boom
1973Lighthill report; first AI winter begins
1956Dartmouth workshop founds the field
1950Turing proposes the imitation game
1943McCulloch and Pitts model an artificial neuron

The alignment problem

In one line: A capable agent pursues exactly the goal it was given, so a slightly wrong goal gets worse as capability grows.

A stand-in metric drifts from what you really wantThe more capable the optimizer, the wider the gap between the first and last boxWhat you wantViewers enjoy theirtime on the appWhat you measureMinutes watchedper dayWhat it ends up doingOutrage, cliffhangers,endless autoplaystand-inmaximize
  • Read left to right: each step loses a little of what you meant.

  • Goodhart's law: when a measure becomes a target, it stops being a good measure.

Watch out: Patching loopholes one by one rarely works; a strong optimizer finds the next one.

Self-test

  1. Sketch the four-goals grid from memory. Which cell does modern AI favor, and why?

  2. Draw the agent loop and label percepts, actions and performance measure.

  3. Redraw the proxy-drift diagram for a different example, such as a call center measured on call length.