Networks That Think
Your brain is a network of neurons; the machines that recognise your voice are networks of simple units. In both, what the system can do depends on how it is wired. This last chapter brings every tool in the book to bear on networks that compute.
Every idea in this book has been a way of looking at the same thing: dots and lines. Degrees and hubs. Paths and distance. Giant components and small worlds. Centrality and communities. Things flowing and cascading. In this final chapter, turn those lenses on the most remarkable networks we know of: the ones that think.
The brain as a network
A human brain contains tens of billions of neurons, each typically connected to thousands of others. Nobody has drawn its full wiring diagram, neuron by neuron. But a much smaller nervous system has been mapped: that of the roundworm C. elegans, whose 302 neurons and their connections were published as a complete wiring diagram in 1986. It was one of the networks Watts and Strogatz examined in 1998, and it turned out to be a small world. The field is moving fast: in 2024 researchers published the complete wiring diagram of an adult fruit fly’s brain, with about 140,000 neurons.
For human brains, researchers usually work at a coarser scale: brain regions as nodes, and bundles of long-range fibres (or regions whose activity rises and falls together) as links. Studies of these networks have repeatedly reported features you now recognise:
- Modules: groups of regions densely wired among themselves, often matching functions such as vision or movement (Chapter 9).
- Short paths and high clustering: small-world organisation (Chapter 6).
- Hubs: a few highly connected regions, which tend to be strongly linked to each other, a pattern sometimes called a “rich club” (Chapters 7 and 8).
One way to read this design is as a trade-off. Long connections are costly to build and run, which favours local wiring. But purely local wiring would make communication between distant regions slow. A few long-range links between hubs buy short paths at modest cost. The network below is a toy built to have these features; it is not a map of a real brain, but you can x-ray it, and other networks from this book, with every tool you have learned.
Network X-ray
Choose a network and a lens. Click a node to remove it (a lesion), or use the buttons, and watch the measurements respond.
Efficiency, in the readout, is a measure used in brain-network studies: the average of 1 divided by the distance between every pair of nodes. Nearby pairs count a lot, distant pairs a little, and pairs that cannot reach each other count zero. It captures, in one number, how easily information could travel around the network. Removing a hub can lower it much more than removing an ordinary node, which echoes the robust-yet-fragile story from Chapter 7.
Brain networks studied so far combine modules, small-world paths and densely linked hubs: a wiring that keeps most connections short and cheap while a few long-range links keep the whole network close.
A brain is far more than its wiring diagram. Even for C. elegans, knowing every connection does not by itself tell you how the worm behaves: connection strengths change, chemical signals act beyond the wires, and timing matters. Network measures describe the scaffolding on which brain activity runs, not the activity itself.
Networks that compute
In 1943 Warren McCulloch and Walter Pitts showed that very simple model neurons, each switching on when enough of its inputs are on, can be wired into networks that compute logical functions. That idea grew into today’s artificial neural networks. Underneath, they are directed networks: units arranged in layers, with weighted, one-way links carrying signals forward from inputs to outputs.
Below is a tiny one, built by hand from threshold units, with three inputs, three hidden units and two outputs. One output answers “are most inputs on?”; the other answers “is an odd number of inputs on?”, a question no single threshold unit can answer on its own.
Signals through layers
Click the input units on the left to switch them on or off, and follow the signals through the layers.
In a modern deep-learning system, the weights are not set by hand. They are learned: the network’s outputs are compared with the right answers, and a method called backpropagation sends error signals backwards along the same links, nudging each weight to reduce the error. The whole calculation, forwards and backwards, is itself a network: a computation graph whose nodes are operations and whose links say which results feed into which.
An artificial neural network is a directed, weighted, layered graph: signals flow forward along its links, learning changes the link weights, and the shape of the graph decides what it can compute.
Seeing networks everywhere
You started with seven bridges and a Sunday stroll. Here is what you can now see, whenever you look at anything connected, from a city to a school, an ecosystem, a supply chain, the internet or a brain:
- Strip it to nodes and links, and ask which kind of links: two-way, one-way, weighted.
- Look at the degrees. Are there hubs? Remember that following links leads you to them.
- Ask about distance and connectivity: is it one piece, how many steps apart are things, and are there shortcuts?
- Look for triangles and communities, and for the bridges and brokers between them.
- Then ask what flows: something that passes on a single contact, or something that needs reinforcement? The same network can spread one and stop the other.
The shape of a network is not decoration. It decides what travels, how fast, how far, and what breaks when something fails. Once you see that, you will see it everywhere.
Intuition check
In a modular network whose modules are joined mainly through a few hub nodes, which single removal is most likely to hurt communication across the whole network?
Intuition check
When an artificial neural network “learns” from examples, what mostly changes?
What you now see
- Brain networks studied so far show modules, small-world paths and linked hubs, a balance between wiring cost and fast communication.
- Efficiency (average of 1/distance) measures how easily information can travel; losing hubs lowers it most.
- Artificial neural networks are directed, weighted, layered graphs; learning changes the weights, and layers let simple units compute what no single unit can.
- Every lens in this book (degree, distance, giant components, small worlds, hubs, centrality, communities, contagion) applies to any network you meet.