One price system
Cities, neurons and learning algorithms, read as the same market. A walk through the research in this folder, with each idea as a small live model you can drag and tune.
The research makes one claim in three parts. A land market and a layer of competing neurons are the same model: is a price, and one bookkeeping rule sets every price in both. A does not have to be given: it forms by itself when being near others pays, and the same arithmetic says when, where, how many and how fast. And learning algorithms, from markets of bidding agents to backprop, assign credit with the same kind of price. The toggle at the top switches the words between the two readings. The pictures and the numbers do not change, which is the point.
1A choice is a race
Start with one . Every option has a cost. Nobody picks the cheapest every time: . The research's model of this is a race. Each option has a clock that rings after a random time, and a cheaper option's clock tends to ring sooner; the first to ring wins.
The chance that option j wins comes out as a simple law, the same law economists use for commuting (the logit), a network uses for routing (the softmax), and a winner-take-all layer obeys when its neurons race to fire first:
Cold (small τ): the cheapest almost always wins. Hot: the choice spreads out. Run races and watch the histogram settle onto the law.
What each option costs
The race: clocks ringing
Who won, against the law
2 is a price
Now a row of . Each arrival pays a , and the . . So the centre is cheap to reach but dear to be in, and the spreads outward until the two balance.
Watch the costs in the lower chart. On every occupied the total, , comes out the same. That flat line is the whole equilibrium, and it means falls by exactly the per unit of distance: . Cool the and the line sharpens.
Then put a lid on it: no . A capped gains a second price, the shadow price of the lid (), and the . That only happens if nobody can leave. Give arrivals an outside option and they leave instead of spreading: .
What an arrival pays at each distance
3The water level
Why do the costs come out equal? Because the is the solution of one problem: place everyone so that the total cost, plus a term for the , is as small as it can be. The price that makes the totals come out right is what a mathematician calls a Lagrange multiplier, and you can see it. Draw the as a valley and pour the in like water.
The water finds a level, μ. The depth at each spot, divided by κ, is the ; the depth itself is the ; and the level is what one more costs. Every price in this research is such a level: for the rule that floor space in use equals floor space built; an expert's for a fixed capacity; an attention matrix's prices for its row and column sums; backprop's signals for the rule that one layer's output is the next one's input. Drag the number of and watch the level and the edge move.
4A centre that isn't given
The above was given. Real downtowns, and real bumps of cortical activity, make themselves. So take away the centre and give each arrival a reason to be near the others it deals with: a pull s from everyone within a reach ℓ, . still pushes back. On a plain that wraps around, so no spot is favoured, a flat spread is an equilibrium. Is it stable?
Add a small wave of extra people. The pull amplifies it by s times a number B̂(k) that falls with the wave's frequency: a wide wave gathers nearly all its partners within reach, a narrow one fewer. damp it by θ = 1 + τ/(κ r̄). The wave grows when
With no push (b = 0) the widest wave wins first, so the plain gathers into one centre as soon as the pull passes θ/B̂(k1), 1.72 with these knobs, and it forms wherever the first ripple happened to be largest: history, not geography, picks the spot. Now add the push: , strength b. It damps wide waves more than narrow ones, so there is a band of pulls where the widest wave is held down and a narrower one grows: the plain breaks into evenly spaced towns, with the spacing set by the two reaches. That is Turing's mechanism for spots, Krugman's for the spacing of business districts and Amari's for patterns in a neural field, in one picture. The map is computed from the two kernels alone. Drag the dot and watch the plain do what the map says.
The plain (it wraps around)
The map: drag the dot
Which wave grows
5Where it ends, and how long it takes
The map says where a flat plain breaks, not where the gathering stops. Push the pull up and the towns go on merging. They end on one only past the dark line: there a pulls harder than its costs and beats its nearest neighbour, which needs s·(1 − e−1/ℓ) > Z, about 18 at reach 1.25 and 63 at reach 2. That is the black hole of agglomeration, the case the core–periphery model rules out by assumption. Below the line the end state is a dense cluster of a dozen .
The research's average-flow solver showed a single parcel well below the line. That turned out to be the solver hopping the whole load between neighbours, not an equilibrium; the models on this page let the load move in over a stay, as the research's individual agents do, and settle where the agents settle.
Two more things the arithmetic says. Let the gain saturate, so that : a town's pull then stops growing with its size, the towns keep a finite size instead of merging, and the black hole recedes. And just past the border the growing wave grows slowly: its rate is proportional to the distance from the border, so the time for the to show diverges there. That is critical slowing down, the same slow recovery that announces a tipping point in a lake or a climate. The readout predicts the time from one round of the model; the chart below shows the prediction across pulls, with this run's own result marked once the has shown.
The plain
The map: drag the dot
Time for it to show, against the pull
6Credit is a price
So far the prices shared out space. The research's second part is that learning assigns credit the same way. Take a chain of stages: the first reads the world, each later one reads the one before, and the last acts and is paid a reward. . When a stage fires it pays the stage it read from a bid, a fraction β of its own strength, and pays a tax t on its strength to nobody. The last stage is paid the reward. Nothing else.
Run it and the strengths settle: each stage ends up worth γ = β/(β + t) of the next, and the last R/(β + t). That geometric fall-off is a discounted value function, exactly what temporal-difference learning computes one step at a time, with the tax acting as the discount. In backprop the same payments are the error signals: each layer's gradient is the price the next layer pays for its output, passed back one stage at a time, and in a network without biases those prices balance exactly as money does, every unit's income equal to its spending.
7One idea, and where it stops
Every price above is the level that makes a constraint come out right. The research names the constraint behind each one; that table is its common core.
The multiplier of "floor space in use equals floor space built" ⇄ a neuron's firing equals what its self-inhibition allows. The water level of section 3.
The multiplier of a fixed capacity: each expert takes its share, DeepSeek's bias rule and a Sinkhorn step are the same price moving.
Row and column multipliers of an origin–destination table: Sinkhorn normalization of an attention matrix is a toll on every pair.
The slope of a pairwise term of the same free energy, so a centre, towns and the black hole all come out of one bookkeeping, with the regime map as its stability diagram.
The multiplier of "this stage's output is the next one's input": a price for an activation, which in a bias-free network balances to the cent.
Taxes that have a network reading act on a price (a per-resident tax is global inhibition; the brigade's tax is TD's discount); taxes on income or wealth need agents with budgets, which the model doesn't have.
And where it stops. A market of units learns a dense feature only with prices that are per example, signed and honestly reported, which is to say backprop. One auction price per expert rations capacity well but assigns credit badly. Three uses that each mind the next never settle, because there is no shared potential. A field of partners is not a job: one-to-one matching, which gives Fujita and Ogawa their polycentric city, is not a kernel. The open questions, with the experiment that would settle each, are in NEXT_STEPS.md; the full models, with both solvers and every setting, are the one-model page; the proofs are derivations.