DATASCI 101: Introduction to AI Applications

Lecture 02: A Brief History of AI and the Recent Shift

Danilo Freire

Department of Data and Decision Sciences
Emory University

Welcome back! 🤓

Short recap of last class

Lecture overview

Today’s agenda

  • The pre-history of AI
  • Birth of AI: Dartmouth 1956
  • Symbolic AI and expert systems
  • AI winters and why they happened
  • The neural network comeback
  • The data revolution
  • Transformers explained simply
  • From GPT to ChatGPT

Click to enlarge (all images can be enlarged by clicking on them)

Source: University of Queensland’s Brain Institute

The pre-history of AI 🏛️

The pre-history of AI

Ancient myths of artificial life

  • Humans have long dreamed of creating artificial life
  • Ancient myths featured mechanical beings:
    • Talos (Greek): Bronze giant protecting Crete
    • Golem (Jewish folklore): Clay figure brought to life
    • Frankenstein (1818): Mary Shelley’s novel about creating life
  • We’ve always been fascinated with replicating intelligence
  • Can machines truly think, or only simulate thinking?

Talos

Source: Wikipedia - Talos

Early mechanical calculators

From Pascal to Babbage

Babbage’s Analytical Engine (replica)

Source: Wikipedia - Analytical Engine

Human computers

When “computer” meant a person

  • For most of history, the word “computer” referred to a person, not a machine!
  • Large teams of human computers performed complex calculations:
    • Astronomical tables
    • Ballistics trajectories
    • Census data
  • Often women, who were paid less than male mathematicians
  • This division of mental labour (Adam Smith!) showed that complex calculations could be broken into simple, mechanical steps
  • Historian Lorraine Daston: Calculation shifted from “genius” to “merely mechanical”

Human computers at NASA (1950s)

Source: NASA

Alan Turing and the foundations of computing

The theoretical breakthrough

The standard version of the Turing test

Source: Wikipedia - Turing Test

Live Turing test!

  • Guess if the following sentences were written by a human or a machine:
  • “The universe (which others call the Library) is composed of an indefinite, perhaps an infinite number of hexagonal galleries, with enormous ventilation shafts in the middle, encircled by very low railings.”
  • “This is a multifaceted issue that requires us to examine several different perspectives.”
    • Machine!
  • “The function of science fiction is not always to predict the future but sometimes to prevent it.”
  • “The epistemological ramifications of this ontological framework necessitate a paradigmatic shift in our heuristic methodologies.”
    • Machine!
  • And yes, GPT-4.5 did pass the Turing test (judged human 73% of the time, more often than actual humans)

The birth of AI (1950s–1970s) 🎂

The Dartmouth Conference (1956)

Where it all began

“Every aspect of learning or any other feature of intelligence can in principle be so precisely described that a machine can be made to simulate it.”

The Dartmouth workshop participants

Source: IEEE Spectrum

Symbolic AI and expert systems

Two approaches to intelligence

Symbolic AI, 1956–1980s

Expert systems, 1970s–1980s

  • Shift to narrow domains with expert knowledge

  • Encode human expertise as if-then rules

  • Examples: MYCIN (bacterial infections, video here), DENDRAL (chemical analysis, video here)

  • Edward Feigenbaum: “The problem-solving power… is primarily a consequence of the specialist’s knowledge employed

  • Both approaches relied on hand-crafted knowledge, not learning from data

  • Neither could learn or improve automatically

The AI winters

The first winter (1974–1980)

  • Combinatorial explosion, limited computing power, brittleness
  • Funding collapsed, researchers left the field
  • Lesson: AI is harder than pioneers thought

The second winter (1987–1993)

  • Expensive to maintain, knowledge bottleneck, couldn’t learn
  • Desktop computers made specialised AI hardware obsolete
  • Market collapsed by 1987
  • AI” became a dirty word

The pattern

  1. Bold claims attract funding
  2. Initial successes create excitement
  3. Limitations become apparent at scale
  4. Funding dries up, researchers move on
  5. Quiet research continues, laying groundwork…


Anything familiar about this pattern? 😅

Maybe this time is different? 🤷🏻‍♂️

Neural networks: rise, fall, and rise again 🧠

Early neural networks

Inspired by the brain

  • Each input (\(x_i\)) is a number, say a pixel’s brightness
  • A weight (\(w_i\)) sets how much that input matters
  • Add the weighted inputs, plus a bias (\(b\)) that decides when the neuron fires: \(z = \sum x_i \cdot w_i + b\)
  • Pass \(z\) through an activation function, a non-linear bend: \(y = f(z)\)
  • Without that bend, the whole network is just a linear model

Perceptron diagram

Source: AI Mind

The backpropagation breakthrough (1986)

Learning to learn

  • 1986: Rumelhart, Hinton, and Williams popularise backpropagation
  • You can train multi-layer networks by propagating errors backwards through the layers
  • It finds functions that are highly non-linear with very precise adjustments to many weights
  • Finally, neural networks could learn complex patterns!
  • Renewed interest in connectionism
  • But challenges remained:
    • Limited computing power
    • Not enough training data
  • Neural networks showed promise but couldn’t yet compete with other methods

Backpropagation diagram

Source: Medium

The data revolution 📊

The unreasonable effectiveness of data

A paradigm shift

  • 2009: Google researchers (Halevy, Norvig, Pereira) publish a landmark paper called “The Unreasonable Effectiveness of Data
  • Simple models with lots of data beat complex models with less data
  • Traditional AI: Design clever algorithms
  • New AI: Feed massive amounts of data to simple learning algorithms

“Now go out and gather some data, and see what it can do.”

  • Data, computing power, and better algorithms came together at the same time
  • Any one alone wasn’t enough, but all three together changed the field

More data beats better algorithms

Source: Google Research

The ImageNet moment (2012)

Deep learning arrives

  • ImageNet: A dataset of 14 million labelled images
  • Annual competition: Classify images into 1,000 categories
  • 2012: AlexNet (Krizhevsky, Sutskever, Hinton) wins by a huge margin
  • This was a great moment for deep learning!
  • Within years, deep learning dominated computer vision
  • Proved that neural networks + big data + GPUs = breakthrough

Ilya Sutskever, Alex Krizhevsky, and Geoffrey Hinton

Source: Medium

Transformers: that’s all you need ⚡

Attention is all you need (2017)

The transformer revolution

  • 2017: Google researchers publish “Attention Is All You Need” (Vaswani et al.)
  • Self-attention mechanism
  • Instead of processing sequentially:
    • Each word can “look at” every other word directly
    • Computes relevance scores between all pairs
    • Parallel processing: Much faster to train
  • This architecture powers GPT (Generative Pre-trained Transformer), BERT, and pretty much all modern AI
  • Beyond text: Now used in images, audio, video, proteins, games…

The paper that started it all

How transformers work (simplified!)

The big picture

Transformer architecture overview

Source: Hivenet

Five steps:

  1. Tokenise: cut the text into pieces
  2. Embed: give each piece a list of numbers
  3. Attend: let the pieces look at each other
  4. Stack: repeat step 3 dozens of times
  5. Predict: guess the next piece

Step 1: Tokenisation

Breaking text into pieces

  • Text must be converted to numbers
  • Tokenisation: Split text into tokens
    • Usually words, letters, or word pieces
    • “unhappiness” → “un”, “happiness”
    • GPT-2 has a vocabulary of 50,257 tokens
  • Each token gets a unique ID number
  • Think of it as creating a dictionary where each word/piece has a code

Tokenisation diagram

Source: Medium

Step 2: Embeddings

Words as points in space

  • Each token becomes a vector (a list of numbers)
  • GPT-2: Each token → 768 numbers (nothing special about 768; models use different sizes)
  • These vectors capture meaning:
    • Similar words are close together
    • “king” - “man” + “woman” ≈ “queen”
  • Also add position information:
    • Word order matters in language!
    • “Dog bites man” ≠ “Man bites dog”
  • Embeddings start as random numbers
    • Every bad guess nudges them, and words used alike drift together
  • Nobody arranges them. Meaning is a side effect of predicting well

Words plotted in 3-dimensional space. Embeddings can have hundreds or thousands of dimensions, too many for humans to visualise

Source: Google Cloud

Step 3: Self-attention

The main innovation of the paper

  • The model is always guessing the next word:
    • “The animal didn’t cross the street because it was too ___”
  • “tired” if “it” means the animal, “wide” if it means the street
  • So the guess depends on what “it” refers to
  • But after Step 2 each word sits alone, and “it” is the same 768 numbers in every sentence
  • Attention lets “it” reach back to “animal” and “street”, weigh both, and “tired” wins
  • Attention is the only step where words see each other

You may meet these called Query (what a word is looking for), Key (what a word advertises about itself) and Value (what it hands over when matched). How well a query matches a key is the attention score

Self-attention: Words attend to each other

Source: Jay Alammar

Multi-head attention

“The cat sat on the mat”

Source: Thomas Wiecki

  • Same idea, new sentence: “The cat sat on the ___”
  • One search is not enough. The guess needs several things at once:
    • Who is doing it: “cat”
    • What they are doing: “sat”
    • What kind of word follows “on”: a place
  • Multi-head attention: 12 searches side by side, each asking its own question (GPT-2 small)
  • Nobody assigns the questions. The heads specialise during training
  • Division of labour again, and this time it organises itself

Step 4: Feed-forward and stacking

Where the model keeps what it knows

  • “The cat sat on the ___”
  • Attention brings “cat” and “sat” to the guessing position
  • But nothing in the sentence says what a cat sits on, so it must come from memory
  • That memory is the feed-forward network (MLP)
  • Attention moves what is in the sentence. The network adds what is not
  • The two make one block: 12 in GPT-2, 96 in GPT-3, far more since
  • Each block adds to the word rather than replacing it, so nothing is lost on the way up
  • Each round asks a better question than the last:
    • Early blocks: what kind of word is this?
    • Late blocks: what is this text about, and what comes next?

One transformer block

Source: Mohamed Traore

Also called a multi-layer perceptron (MLP): Rosenblatt’s perceptron from 1958, stacked in layers and trained by backpropagation. Two thirds of a model’s weights live here, not in attention

Step 5: Predicting the next token

The final output

  • After all the blocks, the model asks: “what comes next?
  • It gives every token in its vocabulary a score
  • Most score roughly zero. A handful take almost everything
  • Temperature controls how the winner is picked:
    • Low (0.2): takes the safe option
    • High (1.0+): takes more risks
  • The chosen token joins the sentence, and the whole process repeats

“The cat sat on the ___”

Source: Transformer Explainer

Step 5: Predicting the next token

The final output

Probability distribution over vocabulary

Source: Transformer Explainer

From GPT to ChatGPT 🚀

The rise of large language models

Scaling up

Model Year Parameters Notable Achievement
GPT-1 2018 117M Showed pre-training works
BERT 2018 340M Revolutionised NLP benchmarks
GPT-2 2019 1.5B “Too dangerous to release”
GPT-3 2020 175B Few-shot learning emergence
GPT-4 2023 ~1.7T? Multimodal, near-human reasoning
GPT-5 2025 Undisclosed More efficient, even better reasoning


  • Bigger models + more data = emergent abilities
  • Capabilities appear at scale that weren’t explicitly trained
  • This is the “scaling hypothesis” (although some people, like Ilya Sutskever, argue that scaling has reached its limits)

What makes ChatGPT different?

Beyond just scaling

ChatGPT’s explosive growth

Source: Voronoi

Multimodal AI

Beyond text

  • Modern AI isn’t just about text anymore
  • Multimodal models can process:
    • Text ↔︎ Images (DALL-E, Midjourney)
    • Text ↔︎ Audio (Whisper, ElevenLabs)
    • Text ↔︎ Video (Sora, Runway)
    • Text ↔︎ Code (Codex, Copilot)
  • Same transformer architecture, different inputs/outputs
  • Vision Transformers (ViT): Treat images as sequences of patches
  • The boundaries between modalities are blurring

Multimodal AI: Understanding multiple types of data

Source: Tarun Sharma

Takeaways 📚

What changed? What stayed the same?

Continuity and transformation

What changed:

  • We stopped writing rules by hand and started letting machines learn from data
  • AI went from doing one narrow thing to doing many things with a single architecture
  • The bottleneck shifted from clever algorithms to data and computing power

What stayed the same:

  • We still ask the same question Turing asked in 1950: can machines think?
  • AI systems are still brittle, biased, and lacking common sense
  • We still go through hype cycles. Are we in one now? 🤷🏻‍♂️

Interactive resource

Explore transformers yourself!

  • Georgia Tech’s Transformer Explainer
  • Interactive visualisation of how transformers work
  • See attention patterns in real time
  • Experiment with temperature and sampling
  • Runs GPT-2 directly in your browser!
  • Great for building intuition

https://poloclub.github.io/transformer-explainer

… and that’s all for today! 🎉

See you all soon! 😊