Bookshelf · If Anyone Builds It, Everyone Dies
If Anyone Builds It, Everyone Dies by Eliezer Yudkowsky and Nate Soares, framework 1 of 5
How a language model is grown
The seven steps by which engineers produce an LLM, showing why nobody designs what ends up inside.
Eliezer Yudkowsky and Nate Soares's framework, from If Anyone Builds It, Everyone Dies, pp. 21 to 101.
- Render the input as numbers
Turn a text fragment into a series of numbers.
- Provide parameters
Acquire storage for billions of numbers, each slot a parameter.
- Fill with random weights
Fill the slots with randomly chosen numbers called weights.
- Choose the architecture
Set the rules that combine the input with the weights.
- Read the output
Treat the output numbers as probabilities for the next letter or token.
- Train by gradient descent
For every weight, work out how a tiny change would make the answer more correct, nudge it that way and repeat over trillions of words.
- Generate text
Feed each predicted token back in to continue the text, then tune the model to answer as an assistant.
From chapter: PART I: NONHUMAN MINDS, pp. 21–101
More from this book
All 5 frameworks-
Framework 2 · Leadership Train, want, prefer The three-step chain that shows why the final preference cannot be read off the training target.
-
Framework 3 · Leadership The four curses of hard engineering A checklist drawn from Chernobyl for judging how dangerous a device is to build without full understanding.
-
Framework 4 · AI The shutdown regime The authors' outline of what the world would need to do to stop escalation to superintelligence.
-
Framework 5 · Sales and negotiation What each reader can do The closing chapter's guidance by role for helping prevent extinction.