This repository was archived by the owner on Feb 28, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathLecture 2 by Eitan.tex
More file actions
160 lines (112 loc) · 19.3 KB
/
Copy pathLecture 2 by Eitan.tex
File metadata and controls
160 lines (112 loc) · 19.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
\input{template}
\input{macros}
\usepackage{hyperref}
\begin{document}
\lecture{2}{More Combinatorial Auctions with Value Queries}{Put Scribe Name Here}
\disclaimer
\section{Logistics}
\href{https://www.cs.princeton.edu/~smattw/Teaching/cos597Ffa18.htm}{Course webpage} is now live. Find it through my homepage. Please sign up on \href{https://piazza.com/class/jlxxavpqz85n2}{Piazza!}
Lectures will pretty soon start requiring background on Linear Programming and LP duality. I included some references on the course webpage in case you need to brush up on this. I will also reference something called the ``Maximal-in-Range'' mechanisms and claim that they are truthful, without proof. I also included links on the course page, but this is also posed as an exercise from Lecture 1.
\begin{definition}[Maximal-in-Range] An algorithm is \emph{maximal-in-range} if there exists a subset $\mathcal{T}$ of partitions of items, and for all $v_1(\cdot),\ldots, v_n(\cdot)$, the algorithm selects a partition in $\arg\max_{(S_1,\ldots, S_n) \in \mathcal{T}} \{\sum_i v_i(S_i)\}$.
\end{definition}
\section{An $O(\sqrt{m})$-approximation for subadditive buyers}
Consider an auction with n buyers, $v_1(\cdot),\ldots, v_n(\cdot)$, and m items, $M = \{ 1 \ldots m\}$. First, we'll provide an $O(\sqrt{m})$-approximation under the assumption that valuation functions are subadditive, due to~\cite{DobzinskiNS05}. Recall that a valuation function is subadditive if $v(X \cup Y) \leq v(X) + v(Y)$ for all $X, Y$. Note that this implies that $v(X) \leq \sum_{i \in X} v(\{i\})$.
Consider the following algorithm: query each buyer $i$ for $v_i(M)$, and $v_i(\{j\})$ for all items $j$. Then, do the following:
\begin{itemize}
\item Let $i^*:= \arg\max_i \{v_i(M)\}$.
\item Create a bipartite graph with bidders on the left and items on the right. Put an edge between node $i$ and $j$ of weight $v_i(\{j\})$ for all $i, j$. Find the max-weight matching in this graph, and let $j(i)$ denote the item matched to bidder $i$ in this matching (or null if no item is given to bidder $i$).
\item If $v_{i^*}(M) \geq \sum_i v_i(j(i))$, then give all items to bidder $i^*$. Else, give each bidder $i$ the item $j(i)$.
\end{itemize}
\begin{theorem}[\cite{DobzinskiNS05}] The algorithm above guarantees an $O(\sqrt{m})$-approximation whenever all valuations are subadditive.
\end{theorem}
\begin{proof}
Let $S_1,\ldots, S_n$ denote the welfare-maximizing partition. Further relabel the bidders so that $|S_1|\geq \ldots \geq |S_n|$. Let $i'$ denote the largest $i$ such that $S_i > \sqrt{m}$ (or $n + 1$ if no such $i$ exists). There are two cases to consider.
First, maybe $\sum_{i \leq i'} v_i(S_i) \geq OPT/2$. Note that $i' \leq \sqrt{m}$ (as each $i \leq i'$ receives at least $\sqrt{m}$ items). Therefore, there exists an $i \leq i'$ such that $v_i(S_i) \geq OPT/(2\sqrt{m})$, as there always must be a valuation as least as large as the average. Therefore, $v_{i^*}(M) \geq v_i(M) \geq v_i(S_i) \geq OPT/(2\sqrt{m})$, and our algorithm achieves at least $v_{i^*}(M)$, so we get our approximation.
Next, maybe $\sum_{i \leq i'} v_i(S_i) < OPT/2$. Then $\sum_{i > i'} v_i(S_i) \geq OPT/2$. Now we wish to invoke subadditivity: we know that $v_i(S_i) \leq \sum_{j \in S_i} v_i(\{j\})$. Therefore, for all $i$, there certainly exists a $j \in S_i$ such that $v_i(\{j\}) \geq v_i(S_i)/|S_i|$. For $i > i'$, this further means there exists a $j \in S_i$ such that $v_i(\{j\}) \geq v_i(S_i)/\sqrt{m}$. Therefore, as the $S_i$s are disjoint, there exists a matching of bidders to items guaranteeing welfare $\geq \sum_{i > i'} v_i(S_i)/\sqrt{m} \geq OPT/(2\sqrt{m})$.
\end{proof}
\begin{observation}The above algorithm is \emph{maximal-in-range}. Therefore, it can be turned into a truthful auction.
\end{observation}
\begin{proof}
Observe that the algorithm considers every allocation that is either a matching (gives each bidder at most one item) or awards all items to the same bidder. The best allocation from this collection is selected, therefore it is maximal-in-range.
\end{proof}
\section{A (nearly) matching lower bound}
Perhaps surprisingly, the algorithm described above is tight (even without considering incentives) when one can only use subexponentially-many value queries, even for the more restrictive class of XOS valuation functions, as all XOS valuation functions are also subadditive. Recall that an an additive valuation function is defined so $v(S) = \sum_{i \in S} v(i)$, and an XOS valuation function is defined so $v(T) = \max_{v_i} \{v_i(T)\}$, where the $v_i$s are some set of additive valuation functions. Consider the following construction of valuation functions for $n = \sqrt{m}$ bidders.
\begin{enumerate}
\item First, define $a_S(T) := |S \cap T|$. Observe that $a_S(\cdot)$ is additive, for all $S$.
\item Also define $a(T) := (1+\delta)|T|/m^{1/2-\delta}$. Observe that $a(\cdot)$ is additive.
\item Define $v(T):= \max_{S, |S| \leq (1+\delta)m^{2\delta}}\{a_S(T)\}$. Observe that $v(\cdot)$ is XOS. Note $v(T) = \min\{|T|, (1+\delta)m^{2\delta}\}$, but we defined it to make it clear that it is XOS.
\item Define $w(T):= \max\{v(T), a(T)\}$. Observe that $w(\cdot)$ is XOS.
\item Next, sample uniformly at random partition of $M$ into $\sqrt{m}$ sets, $S_1,\ldots, S_n$.
\item Finally, define $u_i(T):= \max\{w(T),a_{S_i}(T)\}$.
\end{enumerate}
Let's first go over the main idea of the construction: If all bidders have (identical) valuations equal to $w(\cdot)$, then the welfare of any allocation is upper bounded by $(1+\delta)m^{1/2+2\delta} + (1+\delta)m^{1/2+\delta}$. To see this, observe $\sum_{i} \max\{v(S_i), a(S_i)\} \leq \sum_{i} v(S_i) + a(S_i) = \sum_{i} v(S_i) + \sum_i a(S_i)$. Note in the right sum each item contributes $ (1+\delta)/m^{1/2-\delta}$, so the total is bounded by $m\cdot (1+\delta)/m^{1/2-\delta}$. In the left sum, each term is bounded by $(1+\delta)m^{2\delta}$, so even if all $n = \sqrt{m}$ bidders get this much value, it contributes at most $(1+\delta)m^{1/2+2\delta}$. The point here is that if all bidders have valuation $w(\cdot)$, then the welfare is not very good.
On the other hand, say the valuations are instead $u_1,\ldots, u_n$. Then the partition $S_1,\ldots, S_n$ has $\sum_i u_i(S_i) = m$, and the welfare is very good. So the plan is just to show that it requires exponentially many value queries to determine whether a given valuation is either $w(\cdot)$ or $u_i(\cdot)$. This means no polytime aproximation algorithim could do better when run with $u_i(\cdot)$s than when run on $w(\cdot)$s, but as the gap between the optimal solutions is $O(\sqrt m)$, no algorithim can get better than an $O(\sqrt m)$ aproximation.
\begin{proposition}[\cite{DobzinskiNS09}] For any $\delta > 0$, any (randomized) algorithm that, when randomly given the valuation function $w(\cdot)$ or $u_i(\cdot)$, correctly identifies the function with probability at least $1/2 + Ce^{-\Omega(m^{2\delta})}$ (over the randomness of drawing $T_i$, and any randomness in the algorithm) requires at least $C$ value queries.
In particular, $C = e^{m^\delta}$ and let $\delta$ be a constant $> 0$ to conclude that exponentially many value queries are necessary to beat a $m^{1/2-\delta}$ approximation.
\end{proposition}
To prove the proposition, we will need a slight extension of the Chernoff bound from independent to negatively correlated random variables, which I will not prove here.
\begin{theorem} Generalized Chernoff Bound :
Let $X = \sum_{i = 0}^{n} X_i$, where $X_i$ are random variables $\in \{0,1\}$. Let $S = \{X_i : i \in [m]\}$ If $\ \forall Z \subseteq S/\{X_i\}$, $Pr[X_i = 1 | X_j = 1 \ \forall X_j \in Z] \leq Pr[X_i = 1]$ (note equality holds for independent RVs), then $Pr[X \geq (1+\delta)E[X] ] \leq e^{-\delta E[X] / 3}$ for $\delta \geq 1$.
\end{theorem}
\begin{proof}
We'll prove this by showing that, with probability at least $1 - Ce^{-m^{2\delta}}$, any set of $C$ value queries return exactly the same value when made on $w(\cdot)$ or $u_i(\cdot)$. We will show no matter what (randomized) procedure we use to (adaptively) pick our queries, given that they are answered according to $w(\cdot)$, with probability at least $1 - Ce^{-m^{2\delta}}$, $S_i$ is chosen so that $u_i(\cdot)$ answers them identically.
To do this, we'll simply show that for any set $T$, over the randomness in selecting $S_i$, the probability that $u_i(T) = w(T)$ is high, and then take a union bound over all C queries. Let's start with a few observations. First observe that as $u_i(T) = \max\{w(T), |T \cap S_i|\}$, $u_i(T) \ne w(T)$ only when $|T \cap S_i| > w(T)$. Now observe for all T, the probability a given element $i \in T$ is also in $S_i$ is exactly $1/\sqrt{m}$, so $E[|T \cap S_i|] = |T|/\sqrt{m}$.
Let's first consider sets $T$ of size at most $m^{1/2+\delta}$. In this range, $v(T) \geq a(T)$, as for $|T| = m^{1/2+\delta}$, $a(T) = v(T)$, but $v(T)$ grows more quickly for small T. So in this case $w(T) = \min\{|T|, (1+\delta)m^{2\delta}\}$. In order to have $u_i(T) \neq w(T)$, we would need to have $|T\cap S_i| > \min\{|T|, (1+\delta)m^{2\delta}\}$. For $|T| \leq (1+\delta)m^{2\delta}$ this is clearly impossible. For $|T| > (1+\delta)m^{2\delta}$ observe that every element of $T$ is in $S_i$ with probability $1/\sqrt{m}$, independently. Therefore, the expected number of elemnts in $T \cap S_i = \mu$ is $|T|/\sqrt{m} \leq m^{\delta}$.
As $Pr[i \in S_i | j_1 \in S_i \ldots j_k \in S_i, j_z \ne i, \forall z] = (\sqrt{m} - k) / (m - k) \leq 1/\sqrt{m}$, the condition for our generalized Chernoff holds. If we let $\delta^{'} = m^{2 \delta}/\mu - 1$, we conclude $Pr[|T \cap S_i| > (1+\delta^{'})\mu] \leq Pr[|T \cap S_i| > (1+\delta)m^{2\delta} ] \leq e^{1/3 * (-m^{-2\delta} - \mu)} = e^{-\Omega(m^{2\delta})}$.
Now consider any set of size at least $m^{1/2+\delta}$. Then $w(T) = (1+\delta)|T|/m^{1/2-\delta}$. In order to have $u_i(T) \neq w(T)$, we must have $|T \cap S_i| > (1+\delta)|T|/m^{1/2-\delta}$. Again, note that the expected size of $|T \cap S_i|$ is $|T|/\sqrt{m}$, and again we would need deviation by a multiplicative factor of $m^{\delta}$. By the Chernoff bound, the probability that this occurs is at most $e^{-m^{1/2+2\delta}} = e^{-\Omega(m^{2\delta})}$.
So for any set, the probability over the randomness of $S_i$ that $w(T) \neq u_i(T)$ is at most $e^{-\Omega(m^{2\delta})}$. Taking a union bound over the sets queried (conditioned on getting answers consistent with $w(\cdot)$) gives the proposition.
\end{proof}
\section{Gross Substitutes: Connecting Value and Demand Queries}
Next, we'll transition to Gross Substitutes, and built towards something called a \emph{Walrasian Equilibria} (defined next lecture) and an exact algorithm. This lecture, we'll start the building blocks. All of the presentation below is taken from a survey of Paes Leme~\cite{Paesleme16}. Recall the definition of gross substitutes:
\begin{definition}[Gross Substitutes] A valuation function $v(\cdot)$ is gross substitutes if for all price vectors $p, q$ with $p_j \geq q_j$ for all items $j$, if $S$ is demanded by $v(\cdot)$ on $q$, and $A$ is the subset of $S$ satisfying $p_j = q_j$, then there exists a set $T \supseteq A$ that is demanded on $p$.
\end{definition}
It turns out that this is equivalent to the following two conditions:
\begin{definition}[Single Improvement] A valuation function satisfies the \emph{single-improvement property} if for all price vectors $p$, $S$ is demanded by $v(\cdot)$ on $p$ if and only if $S$ is weakly preferred to all $T$ that can be obtained by adding, removing, or exchanging one element. That is, if we let $u(S) = v(S) - \sum_{j \in S} p_j$:
$$v(S) \geq \max_{i \notin S, j \in S} \{ \max\{u(S \cup \{j\} \setminus \{i\}), u(S \setminus \{i\}), u(S \cup \{j\})\}\}$$
\end{definition}
\begin{definition}[Matroidal Map] A valuation function is a \emph{matroidal map} if for all price vectors $v$, the demand of $v(\cdot)$ can be found via the following greedy algorithm: Initialize $S = \emptyset$. Then iteratively let $j:= \arg\max_{i}\{v(S \cup \{i\})-v(S)-p_i\}$. If $v(S \cup \{j\}) - v(S) > p_j$, update $S$ to $S \cup \{j\}$. Else, return $S$.
\end{definition}
\begin{theorem} The three conditions GS, SI, MM are equivalent.
\end{theorem}
We won't prove these in this class since it's a bit tangential. But clearly presenting any of these proofs would be an appropriate course project. But we will conclude the following useful corollary:
\begin{corollary}A demand query for any GS valuation can be implemented using polynomially-many value queries.
\end{corollary}
This isn't obviously useful yet, but it will be in the next lecture when we design algorithms for GS valuations using demand queries. To build towards this algorithm, we'll introduce the concept of a \emph{Walrasian Equilibrium}. This is extremely useful in its own right, but we won't focus on it as much in this course (but it again can be a valid source to present for the class project).
\begin{definition}[Walrasian Equilibrium] For $n$ bidders with valuation functions $v_1(\cdot),\ldots, v_n(\cdot)$, a \emph{Walrasian Equilibrium} is a price vector $p$ such that there exists a partition of $M$ into $S_1,\ldots, S_n$ such that bidder $i$ demands $S_i$ on $p$ for all $i$. Note that this must be a \emph{partition}: every item is demanded exactly once.
\end{definition}
\begin{theorem}[\cite{KelsoC84}] When all $v_i(\cdot)$ are GS, a Walrasian Equilibrium exists.
\end{theorem}
\begin{proof}
Consider the following algorithm:
\begin{enumerate}
\item Initialize $p_j = 0$ for all items $j$. Initialize $\delta > 0$ to some constant. Initialize $S_1 = M$, $S_i = \emptyset$ for all $i > 1$. Initialize the current player $i$ to $2$.
\item Repeat the following:
\begin{enumerate}
\item Ask the current player $i$ their demand at the price vector $p'$, where $p'_j = p_j$ for all $j \in S_i$, and $p'_j = p_j + \delta$ for all $j \notin S_i$. Tie-break in favor of sets that contain $S_i$ (if one exists). Call this set $T$. Update $S_i := T$. For all $i' \neq i$, update $S_{i'}:= S_{i'} \setminus T$.
\item Update $i := i+1 \pmod n$.
\item Update $p_j:= p'_j$ for all $j \in T$.
\end{enumerate}
\end{enumerate}
We first wish to claim that at all times during the algorithm, all items are allocated. To see this, first observe that initially all items are allocated (to bidder $1$). So we just need to make sure that no item goes unallocated. Observe that the only time an item is removed from $S_i$ is either when it is stolen by another player (in which case it remains allocated), or thrown away by player $i$ in favor of a better set that doesn't contain $S_i$. So we just need to make sure that the latter never happens (i.e. there is always a set player $i$ wants that contains $S_i$).
To see this, observe that the price of item $j$ only increases when it is stolen by another bidder. So let's consider two consecutive steps (i.e. steps $n$ rounds apart) where bidder $i$ updates their set $S_i$. Let $p$ denote the price vector the first time they select $T_1$ to be come the new $S_i$, and $p'$ the price vector the second time. By the reasoning in the first sentence of this paragraph, if $S_i$ denotes bidder $i$'s allocation at the start of the second step, we must have $p'_j = p_j$ for all $j \in S_i \subseteq T_1$. Also, we have $p'_j \geq p_j$ for all $j$ since the prices only increase. Therefore, because $T_1$ was demanded at prices $p$, and $p'$ only increases prices from $p$, we may invoke the definition of GS to claim that there exists a set $T_2 \supseteq S_i$ that bidder $i$ demands at $p'$. As such, no bidder will ever throw away items, and every item remains allocated through the entire procedure.
Now, we want to claim that the procedure always terminates, and terminates in an almost-Walrasian Equilibrium for any $\delta$. First, observe that if the procedure makes a full lap of all $n$ bidders without changing the allocation, then it will never change again. Next, observe that every time the allocation changes, at least one price increases by $\delta$. As $v_i(M) < \infty$ for all $i$, there can only be finitely many price increases (as each price increase also corresponds to a bidder demanding that item, and no one will demand an item priced above $\max_i \{v_i(M)\}$). So the algorithm terminates.
It is also clear that when the algorithm terminates, we have an almost-Walrasian Equilibrium: at the price vector $p'$ (which increases prices not in $S_i$ by $\delta$), bidder $i$ demands the set $S_i$. But $p'$ is different for each bidder $i$, so there's no sense in which we can say that $p'$ is a Walrasian Equilibrium. However, if we consider the price vector $p$, we know that:
$$v_i(S_i) - \sum_{j \in T} p_j \geq v_i(S_i) - \sum_{j \in T}p'_j \geq v_i(T) - \sum_{j \in T} p'_j \geq v_i(T) - \sum_{j \in T} p_j - m\delta,$$
for any set $T$. Therefore, $p$ is in some sense an $m\delta$-approximate Walrasian Equilibrium: if we are allowed to violate the preferences by up to $m\delta$, then we can pick a partition of the items where every bidder demands their set (up to $m\delta$) at price vector $p$.
Now consider taking an infinite sequence of $\delta$ approaching $0$ such as $\delta = 1, 1/2, 1/3,\ldots$. As this is an infintie sequence, there is some partition $(S_1,\ldots, S_n)$ that repeats in the sequence infinitely often. Now restrict attention to price vectors that are output along with this partition: all such vectors must lie in $[0,\max_i\{v_i(M)\}]^m$. So we have an infinite sequence of points in a compact set, and therefore this sequence must have a limit point $p$. We now claim that $p$ must be a Walrasian equilibrium.
Indeed, it is now the case that for \emph{all} $\varepsilon > 0$, there exists an infinitely long subsequence of $1, 1/2,\ldots$ such that the price vectors output when we run the algorithm on all $\delta$ in this sequence are within $\varepsilon$ in (say) $\ell_1$ distance from $p$. In particular, this means that for all $\varepsilon > 0$, there exists a $\delta < \varepsilon$ and a price vector $q$ such that $|p-q|_1 \leq \varepsilon$ and $q$ is an $m\varepsilon$-Walrasian equilibrium. This implies that the following inequalities hold for all $\varepsilon > 0$:
$$v_i(S_i) - \sum_{j \in S_i}p_j \geq v_i(S_i) - \sum_{j \in T} q_j-m\varepsilon \geq v_i(T) - \sum_{j \in T} q_j - 2m\varepsilon\geq v_i(T) - \sum_{j \in T} p_j - 3m\varepsilon.$$
Or in other words, $v_i(S_i) - \sum_{j \in S_i} p_j \geq v_i(T) - \sum_{j \in T} p_j$, and $p$ is a Walrasian Equilibrium.
\end{proof}
\section{Possible Project Topics}
\begin{enumerate}
\item Present any of the equivalences between properties GS, SI, MM.
\item Present other results in~\cite{Paesleme16} not covered in the course.
\item Present the $1-1/e$ approximation using value queries for submodular functions~\cite{Vondrak??}, perhaps along with the matching lower bound~\cite{??}.
\end{enumerate}
\bibliographystyle{alpha}
\bibliography{../../MasterBib}
\end{document}
However it is a relatively simple extension of Chernoff to see that the condition X is the sum of Bernouli r.v $X_i$, that $Pr[X_i = 1 | \forall X_j \in S \subset {X_k \forall k}/{X_i}, X_j \ne 1 ] \leq Pr[X_i = 1]$ can be substituted for independence.
We want to use Chernoff, but the events that $i \in S_i$ for $i \in T$ are not independent - if you know one element j of T is in $S_i$, it makes it less likely for other elements of T to be in $S_i$, as j "takes up a spot" in $S_i$.
It is a relativley easy extension of chernoff to show that which is a sufficient condition for Chernoff bounds to hold, even though the events are not independent.