Designing an incentive compatible auction that maximizes expected revenue is an intricate task. The single-item case was resolved in a seminal piece of work by Myerson in 1981. Even after 30–40 years of intense research, the problem remains unsolved for settings with two or more items. We overview recent research results that show how tools from deep learning are shaping up to become a powerful tool for the automated design of near-optimal auctions. In this approach, an auction is modeled as a multilayer neural network, with optimal auction design framed as a constrained learning problem that can be addressed with standard machine learning pipelines. Through this approach, it is possible to recover to a high degree of accuracy essentially all known analytically derived solutions for multi-item settings and obtain novel mechanisms for settings in which the optimal mechanism is unknown.

### 1. Introduction

Optimal auction design is one of the cornerstones of economic theory. It is of great practical importance, as auctions are used across industries and by the public sector to organize the sale of their products and services. Concrete examples are the US FCC Incentive Auction, the sponsored search auctions conducted by web search engines such as Google, and the auctions run on platforms such as eBay. In the standard *independent private valuations* model, each bidder has a valuation function over subsets of items, drawn independently from not necessarily identical distributions. The auctioneer knows the value distribution, but not the actual valuations (willingness to pay) of bidders. The bidders may act strategically and report untruthfully if this is to their benefit. One way to circumvent this is to require that it is in each agent's best interest to report its value truthfully. The goal then is to learn an incentive compatible auction that maximizes revenue.

In a seminal piece of work, Myerson resolved the optimal auction design problem when there is a single item for sale.^{17} Quite astonishingly, even after 30–40 years of intense research, the problem is not completely resolved even for a simple setting with two bidders and two items. Our focus is on designing auctions that satisfy *dominant-strategy incentive compatibility (DSIC)*, which is a robust and desirable notion of incentive alignment. Although there have been some elegant partial characterization results,^{6,10,15,20} and an impressive sequence of algorithmic results, for example, Babaioff et al.^{1} and Cai et al.,^{2} these apply to the weaker notion of *Bayesian incentive compatibility (BIC)* except for the setting with one bidder, when DSIC and BIC coincide.

In Dütting et al.,^{7} we have introduced a new, deep-learning-based approach to address the problem of optimal, multi-item auction design. In particular, we use multilayer neural networks to encode auction mechanisms, with bidder valuations forming the input and allocation and payment decisions forming the output. The networks are trained using samples from the value distributions, so as to maximize expected revenue subject to constraints for incentive compatibility. Earlier work has suggested to use algorithms to automate the design of mechanisms,^{3} but where scalable, this earlier work had to restrict the search space to auction designs that are known to be incentive compatible.^{13, 23} The deep learning approach, in contrast, enables searching over broad classes of not necessarily truthful mechanisms. Another related line of work has leveraged machine learning to optimize different aspects of mechanisms,^{8, 18} but none of these offers the generality and flexibility of our approach.

Our framework provides two different approaches to handling DSIC constraints. In the first, we leverage results from economic theory that characterize DSIC mechanisms and model the network architecture appropriately. This approach, which we refer to as RochetNet, is applicable in single-bidder multi-item settings and provides exactly DSIC mechanisms.^{22} In the second, we lift the DSIC constraints into the objective via the *augmented Lagrangian* method, which has the effect of introducing a penalty term for DSIC violations. This approach, which we refer to as *RegretNet*, is also applicable in multibidder multi-item settings for which we do not have tractable characterizations of DSIC mechanisms but will generally only find mechanisms that are approximately incentive compatible.

In this Research Highlight, we describe the general approach and present a selection of experimental results in support of our general finding that these approaches are capable of recovering, to a high degree of accuracy, the optimal auctions from essentially all analytical results obtained over the past 30–40 years and that deep learning is also a powerful tool for confirming or refuting hypotheses concerning the form of optimal auctions and can be used to find new designs. In the full version of the paper, we also prove *generalization bounds* that provide confidence intervals on the expected revenue and expected violation of DSIC based on empirical properties obtained during training, the complexity of the neural network used to encode the allocation and payment rules, and the number of samples used to train the network. Others have provided generalization bounds for training revenue-maximizing auctions in simpler settings; see, for example, Morgenstern and Roughgarden.^{16}

Follow-up work has extended our approach to handle *budget constraints*,^{9} as well as to a problem in social choice, the so-called *facility location problem*,^{12} studied specialized architectures for single-bidder settings,^{24} introduced networks that encode symmetry,^{21} and provided methods to certify the strategy-proofness of learned mechanisms.^{4}

### 2. Optimal Auction Design

We start by stating the optimal auction design problem and providing a few illustrative examples.

In the general version of the problem, we are given *n* bidders *N* = {1, …, *n*} and *m* items *M* = {1, …, *m*}. Each bidder *i* has a valuation function *v _{i}*: 2

^{M}→ ℝ

_{≥0}, where

*v*(

_{i}*S*) denotes how much the bidder values the subset of items

*S*⊆

*M.*In the simplest case, a bidder may have

*additive*valuations. In this case, she has a value

*v*({

_{i}*j*}) for each individual item

*j*∈

*M*, and her value for a subset of items

*S*⊆

*M*is

*v*(

_{i}*S*)= ∑

_{j∈S}

*v*({

_{i}*j*}). If a bidder's value for a subset of items

*S*⊆

*M*is

*v*(

_{i}*S*) = max

_{j∈S}

*V*

_{i}({

*j*}), we say this bidder has a

*unit-demand*valuation. We also consider bidders with specific combinatorial valuations but defer the details to our full version.

Bidder *i*'s valuation function is drawn independently from a distribution *F _{i}* over possible valuation functions

*V*. We write

_{i}*v*= (

*v*

_{1}, …,

*v*) for a profile of valuations and denote . The auctioneer knows the distributions

_{n}*F*= (

*F*

_{1}, …,

*F*) but does not know the bidders' realized valuation

_{n}*v.*The bidders report their valuations (perhaps untruthfully), and an auction decides on an allocation of items to the bidders and charges a payment to them. We denote an auction (

*g*,

*p*) as a pair of allocation rules

*g*:

_{i}*V*→ 2

^{M}and payment rules

*p*:

_{i}*V*→

_{≥0}(these rules can be randomized). Given bids

*b*= (

*b*

_{1}, …,

*b*) ∈

_{n}*V*, the auction computes an allocation

*g*(

*b*) and payments

*p*(

*b*).

A bidder with valuation *v _{i}* receives a utility

*u*(

_{i}*v*;

_{i}*b*) =

*v*(

_{i}*g*(

_{i}*b*))-

*p*(

_{i}*b*) for a report of bid profile

*b.*Let

*v*denote the valuation profile

_{-i}*v*= (

*v*

_{1}, …,

*v*) without element

_{n}*v*, similarly for

_{i}*b*, and let denote the possible valuation profiles of bidders other than bidder

_{-i}*i.*An auction is

*dominant strategy incentive compatible*(DSIC) if each bidder's utility is maximized by reporting truthfully no matter what the other bidders report. In other words,

*u*(

_{i}*v*; (

_{i}*v*,

_{i}*b*) ≥

_{-i}*u*(

_{i}*v*;(

_{i}*b*,

_{i}*b*)) for every bidder

_{-i}*i*, every valuation

*v*∈

_{i}*V*, every bid

_{i}*b*∈

_{i}*V*, and all bids

_{i}*b*∈

_{–i}*V*from others. An auction is ex post

_{-i}*individually rational*(IR) if each bidder receives a nonzero utility, that is,

*u*, and

_{i}(v_{i}; (v_{i}, b_{-i}) ) ≥ 0 ∀i ∈ N, v_{i}∈ V_{i}*b*∈

_{-i}*V*.

_{-i}In a DSIC auction, it is in the best interest of each bidder to report truthfully, and so the revenue on valuation profile *v* is ∑_{i}*p*_{i}(*v*). Optimal auction design seeks to identify a DSIC auction that maximizes expected revenue.

EXAMPLE 1 (VICKREY AUCTION^{26}). *A classic result in auction theory concerns the sale of a single item to n bidders. It states that the following auction—the so-called Vickrey or second-price auction—is DSIC and maximizes social welfare: Collect a bid b _{i} from each bidder, assign the item to the bidder with the highest bid (breaking ties in an arbitrary but fixed manner), and make the bidder pay the second-highest bid.*

EXAMPLE 2 (MYERSON AUCTION^{17}). *A simple example shows that the Vickrey auction does not maximize revenue: Suppose there are two bidders with v _{i}* ∈

*U*[0, 1],

*then its expected revenue is*1/3.

*Higher revenue can be achieved with a second-price auction with reserve r: As before, collect bids b*= 1/2

_{i}, allocate to the highest bid but only if this bid is at least r, and make the winning bidder (if any) pay the maximum of the runner-up bid and r. It is straightforward to verify that this auction is DSIC and that choosing r*leads to an expected revenue of*5/12 > 1/3.

In the simple example with a single item and uniform valuations, a second-price auction with reserve 1/2 is in fact the optimal auction. This auction illustrates a special case of Myerson's theory for the design of revenue-optimal, single-item auctions.^{17} Comparable results are not available for selling multiple items, even when we are trying to sell them to a single bidder!

### 3. The Learning Problem

At the core of our approach is the following reinterpretation of the optimal auction design problem as a learning problem, where in the place of a loss function that measures error against a target label, we adopt the negated, expected revenue on valuations drawn from *F.*

More concretely, the problem we seek to solve is the following: We are given a parametric class of auctions, (*g ^{w}*,

*p*) ∈

^{w}*M*, for parameters

*w*∈

*R*for some

^{d}*d*∈

*N*, and a sample of bidder valuation profiles

*S*= {

*v*

^{(1)}, …,

*v*

^{(L)}} drawn i.i.d. from

*F.*Our goal is to find an auction that minimizes the negated, expected revenue among all auctions in

*M*that satisfy incentive compatibility.

We consider two distinct approaches for achieving DSIC. In the first approach, we make use of characterization results. When it is possible to encode them within a neural network architecture, these characterizations from economic theory usefully constrain the search space and provide exact DSIC. At the same time, the particular characterization that we use is limited in that it applies only to single-bidder settings. The second approach that we take is more general, applying to multi-bidder settings, and does not rely on the availability of suitable characterization results. On the other hand, this approach entails search through a larger parametric space and only achieves approximate DSIC.

We describe the first approach in Section 4 and return to the second approach in Section 5.

### 4. The Rochetnet Framework

We have developed two different frameworks that achieve exact DSIC by applying appropriate structure to the neural network architecture. One framework, referred to as *MyersonNet*, is inspired by Myerson's lemma^{17} and can be used for the study of multi-bidder, single-item auctions (see the full version of this paper). A second framework, referred to as *RochetNet*, is inspired by Rochet's characterization theorem for DSIC auctions in single-bidder settings.^{22} We give the construction of RochetNet for additive preferences, but this can be easily extended to unit-demand valuations.

**4.1. The RochetNet architecture**

For this single-bidder, multi-item setting, let denote the bidder's additive valuation, so that *v _{j}* is its value for item

*j*. Let denote the bid, which need not be truthful. The allocation rule , for parameters

*w*, defines for each item

*j*∈ [

*J*] the probability with which the item is allocated to the bidder. The payment rule defines the payment

*p*(

^{w}*b*) made by the bidder.

The mechanism (*g ^{w}*,

*p*) induces a

^{w}*utility function*. For truthful bids,

*v*, the utility function induced by the mechanism is

The RochetNet architecture represents the rules of a mechanism through a *menu.* The menu encodes a set of *K* choices, where each choice consists of a randomized allocation together with a price. The network selects the choice for the bidder that maximizes the bidder's reported utility given its bid, or chooses the *null outcome* (no allocation, no payment) when this is preferred. This yields the following utility function:

with parameters *w* = (α, *β*), where α ∈ [0, 1]^{mK} and *β* ∈ ℝ^{K}. For choice *k* ∈ [*K*], parameters at α_{k} ∈ [0, 1]^{m} specify the randomized allocation and parameter *β*_{k} ∈ ℝ specifies the negated price (*β*_{k}S will be negative, and the smaller the value of *β*_{k}, the larger the payment).

For input *b*, let *k*^{*}(*b*) ∈ argmax_{k∈[K]∪{0}} {α_{k} · *b* + *β*_{k}} denote the best choice for the bidder, where choice 0 corresponds to α_{0} = 0 and *β*_{0} = 0 and the null outcome. This best choice defines the allocation and payment rule—for bid *b*, the allocation is *g ^{w}* (

*b*) = α

_{k*(b)}and the payment is

*p*(

^{w}*b*)= -

*β*

_{k*(b)}.

RochetNet represents this induced utility function as a single layer neural network as illustrated in Figure 1(a). The input layer takes a bid and the output of the network is the induced utility. Figure 1(b) shows an example of an induced utility function for a single item (*m* = 1) and a network with a menu consisting of four choices (*K* = 4).

**Figure 1. RochetNet: (a) Neural network representation of a menu, shown here with K choices as well as the null outcome (0); here, h_{k}(b) = α_{k} · b + β_{k} for b ∈ ℝ^{m}, α_{k} ∈ [0, 1]^{m}, and β_{k} ∈ ℝ. (b) An induced utility function represented by RochetNet for the case of a single item (m = 1) and a network with a menu with four choices (K = 4).**

The network architecture ensures that the utility function is monotonically non decreasing, convex, and 1-Lipschitz, conforming to Rochet's characterization.^{22} It also easily provides the following theoretical property.

THEOREM 4.1. *For any parameterization w, the mechanism* (*g ^{w}*,

*p*)

^{w}*corresponding to RochetNet is DSIC and IR.*

PROOF. For DSIC, note that (1) the available choices are fixed, and independent of the report; and (2) for a truthful report, the "max" structure of RochetNet ensures that the bidder receives the choice that maximizes its true expected utility, and thus, the bidder can do no better than this. For IR, note that the expected utility for a true report is at least zero because of the availability of the null outcome.

**4.2. Training**

During training, we seek to minimize the negated, expected revenue. Let *F* denote the distribution on valuation *v.* To ensure that the objective is a continuous function of α and *β* (so that parameters can be optimized through gradient descent), the best choice *k*^{*}(*v*) at input *v* is approximated during training via a *softmax* operation in place of the argmax. With this, we seek to minimize the following loss function, which corresponds to the approximate, negated revenue:

where

and *c* > 0 is a constant that controls the quality of the approximation. The softmax function is softmax_{k} (*cz*_{0}, *cz*_{1}, …, *cz _{k}*) =

*e*/ ∑

^{czk}_{k'}

*e*and takes as input

^{czk'}*K*+ 1 real numbers and returns a probability distribution with each entry proportional to the exponential of the corresponding input. Once trained, RochetNet is used at test time with a hard max in place of the softmax to ensure exact DSIC and IR.

We train RochetNet using samples drawn from the bidder's value distribution. Given a sample *S* = {*v*^{(1)}, …, *v*^{(L)}}, we minimize the empirical loss, which is

We use projected stochastic gradient descent (SGD) to minimize (5). We estimate gradients for the loss using mini-batches of size 2^{15} valuation samples in every iteration. In the projection step, we project each parameter α_{jk} (for item *j*, choice *k*) onto [0, 1] to provide a well-defined probability.

### 5. The Regretnet Framework

We next describe our second approach to handling DSIC constraints and the corresponding framework, which we refer to as *RegretNet.* Unlike the first approach, this second approach does not rely on characterizations of DSIC mechanisms. Instead, we replace the DSIC constraints with a differentiable approximation and lift the DSIC constraints into the objective by augmenting the objective with a term that accounts for the extent to which the DSIC constraints are violated. Here, we provide an overview of the special case in which bidders have additive values for items, but the framework also handles more general settings.

**5.1. Expected ex post regret**

We can measure the extent to which an auction violates incentive compatibility through a particular variation on *ex post* regret introduced in Dütting et al.^{8} Fixing the bids of others, the ex post regret for a bidder is the maximum increase in her utility, considering all possible nontruthful bids.

For mechanisms (*g ^{w}*,

*p*), we will be interested in the

^{w}*expected ex post regret for bidder i*:

where the expectation is over *v* ~ *F* and for model parameters *w.* We assume that *F* has full support on the space of valuation profiles *V*, and recognizing that the regret is nonnegative, an auction satisfies DSIC if and only if *rgt _{i}*(

*w*) = 0, ∀

*i*∈

*N*, except for measure zero events.

Given this, we reformulate the learning problem as minimizing expected negated revenue subject to the expected ex post regret being zero for each bidder:

Given a sample *S* of *L* valuation profiles from *F*, we estimate the empirical ex post regret for bidder *i* as:

and seek to minimize the empirical loss (negated revenue) subject to the empirical regret being zero for all bidders:

We additionally require the designed auction to satisfy IR, which can be ensured by restricting the search space to a class of parameterized auctions that charge no bidder more than her valuation for an allocation.

**5.2. The RegretNet architecture**

In this case, the goal is to train neural networks that explicitly encode the allocation and payment rule of the mechanism. The architectures generally consist of two logically distinct components: the allocation and payment networks. These components are trained together and the outputs of these networks are used to compute the regret and revenue of the auction.

An overview of the RegretNet architecture for additive valuations is given in Figure 2.

**Figure 2. RegretNet: The allocation and payment networks for a setting with n additive bidders and m items. The inputs are bids from each bidder for each item. The revenue rev and expected ex post rgt_{i} are defined as a function of the parameters of the allocation and payment networks w = (w_{g}, w_{p}).**

The allocation network encodes a randomized allocation rule *g ^{w}* : ℝ

^{nm}→ [0, 1]

^{nm}and the payment network encodes a payment rule , both of which are modeled as feedforward, fully-connected networks with a tanh activation function in each of the hidden nodes. The input layer of the networks consists of bids

*b*≥ 0 representing the valuation of bidder

_{ij}*i*for item

*j.*

The allocation network outputs a vector of allocation probabilities *z*_{1j} = *g*_{1j}(*b*), …, *z _{nj}* =

*g*(

_{nj}*b*), for each item

*j*∈ [

*m*]. To ensure feasibility, that is, the probability of an item being allocated is at most one, the allocations are computed using a softmax activation function, so that for all items

*j*, we have . To accommodate the possibility of an item not being assigned, we include a dummy node in the softmax computation to hold the residual allocation probability. The payment network outputs a payment for each bidder that denotes the amount the bidder should pay in expectation for a particular bid profile.

To ensure that the auction satisfies *IR*, that is, does not charge a bidder more than her expected value for the allocation, the network first computes a normalized payment for each bidder *i* using a sigmoidal unit, and then outputs a payment , where the *z _{ij}*'s are the outputs from the allocation network.

**5.3. Training**

For RegretNet, we have used the *augmented Lagrangian method* to solve the constrained training problem in (7) over the space of neural network parameters *w.*

**Algorithm 1** RegretNet Training

**Input:**Minibatches*S*_{1}, …,*S*of size_{T}*B***Parameters:**∀*t*,*ρ*> 0, γ > 0, η > 0, Γ ∈ N,_{t}*K*∈ N**Initialize:***w*^{0}∈ ℝ^{d}, λ^{0}∈ ℝ^{n}**for***t*= 0**to***T***do**- Receive minibatch
*S*= {_{t}*v*^{(1)}, …,*v*}^{(B)} - Initialize misreports
**for***r*= 0**to**Γ**do**- ∀ ℓ ∈ [
*B*],*i*∈*N*: **end for**- Compute regret gradient: ∀ ℓ ∈ [
*B*],*i*∈*N*: - Compute Lagrangian gradient (8) on
*S*and update:_{t} *w*^{t+1}←*w*- η∇^{t}_{w}C_{ρt}(*w*, λ^{t}^{t})- Update Lagrange multipliers once in
*Q*iterations: **if***t*is a multiple of*Q*- Compute on
*S*_{t} **else**- λ
^{t+1}← λ^{t} **end for**

We first define the Lagrangian function for the optimization problem, augmented with a quadratic penalty term for violating the constraints:

where λ ∈ ℝ^{n} is a vector of Lagrange multipliers and ρ > 0 is a fixed parameter that controls the weight on the quadratic penalty. The solver alternates between the following updates on the model parameters and the Lagrange multipliers: (a) .

The solver is described in Algorithm 1. We divide the training sample *S* into minibatches of size *B*, estimate gradients on the minibatches, and perform several passes over the training samples. The update (a) on model parameters involves an unconstrained optimization of *C _{ρ}* over

*w*and is performed using a gradient-based optimizer. The gradient

*C*of w.r.t.

_{ρ}*w*for fixed λ

^{t}is given by:

where

The terms and *g _{ℓ,i}* in turn involve a "max" over misreports for each bidder

*i*and valuation profile

*ℓ*. We solve this inner maximization over misreports using another gradient-based optimizer (lines 6–10).

As the optimization problem is nonconvex, the solver is not guaranteed to reach a globally optimal solution. However, this method proves very effective in our experiments, and we find that the learned auctions incur very low regret and closely match the structure of optimal auctions in settings where this is known.

### 6. Experiments

We present and discuss a selection of experiments out of a broad range of experiments that we have conducted and that we describe in more detail in Düetting et al.^{7} and the full version. The experiments demonstrate that our approach can recover near-optimal auctions for essentially all settings for which the optimal design is analytically known, that it is an effective tool for confirming or refuting hypotheses about optimal designs, and that it can find new auctions for settings where there is no known analytical solution.

**6.1. Setup**

We implemented our framework using the TensorFlow deep learning library.

For RochetNet, we initialized parameters α and *β* in Eq. (2) using a random uniform initializer over the interval [0,1] and a zero initializer, respectively. For RegretNet, we used the tanh activation function at the hidden nodes, and Glorot uniform initialization.^{11} We performed cross-validation to decide on the number of hidden layers and the number of nodes in each hidden layer. We include exemplary numbers that illustrate the trade-offs in Section 6.6.

We trained RochetNet on 2^{15} valuation profiles and sampled every iteration in an online manner. We used the Adam optimizer with a learning rate of 0.1 for 20,000 iterations for making the updates. The parameter *k* in Eq. (4) was set to 1000. Unless specified otherwise, we used a max network over 1000 linear functions to model the induced utility functions and report our results on a sample of 10,000 profiles.

For RegretNet, we used a sample of 640,000 valuation profiles for training and a sample of 10,000 profiles for testing. The augmented Lagrangian solver was run for a maximum of 80 epochs (full passes over the training set) with a minibatch size of 128. The value of ρ in the augmented Lagrangian was set to 1.0 and incremented every two epochs. An update on *w ^{t}* was performed for every minibatch using the Adam optimizer with learning rate 0.001. For each update on

*w*, we ran Γ = 25 misreport update steps with learning rate 0.1. At the end of 25 updates, the optimized misreports for the current minibatch were cached and used to initialize the misreports for the same minibatch in the next epoch. An update on λ

^{t}^{t}was performed once every 100 minibatches (i.e.,

*Q*= 100).

We ran all our experiments on a compute cluster with NVDIA Graphics Processing Unit (GPU) cores.

**6.2. Evaluation**

In addition to the revenue of the learned auction on a test set, we also evaluate the regret achieved by RegretNet, averaged across all bidders and test valuation profiles, that is, . Each has an inner "max" of the utility function over bidder valuations *v' _{i}* ∈

*V*(see (6)). We evaluate these terms by running gradient ascent on

_{i}*v'*with a step-size of 0.1 for 2000 iterations (we test 1000 different random initial

_{i}*v'*and report the one that achieves the largest regret). For some of the experiments, we also report the total time it took to train the network. This time is incurred during offline training, whereas the allocation and payments can be computed in a few milliseconds once the network is trained.

_{i} **6.3. The Manelli-Vincent auction**

As a representative example the optimal designs from economic theory that we can almost exactly recover with our approach, we discuss the Manelli-Vincent auction.^{15}

- Single bidder with additive valuations over two items, where the item values are independent draws from
*U*[0, 1].

The optimal auction for this setting is given by Manelli and Vincent.^{15} We used two hidden layers with 100 hidden nodes in RegretNet for this setting. A visualization of the optimal allocation rule and those learned by RochetNet and RegretNet is given in Figure 3. Figure 4(a) gives the optimal revenue, the revenue and regret obtained by RegretNet, and the revenue obtained by RochetNet. Figure 4(b) shows how these terms evolve over time during training in RegretNet.

**Figure 3. Side-by-side comparison of allocation rules learned by RochetNet (panels (a)) and RegretNet (panels (b)) for Setting A. The panels describe the probability that the bidder is allocated item 1 (left) and item 2 (right) for different valuation inputs. The optimal auctions are described by the regions separated by the dashed black lines, with the numbers in black being the optimal probability of allocation in the region.**

**Figure 4. (a) Test revenue and regret for RegretNet and revenue for RochetNet for Setting A. (b) Plot of test revenue and regret as a function of training epochs for Setting A with RegretNet.**

Both approaches essentially recover the optimal design, not only in terms of revenue but also in terms of the allocation rule and transfers. The auction learned by RochetNet is exactly DSIC and matches the optimal revenue precisely, with sharp decision boundaries in the allocation and payment rule. The decision boundaries for RegretNet are smoother, but still remarkably accurate. The revenue achieved by RegretNet matches the optimal revenue up to a <1% error term and the regret it incurs is <0.001. The plots of the test revenue and regret show that the augmented Lagrangian method is effective in driving the test revenue and the test regret toward optimal levels.

The additional domain knowledge incorporated into the RochetNet architecture leads to exactly DSIC mechanisms that match the optimal design more accurately and speeds up computation (the training took about 10 minutes compared to 11 hours for RegretNet). On the other hand, we find it surprising how well RegretNet performs given that it starts with no domain knowledge at all.

**6.4. The Straight-Jacket auction**

Extending the analytical result of Manelli and Vincent^{15} to a single bidder and an arbitrary number of items (even with additive preferences, all uniform on [0, 1]) has proven elusive. It is not even clear whether the optimal mechanism is deterministic or requires randomization.

Giannakopoulos and Koutsoupias^{10} proposed a Straight-Jacket Auction (SJA) and gave a recursive algorithm for finding the subdivision and the prices, and used LP duality to prove that the SJA is optimal for items. These authors also conjecture that the SJA remains optimal for *m* ≤ 6 general *m* but were unable to prove it.

Figure 5 gives the revenue of the SJA and that found by RochetNet for *m* ≤ 10 items. We used a test sample of 2^{30} valuation profiles (instead of 10,000) to compute these numbers for higher precision. It shows that RochetNet finds the optimal revenue for *m* ≤ 6 items and that it finds DSIC auctions whose revenue matches that of the SJA for *m* = 7, 8, 9, and 10 items. Closer inspection reveals that the allocation and payment rules learned by RochetNet essentially match those predicted by Giannakopoulos and Koutsoupias^{10} for all *m* ≤ 10. We take this as strong additional evidence that the conjecture of Giannakopoulos and Koutsoupias^{10} is correct.

**Figure 5. Revenue of the Straight-Jacket Auction (SJA) computed via the recursive formula in Giannakopoulos and Koutsoupias ^{10} and that of the auction learned by RochetNet, for various numbers of items m. The SJA is known to be optimal for up to six items and conjectured to be optimal for any number of items.**

**6.5. Discovering new optimal designs**

RochetNet can also be used to aid the discovery of new, provably optimal designs. For this, we consider a single bidder with additive but correlated valuations for two items as follows:

- One additive bidder and two items, where the bidder's valuation is drawn uniformly from the triangle where
*c*> 0 is a free parameter.

There is no analytical result for the optimal auction design for this setting. We ran RochetNet for different values of *c* (e.g., 0.5, 1, 3, 5) to discover the optimal auction. Based on this, we conjectured that the optimal mechanism contains two menu items for *c* ≤ 1, namely {(0, 0), 0} and , and three menu items for *c* > 1, namely {(0, 0), 0}, {(1/*c*, 1), 4/3}, and {(1, 1), 1 + *c*/3}, giving the optimal allocation and payment in each region. In particular, as *c* transitions from values less than or equal to 1 to values larger than 1, the optimal mechanism transitions from being deterministic to being randomized. We have used duality theory^{5} to prove the optimality of this design, as stated in Theorem 6.1.

THEOREM 6.1. *For any c* > 0, *suppose the bidder's valuation is uniformly distributed over set* . *Then, the optimal auction contains two menu items* {(0, 0), 0} *and* *when c* ≤ 1, *and three menu items* {(0, 0), 0}, {(1/*c*, 1), 4/3}, *and* {(1, 1), 1+*c*/3} *otherwise.*

**6.6. Scaling up**

We have also considered settings with up to five bidders and up to ten items. This is several orders of magnitude more complex than settings that can be addressed through other computational approaches to DSIC auction design. It is also a natural playground for RegretNet as no tractable characterizations of DSIC mechanisms are known for these settings.

The following two settings generalize the basic setting considered in Manelli and Vincent^{15} and Giannakopoulos and Koutsoupias^{10} to more than one bidder:

- Three additive bidders and ten items, where bidders draw their value for each item independently from the uniform distribution
*U*[0,1]. - Five additive bidders and ten items, where bidders draw their value for each item independently from the uniform distribution
*U*[0,1].

The optimal auction for these settings is not known. However, running a separate Myerson auction for each item is optimal in the limit of the number of bidders.^{19} For a regime with a small number of bidders, this provides a strong benchmark. We also compare to selling the grand bundle via a Myerson auction.

For Setting C, we show in Figure 6(a) the revenue and regret of the learned auction on a validation sample of 10,000 profiles, obtained with different architectures. Here, (*R*, *K*) denotes an architecture with *R* hidden layers and *K* nodes per layer. The (5, 100) architecture has the lowest regret among all the 100-node networks for both Setting C and Setting D. Figure 6(b) shows that the learned auctions yield higher revenue compared to the baselines, and do so with tiny regret.

**Figure 6. (a) Revenue and regret of RegretNet on the validation set for auctions learned for Setting C using different architectures, where ( R, K) denotes R hidden layers and K nodes per layer. (b) Test revenue and regret for Settings C and D, for the (5, 100) architecture.**

### 7. Conclusion

The results from this research demonstrate that the methods of deep learning can be used to find close approximations to optimal designs from auction theory where they are known, to aid with the discovery of new optimal designs, and to scale-up computational approaches to optimal, DSIC auction design. Although our approach can be applied to settings that are orders of magnitude more complex than those that can be reached through other approaches to optimal DSIC design, a natural next step would be to scale this approach further to industry scale (e.g., through standardized benchmarking suites and innovations in network architecture). We also see promise for this framework in advancing economic theory, for example in supporting or refuting conjectures and as an assistant in guiding new economic discovery.

More generally, we believe that our work (together with a handful of contemporary works such as Hartford et al.,^{14} Thompson et al.^{25}) has opened the door to ML-assisted economic theory and practice, and we are looking forward to the advances that this agenda will bring along.

### References

1. Babaioff, M., Immorlica, N., Lucier B., Weinberg, S.M. A simple and approximately optimal mechanism for an additive buyer. In *Proceedings of the 55 ^{th} IEEE Symposium on Foundations of Computer Science*, 2014, 21–30.

2. Cai, Y., Daskalakis, C., Weinberg, S.M. An algorithmic characterization of multi-dimensional mechanisms. In *Proceedings of the 44 ^{th} ACM Symposium on Theory of Computing*, 2012, 459–478.

3. Conitzer, V., Sandholm, T. Complexity of mechanism design. In *Proceedings of the 18 ^{th} Conference on Uncertainty in Artificial Intelligence*, 2002, 103–110.

4. Curry, M.J., Chiang, P.-Y., Goldstein, T., Dickerson, J.P. Certifying strategyproof auction network. In *Proceedings of the 34 ^{th} Conference on Neural Information Processing Systems* (NeurIPS 2020).

5. Daskalakis, C., Deckelbaum, A., Tzamos, C. Mechanism design via optimal transport. In *Proceedings of the 14 ^{th} ACM Conference on Electronic Commerce*, 2013, 269–286.

6. Daskalakis, C., Deckelbaum, A., Tzamos, C. Strong duality for a multiple-good monopolist. *Econometrica*, 85 (2017), 735–767.

7. Dütting, P., Feng, Z., Narasimhan, H., Parkes, D.C., Ravindranath, S.S. Optimal auctions through deep learning. In *Proceedings of the 36 ^{th} International Conference on Machine Learning*, 2019, 1706–1715.

8. Dütting, P., Fischer, F., Jirapinyo, P., Lai, J., Lubin, B., Parkes, D.C. Payment rules through discriminant-based classifiers. *ACM Trans. Econ. Comput. 1*, 3 (2014), 5.

9. Feng, Z., Narasimhan, H., Parkes, D.C. Deep learning for revenue-optimal auctions with budgets. In *Proceedings of the 17 ^{th} International Conference on Autonomous Agents and Multiagent Systems*, 2018, 354–362.

10. Giannakopoulos, Y., Koutsoupias, E.. Duality and optimality of auctions for uniform distributions. In *SIAM J. Comput.*, 47 (2018), 121–165.

11. Glorot, X., Bengio, Y. Understanding the difficulty of training deep feedforward neural networks. In *Proceedings of the 13 ^{th} International Conference on Artificial Intelligence and Statistics*, 2010.

12. Golowich, N., Narasimhan, H., Parkes, D.C. Deep learning for multi-facility location mechanism design. In *Proceedings of the 27 ^{th} International Joint Conference on Artificial Intelligence*, 2018, 261–267.

13. Guo, M., Conitzer, V. Computationally feasible automated mechanism design: General approach and case studies. In *Proceedings of the 24 ^{th} AAAI Conference on Artificial Intelligence*, 2010.

14. Hartford, J.S., Wright, J.R., Leyton-Brown, K. Deep learning for predicting human strategic behavior. In *Proceedings of the 29 ^{th} Conference on Neural Information Processing Systems*, 2016, 2424–2432.

15. Manelli, A., Vincent, D. Bundling as an optimal selling mechanism for a multiple-good monopolist. *J. Econ. Theory 1*, 127 (2006), 1–35.

16. Morgenstern, J., Roughgarden, T. On the pseudo-dimension of nearly optimal auctions. In *Proceedings of the 28 ^{th} Conference on Neural Information Processing Systems*, 2015, 136–144.

17. Myerson, R. Optimal auction design. *Math. Operat. Res.*, 6 (1981), 58–73.

18. Narasimhan, H., Agarwal, S., Parkes, D.C. Automated mechanism design without money via machine learning. In *Proceedings of the 25 ^{th} International Joint Conference on Artificial Intelligence*, 2016, 433–439.

19. Palfrey, T. Bundling decisions by a multiproduct monopolist with incomplete information. *Econometrica 2*, 51 (1983), 463–483.

20. Pavlov, G. Optimal mechanism for selling two goods. *B.E. J. Theor. Econ.*, 11 (2011), 1–35.

21. Rahme, J., Jelassi, S., Bruna, J., Weinberg, S.M. A permutation-equivariant neural network architecture for auction design. In *Proceedings of the 35 ^{th} AAAI Conference on Artificial Intelligence* (2021).

22. Rochet, J.-C. A necessary and sufficient condition for rationalizability in a quasilinear context. *J. Math. Econ.*, 16 (1987), 191–200.

23. Sandholm, T., Likhodedov, A. Automated design of revenue-maximizing combinatorial auctions. *Oper. Res. 5*, 63 (2015), 1000–1025.

24. Shen, W., Tang, P., Zuo, S. Automated mechanism design via neural networks. In *Proceedings of the 18 ^{th} International Conference on Autonomous Agents and Multiagent Systems*, 2019. Forthcoming.

25. Thompson, D., Newman, N., Leyton-Brown, K.. The positronic economist: A computational system for analyzing economic mechanisms. In *Proceedings of the 31 ^{st} AAAI Conference on Artificial Intelligence*, 2017, 720–727.

26. Vickrey, W. Counterspeculation, auctions, and competitive sealed tenders. *J. Finance*, 16 (1961), 8–37.

### Footnotes

An extended abstract was published in *Proceedings of the 36 ^{th} International Conference on Machine Learning, 2019.* A full version of this paper is available at https://arxiv.org/abs/1706.03459. All code is available through the GitHub repository at https://github.com/saisrivatsan/deep-opt-auctions.

Copyright held by authors/owners. Publication rights licensed to ACM.

Request permission to publish from [email protected]

The Digital Library is published by the Association for Computing Machinery. Copyright © 2021 ACM, Inc.