Game Theory
Bayesian Nash Equilibrium
Optimal strategy when you don't know who you're playing
Harsanyi's 1967-68 framework: every player has a hidden type drawn from a known prior. Each player maximises expected payoff over beliefs about others. Auctions, signaling, and most modern micro live here.
- OriginatorJohn Harsanyi (1967-68, Management Science)
- Nobel Prize1994 — Nash, Selten, Harsanyi
- EquilibriumStrategy is a function τ → action
- Standard applicationFirst-price sealed-bid auction
- First-price bidb(v) = v·(N−1)/N (uniform values)
- Sister resultRevenue equivalence (Vickrey 1961)
Interactive visualization
Press play, or step through manually. The visualization is yours to drive — try it before reading on.
Watch the 60-second explainer
A condensed visual walkthrough — narrated, captioned, under a minute.
Why Nash needed an upgrade
John Nash's 1950 equilibrium concept assumes complete information: every player knows the payoff matrix, every player knows every other player's preferences, and this is common knowledge. Most real strategic situations violate this assumption. You bid in an auction without knowing rivals' valuations. You negotiate a contract without knowing the other party's cost. You enter a market without knowing whether the incumbent is tough or weak.
John Harsanyi's contribution in three papers in Management Science (1967-68) was a technical and conceptual sleight of hand. Instead of trying to model the messy reality of "what I think about what you think I think...", he proposed: imagine that before the game begins, Nature draws each player's type θi from a publicly known prior distribution p(θ). Each player observes only their own type. From this point, the game proceeds with imperfect information about Nature's draw, but everyone knows the joint distribution and the structure.
This is the Harsanyi transformation. It converts every game of incomplete information into a Bayesian game (N, A, T, p, u) — players, actions, types, prior, payoffs — that fits inside the standard game-theoretic apparatus. Equilibrium of this Bayesian game is the Bayesian Nash equilibrium.
The formal definition
A Bayesian Nash equilibrium is a strategy profile σ* = (σ1*, ..., σN*) where σi*(θi) is the action chosen by player i if their type is θi, satisfying for every player i and every type θi:
σi*(θi) ∈ arg maxai Σθ−i p(θ−i | θi) · ui(ai, σ−i*(θ−i), θi, θ−i)
In words: knowing your own type θi, you choose the action that maximises your expected utility, taking the expectation over the other players' types using the posterior p(θ−i | θi) — derived from the prior by Bayes' rule — and assuming the others play their equilibrium strategies. Every type's choice must satisfy this condition simultaneously. The fixed point is the BNE.
Worked example: first-price sealed-bid auction
The auction is the canonical BNE. Two bidders, valuations v1, v2 drawn independently from uniform [0, 1]. The seller awards the item to the highest bidder at their submitted bid. Each bidder knows their own valuation but not the rival's.
Look for a symmetric BNE in which each bidder's strategy is some increasing function b(v). Bidder 1 with valuation v1 chooses bid b1 to maximise expected payoff:
EU(b1) = (v1 − b1) · Pr(b1 > b(v2))
If bidder 2 plays the symmetric strategy b(v), then Pr(b1 > b(v2)) = Pr(v2 < b−1(b1)). Differentiating and setting equal to zero, and imposing symmetry b1 = b(v1), gives the differential equation
(v − b) · 1/b'(v) = b'(v) · b−1(b(v)) − b(v)... → → → ... b(v) = v/2.
With two bidders and uniform values: each bids half their valuation. With N bidders: b(v) = v·(N−1)/N. With 10 bidders you bid 0.9v; with 100 bidders 0.99v. Bid shading shrinks as the field grows, reflecting fiercer competition.
The BNE is constructive: you have a closed-form strategy, plug in your private valuation, win some auctions, lose others, and earn a positive expected surplus equal to (1/N) of the value above the second-highest type. Compare to a complete-information setting where rivals know your valuation and could bid v − ε — leaving you no surplus.
Revenue equivalence theorem
Vickrey (1961) and Myerson (1981) proved a striking BNE result. In any standard auction format with independent private values, risk-neutral bidders, and zero reserve price, the seller's expected revenue is the same. First-price, second-price (Vickrey), all-pay, descending-Dutch — all yield identical expected revenue.
The intuition is the envelope theorem. Bidder utility in any standard auction is u(v) = (1/N!) ∫₀ᵛ N(N−1) yN−2 dy, by Myerson's lemma. The total bidder rent is fixed by the value distribution and the allocation rule. Different formats redistribute that rent in different ways, but the seller's share is the same complement. Myerson shared the 2007 Nobel Prize for the broader mechanism-design framework that revenue equivalence belongs to.
BNE vs related solution concepts
| Bayesian Nash | Nash | Subgame Perfect | Perfect Bayesian | Sequential | Trembling-Hand | |
|---|---|---|---|---|---|---|
| Information | Incomplete | Complete | Complete, dynamic | Incomplete, dynamic | Incomplete, dynamic | Any |
| Strategy is... | Type → action | Action | Action history → action | Type, history → action | Same as PBE plus consistency | Action with trembles |
| Belief consistency | Bayes on prior | — | — | Bayes where applicable | Bayes + Kreps-Wilson consistency | — |
| Eliminates... | Non-optimal types | Dominated strategies | Empty threats | Off-path madness | Same plus consistency | Knife-edge equilibria |
| Canonical paper | Harsanyi 1967-68 | Nash 1950 | Selten 1965 | Fudenberg-Tirole 1991 | Kreps-Wilson 1982 | Selten 1975 |
| Use when | Hidden types | All info public | Sequential, complete info | Sequential, hidden types | Same, with refinements | Multiple Nash equilibria |
BNE is the workhorse. Perfect Bayesian and sequential equilibrium extend it to multi-stage games with private information; trembling-hand perfect equilibrium adds robustness against small mistakes.
Variants and extensions
- Independent private values (IPV). The cleanest setting: types are independent and only affect own payoff. First-price auction equilibrium derived above is IPV.
- Common values. Each bidder gets a noisy signal about a common true value (oil-lease auctions). Wilson (1969) and Milgrom-Weber (1982) generalised; introduces the winner's curse.
- Correlated types. Wilson (1985); Crémer-McLean (1985). Correlation generates linkage between types, and the seller can extract more rent than under independence.
- Mechanism design. Myerson (1981), Hurwicz, Maskin, Myerson (2007 Nobel). Design the rules of the Bayesian game to achieve a target outcome. Optimal auctions, monopoly screening, public-goods provision all live here.
- Global games. Carlsson-van Damme (1993); Morris-Shin (1998). Each player gets a noisy signal of a fundamental, slightly correlated across players. Resolves coordination-game multiplicity into a unique BNE.
- Bayesian persuasion. Kamenica-Gentzkow (2011). The informed party commits to an information disclosure rule, then plays a Bayesian game with the receiver. A rapidly growing literature.
Where BNE shows up in the real world
- FCC spectrum auctions. The 1994-present U.S. spectrum auctions (raised over $200B for the Treasury through 2023) are designed by Milgrom, Wilson, McAfee using BNE principles. The 2017-2020 incentive auction redistributed 84 MHz from broadcasters to wireless.
- Treasury bond auctions. Daily uniform-price multi-unit auctions of U.S. T-bills (≈ $5T annual volume). Each bidder submits a demand curve; uniform-price BNE differs from the discriminatory format the Treasury used pre-1992.
- Sponsored search auctions. Google AdWords, now Ads (≈ $300B annual revenue), runs a generalised second-price auction with millions of BNE-style bidders. Edelman-Ostrovsky-Schwarz (2007) and Varian (2007) analysed the equilibrium.
- Procurement. Government contracting uses first-price sealed-bid; Krasnokutskaya (2011) shows bid shading patterns consistent with BNE under heterogeneous bidder costs.
- Online advertising. Real-time bidding markets clear billions of ads per day in a BNE-style mechanism. RTB ad-tech is a BNE laboratory at industrial scale.
A brief history
John Harsanyi published his three foundational papers — "Games with incomplete information played by Bayesian players" — in Management Science in 1967 and 1968. Each paper was technical and densely formal; together they invented the discipline of Bayesian game theory. Harsanyi had survived a Nazi labour camp in Hungary, escaped to Australia in 1950, completed a PhD at Stanford, and was a UC Berkeley professor by the time of his Nobel.
The 1994 Nobel Prize citation read: "for their pioneering analysis of equilibria in the theory of non-cooperative games." It was shared by Nash (the 1950 equilibrium concept), Selten (subgame perfection 1965; trembling hand 1975), and Harsanyi (Bayesian games 1967-68). Selten, like Harsanyi, came from devastated wartime Europe — both built the theoretical framework for thinking about deception, signaling, and reputation that defines modern economics.
The 2007 Nobel to Hurwicz, Maskin, and Myerson cited mechanism design — the inverse problem to BNE. Where BNE asks "what equilibrium results from a given game?", mechanism design asks "what game gives the equilibrium I want?". Both directions of analysis use the same Harsanyi apparatus.
Common pitfalls
- Forgetting that strategies are functions, not actions. A BNE specifies what every type would do, not just what one type does. Confusion between the two is the most common student error.
- Assuming the prior is observed. Each player observes only their own type; the prior is common knowledge but other players' actual types are not.
- Computing one type's best response. The equilibrium condition is for every type. A single type's best response may not extend to a consistent strategy function.
- Ignoring the winner's curse. In common-value auctions, conditioning your bid on the event "I won" introduces selection — you systematically overestimate value. Naive BNE that ignores this lose money.
- Treating multiple BNEs as equivalent. Different equilibria give different distributions of welfare. Refinements (Cho-Kreps Intuitive Criterion, divinity, D1) pick among them.
- Conflating BNE with perfect Bayesian. BNE is for static (one-shot) games; PBE is for dynamic games with private information and adds belief-update structure at every information set.
- Assuming independence. The independent-private-values assumption is convenient but often violated empirically (collusion, correlated values, common shocks). Correlated-type BNEs are messier.
Frequently asked questions
What is a Bayesian Nash equilibrium?
An equilibrium in a game where each player has a privately known type. A player's strategy specifies an action for each possible type they might be. The equilibrium condition: for each player, the strategy of every type must maximise that type's expected payoff, where the expectation is taken over the other players' types using a common-knowledge prior distribution. Formally: for each player i and type θ_i, the action a_i(θ_i) maximises Σ p(θ_{-i} | θ_i) · u_i(a_i, a_{-i}(θ_{-i}), θ_i, θ_{-i}). Harsanyi's 1967-68 papers built the framework.
What is the Harsanyi transformation?
A technical trick that converts any game of incomplete information (you don't know what game you're playing) into a game of imperfect information (you know the game but not the move history). Harsanyi introduced 'Nature' as a player at move zero: Nature draws each player's type from a publicly known prior distribution; each player observes only their own type. The Bayesian game (N, A, T, p, u) — players, actions, types, prior, payoffs — is now a standard game with private signals. The transformation is foundational to modern game theory.
Why is Bayesian Nash different from regular Nash?
Regular Nash assumes every player knows the full payoff structure and every opponent's payoff structure — complete information. Bayesian Nash relaxes this: players know only their own private type. A Nash equilibrium maps action profiles to fixed points; a BNE maps strategy profiles (functions from types to actions) to fixed points. Operationally: in regular Nash you choose an action; in BNE you choose a contingent rule. The first-price auction has no useful complete-information Nash but a clean BNE.
How does BNE solve a first-price auction?
Consider N bidders, each with valuation v drawn independently from a uniform [0, 1] distribution. The seller awards the item to the highest bidder at their bid. Symmetric BNE: each bidder bids b(v) = v · (N-1)/N. With 2 bidders, you bid v/2; with 10 bidders, 0.9v. The shading reflects the trade-off: bidding closer to v wins more often but earns less margin when you do. The equilibrium is derived by setting the marginal cost of a slightly higher bid (extra payment given you win) equal to the marginal benefit (extra winning probability times surplus).
What is the revenue equivalence theorem?
A striking BNE result due to William Vickrey (1961) and Roger Myerson (1981): in any standard auction with independent private values, risk-neutral bidders, and zero reserve price, the expected revenue to the seller is the same. First-price, second-price (Vickrey), all-pay, descending-Dutch auctions all yield identical expected revenue in BNE. The intuition: different auction formats redistribute information rents between bidders and seller, but the total rent is fixed by the bidders' value distribution. Myerson shared the 2007 Nobel Prize for related mechanism-design work.
When does a BNE not exist or fail to be unique?
Standard BNE existence (Harsanyi 1967-68) requires compact action spaces, continuous payoffs, and a common-knowledge prior. Failures: discontinuous payoffs (war-of-attrition with all-or-nothing rewards), correlated types violating independence assumptions, or non-measurable strategies in continuous-type games. Uniqueness is rarely guaranteed: multiple BNEs are common, and equilibrium selection in Bayesian games is an active research area. The Cho-Kreps Intuitive Criterion (1987) and divinity refinements pick among signaling-game equilibria; Harsanyi-Selten (1988) developed a more general selection theory.
What is the perfect Bayesian equilibrium?
An extension of BNE to multi-stage games with imperfect information. A perfect Bayesian equilibrium (PBE) requires both (i) each player's strategy is sequentially rational given beliefs at every information set, and (ii) beliefs are derived from strategies via Bayes' rule wherever applicable. PBE strengthens BNE the same way that subgame-perfect equilibrium strengthens Nash. It is the standard concept for signaling games, screening games, repeated games with private information, and dynamic mechanism design.