
Strangers in a
Latent Space
How language models learned our words, and then our world
Start readingBrowse the alien web
Free interactive web edition · 5 × 8 colour paperback coming soon
You wake up stranded on an alien world, surrounded by pages of symbols you do not understand. Could you build an AI that makes sense of them? And if so, how would it work?
Strangers in a Latent Space tries to answer these questions for readers with no technical background, starting from systems that simply count symbols, all the way to AI agents that can reason and act on their own. Along the way, we stop to see how neural networks move symbols around to predict what comes next, and peek inside a trained model to discover how concepts can emerge just from looking at text.
Reader be warned: it is a strange road, with (almost) no math and a few very weird analogies. We are, after all, making sense of an entire world just by watching symbols.
Contents
- IntroductionWhere promises are made and machines are thankedRead
- ✦PreludeWhere everything goes wrong before lunchRead
- 1A small notebookWhere we count alien symbolsRead
- 2Keep countingWhere a notebook is no longer enoughRead
- 3Moving pointsWhere we make a weird analogySoon
- 4More tokens, pleaseWhere we become friends with our neural networksSoon
- 5Strange landsWhere we look around the latent spaceSoon
- 6Teaching mannersWhere we learn to ask nicelySoon
- 7Less talk, more actionWhere we open Pandora's boxSoon
- ✦Epilogue: By the seaSoon
- How this book was madeA note on writing a book with language modelsSoon
Interactive figures
In the web edition you can interact with most figures: try it below with one of our simplest language models (from Chapter 1), which picks each symbol based on which pairs are most probable on the web.
The alien web
Browse the alien database for yourself! Inspect symbol counts, run the Chapter 1 model on real pages, or try building your own cipher key.
About
I’m Simone Scardapane, an associate professor at Sapienza University of Rome. I teach, do research, and generally talk endlessly about neural networks and AI. My previous book, Alice’s Adventures in a Differentiable Wonderland, was a textbook on the design of neural networks. Then I fell in love with AI agents, and this book is the result.