Embedding-based ad auctions using power diagrams (additively weighted Voronoi tessellations) as the allocation mechanism for continuous intent space.
Blog post: The Geometry of AI Advertising
shared/ Core Python: auction computation, diagram generation
paper/ LaTeX paper with proofs and experiments
prototype/ Interactive React + TypeScript explorer
blog/ Blog post source
curl -LsSf https://astral.sh/uv/install.sh | sh
uv sync
uv run python shared/diagrams/generate_all.py
uv run python paper/experiments/run_comparison.pycd prototype
pnpm install
pnpm devcd paper
pdflatex main.tex && bibtex main && pdflatex main.tex && pdflatex main.texThe welfare-maximizing allocation for isotropic Gaussian value functions over a continuous impression space is a power diagram. The winner at each point is:
i*(x) = argmax_i [ log(b_i) - ||x - c_i||² / σ² ]
This reduces mechanism design to computational geometry: allocation is power diagram construction, payments are Voronoi cell integration.