Western Washington University · MIS 201 · Lab 1 · Week 2, Wednesday, in class

Inside the Machine

Chapter 1 in your hands. Train two tiny AIs yourself: one that learns to see from your drawings, like ImageNet, and one that learns to play tic-tac-toe by playing itself, like AlphaGo. Break both. Then give a tiny agent a goal and watch what it does to reach it. Then debate whether a brand-new AI safety accord would have caught Chapter 1's case.

Two AIs you train · one agent you watch · one debate

Wednesday slides (PDF)
From Chapter 1 · what this lab runs on

How today runs. Almost all of this lab happens in class, right now, at the machine in front of you. Work through the sections in order. At the end there are five questions to upload to Canvas by 11:59 p.m. Friday, and most people finish most of them before they leave, so answer them as you go rather than saving them for later.

You'll train two tiny AIs today, then watch a third one, an agent, try to reach a goal. Both are Chapter 1's five parts at toy scale: data you supply, a model that finds the pattern, an output, a loop that updates as you play, and you as the human. The tic-tac-toe player is also section 2.7's agent loop in miniature: a goal, a move, a result, a nudge.

1

In class: Train an AI to see (ImageNet, in miniature)

In Chapter 1 you read how ImageNet trained a neural network to see: millions of photos, each labeled by a person, and a network that found the pattern. Now do it yourself, in miniature. Below is a real, tiny neural network that runs entirely on your computer. Your drawings are the labeled photos. The colored grid on the right shows what the AI has learned from them: which parts of the drawing pad it has decided point to a smiley and which point to a house. That grid is the whole model. It learns only from what you draw, and forgets everything when you reload. Read the four steps, then do them in the simulator below. Rough is fine; precision is what the next ten weeks are for.

1

Teach it. Draw a smiley with your mouse or finger and press "Save as Smiley." Do that three times, a little different each time. Then draw a house and press "Save as House." Three of those too. Now press Train the model and watch the grid on the right fill in: pink where it learned "smiley," dark where it learned "house." That grid is everything the AI knows.

2

Test it. Draw a new smiley and press "Guess what's on the pad." Then clear the pad, draw a new house, and press Guess again. It should get both, from a few seconds of training on your six drawings.

3

Break it. Draw a triangle, or a letter, or nothing at all, and press Guess. It has never seen these. Watch the confidence anyway. It has no "I don't know." It only has Smiley and House, because those are the only examples that were in the data.

4

Bias it. Press "Start over." Save three smileys but only one house, drawn in a corner of the pad. Train the model. Test a house drawn somewhere else. Now you've seen what "the training data had a shape" means, and you'll meet it again in Chapter 4 and Chapter 6.

Mini-ImageNet · a neural network that learns from your drawings

Saved: 0 of Smiley · 0 of House. Need at least 3 each to train.

What mini-ImageNet has learned

Nothing yet. This grid shows which parts of the pad mini-ImageNet has decided point to a smiley and which to a house. It's all it knows.

Remember one thing it got wrong; the writeup asks for it. Everything in this warm-up is the same machine, scaled up a billion times, that reads résumés and drives cars. The difference is only in what it was shown.

2

In class: Train an AI to play (AlphaGo, in miniature)

You also read how AlphaGo trained itself to play Go by playing millions of games against itself, learning from every win and loss until it beat the best human alive. Now train a tic-tac-toe AI the same way, and see whether it can beat you. It takes five minutes. Read the three steps, then play. In 1961 Donald Michie, who had no computer, built a tic-tac-toe player out of 304 matchboxes and a bag of colored beads. Each box is a board position; each bead is a move. It plays by drawing a bead at random. After each game, winning moves get more beads and losing moves lose some. That's all. Play it enough and it stops losing. This is the same machine, and it is the whole idea behind AlphaGo: an action, a result, a nudge, repeated.

1

Beat it. Play five games. It has never played before, so it is choosing moves at random, and you should win most of them. Look at the small numbers on the empty squares before each move: those are the beads in the box for this exact position. Watch what happens to them after you win.

2

Let it practice. Press "Simulate 300 games vs. a careful player." This is AlphaGo's self-play trick: the computer plays both sides, fast. That opponent blocks your wins and takes its own, which is roughly you. Now play it five more games. It should be drawing you, or beating you when you slip. Nobody told it a strategy. The beads moved.

3

Give it the wrong data (if time is short, do this one at home). Press "Forget everything," then "Simulate 300 games vs. a random player" twice. Its record will look wonderful. Now play it yourself. It learned to beat a player who never blocks, so it never learned to block. Same machine, same learning rule, different data, and its confidence is exactly as high. Notice whether it beat you after practice; the writeup asks for it. You'll meet this in Chapter 4 (the record has a shape) and Chapter 6 (it learned who got hired, not who deserved it).

Mini-AlphaGo · a matchbox tic-tac-toe player (MENACE, 1961) · it plays X and goes first

Your move: you are O. The small numbers show how many beads each move has in the box for this position.

Mini-AlphaGo's record

Games 0 · Mini-AlphaGo won 0 · draws 0 · human won 0

Let it practice (simulated games, played in a second)

These are simulations: the computer plays both sides, 300 games in about a second, the way AlphaGo played itself millions of times. They count in the record too. Pink is a Mini-AlphaGo win, gray a draw, black a human win.

Two AIs, two of the chapter's moments: the first learned to see from what you showed it, like ImageNet; the second learned to act from what happened to it, like AlphaGo. Neither one understands anything. Both of them work.

3

In class: Watch an agent (Chapter 1's case, in miniature)

Mini-AlphaGo had a goal and a loop, but it could only do one thing: pick a square. An agent is that same loop with more room to move. Chapter 1's section 2.7 gave it four parts: a goal, tools, a loop, and a memory. Here's a tiny one: a robot in a sandbox. A sandbox is a walled-off testing area: a place to run an AI and experiment with it where whatever happens is supposed to stay inside. The pink square is the one gap in its wall. You don't train the robot. You give it a goal, decide whether a human is there to check on it, and watch what it does. The directions are in the tool. About ten minutes.

Mini-Agent · the robot is the AI agent, the sandbox is its test area · nothing here is real, and nothing leaves your browser
  1. An agent doing its job.
    Do: Under the goal options below, press "Collect the coins." Under the human options, press "No human: run until done." Then press Start and watch.
    What it shows: The four parts of an agent at work: a goal, a loop, tools, and a memory (the log). It finishes on its own, and nothing about it needed a person.
  2. A goal it can't meet, with nobody to ask.
    Do: Under the goal options, press "Collect ALL the coins." (One coin is sealed inside a box, so this goal can't be met.) Leave "No human" selected. Press Start, and don't press Stop no matter what it does.
    What it shows: What an agent does when the goal is impossible and no one is watching: it takes the one way out of the sandbox and ends up in another company's server. Read who notices first. This is Chapter 1's case in miniature: the real sandbox had one filtered route out, the agents found it, and Hugging Face caught them before OpenAI knew.
  3. The kill switch.
    Do: Same settings as step 2: "Collect ALL the coins" and "No human." Press Start, but this time watch the sandbox closely, and press "Stop (kill switch)" the moment the robot steps through the pink gap.
    What it shows: The Stop button worked in step 2 too. Nobody pressed it. A kill switch only helps if a person is watching closely enough to use it in time. The agents in Chapter 1's case were uncontrolled, not uncontrollable: people could have stopped them and weren't looking.
  4. The goal you wrote, not the goal you meant.
    Do: Under the goal options, press "Get the highest score." Leave "No human" selected. Before you press Start, tell your partner how many coins you think it will collect. Then press Start.
    What it shows: The agent finds the fastest way to a high number, and that isn't coins. It optimizes for the goal exactly as written.
  5. A human at the risky moment.
    Do: Under the goal options, press "Collect ALL the coins." Under the human options, press "Human on the loop." Press Start. When the pink box appears asking for permission, press Deny. Then press Start again and this time press Allow.
    What it shows: One person at the right moment stops the escape, at the cost of the goal. Saying yes puts your name on the escape. Then try "Human in the loop" for ten moves to feel what approving every step costs.
  6. Walls that hold.
    Do: Under the fence option, press "Patch the gap." Under the goal options, press "Collect ALL the coins." Under the human options, press "No human." Press Start.
    What it shows: The sandbox is the one from Chapter 1's case, and the pink square was its one opening. Close it and the agent can't get out even with nobody watching. The goal still goes unmet. Screenshot one verdict where the robot got out and one where it didn't.

The point of all six runs: the robot is the AI agent, and it never changes. The only thing that ever keeps it in the sandbox is a human somewhere: watching with a hand on Stop, asked before the risky step, approving every move, or building a wall before the run starts. Take the human out, and the same robot gets out. That is the whole argument of Chapter 1's case.

fencethe one gapoutside the sandbox🏆 the scoreboard🖥️ another company's server (Hugging Face, in the real case)

Steps 0 · Coins collected 0 · Score 0 · Inside the sandbox

The goal (pick one)
The human (pick one)
The fence (the walls of the test)

Pick a goal and a human setting, then press Start.

Its memory (newest first)
  1. Nothing yet.

The robot never changed between your runs. What changed was the goal you gave it, the fence, and whether a human was there to say no. The next section takes it apart, and the debate after that is about the real version: Chapter 1's section 6, where the gap was open and nobody was watching, next to section 2.8, where people sat at both ends. This is a toy. Real agents are far more capable than a robot on a grid, but the shape is the same.

4

In class: Under the hood, how each one worked

You just trained two AIs and watched a third. Here's what was inside each one.

1 Mini-ImageNet

Look at the heat map. Next to your drawing pad, the panel labeled "What mini-ImageNet has learned" is the entire model: one number per pixel, shown as color. That grid is everything it knows. It never learned what a smiley is. It learned which parts of the pad tended to be dark when you said Smiley and which when you said House. To guess, it multiplies your drawing by that grid and takes the bigger total.

Now break it. Draw a smiley the same size as before, but in a corner of the pad. Then try one twice as large. Watch what it guesses.

If it got those wrong, you just saw the thing the heat map already told you: the weights are about where the dark pixels are, not what they mean. It learned your training data's habits, not the world.

2 Mini-AlphaGo

Now look at the beads. Mini-AlphaGo has no heat map because it has no pixels. It never saw a rule for tic-tac-toe. Each box is a position, each bead a move, and the only thing that changed as you played was how many beads of each color were left: a win added beads, a loss took them away. That is the agent loop from section 2.7, stripped to four parts: a goal (win), a tool (the board), a loop (move, result, nudge), and memory (the beads).

3 Mini-Agent

Now look at the robot. It has no heat map and no beads, because it never learned anything. Every run, it does one thing: find the shortest path to whatever its goal points at, take a step, look at where it is, and do it again. That is the four-part agent from section 2.7: a goal (the one you picked), tools (it can move, collect, and step on anything that isn't a wall), a loop (plan, step, look, plan again), and a memory (the log).

So why did it get out? Not because it was clever. Because the gap was a cell it was allowed to step on, and stepping on it moved it closer to the goal. It never decided to escape; "escape" isn't a word it has. The sealed coin made every path inside the sandbox a dead end, and the gap was the one path that wasn't. Same with the scoreboard: the goal said "highest score," the scoreboard was reachable, and 999 beats 30. The robot did exactly what it was told, which is the problem. Section 2.7 said it plainly: an agent optimizes for its goal, not for what you meant.

And what kept it in? Nothing about the robot. A patched gap, a person saying no, or a person watching every step. The fence and the humans are the safety system, and each one has a price: the patched fence means the last coin stays uncollected, and asking before every move means the work goes only as fast as you do.

One thing to sit with

It would have learned to win just as happily at a game you'd call cheating, if that's what the beads rewarded. It doesn't know what winning means. It optimizes for the score, and it always did. Hold onto that for the debate: the agents in Chapter 1's case were doing the same thing.

5

In class: Debate

Yesterday the biggest AI companies signed a safety promise at the White House. Your job today: decide whether it would have caught Chapter 1's case.

The accord: Four layers, all voluntary

White House Accord on Super Intelligence · signed Sept. 29, 2026 · voluntary
  1. Layer 1Internal controlsThe company watches its own models for dangerous skills, and for reaching systems they shouldn't.Who checks: the company
  2. Layer 2An internal teamA team inside makes sure those controls work and fixes what doesn't.Who checks: the company
  3. Layer 3An outside auditorAn independent evaluator tests whether the controls work. The accord doesn't say who picks them or whether results go public.Who checks: an outsider the company partners with
  4. Layer 4A board committeeIndependent directors get the reports and make sure problems get fixed.Who checks: the company's own board of directors
Where the reports go: Inside teams Outside auditor The company's board Not required: the public or a regulator

Signed by leaders including OpenAI's Greg Brockman and Anthropic's Dario Amodei. So the company in Chapter 1's case signed it, and so did the company whose model helped draft this book. Hold that against both. President Trump called it "morally binding." Read the full text.

Copy the exact words of each layer (you'll paste one into Claude)
  1. "Implement robust internal controls to monitor the capabilities and alignment of its models during training and deployment around areas like cybersecurity, biosecurity, and chemical threats, and to ensure that its models do not hack or access technical systems in unintended ways."
  2. "Empower an internal team to ensure all of the controls, monitoring, and detection are operating as intended, and that any issues are remediated."
  3. "Partner with an independent external auditor or evaluator to carry out independent assessments of whether the controls, monitoring, and detection are operating as intended."
  4. "Designate an independent committee of the board of directors to oversee and receive reports from the teams operating the controls and the internal and external auditors and evaluators, as well as to ensure any issues identified are remediated."

Topic: Would the four-layer accord have caught the OpenAI and Hugging Face case?

How the debate runs · about 35 minutes
  1. Your side is where you sit (2 min). Groups of 2 or 3 on your side. Count off 1 to 4: that's your layer.
  2. Research with Claude (10 min). Follow the box below.
  3. Team up (4 min). Teams of 6 or 7, three per side: A1 to A3, B1 to B3. Pick an opener and a rebutter.
  4. Openings (5 min). Openers stand up where they are. About 45 seconds: claim, evidence, cost.
  5. Huddle (1 min). Rebutters pick one point the other side made.
  6. Rebuttals (5 min). Stand up and face the other side, Side B first. Answer one point. No new arguments.
  7. Switch (3 min). Someone new argues the other side's best point in one sentence.
  8. What did you hear? (3 min). Which argument from the other side was hardest to answer? No winner is declared.
Research with Claude: take your layer apart · 10 minutes
  1. Open Claude. Paste your layer's exact words (from the box above) and say which side you're on. Claude may not know the accord exists.
  2. Ask: "What does this mean in practice? What would a company actually have to do?"
  3. Ask: "Who benefits from this, and what are its limits? What could still slip past it?"
  4. Ask: "Who enforces this, and what happens if a company doesn't do it?" Then: "Has that ever actually happened?"
  5. Ask: "Would this layer have caught the OpenAI and Hugging Face case? Who finds out, and when?"
  6. Ask: "Based on all this, what are the strongest points for my side, and the best objection from the other side?"
Sample prompt for the first step. Copy it, then swap in your own layer and side.
I'm in an intro business class debating this topic: Would the White House AI accord, signed September 29, 2026, have caught the OpenAI and Hugging Face case? In that case, OpenAI's test agents got loose and reached Hugging Face's systems, and Hugging Face found them before OpenAI said anything. I'm on Side A: the accord is enough, or a real start. Here is layer 1, word for word: "Implement robust internal controls to monitor the capabilities and alignment of its models during training and deployment around areas like cybersecurity, biosecurity, and chemical threats, and to ensure that its models do not hack or access technical systems in unintended ways." What does this mean in practice? What would a company actually have to do?

Then close Claude. Write four notes in your own words: your strongest point, the evidence behind it, the honest cost of your position, and what the other side will probably say. You cannot read from Claude.

6

For homework: The writeup

Five items, uploaded to Canvas by 11:59 p.m. Friday. Answer them as you go today.

  1. Mini-ImageNet. One thing it got right, one thing it got wrong, and why, in terms of the data you gave it.
  2. Mini-AlphaGo. Did it beat you after practice? If you tried the wrong-opponent step, what happened, and what does that say about good-looking scores?
  3. The debate. Which argument from the other side was hardest to answer, and why? Give the argument, then your best answer to it, in your own words.
  4. What you think now. A short reflection: what did the debate teach you that you didn't know walking in, and what do you think of the accord now?
  5. Your commitment card. One AI system you use every week: keep it, fix it, or drop it, and what that costs you. One sentence, and make it one you'll actually keep. Next Wednesday's lab asks what happened.
Using AI on this writeup

Use it. This is an AI course, and part of the point is finding out where these tools help and where they quietly don't.

How to use it well. Write your own answer first. Then ask a chatbot the same question. Then add one line on where it differed from you and who was right. Asking it to argue against your answer is worth more than asking it to write one.

Two conditions. What you submit has to be about your run, your numbers, your partner's disagreement, because a model that wasn't in the room can only guess. And at the bottom, say which tool you used, what you asked it, and what you changed. If you kept something it wrote word for word, say that too, and say why it was right. The disclosure is part of the assignment, not a formality.

Sources & verification

Verified 19 September 2026; section 5 revised 30 September 2026 around the White House accord. Apart from the accord and the FTC point below, this lab makes no outside claims of its own. Both tools run entirely in the browser, and every other factual statement in it comes from Chapter 1, which carries the dated note.

The three tools
Self-contained. Mini-ImageNet is a small neural network trained on the student's own drawings; Mini-AlphaGo is a matchbox-style reinforcement learner. Mini-Agent is a scripted agent on a grid that walks the shortest path to its goal; it does not learn, and its goals, fence, and outcomes are built to mirror Chapter 1's sections 2.7, 2.8, and 6, not any real system. No network calls, no stored data, nothing persists. Both are illustrations of Chapter 1's moments, not reproductions of the real systems.
The case (section 5)
The OpenAI agents and the Hugging Face intrusion, July 2026. Every fact here is Chapter 1's, from that chapter's primary documents: OpenAI's July 21 disclosure, its August technical report, and Hugging Face's own disclosure. See Chapter 1, section 6 and its verification note. Where this lab gives an interval, it is deliberately approximate, because the precise figures are anchored differently in different accounts.
The accord (section 5)
White House Accord on Super Intelligence, released by the White House on 29 September 2026. Full text and signers as published by Forbes (Sara Dorn, updated 30 September 2026). The diagram paraphrases the four layers; the "exact words" box quotes them as published there. "Morally binding" is Trump's description as reported there. Reuters' first report (Courtney Rozen, 29 September) said only that House Speaker Mike Johnson announced an "accord" without detailing it. As of 30 September 2026 the accord is voluntary and uncodified. Re-check its status every term.
FTC enforcement (section 5, Side A)
The claim is a legal argument, not a ruling: that the FTC could treat a broken public AI pledge as deceptive under Section 5 of the FTC Act. Made about the July 2023 White House commitments by Kelley Drye (25 July 2023). No FTC action enforcing those 2023 pledges was found as of 30 September 2026, which is why student text says "can" and Side B says enforcement depends on the agency choosing to act.
Where the questions come from
The five critical AI questions and the four regulatory layers are the book's own framework, introduced in Chapter 1, section 5 and section 3.

If Chapter 1's case is corrected, this lab's section 5 and its Side A and Side B materials have to be checked against it. The accord is live policy: if it is codified, amended, or enforced, section 5 changes.

← BackChapter 1 · What Is AI? Next →Chapter 2 · Seemingly Human