CSC2556 Lecture 4 Impartial Selection; PageRank; Facility Location
CSC2556 - Nisarg Shah 1
Lecture 4 Impartial Selection; PageRank; Facility Location CSC2556 - - PowerPoint PPT Presentation
CSC2556 Lecture 4 Impartial Selection; PageRank; Facility Location CSC2556 - Nisarg Shah 1 Announcements Hope to add a homework question by next lecture Proposal tentatively due around Feb end But it will help to decide the topic
CSC2556 - Nisarg Shah 1
CSC2556 - Nisarg Shah 2
➢ But it will help to decide the topic earlier, and start
➢ Will also be available to have more meetings during the
next two months to help select projects
CSC2556 - Nisarg Shah 3
CSC2556 - Nisarg Shah 4
➢ Applications: electing a student representation committee,
selecting 𝑙 out of 𝑜 grant applications to fund using peer review, …
➢ Input: a directed graph 𝐻 = (𝑊, 𝐹) ➢ Nodes 𝑊 = {𝑤1, … , 𝑤𝑜} are the 𝑜 people ➢ Edge 𝑓 = 𝑤𝑗, 𝑤𝑘 ∈ 𝐹: 𝑤𝑗 supports/approves of 𝑤𝑘
➢ Output: a subset 𝑊′ ⊆ 𝑊 with 𝑊′ = 𝑙 ➢ 𝑙 ∈ {1, … , 𝑜 − 1} is given
CSC2556 - Nisarg Shah 5
➢ 𝑤𝑗 cannot manipulate his outgoing edges to get selected ➢ Q: But the definition says 𝑤𝑗 can neither go from 𝑤𝑗 ∉ 𝑔(𝐻)
to 𝑤𝑗 ∈ 𝑔(𝐻), nor from 𝑤𝑗 ∈ 𝑔(𝐻) to 𝑤𝑗 ∉ 𝑔(𝐻). Why?
➢ 𝑗𝑜(𝑤) = set of nodes that have an edge to 𝑤 ➢ 𝑝𝑣𝑢 𝑤 = set of nodes that 𝑤 has an edge to ➢ Note: OPT will pick the 𝑙 nodes with the highest indegrees
CSC2556 - Nisarg Shah 6
𝑤1 𝑤2 𝑤3 𝑤𝑜
CSC2556 - Nisarg Shah 7
Rule: “Select the lowest index vertex in 𝑝𝑣𝑢 𝑤1 . If 𝑝𝑣𝑢 𝑤1 = ∅, select 𝑤2.”
➢ A. Impartial + constant approximation ➢ B. Impartial + bad approximation ➢ C. Not impartial + constant approximation ➢ D. Not impartial + bad approximation
CSC2556 - Nisarg Shah 8
➢ For small 𝑙, this is trivial. E.g., consider 𝑙 = 1.
there are no other edges?
choose 𝑤2 for any finite approximation.
rule”, and not just the optimal rule.
CSC2556 - Nisarg Shah 9
➢ Proof is more intricate for larger 𝑙. Let’s do 𝑙 = 𝑜 − 1.
➢ Suppose for contradiction that there is such a rule 𝑔. ➢ W.l.o.g., say 𝑤𝑜 is eliminated in the empty graph. ➢ Consider a family of graphs in which a subset of
{𝑤1, … , 𝑤𝑜−1} have edges to 𝑤𝑜.
CSC2556 - Nisarg Shah 10
➢ Consider star graphs in which a non-empty
subset of {𝑤1, … , 𝑤𝑜−1} have edge to 𝑤𝑜, and there are no other edges
➢ 𝑤𝑜 cannot be eliminated in any star graph
➢ 𝑔 maps 0,1 𝑜−1\{0} to {1, … , 𝑜 − 1}
➢ Impartiality: 𝑔 Ԧ
𝑦 = 𝑗 ⇔ 𝑔 Ԧ 𝑦 + Ԧ 𝑓𝑗 = 𝑗
𝑓𝑗 has 1 at 𝑗𝑢ℎ coordinate, 0 elsewhere
𝑤1 𝑤2 𝑤3 𝑤𝑜 𝑤𝑜−1 𝑤4 𝑤1 𝑤2 𝑤3 𝑤𝑜 𝑤𝑜−1 𝑤4
CSC2556 - Nisarg Shah 11
➢ 𝑔: 0,1 𝑜−1\{0} → {1, … , 𝑜 − 1} ➢ 𝑔 Ԧ
𝑦 = 𝑗 ⇔ 𝑔 Ԧ 𝑦 + Ԧ 𝑓𝑗 = 𝑗
𝑓𝑗 has 1 only in 𝑗𝑢ℎ coordinate
➢ Pairing implies…
even, for every 𝑗.
must be even too.
➢ So impartiality must be violated for some
pair of Ԧ 𝑦 and Ԧ 𝑦 + Ԧ 𝑓𝑗
𝑤1 𝑤2 𝑤3 𝑤𝑜 𝑤𝑜−1 𝑤4 𝑤1 𝑤2 𝑤3 𝑤𝑜 𝑤𝑜−1 𝑤4
CSC2556 - Nisarg Shah 12
➢ Impartiality now requires that the probability of an agent
being selected be independent of his outgoing edges.
➢ Choose 𝑙 nodes uniformly at random
nodes having indegree 0.
Τ 𝑙 𝑜 ∗ 𝑃𝑄𝑈 ⇒ approximation = 𝑜/𝑙
CSC2556 - Nisarg Shah 13
➢ What if we partition 𝑊 into 𝑊
1 and 𝑊 2, and select 𝑙 nodes
from 𝑊
1 based only on edges coming to them from 𝑊 2?
➢ Assign each node to 𝑊
1 or 𝑊 2 i.i.d. with probability ½
➢ Choose 𝑊
𝑗 ∈ 𝑊 1, 𝑊 2 at random
➢ Choose 𝑙 nodes from 𝑊
𝑗 that have most incoming edges
3−𝑗
CSC2556 - Nisarg Shah 14
➢ We want to approximate 𝐽 = # edges incoming to nodes in 𝑃𝑄𝑈.
1 = 𝑃𝑄𝑈 ∩ 𝑊 1, and 𝑃𝑄𝑈2 = 𝑃𝑄𝑈 ∩ 𝑊 2.
1 from 𝑊 2.
1. ➢ Note that 𝐹 𝐽1 + 𝐽2 = 𝐽/2. (WHY?) ➢ With probability ½, mechanism picks 𝑙 nodes from 𝑊
1 that have
most incoming edges from 𝑊
2 (thus at least 𝐽1 incoming edges).
1. ➢ With probability ½, mechanism picks 𝑙 nodes from 𝑊
2 that have
most incoming edges from 𝑊
1 (thus at least 𝐽2 incoming edges).
➢ The expected total incoming edges is at least
1 2 ⋅ 𝐽1 + 1 2 ⋅ 𝐽2 = 1 2 ⋅ 𝐹 𝐽1 + 𝐽2 = 1 2 ⋅ 𝐽 2 = 𝐽 4
CSC2556 - Nisarg Shah 15
➢ Divide into ℓ parts, and pick 𝑙/ℓ nodes from each part
based on incoming edges from all other parts.
➢ ℓ = 2 gives a 4-approximation. ➢ For 𝑙 ≥ 2, ℓ~𝑙1/3 gives 1 + 𝑃
1 𝑙1/3 approximation.
CSC2556 - Nisarg Shah 17
➢ (For which their mechanism is a 4-approximation) ➢ It should be possible to achieve a 2-approximation. ➢ Recently proved by Fischer & Klimm [2014] ➢ Permutation mechanism:
change the current answer to 𝑧 = 𝜌𝑢+1.
CSC2556 - Nisarg Shah 18
➢ In an 𝑜-node graph, fix 𝑣 and 𝑤, and suppose no other
nodes have any incoming/outgoing edges.
➢ Three cases: only 𝑣 → 𝑤 edge, only 𝑤 → 𝑣, or both.
in every case, and achieves 2-approximation.
➢ What if every node must have an outgoing edge? ➢ Fischer & Klimm [2014]:
12 7 and Τ 3 2
approximation.
CSC2556 - Nisarg Shah 19
CSC2556 - Nisarg Shah 20
➢ Instead of selecting 𝑙 nodes, we want to rank all nodes
➢ Think of the web graph, where nodes are webpages, and
a directed (𝑣, 𝑤) edge means 𝑣 has a link to 𝑤.
➢ What properties do we want from such a rule? ➢ What rule satisfies these properties?
CSC2556 - Nisarg Shah 21
➢ Start from any node in the graph. ➢ At each iteration, choose an outgoing edge of the current
node, uniformly at random among all its outgoing edges.
➢ Move to the neighbor node on that edge. ➢ In the limit of 𝑈 → ∞ iterations, measure the fraction of
time the “random walk” visits each node.
➢ Rank the nodes by these “stationary probabilities”.
➢ It’s seems a reasonable algorithm. ➢ What nice axioms might it satisfy?
CSC2556 - Nisarg Shah 22
➢ Let 𝑞𝑗 = stationary probability of visiting 𝑗. ➢ Let 𝑂(𝑗) = set of nodes that have an edge to 𝑗. ➢ Then, 𝑞𝑗 = σ𝑘
Τ 𝑞𝑘 𝑝𝑣𝑢𝑒𝑓(𝑘) ⇒ 𝑜 equations, 𝑜 variables!
➢ Let 𝐵 be a matrix with 𝐵𝑗,𝑘 =
Τ 1 𝑝𝑣𝑢𝑒𝑓(𝑗) for every 𝑗, 𝑘 ∈ 𝐹.
➢ Then, we are searching for a solution 𝑤 such that 𝐵𝑤 = 𝑤. ➢ One method: start from any 𝑤0, and compute lim
𝑙→∞ 𝐵𝑙𝑤0
CSC2556 - Nisarg Shah 23
➢ Permuting node names permutes the final
ranking.
➢ Voting through intermediate fake nodes
cannot change the ranking.
➢ 𝑤 adding a self edge cannot change the
➢ Merging identically voting nodes cannot change the
➢ If 𝑙 nodes with equal score vote for 𝑙 other nodes
through a proxy, it should be no different than a direct 1-1 voting.
𝑏 𝑏
CSC2556 - Nisarg Shah 24
CSC2556 - Nisarg Shah 25
CSC304 - Nisarg Shah 26
CSC2556 - Nisarg Shah 27
➢ Takes as input reports
𝑦 = ( 𝑦1, 𝑦2, … , 𝑦𝑜)
➢ Returns a location 𝑧 ∈ ℝ for the new facility
CSC2556 - Nisarg Shah 28
➢ 𝑜 is odd → the unique “(n+1)/2”th smallest value ➢ 𝑜 is even → “n/2”th or “(n/2)+1”st smallest value ➢ Why?
CSC2556 - Nisarg Shah 29
➢ Median is also strategyproof (SP)! ➢ Irrespective of the reports of other agents, agent 𝑗 is best
CSC2556 - Nisarg Shah 30
CSC2556 - Nisarg Shah 31
𝑗
𝑗
𝑗
CSC2556 - Nisarg Shah 32
CSC2556 - Nisarg Shah 33
➢ Leftmost: Choose the leftmost reported location ➢ Rightmost: Choose the rightmost reported location ➢ Dictatorship: Choose the location reported by agent 1 ➢ …
CSC2556 - Nisarg Shah 34
CSC2556 - Nisarg Shah 35
➢ Choose min
𝑗
𝑦𝑗 with probability ¼
➢ Choose max
𝑗
𝑦𝑗 with probability ¼
➢ Choose (min
𝑗
𝑦𝑗 + max
𝑗
𝑦𝑗)/2 with probability ½
(1/4)∗2𝐷+(1/4)∗2𝐷+(1/2)∗𝐷 𝐷
3 2
CSC2556 - Nisarg Shah 36
1/4 1/4 1/2 1/4 1/4 1/2 2𝜀 𝜀
CSC2556 - Nisarg Shah 37