Week 8: Monday—What is AI? A Short History.

Data Literacy

What Comes to Mind?

  • When you hear “Artificial Intelligence,” what do you picture?
  • Where did it actually come from?

Alan Turing (1950)

  • “Can machines think?”
  • The Turing Test

The Term Gets Coined

  • 1956, Dartmouth Summer Research Project
  • “Artificial Intelligence” is named

Decades of Slow Progress

  • Rule-based systems, “if this, then that”
  • “AI winters”
  • The bottleneck wasn’t imagination, it was computation

AI Is a Big Umbrella

  • AI: the broad goal
  • Machine Learning (ML): today’s dominant approach

Machine Learning (ML)

  • Supervised learning
    • Regression models
    • Convolution Neural Networks (CNNs)
    • Recurrent Neural Networks (RNNs)
  • Unsupervised Learning
    • Clustering (K-means)
    • Dimensionality Reduction (PCA)

What Modern AI Is Actually Doing

  • Predicting what comes next
  • Next word, next frame, next note

The Old Way: RNNs

  • Read one word at a time, in order
  • Word 500 has to wait for everything before it

The Shift: Transformers (2017)

Why It Was a Breakthrough

  • No more waiting word by word
  • Spread the work across thousands of processors
  • More data and compute kept making it better

So, “Is It AI?”

  • Yes, technically
  • But not “thinking” the way the word suggests

How Does AI Work?

1. Tokenization
Text breaks down into standard sub-word units.


2. Embeddings
Tokens map to high-dimensional vectors.


3. Attention
Vectors are compared pair-by-pair.

“Truthfully, the bewilderment I experienced was surprising.”

Becomes:

["Truth", "fully", ",", "the", "be", "wilder", "ment", "I", ...]

Each token becomes a vector of numbers:

  • OpenAI’s models use ~1,536 dimensions per token.
  • A 1,000-token prompt creates 1,000 parallel vectors.
[
  [12, 1231, 234, ... 1536 numbers for Token 1],
  [89, 4321, 567, ... 1536 numbers for Token 2],
  ...
]
  • Comparing two vectors is just math, a dot product
  • Attention compares every token’s vector to every other token’s vector
  • 1000 tokens means roughly 1,000 x 1,000 comparisons
  • Double the prompt, and the work roughly quadruples
  • This is why context windows have limits