the setup

Braess Paradox: in a specific network topology, adding a zero-cost edge causes the Nash equilibrium to shift such that every agent's travel time increases. More capacity makes everyone worse off.

The theoretical result is well-known. I wanted to watch it happen in a simulation with learning agents.

the network

The classic Braess network has four nodes: source S, sink T, and two intermediate nodes A and B. Without the S-T shortcut, agents split between S→A→T and S→B→T, reaching an equilibrium total latency. Add a zero-cost S→A→B→T path and every rational agent takes it — pushing everyone to a worse outcome.

what the learning algorithms do

I implemented two: Multiplicative Weights Update (MWU) and Replicator Dynamics. Both converge to the same Nash equilibrium. Both walk into the Braess trap.

The interesting observation: MWU converges faster (about 200 rounds vs 500 for Replicator Dynamics in my parameterization), but both end up at the same bad equilibrium. The agents are individually rational, collectively irrational, and no amount of learning fixes this without coordination.

This has direct relevance to multi-agent RL in any routing or resource allocation domain. The Nash equilibrium your agents converge to may not be the social optimum, and adding capacity to a bottleneck can make things worse.