---
title: "Ex-post IR Dynamic Auctions with Cost-per-Action Payments"
authors:
  - "Weiran Shen"
  - "Zihe Wang"
  - "Song Zuo"
doi: "10.24963/ijcai.2018/70"
url: "https://ijcai.org/proceedings/2018/70"
pdf: "https://ijcai.org/proceedings/2018/0070.pdf"
venue: "Proceedings of the Twenty-Seventh International Joint Conference on Artificial Intelligence"
year: 2018
pages: "505-511"
track: "Main track"
keywords:
  - "Agent-based and Multi-agent Systems: Economic Paradigms, Auctions and Market-Based Systems"
  - "Agent-based and Multi-agent Systems: Algorithmic Game Theory"
---

# Ex-post IR Dynamic Auctions with Cost-per-Action Payments

Weiran Shen, Zihe Wang, Song Zuo

*Proceedings of the Twenty-Seventh International Joint Conference on Artificial Intelligence*, pages 505-511. DOI: [10.24963/ijcai.2018/70](https://doi.org/10.24963/ijcai.2018/70)

## Abstract

Motivated by online ad auctions, we consider a repeated auction between one seller and many buyers, where each buyer only has an estimation of her value in each period until she actually receives the item in that period. The seller is allowed to conduct a dynamic auction but must guarantee ex-post individual rationality.
In this paper, we use a structure that we call credit accounts to enable a general reduction from any incentive compatible and ex-ante individual rational dynamic auction to an approximate incentive compatible and ex-post individually rational dynamic auction with credit accounts. Our reduction obtains stronger individual rationality guarantees at the cost of weaker incentive compatibility. Surprisingly, our reduction works without any common knowledge assumption. Finally, as a complement to our reduction, we prove that there is no non-trivial auction that is exactly incentive compatible and ex-post individually rational under this setting.

## Full text

## 1 Introduction

Internet advertising has been playing a very important role in the advertising industry. Most online advertising platforms, such as search engines and social media, have gone through the evolution from the cost-per-mille impressions (CPM) model to the cost-per-click (CPC) model, where the former is aligned with traditional advertising while the latter focuses more on performance. In the CPC model, when a user requests a certain web page, the platform collects bids from the advertisers and based on the bids, determines whose ad to display on the page. The corresponding advertiser is charged when her advertisement is clicked by the user. Such an advertising model is called the CPC model because the advertiser only needs to pay when her advertisement is clicked. This CPC model has been the de facto model for most major online advertising platforms, and is proven to be profitable [Edelman et al., 2007]. However, despite its success, this model is criticized to have the click fraud problem, i.e., the competitors of an advertiser, or even the platform itself, may deliberately create false clicks to increase the advertiser's cost or to extract more revenue. Furthermore, the advertisers have to pay for clicks that do not lead to final purchase of their products. Although one may argue that in expectation the advertisers are indeed profitable, it may still be a serious problem for small companies that cannot ignore such risks.

A relatively new model that has gained much research attention recently is the cost-per-action (CPA) advertising model. In contrast to the CPC model, the CPAmodel is even more performance-oriented and focuses directly on user actions. In the CPA model, the advertisers are only charged when the users make certain actions, such as purchases or transactions. It seems that the CPAmodel and the CPCmodel are almost the same except for the payment. However, this advertising model clears the uncertainty faced by the advertiser and can potentially decrease the vulnerability to click fraud. Besides these advantages, the CPA model also gives more incentives to the platforms to deliver high-quality impressions to the users. In 2007, the CPA model was described as the "Holy Grail" of targeted advertising by Google [Spencer, 2007]. Currently, many online advertising platforms, including Google, eBay, Amazon, Facebook, Baidu and WeChat have already started to test the CPA model.

Another essential difference between these two models is that the platform cannot directly observe the users' actions on the advertisers' websites whereas the users' clicks are observable by both the platform and the advertiser. Such an undesirable property may cause the advertisers to hide the users' actions to avoid payments. This also poses challenges in putting the CPA model in practice to replace the CPC model that is currently dominant in the advertising industry.

This paper is directly motivated by the above challenge. In this paper, we aim to tackle the incentive problem and present a new reduction framework that we call the credit account mechanism. Our mechanism solves the incentive issue by adding a credit account for each advertiser on top of the original mechanism that follows the "allocate-report-pay" scheme. In our mechanism, the advertisers are given a certain amount of "credit quota" and an advertiser cannot win the auction if her credit runs out of her "quota". When an impression is allocated, the winner observes her value and reports to the platform. Our mechanism then charges her by some modified payment based on the original mechanism. The payment is chosen such that it never exceeds the bidder's reported value so that ex-post individual rationality is guaranteed. In the meanwhile, the winner's credit balance is updated according to the difference between her actual payment and her expected payment in the original mechanism.

Intuitively, the credit account tracks the difference between one's actual payments and expected payments. An honest advertiser only has a negligible chance of consuming all her credit, while an advertiser shading her reports will quickly run out of credit and will be blocked in future auctions.

Our contributions Firstly, we formalize the credit accounts framework. 1 As for incentive compatibility (IC) and individual rationality (IR) properties, our framework can reduce any IC and ex-ante IR mechanism to a credit account mechanism that gives the same allocation rule as the original mechanism with high probability (Theorem 4.1) and guarantees approximate IC (see Definition 3.3) and ex-post IR (see Definition 2.4). We emphasize that the notion of approximate IC serves the motivating example of online advertising, since the benefit of deviation on average is vanishingly small as the number of periods grows (Theorem 4.2).

Such a reduction then naturally induces a trade-off between the strength of truthfulness and the probability of desired implementation (see Section 4). In particular, it also applies to second price auctions (Proposition 4.3).

Finally, as a complement to the constructed credit account mechanisms, we show that the exact IC and the ex-post IR cannot be achieved simultaneously, unless the mechanism is trivial (Theorem 5.1). In this sense, credit account mechanisms have achieved the strongest properties we can hope for.

## 1.1 RelatedWorks

Ever since Myerson's seminal paper on designing revenue optimal auctions [Myerson, 1981], there have been intensive researches on analyzing and designing one-shot auction mechanisms. For example, Edelman et al. [2007] and Varian [2007] study the performance of the generalized second price auction (GSP). Hartline and Roughgarden [2009], Shen and Tang [2017] and Bachrach et al. [2014] provide mechanisms that can tradeoff among different objectives. There is also a rich literature on multi-item auctions [Cai et al., 2012; Daskalakis et al., 2013; Wang and Tang, 2014; Yao, 2014; Tang and Wang, 2017; Yao, 2017], and on repeated auctions motivated by online advertising [Amin et al., 2013; Amin et al., 2014; Kanoria and Nazerzadeh, 2014; Balseiro et al., 2017; Epasto et al., 2018; Tang and Zeng, 2018].

A closely related line of work is dynamic mechanism design (see Bergemann and V¨alim¨aki [2017] for a comprehensive survey). Our mechanism is also related to works on auctions with unknown types, for example the "common value" literature [Klemperer, 1998; Bergemann and Morris, 2013].

There is also a series of works that focus on designing mechanisms with the CPA advertising model. Nazerzadeh et al. [2013] study the setting where the advertisers' value may evolve over time. They present a mechanism that satisfies asymptotic IR and asymptotic IC. However, their mechanism does not exactly fall into the CPA advertising model, since the winner still needs to pay even if the user does not click on her ad. Hu et al. [2015] compare the CPC model and the CPA model. Their results show that the CPA model is better in incentivizing the platform to improve the purchase rate, but suffers from the adverse selection problem. Agarwal et al. [2009] consider a similar setting where the advertisers report both the predefined actions and the action probabilities. They show that at equilibrium, the advertisers may report skewed bids. However, their results only hold in one-shot games.

1 In fact, we are not the first to use the idea of credit accounts in mechanism design. Similar reputation based structures are used for other settings [Liu et al., 2014; Hajaj et al., 2015].

Our mechanism also borrows some highlevel ideas from the "bank account" mechanism, where the seller maintains a "bank account" for each buyer during the dynamic auction [Mirrokni et al., 2016a; Mirrokni et al., 2016b; Mirrokni et al., 2018a; Mirrokni et al., 2018b]. Although with similar names, the "credit account" in this paper is fundamentally different: (i) the bank account mechanisms are designed under the common knowledge assumption to ensure dynamic IC, while the credit account mechanism guarantees approximate dynamic IC without any common knowledge assumption; (ii) the "balance" in bank accounts can be thought of as money, where the buyers might pay their bank account balance, while the "credit" in the credit accounts is more like a reliability measure of the buyers based on their past behaviors.

## 2 Preliminaries and Setup

Setup We study the problem of cost-per-action mechanism design in the environment with one seller and multiple buyers. In particular, we will focus on the setting with repeated sales, that is, in each period t ∈ [T], the seller has a new item to sell to the buyers. If not sold, the item is then destroyed. Throughout this paper, we consider the finite horizon case without discount factor, hence T &lt;∞. 2

Similar to the standard setting, in each period, what the seller does is to allocate the item to one (or none) of the buyers and charge the buyers some amount of money as payments. Formally, we use xit ∈ [0, 1] to denote the probability of buyer i ∈ [n] receiving the item of period t and pit ∈ R to denote the payment from buyer i to the seller in period t.

The main difference between our setup and the standard setting is how the buyers value the received items:

- In the standard setting, there is a private value vi t of buyer i receiving the t-th item, only known to buyer i; 3
- In our setup, each buyer is uncertain about her exact value for the item until she actually receives it.

Formally, an estimation of buyer i for the t-th item is a private distribution F i t of her possible exact values and her exact value vi t ∈ [0, ¯ v] is realized only after receiving the item. 4 In particular, vi t ∼ F i t and we assume that each vt (i.e., the vector of v1 t , . . . , vn t ) is sampled from the joint distribution Ft but independently over time. Hence F i t is amarginal distribution of Ft for buyer i. We also allow each F i t to be different across both the buyers and periods.

2 Note that the extension to infinite horizon case with discount factor is straightforward.

3 In Bayesian settings, the other agents (including the seller and the buyers other than i) might only have a common knowledge of the distribution of vi t .

4 ¯ v is just a finite upper bound on the buyer's value and does not restrict the bid of the buyers (see Mechanism 2.1).

Although such a setup is quite different from the canonical auction setting, it does help us to capture the nature of online advertising. In online advertising, there are two types of ads, brand based ads and performance based ads. For the first type of ads, the advertisers acquire value whenever the ads are shown to a user, while for the second type of ads, the advertisers acquire value from some specific user actions on their websites (e.g., buying some goods or services, subscribing to the website, etc.). In other words, for the second type of ads, the advertiser only has an estimation for her value of an impression (or a click) to a user, while her exact value depends on the actual actions taken by the user.

Under such a setup, we assume that both estimation F i t and the exact value vi t are private information of buyer i. Although in general, the estimation could rely on both the seller's private information, such as the characteristics of the user, and the buyer's private information, such as the prior knowledge of certain users' behaviors. However, such an information structure is not the main focus of this paper. Hence, to make the model clean, we assume that the estimation F i t is private information of buyer i. With such a simplification, we can ensure a more robust incentive guarantee for the buyers. In fact, ours results also easily extend to the general settings.

Throughout this paper, we focus on "direct mechanisms", where the seller requires the buyers to report all their private information and determine the allocation of the item and the payments from the buyers. Although in general, reporting the entire estimation F i t is required, for most practical mechanisms, reporting the expected value E[F i t ] would suffice.

The following abstract auction outlines the common structure of a direct mechanism under this setup:

Mechanism 2.1 (Abstract direct mechanism). For each period t ∈ [T ]:

1. Each buyer has a private estimation F i t for the t-th item and reports an estimation ˆ F i t to the seller;
2. The seller determines the allocation xt ∈ [0, 1]n of the t-th item based on the reported estimations ˆFt and all the historical reports, i.e., ˆF1..t-1 := ˆF1, . . . , ˆFt-1 and ˆv1..t-1 := ˆv1, . . . , ˆvt-1;
3. The winner j receives the item, realizes her exact value vj t ∼ F j t , and reports ˆ vj t ∈ R+ to the seller;
4. The seller determines the payment pt based on the reported estimations and values from the current and past periods, i.e., ˆF1..t, ˆv1..t.

Since only the winner reported her exact value in each period, hence vt (or ˆvt) is a vector consists of one vjt t (or ˆ vjt t ) and n - 1 empty elements ⊥:

vt = ⊥, . . . , vjt t , . . . ,⊥ ˆvt = ⊥, . . . , ˆ vjt t , . . . ,⊥, where jt is the index of the winner in period t. 5 In addition, we will adopt the short notation a1..t for a1, . . . , at throughout this paper.

5 If there is no winner in period t, then vt = ˆvt = ⊥, . . . , ⊥.

In such a direct mechanism, in each period t, each buyer acquires a quasi-linear utility uit :

uit ( ˆF 1..t, ˆv1..t; vi t ) = vi t · xit ( ˆF 1..t, ˆv1..t-1) - pit ( ˆF 1..t, ˆv1..t). Her cumulative utility is the sum of her utility in each period:

<!-- formula-not-decoded -->

Finally, the revenue of the seller, REV, is the cumulative payments collected from the buyers, and the social welfare, WEL, is the sum of REV and all the cumulative buyer utilities:

<!-- formula-not-decoded -->

<!-- formula-not-decoded -->

<!-- formula-not-decoded -->

We assume the buyers are risk-neutral and self-interested, hence the best strategy of each buyer i must maximize her cumulative utility U i . For the seller we do not fix any specific goal now, since we mainly focus on the implementability.

A direct mechanism is truthful or incentive compatible, if in each period t, reporting ˆ F i t = F i t and ˆ vi t = vi t (if she won the item) is the dominant strategy of buyer i, regardless of the strategies of others and all historical bids. In this paper, we focus on dominant-strategy incentive compatibility because we do not make any common knowledge assumptions.

Let 〈 ˆF 1..t, ˆv1..t〉 be any reporting profile, and 〈 ˆF ∗iτ 1..t , ˆv∗iτ 1..t 〉 be the reporting profile where buyer i reports truthfully in periods τ, . . . , t, while the other entries remain the same:

- ˆF ∗iτ 1..t = ˆF1..τ-1, ˆF -i τ..t , F i τ..t ˆv∗iτ 1..t = ˆv1..τ-1, ˆv-i τ..t , viτ..t , where superscript -i indicates the quantities for all buyers other than i.

To make the definition compact, we define the following notations. Let Iit be the expected utility of buyer i reporting truthfully since the first step of period t with arbitrary fixed historical reports and reports by other buyers:

<!-- formula-not-decoded -->

Let IIit be the similar utility of buyer i, except that she reports truthfully since the second step of period t while her report for the first step is fixed:

<!-- formula-not-decoded -->

Let I′it and II′it be the expected utility for buyer i misreporting solely in the first step and the second step of period t:

<!-- formula-not-decoded -->

Formally, we have the following definition:

Definition 2.2 ((Dynamic) Dominant-Strategy Incentive Compatible). A direct mechanism is dominant-strategy incentive compatible, if truthfully reporting is the best strategy for each buyer i in each period t (both before and after the allocation of the item):

<!-- formula-not-decoded -->

Besides the incentive compatibility, another important guarantee is individual rationality, which means that the utility of each buyer must be non-negative. Formally, Definition 2.3 (Ex-ante Individually Rational). A direct mechanism is ex-ante individually rational, if each buyer's expected utility in each period t is non-negative, ∀ ˆF ∗it 1..t , ˆv1..t:

<!-- formula-not-decoded -->

Ex-post individual rationality is a stronger condition in the sense that the utility of each buyer in each period must be non-negative without taking expectation over vi t :

Definition 2.4 (Ex-post Individual Rational). A direct mechanism is ex-post individual rational, if the utility of each buyer i is non-negative in each period t for any vi t :

<!-- formula-not-decoded -->

## 3 Mechanisms

In this section, we present our first main result, the credit account mechanism, which is a general reduction framework that reduces any (DIC) and (EX-ANTE IR) mechanism to an mechanism that achieves approximate incentive compatibility (to be defined later) and (EX-POST IR). In particular, as we will show in the next section, the new mechanism implements the same allocation rule as the original one with high probability when the buyers report truthfully.

## 3.1 An Efficient Auction with Ex-ante IR

Let's start with a simple auction that maximizes the social welfare WEL and satisfies (DIC) and (EX-ANTE IR). Then we show how we can strengthen the IR from (EX-ANTE IR) to (EX-POST IR) with a tolerable loss in the guarantee of IC.

The following auction in each period is in fact a second price auction with E[ ˆ F i t ] as each buyer's bid. Note that the payment pit is independent of her reported exact value ˆ vi t , so the mechanism satisfies (DIC). On the other hand, since only the winner is charged and for each winner, Evi t∼F i t [uit ] = xit ·

(bit - b(2) t ) ≥ 0, the mechanism also satisfies (EX-ANTE IR). However, in general, it does not satisfy (EX-POST IR) since if buyer j wins in period t and vj t = 0, ujt = -b(2) t is negative.

Mechanism3.1 (Ex-ante IRAuction). In each period t:

1. Ask each buyer to report ˆ F i t and define her bid as bit = E[ ˆ F i t ] := Ev∼ˆ F i t [v], or equivalently, ask each buyer to report such bit directly.
2. Allocate the item to the buyer with the highest bid, break ties arbitrarily:

<!-- formula-not-decoded -->

3. Ignore the winner i's exact value and simply charge her the second highest bid: pit = xit · b(2) t , where b(2) t =maxj̸=i bjt is the second highest bid.

Lemma 3.2. Mechanism 3.1 maximizes the social welfare and is (DIC) and (EX-ANTE IR), but not (EX-POST IR).

## 3.2 The Credit Account Mechanism

We now present the credit account mechanism. As we mentioned previously, it reduces a mechanism M to another mechanism ˜Mthat is approximate incentive compatible (see Definition 3.3 below) and ex-post individually rational.

Definition 3.3. A direct mechanism is ϵ-approximate incentive compatible, if for each buyer i, no strategy could outperform truthfully reporting by a margin larger than ϵ:

∀F i 1..T , vi1..T , ˆF1..T , ˆv1..T ,U i ≥ U i′ - ϵ, (APPROX IC) where U i = E[U i (F i 1..T , ˆF -i 1..T , vi1..T , ˆv-i 1..T ; vi1..T )] and U i′ = E[U i ( ˆF 1..T , ˆv1..T ; vi1..T )] are buyer i's expected utility for truth-telling and any given strategy, respectively.

Credit account mechanisms To enforce the ex-post IR constraint, the major challenge is that the winner is incentivized to report her exact value as 0, because her payment will be restricted to 0 by (EX-POST IR). In other words, if the strict IC is also enforced, the payment must be always 0 and cannot implement general allocation rules.

The credit account mechanism circumvents the contradiction by slightly relaxing the IC constraint as well as tolerating a small probability that the allocation of the resulting mechanism ˜Mis different from the originalM.

The core concept of the reduction framework, is a credit account for each buyer. Intuitively, each credit account maintains the "reliability" of the corresponding buyer, i.e., it tracks the difference between the total price the buyer should pay under the rule of the original mechanism M and the price she actually paid so far in the resulting mechanism ˜M. Since the draws of each vi t ∼ F i t are independent over time, by the law of large numbers, the magnitude of the credit account balance grows at the order of √t with high probability.

Based on the observation, there are two major changes in the resulting mechanism comparing with the original:

- The payment rule is modified in the way such that i) it never exceeds the reported exact value ˆ vi t and ii) its expectation equals the payment rule of the original mechanism if the buyer reports her exact value truthfully;
- A gradually growing credit quota, qt, is set for the buyers. Once a buyer's credit balance exceed the quota, she will be labeled as "unreliable" and the item won't be allocated when she wins. Hence her overall benefit of misreporting is essentially bounded by the quota.

Formally, the credit account mechanism ˜M = 〈˜x, ˜p〉 for any given M = 〈x, p〉 is defined as follows:

Mechanism 3.4 (Credit Account Mechanism). Initially, let the credit account of each buyer be ci1 = 0 and qt be the quota at period t all buyers. For each period t:

<!-- formula-not-decoded -->

2. Allocate the item according to

<!-- formula-not-decoded -->

3. Winner j reports her exact value ˆ vj t and pays

<!-- formula-not-decoded -->

where ¯ pjt is her expected payment under the original mechanismMwith value v′ sampled from ˆ F j t : 7

<!-- formula-not-decoded -->

4. Increase the credit account of the winner by her payment and reduce the credit account of the winner by pjt , i.e.,

<!-- formula-not-decoded -->

5. For all other (not winning) buyers, charge them nothing and keep their credit accounts unchanged:

<!-- formula-not-decoded -->

## 4 Truthfulness vs Efficiency

With the general reduction, we can construct a dynamic costper-action auction that is approximate efficient, achieving at least (1 - δ) fraction of the maximum social welfare, and approximate IC with ϵ = 2qT + ¯ v (see Proposition 4.3).

In this section, we present the second main result of this paper, which is how the qt determines the trade-off between implementation tolerance δ and the truthfulness tolerance ϵ.

To establish such a trade-off, we prove some even stronger properties of the credit account mechanisms with any general Msatisfying (DIC) and (EX-ANTE IR). Intuitively:

- Implementation: The resulting credit account mechanism ˜Mimplements the same allocation rule asMwith high probability 1 - δ (Theorem 4.1);
- Truthfulness: The resulting credit account mechanism ˜M is ϵ-APPROX IC and EX-POST IR (Theorem 4.2).

The trade-off between the failure probability δ and the approximate IC ϵ is roughly as follows:

<!-- formula-not-decoded -->

We remark that having ϵ sub-linear in t is especially meaningful for the application of online advertising, where the value in each period ¯ v is typically small, whereas T is quite large.

Formally, we have the following two theorems, whose proofs are deferred to Section 4.1:

Theorem 4.1. For any DIC and EX-ANTE IR mechanism M, there exists an equivalent credit account mechanism ˜M, such that when all buyers report truthfully, for all possible F1..T and v1..T ∼ F1..T , the allocation ˜x1..T are the same as in M with high probability (1 - δ), where the quota qt ≤ 2¯ v√t(ln t + ln n + ln δ-1 ).

6αit is set in the way that ensures the buyer i's credit balance never exceeds the quota in the worst case.

7 Note that v′ is not the private value realized by the winner j. It is just sampled from her reported estimation ˆ F j t .

Theorem 4.2. For any DIC and EX-ANTE IR mechanism M, the corresponding credit account mechanism ˜Mdefined according to Mechanism 3.4 satisfies both (APPROX IC) and (EX-POST IR), with ϵ ≤ 2qT + ¯ v = ˜O(√T) sub-linear in T .

Taking Mechanism 3.1 as M, we get a direct consequence:

Proposition 4.3. Let M be Mechanism 3.1, then the corresponding credit account mechanism ˜M is APPROX IC with ϵ = 2qT + ¯ v = ˜O(√T) and EX-POST IR. Meanwhile, under truthful reporting, ˜Mcan achieve at least (1-δ) fraction of the maximum social welfare, where δ can be as small as any polynomial of 1/T, i.e., Ω(T -k ) for any constant k.

In particular, in each period, each buyer only needs to report her expected value E[ ˆ F i t ] (instead of her full estimation) and the winner also needs to report her realized value ˆ vi t .

## 4.1 Formal Proofs

Proof of Theorem 4.1. According to the construction of Mechanism 3.4, the allocation of the constructed ˜M is almost the same as in M. In particular, if ∀i, t, αit = 1, the allocations, x1..T and ˜x1..T , will be exactly the same. In the rest of the proof, we show it holds with high probability:

<!-- formula-not-decoded -->

Note that αit &lt; 1 only if cit + qt ≤ E[F i t ] ≤ ¯ v, hence Pr[∀i, t, αit = 1] ≥ Pr[∀i, t, cit ≥ ¯ v - qt]. According to the construction of ˜M, for any i, {cit }Tt=1 is a martingale. To prove this, it suffices to show E[cit+1 |cit ] = cit :

If buyer i is not the winner in period t, then cit+1 = cit . Otherwise, buyer i is the winner and by the construction (5),

<!-- formula-not-decoded -->

According to the construction (3), for any fixed F i t ,

<!-- formula-not-decoded -->

<!-- formula-not-decoded -->

where the second equality is from the independence between vi t and the randomness of ¯ pit and the last equality is from the construction (4) (¯ pit is fixed once cit and F i t are given).

Hence E[ ˜ pit-αit · ¯ pit |cit ] = 0 and E[cit+1 |cit ] = cit , so {cit }Tt=1 is a martingale. Note that |cit+1 -cit | ≤ ¯ v, then by the AzumaHoeffding inequality,

<!-- formula-not-decoded -->

<!-- formula-not-decoded -->

<!-- formula-not-decoded -->

## Proof of Theorem 4.2. EX-POST IR:

We first prove that ˜Mis (EX-POST IR). Note that the original mechanismM is (EX-ANTE IR), thus we have for the winner j in period t

8 The famous Basel problem is used here: 1/12 + 1/22 + · · · + 1/n2 + · · · = π2 /6. The problem is first solved by Euler in 1734.

<!-- formula-not-decoded -->

Then by construction (3), ˜ pjt = αjt ·ˆ vj t E[F j t ] · ¯ pjt ≤ αj t ·xjt · ˆ vj t = ˆ vj t ·

˜xjt =⇒ (EX-POST IR) In particular, for i ̸= j, the payment ˜ pit = 0 by construction (6), hence (EX-POST IR) holds.

## APPROX IC:

Next, we prove that ˜M is (APPROX IC). We first upper bound one's expected cumulative utility under ˜M.

One key observation is that in Mechanism 3.4, for each buyer i and any fixed ˆF -i 1..T , ˆv-i 1..T , F i 1..T , even if buyer i is using the best strategy in ˜M, her expected cumulative utility E[ ˜U i∗ ] under the credit account mechanism ˜M cannot be much larger than E[U i∗ ] under the original mechanism M while using the same strategy. Formally,

<!-- formula-not-decoded -->

To show this, note that by the construction (5) and (6), the cumulative payments under ˜Mof each buyer should be close to her expected cumulative payments under M:

<!-- formula-not-decoded -->

In the meanwhile, the credit account mechanism, in fact, guarantees that cit+1 + qt ≥ 0. Because according to (5), cit+1 = cit + ˜ pit -αit · ¯ pit ≥ cit -αit · E[ ˆ F i t ] ≥ cit - (cit + qt) =

<!-- formula-not-decoded -->

-qt where the last inequality is from (1) that αit · E[ ˆ F i t ] = min{cit + qt, E[ ˆ F i t ]}. Therefore, we have ∑t∈[T] ˜ pit = ciT+1 + ∑t∈[T] αit · ¯ pit ≥ -qT + ∑t∈[T] αit · ¯

Then E[ ˜U i∗ ] under ˜Mcan be bounded:

<!-- formula-not-decoded -->

where the last equation is because αit , xit , and ¯ pit are all independent of vi t . In particular, since M is EX-ANTE IR, Evi t [vi t · xit - ¯ pit ] ≥ 0. Combining with αit ≤ 1, we have

<!-- formula-not-decoded -->

On the other hand, since M is dominant-strategy IC, by (DIC), we know that E[U i∗ ] cannot be more than the utility of truthfully reporting E[U i ], hence

<!-- formula-not-decoded -->

We then provide a lower bound on one's expected cumulative utility in ˜Mwhen reporting truthfully, denoted as E[ ˜U i ].

According to the proof of Theorem 4.1, we know that with high probability the credit cit is always close to zero, i.e.,

<!-- formula-not-decoded -->

In this case, ∀t ∈ [T], αit = 1 and hence buyer i's allocations are identical with truthfully reporting under the original mechanismM, ˜xi1..T = xi1..T . Again, by (5) and (6),

<!-- formula-not-decoded -->

where the last inequality is implied by αiT = 1.

Hence, in this case,

<!-- formula-not-decoded -->

Otherwise, if ∃t ∈ [T] such that αit &lt; 1 or ciT+1 &gt; qT , since ˜M is ex-post individual rational, by (EX-POST IR), buyer i's cumulative utility must be non-negative.

Combining the cases above, we conclude that

<!-- formula-not-decoded -->

Applying the upper bound (⋆⋆),

<!-- formula-not-decoded -->

By choosing δ = 1/(T + 1), qT is still in ˜O(√T), and δ/(1 - δ) = 1/T . Since E[ ˜U i ] ≤ T ¯ v, we have E[ ˜U i ] ≥ E[ ˜U i∗ ] - (2qT + ¯ v).

Therefore, the credit account mechanism ˜M is approximately truthful with ϵ = 2qT + ¯ v = ˜O(√T).

## 5 Impossibility Result

As a complement to the constructed APPROX IC and EXPOST IR credit account mechanism, the third main result shows that DIC and EX-POST IR cannot be achieved simultaneously, unless the mechanism is trivial, i.e., the allocation and payment are constant functions.

Theorem 5.1. No non-trivial mechanism that achieves dominant-strategy incentive compatibility (DIC) and ex-post individual rationality (EX-POST IR) at the same time.

Proof. To satisfy (DIC), reporting truthfully must be the best action of a buyer for any realization of F1..T and v1..t.

Let M be any EX-POST IR mechanism. Consider any period t. Suppose i is the winner in period t. For any t′ ∈ (t, T ], let F i t′ be the distribution that vi t = 0 with probability 1, while other buyers have positive expected values.

Therefore, buyer i has no incentive to win after period t. So buyer i's best action is always to report 0 after getting the item in period t, which results in 0 payment.

Thus, in order for M to be DIC, Mmust charge the winner 0 at period t. Otherwise the above realization of F i t′ becomes a counter-example. Since t is any period, it follows that M charges the winner 0 in every period. So any mechanism that satisfies the two properties simultaneously must be a trivial mechanism.

## Acknowledgements

The authors thank the anonymous reviewers for their helpful comments. The authors benefit from discussions with Balasubramanian Sivan and Renato Paes Leme. This paper is supported in part by the National Natural Science Foundation of China Grant 61561146398, a China Youth 1000-talent Program, an Alibaba Innovative Research Program, the Shanghai Sailing Program (Grant No. 18YF1407900) and the Fundamental Research Funds for the Central Universities.

<!-- formula-not-decoded -->

## References

1. [Agarwal et al., 2009] Nikhil Agarwal, Susan Athey, and David Yang. Skewed bidding in pay-per-action auctions for online advertising. The American Economic Review, 99(2):441-447, 2009.
2. [Amin et al., 2013] Kareem Amin, Afshin Rostamizadeh, and Umar Syed. Learning prices for repeated auctions with strategic buyers. In NIPS, pages 1169-1177, 2013.
3. [Amin et al., 2014] Kareem Amin, Afshin Rostamizadeh, and Umar Syed. Repeated contextual auctions with strate- gic buyers. In NIPS, pages 622-630, 2014.
4. [Bachrach et al., 2014] Yoram Bachrach, Sofia Ceppi, Ian A Kash, Peter Key, and David Kurokawa. Optimising trade- offs among stakeholders in ad auctions. In EC'14, pages 75-92. ACM, 2014.
5. [Balseiro et al., 2017] Santiago Balseiro, Max Lin, Vahab Mirrokni, Renato Leme, and Song Zuo. Dynamic revenue sharing. In NIPS, pages 2681-2689, 2017.
6. [Bergemann and Morris, 2013] Dirk Bergemann and Stephen Morris. Robust predictions in games with incomplete information. Econometrica, 81(4):1251-1308, 2013.
7. [Bergemann and Välimäki, 2017] Dirk Bergemann and Ju- uso Välimäki. Dynamic mechanism design: An introduc- tion. 2017.
8. [Cai et al., 2012] Yang Cai, Constantinos Daskalakis, and S Matthew Weinberg. An algorithmic characterization of multi-dimensional mechanisms. In STOC, pages 459-478. ACM, 2012.
9. [Daskalakis et al., 2013] Constantinos Daskalakis, Alan Deckelbaum, and Christos Tzamos. Mechanism design via optimal transport. In EC'13, pages 269-286. ACM, 2013.
10. [Edelman et al., 2007] Benjamin Edelman, Michael Ostro- vsky, and Michael Schwarz. Internet advertising and the generalized second-price auction: Selling billions of dollars worth of keywords. American economic review, 97(1):242-259, 2007. 1, 2
11. [Epasto et al., 2018] Alessandro Epasto, Mohammad Mah- dian, Vahab Mirrokni, and Song Zuo. Incentive-aware learning for large markets. In WWW, 2018.
12. [Hajaj et al., 2015] Chen Hajaj, John P Dickerson, Avinatan Hassidim, Tuomas Sandholm, and David Sarne. Strategy- proof and efficient kidney exchange using a credit mecha- nism. In AAAI, pages 921-928, 2015.
13. [Hartline and Roughgarden, 2009] Jason D Hartline and Tim Roughgarden. Simple versus optimal mechanisms. In EC'09, pages 225-234. ACM, 2009.
14. [Hu et al., 2015] Yu Hu, Jiwoong Shin, and Zhulei Tang. In- centive problems in performance-based online advertising pricing: cost per click vs. cost per action. Management Science, 62(7):2022-2038, 2015.
15. [Kanoria and Nazerzadeh, 2014] Yash Kanoria and Hamid Nazerzadeh. Dynamic reserve prices for repeated auc- tions: Learning from bids. In International Conference on Web and Internet Economics, pages 232-232. Springer, 2014.
16. [Klemperer, 1998] Paul Klemperer. Auctions with almost common values: Thewallet game'and its applications. Eu- ropean Economic Review, 42(3):757-769, 1998.
17. [Liu et al., 2014] Yuan Liu, Jie Zhang, Han Yu, and Chunyan Miao. Reputation-aware continuous double auction. In AAAI, pages 3126-3127, 2014.
18. [Mirrokni et al., 2016a] Vahab Mirrokni, Renato Paes Leme, Pingzhong Tang, and Song Zuo. Dynamic auctions with bank accounts. In IJCAI, 2016.
19. [Mirrokni et al., 2016b] Vahab Mirrokni, Renato Paes Leme, Pingzhong Tang, and Song Zuo. Optimal dynamic mech- anisms with ex-post ir via bank accounts. arXiv preprint arXiv:1605.08840, 2016.
20. [Mirrokni et al., 2018a] Vahab Mirrokni, Renato Paes Leme, Rita Ren, and Song Zuo. Dynamic mechanism design in the field. In WWW, 2018.
21. [Mirrokni et al., 2018b] Vahab Mirrokni, Renato Paes Leme, Pingzhong Tang, and Song Zuo. Non-clairvoyant dynamic mechanism design. In EC'18. ACM, 2018.
22. [Myerson, 1981] Roger B Myerson. Optimal auction design. Mathematics of operations research, 6(1):58-73, 1981.
23. [Nazerzadeh et al., 2013] Hamid Nazerzadeh, Amin Saberi, and Rakesh Vohra. Dynamic pay-per-action mechanisms and applications to online advertising. Operations Re- search, 61(1):98-111, 2013.
24. [Shen and Tang, 2017] Weiran Shen and Pingzhong Tang. Practical versus optimal mechanisms. In AAMAS, pages 78-86, 2017.
25. [Spencer, 2007] Stephan Spencer. Google deems cost-per- action as the 'holy grail'. CNET News, 2007.
26. [Tang and Wang, 2017] Pingzhong Tang and Zihe Wang. Optimal mechanisms with simple menus. Journal of Math- ematical Economics, 69:54-70, 2017.
27. [Tang and Zeng, 2018] Pingzhong Tang and Yulong Zeng. The price of prior dependence in auctions. In EC'18. ACM, 2018.
28. [Varian, 2007] Hal R Varian. Position auctions. Interna- tional Journal of industrial Organization, 25(6):1163- 1178, 2007.
29. [Wang and Tang, 2014] Zihe Wang and Pingzhong Tang. Optimal mechanisms with simple menus. In EC'14, pages 227-240. ACM, 2014.
30. [Yao, 2014] Andrew Chi-Chih Yao. An n-to-1 bidder reduc- tion for multi-item auctions and its applications. In SODA, pages 92-109. SIAM, 2014.
31. [Yao, 2017] Andrew Chi-Chih Yao. Dominant-strategy ver- sus bayesian multi-item auctions: Maximum revenue de- termination and comparison. In EC'17, pages 3-20. ACM, 2017.
