arXiv:2610.24323math.OCOct 2026

Manuscript Offprint

arXiv:2610.24323

Computing Multi-Slot First-Price Pacing Equilibria at Scale via Entropic Smoothing

Yuchen Xie, Shenyinying Tu, Yuan Gao, Yi Zhang, Deepak Kumar

Abstract

Pacing equilibria describe how budget-constrained advertisers clear an ad market, but computing one at production scale is hard when every request fills several slots: the allocation jumps whenever two campaigns' scores cross. We consider the first-price pacing equilibrium (FPPE) of auctions with K homogeneous slots and unit-demand campaigns, whose Eisenberg–Gale dual reduces, via a TopK identity, to a convex program over bids. Regularizing each request's allocation with the binary (Fermi–Dirac) entropy gives a smooth, strictly convex dual whose gradient is exactly spend minus budget and whose evaluation splits into independent one-dimensional threshold solves, one per request. The smoothed equilibrium converges to the hard one at an explicit O(T)O(\sqrt{T}) rate, and a duality gap certifies how far any bids are from the hard equilibrium. We implement an efficient multi-GPU solver and test it on a production ad workload. We use it to compute an equilibrium price anchor: each campaign's hindsight equilibrium cost per key result.

1 Introduction

Advertising platforms allocate ad slots by auction subject to advertiser budgets, and pacing algorithms scale each campaign's bids so that its spend tracks its budget. Pacing targets a pacing equilibrium, in which every campaign either exhausts its budget or bids at its cap. For single-slot first-price auctions the first-price pacing equilibrium (FPPE) always exists, is unique, and solves a quasi-linear Eisenberg–Gale convex program [22, 23]. Feed and search surfaces, however, fill several slots per request, each campaign taking at most one, and Conitzer et al. [24] posed the multi-slot extension as an open question. Concurrently and independently, Afiouni and Kroer [1] extend the convex-program characterization to all bid-maximizing pay-your-bid mechanisms, a class that contains the multi-slot auctions studied here.

This paper concerns computing the multi-slot equilibrium at the scale of a production ad market, and the difficulty is the allocation. Selecting each request's top-K winners is cheap on a GPU, but the resulting allocation is piecewise constant in the bids: its derivative vanishes almost everywhere, and it jumps wherever two campaigns' scores cross. The equilibrium solves a convex program (Section 3.4), but a non-smooth one, on which first-order methods converge slowly and oscillate near score ties: a campaign at a score threshold alternately wins and loses blocks of auctions, so its spend jumps and its bid cycles instead of settling (Figure 1). On our production workload, the

∗^{*}We used generative AI to help draft the text, proofs, and code; the authors reviewed all of it, and the proofs were machine-checked in Lean (Appendix C).

(a)

Figure

(b)

Figure

(c)

Figure

Figure 1: A toy market: one campaign bids against fixed competitors in six requests. (a) Allocation in one request. (b) Spend: the hard spend jumps across the budget; the smoothed spend meets it at one bid. (c) The update of Section 5.4 without momentum: under hard top-K it cycles between the circled bids in (b); under smoothing it converges.

update that brings every active campaign within 1% of its budget under our smoothed allocation leaves 56% of them further away under hard top-K allocation, and a third even without momentum, with bids still cycling after 800 updates (Section 6.4).

We replace the discrete allocation with a deterministic, entropy-regularized one. The binary (Fermi–Dirac) entropy turns each request’s allocation into independent Bernoulli marginals coupled by one scalar threshold, as in differentiable top-K operators [5, 16, 25]. This is not an ad hoc surrogate: the smoothed problem is the exact dual of an entropy-regularized multi-slot Eisenberg–Gale program, a smooth, strictly convex function of the log-bids whose gradient is exactly each campaign’s spend minus its budget. Equilibrium computation thus remains convex minimization, now smooth and with a unique minimizer, and the smoothed equilibrium converges to the hard one as the temperature vanishes.

The same structure makes each iteration highly parallel. Given the bids, the gradient separates across requests: each request contributes the spend of its candidates and needs only one bracketed one-dimensional root solve for its threshold, and these solves run in parallel on GPUs. On this computation we build a practical solver: a log-bid update with heavy-ball momentum whose step shrinks with an annealed temperature.

Application: the equilibrium price anchor. Our motivating use is a per-campaign baseline that online signals cannot provide: the cost per key result a campaign would pay in hindsight, under complete information, at pacing equilibrium—an equilibrium cost per click for a CPC campaign, or per thousand impressions for a CPM campaign. A first-price winner pays its bid per key result, so this equilibrium price anchor is the campaign's equilibrium bid bj∗b_{j}^{*} (Definition 3.2), well defined because equilibrium bids are unique (Theorem 3.7). Realized cost per key result is confounded: it may be high because of genuine scarcity, pacing error, an infeasible budget and bid-cap combination, or audience overlap; the anchor is meant to separate market structure from controller behavior. Prospective uses include a reference for online pacing, a diagnostic for campaigns whose realized cost materially exceeds the anchor, a denoised training label for bidding and ranking models, and the evaluation of counterfactual market changes (budgets, bid caps, slot counts, or scoring rules), each one solver run. Evaluating them is beyond the scope of this paper, which concerns computing the anchor accurately and at scale, but they set the accuracy requirement: a solver that leaves even a few percent of campaigns far from their budgets leaves without a usable anchor exactly the long tail that diagnostics care about. The anchor cannot be attained online, where the pacer sees only past traffic, and we compute it on the smoothed problem, so we treat it as a smoothed proxy for the hard equilibrium (Section 5.5).

Why first-price. We model the market as a first-price auction because its equilibrium structure makes large-scale computation tractable. This is a modeling choice: the simulated market defines the anchor and need not reproduce the mechanism a platform deploys. Under first-price payment a campaign's spend rises with its own bid, as both its win probability and its per-win payment increase, and the pacing equilibrium solves a convex program whose smoothed gradient is exactly spend minus budget (Section 4). Under second-price payment the runner-up sets the price, so spend is flat in a winner's own bid over wide ranges, and pacing equilibria can be multiple and are PPAD-hard to compute [21, 24], whereas the first-price equilibrium is unique and solves a convex program [23]; Appendix D develops the contrast.

References (51)