Markets that learn
Pay to move a market quote, spend a business opportunity on learning, and turn an experiment toward what a firm still cannot distinguish.
Imagine a little bakery deciding whether to sell a new kind of bread. Its owner can ask customers what they expect, sell advance orders, try a small batch, or change the price and watch what happens. Each action opens a different window onto the future. Some produce money, some produce observations, and some produce both.
Now give the bakery a notebook that remembers how its forecasts were formed. Two entries might both say “50% chance of success.” One comes from no observed trials. The other follows ten successes and ten failures. Those equal answers can lead to different business decisions, because tomorrow’s result can move the two beliefs by different amounts.
Epistemic Physics invites us to follow those differences through an economy. A forecast becomes a trade. A payoff difference becomes a choice. An experiment changes which possibilities the next decision can distinguish. Along the way, we will meet a market register with a hyperbolic curve, a bus whose paint color should not create extra demand by arithmetic alone, and an information matrix living inside a light cone.
The adventure begins with a deceptively practical question: if moving an opinion requires a trade, how much should the move cost?
A cash register with a curved opinion
Suppose there are two mutually exclusive outcomes: the bakery’s new bread succeeds, or it does not. A claim on an outcome pays one unit if that outcome occurs. An automated market maker offers these claims using a cost function. If its outstanding quantities are
The liquidity scale
The price of a tiny additional claim is the derivative of cost with respect to its quantity:
Buying a success claim increases
Introduce the rapidity, half the natural logarithm of the price odds:
Factoring the two exponentials gives a familiar pair:
The hyperbolic functions obey
Before touching the register, make a prediction. If the old quote is 50%, will moving it to 80% cost more or less than pricing the whole purchase at 50%?
Work the market's order ticket
Buy or sell claim packets, then close your ticket when its expected profit looks best. Each claim pays one unit if the event happens. Your belief stays fixed while your trades move the market quote.
Your belief: 80% · Opening quote: 50%
Gold dot: market quote · Teal line: your belief
- Current quote
- 50.0%
- Expected profit
- 0.00
- Net cash paid
- 0.00
Your position: 0.00 claims. Negative claims are short sales; negative payment is cash received.
Fine trades, price curve, and mathematical receipt
Every trade uses the integrated logarithmic market cost. Opposite trades undo a position exactly in this fee-free model. The quote is kept between 2% and 98% to avoid infinite endpoint inventories.
Liquidity b = 3; the second inventory stays at zero. Cash cost ΔC = 0.00. Pricing the entire net trade at its opening quote gives 0.00. The difference is 0.000.
Expected profit is rΔQ₁ − ΔC, using your belief r. Moving the quote to r maximizes that expectation. Overshooting it reduces expected profit. Your remaining shortfall is 0.578 = bD(r ∥ p). Natural logarithms are used.
Chosen model: risk-neutral trader, no fees, purchases and short sales allowed, no budget or collateral constraint. This is a toy prediction-market experiment. The market quote and trader's belief are separate probabilities. The rapidity coordinate is half the log odds: currently 0.000.
Two divergences, two different bills
Let a trade move inventory from
Their difference has a precise informational form:
The Kullback-Leibler divergence is
It measures a directional mismatch between probability distributions. The first argument supplies the weights in the average. Swapping the arguments usually changes the value.
We can check the orientation without trusting the box. From the market price formula,
Subtract the corresponding equation for
Now stand on the trader’s side. Let
If arbitrary purchases and short sales are allowed, with no fees or position constraints, the trader maximizes this expectation by choosing
For
The two bills answer different questions. Market curvature compares a trade with its opening tangent. Expected information advantage compares the trader’s belief with the opening market quote. A single reversed divergence would quietly swap those meanings.
There is another geometric clue nearby. For a small price displacement
The factor
A menu should remember what its boxes mean
The bakery must also choose actions. Should it advertise, lower prices, or develop another recipe? A choice fraction and a belief probability can share mathematics while describing different things.
Write
We maximize
A multiplier enforcing the sum gives
One identity both verifies the solution and connects it to the market register:
The last term is nonnegative, so the maximum is
For two actions, their choice rapidity obeys
A payoff advantage translates half-log-odds. In this equation the result is a decision policy, the distribution of actions the bakery chooses. Its beliefs about demand remain separate.
Matějka and McKay’s rational-inattention model derives conditional choice probabilities with this exponential structure. Their reference frequencies are endogenous: determined inside the optimization and consistent with the resulting unconditional choice frequencies. Our fixed
Now try a menu trick in your head. A traveler has equally attractive choices: car or bus, each with reference weight
| Representation | Reference weights | Total bus choice at equal payoffs |
|---|---|---|
| Car, bus | ||
| Car, red bus, blue bus; split the bus weight | ||
| Car, red bus, blue bus; assign fresh equal weights |
Preserving the bus’s total reference mass preserves its total chosen probability, even when bus and car payoffs differ. Both bus terms contain the same exponential, so their divided weights simply add back together.
This is a useful meeting point with Epistemic Physics: refining a description should preserve its total weight when it describes the same underlying possibility. A new departure time, lower fare, or genuinely different route can change the economic option. A second colored box alone has no such content. The choice model needs to know which kind of change happened.
The bakery buys knowledge with a batch of bread
Suppose the bakery has two selling opportunities left before a seasonal stall closes. A familiar recipe succeeds with known probability
Represent uncertainty about
Compare two possible notebooks:
| History | Current distribution | Predictive mean |
|---|---|---|
| No observed trials | ||
| Ten successes, ten failures |
The predictive mean
If only one opportunity remains, familiar bread wins in both notebooks:
For a symmetric
After trying the new recipe, the bakery can select whichever recipe has the better mean. Its expected total payoff is therefore
For the untried recipe, one success moves the mean to
For the experienced notebook, even a success only raises the mean to
Familiar bread first supplies no information about the new recipe. In either notebook, using it first and then choosing the better recipe gives
| Starting notebook | Try new first | Familiar first | Best first action |
|---|---|---|---|
| Untried | Experiment | ||
| Twenty balanced trials | Familiar recipe |
Predict what happens when you shorten the horizon to one opportunity. Then extend it and make a few decisions yourself.
Run the bakery for a few days
Choose today's recipe before opening the sales receipt. Familiar bread succeeds 55% of the time. The new recipe has an unknown, fixed success rate. Each success earns one unit.
Starting notebook: no observed trials. Both start at a 50% predictive mean.
What will you bake on day 1?
- Days still available
- 2
- New-recipe predictive mean
- 50.0%
- Units earned
- 0
Decision analysis and the model
These values include the best later choices after each possible outcome.
- New recipe first
- 1.150
- Familiar bread first
- 1.100
Expected total units from now. The model favors the new recipe. Actual receipts can differ.
The new recipe uses Beta(0.5, 0.5). The current probability is its predictive mean. With no observations, Beta(0.5,0.5) puts more density near zero and one, despite its 50% mean.
Under the starting notebook, two consecutive new-recipe successes have probability 37.5%. Learning matters when the outcome can change a later action.
One rate is sampled from the starting Beta law and held fixed. Trials are independent conditional on that rate. Familiar outcomes use a known 0.55 rate. Equal costs, no discounting, no recipe improvement, and unique trial lineage are chosen assumptions. Replay uses the same underlying daily random draws, not an extra independent sample.
Learning earns money when it changes a later action
The untried experiment sacrifices
Interestingly, the expected updated mean does not rise:
The winning move is averaging the best action after observing, rather than selecting one action using the average forecast. The maximum function bends upward, so
An observation can have value without making us more optimistic on average. It helps by sorting futures into cases that deserve different responses. For the experienced notebook in this two-period example, neither update changes the chosen response, so that particular learning opportunity has no decision value.
Epistemic Physics calls ease of changing a belief malleability. Here malleability acquires an economic role through a future decision. Its value depends on the payoff threshold, the available alternatives, and how many chances remain to use what is learned.
The longer-horizon calculation follows the same logic. Let
Choose the better branch:
This is a small dynamic program: solve the last decision, then use its value to solve earlier decisions. The demo evaluates both branches, including their possible future updates.
Our trial model keeps the new recipe’s
What if making the recipe improves the baker’s skill, customers recommend it to friends, or a rival changes prices? Then doing the experiment also changes the world being estimated. We could give skill, reputation, and demand their own evolving states. The experiment’s value would include both learning and changing those states, a promising next step beyond this fixed-rate bakery.
Turn the experiment toward a question the data cannot answer
A successful batch suggests that something worked. It may leave the bakery unsure which part worked. Perhaps it lowered the price and increased advertising together. Repeating that combination can estimate the combined response while leaving the separate coefficients unresolved.
Choose standardized units for price changes, advertising changes, and response. For this new problem, write
The superscript
For Gaussian observations, likelihood curvature is described by the Fisher information matrix
Its quadratic form says how sharply the likelihood distinguishes nearby coefficient values. When the design has full rank, the coefficient estimator has covariance
Now expand the trigonometric squares. Define
Then
A positive semidefinite matrix has no negative quadratic directions. In these coordinates that condition becomes
The doubled angle has a simple job. Reversing both input changes sends
Build a test that sees both directions
A shop has one price-only trial. Spend the remaining test slots to separate price from advertising. Turn the teal test, then place it. Aim for a compact, nearly round error region.
Turn your next test
One direction is still open
- Fresh trials placed
- 1 / 2
- Weakest-direction precision
- 0.00 / 1
Repeating this same axis tightens one combination but leaves another completely unresolved. Try a genuinely different direction.
Free exploration, equations, and model
Each line is a unit feature vector in standardized price/advertising coordinates. Each fresh trial has independent Gaussian noise of variance one and its own lineage. Reversing both changes gives the same information axis. The baseline is controlled and coefficients stay fixed.
A = 1, X = 1.000, Y = 0.000; determinant = 0.000. The smallest eigenvalue is the weakest-direction precision. At fixed A its maximum is A/2.
The plotted region is dᵀFd ≤ 1 in coefficient-error coordinates. When bounded, it encloses 39.3% of estimation errors under this Gaussian model and has area unbounded. The fixed plot window can clip long regions. This matrix/cone correspondence is algebraic; causal claims require the intervention assumptions too. Copying a report would add no fresh precision.
Drag or touch the teal handle, focus it for arrow keys, or use the turn buttons. The rose lines are placed tests; the teal dashed line is only a proposal.
Diversity of directions becomes an area
The determinant can also be written
Every pair contributes its weights multiplied by the squared sine of its angular separation. Parallel pairs contribute zero. Perpendicular pairs contribute their full weight product. The sine is the area made by two unit vectors; its square measures how effectively their two questions span a plane.
Two unit-weight tests along one axis give
For two perpendicular tests with fixed total precision
Try collecting ten fresh repetitions along a single direction. The likelihood becomes sharper across its strip, while remaining flat along the unmeasured combination. Turn one test sideways and a finite ellipse appears. A copied report would not produce the first change; a genuinely new observation supplies another contribution under the independent-noise model.
Fresh trials can still share disturbances. Two branches of the bakery might face the same storm or advertising campaign. If their errors have a known, nonsingular covariance matrix
where the rows of
The coordinate scales matter too. Measuring price in cents instead of dollars changes the numerical coefficient and its information matrix together. We compare designs after fixing those scales. The physical question is how well the observations distinguish the effects the bakery cares about, under the experiments it can actually afford. A beautiful right angle on a diagram may require an unavailable intervention; then the design problem becomes choosing the most useful feasible combination.
The cone and the ellipse occupy different spaces. The cone describes possible information matrices. The ellipse describes errors in estimated coefficients. This correspondence does not turn the positive Fisher metric on coefficients into a Lorentzian metric. Instead, the determinant connects those two pictures through a shared algebraic structure.
Nor can matrix rank establish causality. If price and advertising respond to an unrecorded holiday rush, the assumed observation model may fail. A causal interpretation needs an intervention design and assumptions that connect coefficient changes to what would happen under the interventions. Directional diversity answers which combinations the fitted model can distinguish.
A second claim can ask a second-order question
Return to the market with our two bakery notebooks. A claim paying on the next new-recipe success has the same predictive value,
Suppose a claim pays one unit only if two fresh new-recipe trials both succeed. Under the fixed-
The untried notebook gives
This suggests an intriguing market design: offer claims that ask different orders of predictive questions. Under the chosen Beta family and successful elicitation of these probabilities, a mean and a second moment can recover the family’s concentration. Without that family assumption, the same two moments leave many distributions possible. If trials share additional shocks or the recipe changes between them, the claim asks a different model-dependent question again.
A learning economy could connect such markets to firms that choose experiments, with budgets determining which observations become possible. The market rewards specified predictive distinctions; the firm decides whether producing them can improve future actions. Lineage keeps each result attached to the trial that generated it. Experimental direction determines what the collection can resolve.
Our bakery’s next breakthrough might come from a more informative claim, a longer window for learning, or a test pointed away from yesterday’s favorite direction. These are three concrete ways to change what an economy can discover, even when today’s headline forecast stays exactly the same.