CS 486 students must pass the exam to pass the course.
Covers all course material.
Score breakdown
CS 486
Assignments 30%
Chat 20%
Final exam 50%
+ Optional project: 10% bonus.
CS 686
Assignments 30%
Project 30%
Final exam 40%
The goal of AI
Sense, comprehend, act, and learn.
Use computation to solve hard problems.
Not limited to biology-inspired methods.
Birth of AI
Alan Turing, c. 1928
Alan Turing (1912–1954): WW2 codebreaker; asked "Can machines think?"; proposed the imitation game.
Dartmouth, 1956: John McCarthy coins the term artificial intelligence.
McCarthy also invents Lisp.
The Turing Test
If the machine fools the interrogator, it "passes" the Turing Test.
ELIZA — pattern matching that "fooled" people (Weizenbaum, 1966)
ME: Hi
ELIZA: How do you do? What brings you to see me?
ME: I'm thinking of taking a course in artificial intelligence.
ELIZA: Why do you say that?
ME: I'm worried about it
ELIZA: Are you worried often?
ME: when I take AI courses
ELIZA: What happened when you take ai courses?
ME: I usually spend long nights doing assignments
ELIZA: Earlier you said you felt worried?
ME: about AI courses
ELIZA: Maybe your plans have something to do with this.
ME: no
ELIZA: Why not?
ME: because I think you are a computer
ELIZA: Is it because you think I am a computer that you came to me?
Loebner Prize — the Turing-Test competition, 1990–2019
Annual Turing-style contest, launched by Hugh Loebner.
Grand prizes ($25K text-only / $100K text + audio + video) never awarded.
Replaced today by modern LLM evaluations.
CONFEDERATE: Hello, my name is Sam and I am the human
JUDGE: Hi Sam, tell me which is larger, a TV screen or Belgium.
CONFEDERATE: Belgium is a little bit larger.
JUDGE: Wljso lwjejdo wleje elwjeo wjeol, isn't it?
CONFEDERATE: Is that Polish?
JUDGE: Which is further away from this apartment, Queens or the Queen of England?
CONFEDERATE: If the Queen is visiting Manhattan, she is closer.
SHRDLU — Winograd, 1968
First system that linked language to a (virtual) physical world.
Tiny domain: a "blocks world".
Pick up a big red block
OK
Grasp the pyramid
I DON'T UNDERSTAND WHICH PYRAMID YOU MEAN
What does the box contain?
THE BLUE PYRAMID AND THE BLUE BLOCK.
What is the pyramid supported by?
THE BOX.
How many blocks are not in the box?
FOUR OF THEM
Games as an AI testbed
Min–max: one player maximizes, the other minimizes.
Game playing = search over states.
Chess — Deep Blue, 1997
~\(10^{100}\) game-tree states.
1997: IBM Deep Blue defeats Garry Kasparov, 3.5–2.5.
Decision-making under uncertainty (MDPs, value iteration, basic RL)
Foundations of ML (decision trees, basic neural nets, backprop)
IS NOT — Modern AI
Training / building LLMs (GPT, Claude, Gemini)
Prompt engineering or agentic LLM applications
Modern deep learning at scale (transformers, diffusion, foundation models)
Production ML systems, GPU clusters, RAG, fine-tuning
Reality check: most empirical AI breakthroughs of the last 5 years came from scale + deep learning, not from the algorithms in this course. For modern AI, take CS 480 / 680, grad NLP/ML courses, or read recent ICLR/NeurIPS papers.
Keeping up with modern AI
Most of what's happening in AI isn't in textbook. Twitter/podcasts are where the field actually communicates.
Or just ask the models themselves:ChatGPT ·
Claude ·
Gemini
— very good at explaining recent papers, code, and jargon.
Personal opinion. Not an endorsement by Waterloo.
This is how “search” is done in 2026
Karpathy's autoresearch, March 2026 — not the informed / uninformed search in our L2–L5 module.
Karpathy stripped nanochat down to a single-GPU, ~630-line training repo. The agent edits train.py; the human only edits the prompt that drives the agent. Each training run is a fixed 5 minutes.
~12 experiments per hour. ~100 while you sleep. Winners are committed to a feature branch.
Karpathy's published progress.png — 83 experiments, 15 kept (green). Lower validation BPB is better.
Gray dots: tried and discarded. Green dots: kept. The agent autonomously tuned batch size, warmup, warmdown, depth, window pattern, RoPE base frequency — and yes, even the random seed.
Andrej Karpathy, autoresearch, March 2026. Chart from the repo's progress.png.
My take: this is what replaces classical AI
Personal opinion. Not consensus.
387→507→839→864(max)
Codex (OpenAI, May 2026) writes & iterates a pure-Python Breakout policy. No neural network trained.
Same recipe: MuJoCo Ant 6000+, HalfCheetah ~11,800 (Deep-RL range); Atari57 median ≈ PPO across 342 unattended runs.
My read: LLM-driven code synthesis is what replaces the hand-derived classical algorithms in this course.
Jiayi Weng (OpenAI). "Learning Beyond Gradients", May 2026. Single blog post, not peer-reviewed. The framing is my personal opinion.
Distinguished Lecture: Prof. Kyunghyun Cho (NYU)
Photo: NYU Photo Bureau / Gallo
Professor of CS & Data Science at NYU; Co-Director of the Global Frontier AI Lab (with Yann LeCun).
Co-author of two foundational papers in modern NLP:
The GRU recurrent unit (Cho et al., 2014).
The seminal attention mechanism for translation (Bahdanau, Cho, Bengio, 2015) — direct ancestor of today's LLMs.