Incentives In Peer-To-Peer Systems

Free-riding in p2p (Gnutella: two thirds free riders); the p2p file-sharing game as a Prisoner's Dilemma; direct vs indirect reciprocity and why reciprocative strategies fail to scale under random matching; treating strangers and whitewashers; reputation systems (KaZaA, EigenTrust, Credence) and collusion, Sybil and whitewashing attacks; a minimalist generosity-type model with contribution cost 1/x, fixpoint dynamics, tipping point and collapse for theta_m < 4 (Claim 23.1); reputation-based service differentiation, threat vs reduced cost, and full cooperation when p >= 1/alpha (Claim 23.2); BitTorrent barter, opportunistic unchoking and its rational manipulations; FOX and non-credible grim triggers; currency systems (Golle et al., threshold equilibria and optimal money supply); hidden actions as moral hazard, principal–agent model with AND/OR read-once technologies, marginal contribution and optimal contracts c/Delta_i, price of unaccountability, single 0-to-n transition and unbounded POU for AND (Theorem 23.8), all transitions and POU at most 5/2 for OR (Theorem 23.9), #P-hardness of optimal contracts on read-once networks (Theorem 23.10)

· 23 min read · 4,588 words

Motivation: voluntary contribution among strangers

Napster (1999) and Gnutella (2000) showed that millions of strangers could self-organize to share content. Yet within six months, two thirds of Gnutella users were free-riding: downloading without uploading. This was long before copyright lawsuits gave users any reason to hide.

Why cooperation is hard in p2p:

FeatureConsequence
large scale, high turnover, anonymitymost transactions are one-shot interactions between strangers
hidden actionsdefections may be undetectable
cheap pseudonymsidentities can be multiplied (Sybil) or discarded (whitewashing) at no cost

IntuitionThe central question

Every p2p system — file sharing, streaming, mesh networking, anonymity overlays — depends on peers voluntarily contributing resources they would rather keep. What mechanism makes contributing individually rational, and which mechanisms survive peers who can lie, hide their effort, and change identities at will?

The strategy space is rich. Beyond share/don’t share, peers choose:

  • what private information to reveal (resources, workload, costs, willingness to pay);
  • how much hidden effort to exert;
  • whom to connect to (network-formation-games);
  • when to arrive and leave (strategic churn);
  • how to manage their own identities and treat others’.

NoteP2P as a live laboratory

Deployed p2p systems provide concrete evidence of strategic behaviour at scale, and real user populations on which to validate proposed mechanisms.

MechanismReciprocityLong-term stateExample
barterdirectnone neededBitTorrent
reputationindirectreputation scoresKaZaA, EigenTrust
currencyindirect, storedaccount balancesMojoNation, Karma
contracts— (moral hazard)outcome-contingent paymentspacket forwarding

The p2p file-sharing game

Each peer is sometimes a client, who benefits from a download, and sometimes a server, who pays bandwidth and CPU costs to upload.

WarningOne-shot: free-riding is dominant

In a single interaction, a rational peer downloads as a client and refuses to upload as a server. This is the Prisoner’s Dilemma: mutual defection is the unique equilibrium, a tragedy of the commons.

DefinitionDirect vs indirect reciprocity

  • Direct reciprocity: condition your action toward a peer on that peer’s past actions toward you (e.g., Tit-for-Tat in the Iterated PD). The “shadow of the future” deters defection.
  • Indirect reciprocity: condition your action on the peer’s past actions toward others. This requires shared information, i.e. reputation.

Why direct reciprocity doesn’t scale

With random matching in a large, dynamic population, two peers rarely meet again, and even more rarely with their client/server roles reversed. The shadow of the future is too faint.

ExampleFigure 23.1 — reciprocators win small, lose large

A simulation (Feldman et al. 2004) starts with equal shares of three strategies: always defect, always cooperate, and a reciprocative generalization of TFT. Each round, a strategy’s population share grows in proportion to its payoff.

  • Population 60: reciprocators take over within 1,000 rounds.
  • Population 120: defectors win. Pairwise encounters are too rare for reciprocity to punish defection.

Two remedies follow, and they organize the rest of the chapter:

  1. Force repeat interaction with a small set of peers. This is BitTorrent’s barter, and it works for large, popular files.
  2. Share information so that behaviour toward others counts. This is reputation, and it covers many files and long timescales.

Dealing with strangers

In high-turnover systems, peers constantly meet strangers with no history. The policy toward strangers is a critical design choice:

Policy toward strangersProblem
always cooperateexploited by whitewashers, who leave and rejoin as “newcomers”
always defectrobust to whitewashers, but discourages real newcomers and can trigger defection cycles
cooperate with fixed probability 0<p<10<p<1not robust against whitewashers
cooperate with probability adapted to strangers’ recent cooperationeffective against whitewashers, at least for low turnover

WarningThe root problem

A whitewasher is indistinguishable from a legitimate newcomer. Any generosity toward newcomers is generosity toward defectors in disguise.


Reputation

Reputation sustains cooperation from evolutionary biology to eBay. In p2p it is paired with service differentiation: contributors earn good reputations and receive good service; free riders get poor service.

ExampleDeployed and proposed reputation schemes

  • KaZaA: uploading raises your score, and a high score earns download priority.
  • EigenTrust: aggregates local trust into global trust values via transitive trust, like PageRank. Peers serving inauthentic files get low trust and are shunned.
  • Credence: reputation attached to objects rather than peers. Defends against pollution and poisoning attacks.

Similar schemes exist for p2p storage, p2p multicast and mobile ad hoc networks.

Attacks on reputation systems:

AttackMechanism
collusionpeers boost each other with false praise, or target a victim with false accusations
Sybilone peer creates many colluding identities
whitewashingdefect every time, and rejoin under a fresh identity before bad reputation bites

NoteScope

A full treatment of reputation systems is in Chapter 27. Here the chapter uses a minimalist model to show why reputation-based service differentiation raises contribution.

A minimalist model: generosity types

DefinitionMinimalist p2p model

Each peer ii has a type θi\theta_i: its generosity, the maximum contribution cost it will bear. Contributors carry the system’s load, so when a fraction xx of peers contribute, the per-contributor cost is 1/x1/x. A rational peer:

contributes iff θi>1/x;otherwise free-rides.\text{contributes iff } \theta_i > 1/x;\quad\text{otherwise free-rides.}

FormulaEquilibrium contribution level

x=Pr⁡ ⁣(θi≥1x).x = \Pr\!\left(\theta_i \ge \tfrac1x\right). The equilibria are the intersections of the type distribution with the cost curve, plus x=0x = 0, which always exists.

Fixpoint dynamics. From some xx, peers decide, their decisions define a new xx, and so on. Write F(x)=Pr⁡(θi≥1/x)F(x) = \Pr(\theta_i \ge 1/x).

  • If F(x)<xF(x) < x (cost exceeds willingness), contribution falls.
  • If F(x)>xF(x) > x, contribution rises.

With two nonzero fixpoints x2<x1x_2 < x_1:

RegionDirectionFate
x<x2x < x_2downcollapse to 00
x2<x<x1x_2 < x < x_1upconverge to x1x_1
x>x1x > x_1downconverge to x1x_1

IntuitionA tipping point

x1x_1 and 00 are attractors, and x2x_2 is an unstable tipping point. Fewer contributors means a heavier load on each, which drives more of them away. If too few start out generous, or if the curves don’t intersect at all (“too many selfish rascals”), the system collapses.

DerivationUniform generosity θi∼U(0,θm)\theta_i \sim U(0,\theta_m)

Step 1: The willingness curve. For x≥1/θmx \ge 1/\theta_m, Pr⁡(θi≥1/x)=1−1xθm\Pr(\theta_i \ge 1/x) = 1 - \frac{1}{x\theta_m}.

Step 2: The fixpoint equation. x=1−1xθmx = 1 - \frac{1}{x\theta_m}, i.e. θmx2−θmx+1=0\theta_m x^2 - \theta_m x + 1 = 0.

Step 3: Solve.

x1,2=θm±θm2−4θm2θm=12(1±1−4θm).x_{1,2} = \frac{\theta_m \pm \sqrt{\theta_m^2 - 4\theta_m}}{2\theta_m} = \frac12\left(1 \pm \sqrt{1 - \frac{4}{\theta_m}}\right).

The larger root x1x_1 is stable and x2x_2 is not.

Step 4: Read off Claim 23.1. Real roots need θm≥4\theta_m \ge 4. At θm=4\theta_m = 4, x1=1/2x_1 = 1/2. As θm→∞\theta_m\to\infty, x1→1x_1 \to 1.

PropositionClaim 23.1 — generosity threshold

The stable nonzero equilibrium x1x_1 increases in θm\theta_m and →1\to 1 as θm→∞\theta_m \to\infty, but falls to zero when θm<4\theta_m < 4.

System performance. Each peer, contributor or not, gets benefit αx\alpha x with α≥1\alpha \ge 1 large, so collapse is socially bad. Only contributors pay, 1/x1/x each. With the network size normalized to 1:

WS=αx−1x⋅x=αx−1(x>0).W_S = \alpha x - \frac1x\cdot x = \alpha x - 1 \quad (x > 0).

WarningHigh benefits don’t save a stingy population

Even if α\alpha is huge, low maximal generosity (θm<4\theta_m < 4) collapses contribution, and with it all the benefit.

Reputation-based service differentiation

DefinitionPenalty mechanism

A reputation system catches free riders with probability pp, and caught free riders are excluded. Equivalently: free riders are identified perfectly but receive only (1−p)(1-p) times a contributor’s service.

The penalty has two effects, both raising contribution:

EffectFormula
reduced cost RR: free riders consume less, so the load falls to x+(1−x)(1−p)x + (1-x)(1-p)R=x+(1−x)(1−p)xR = \dfrac{x + (1-x)(1-p)}{x}
threat TT: free-riding forfeits a fraction pp of the benefitT=pαxT = p\alpha x

With individual benefit Q=αxQ = \alpha x:

  • a contributor gets Q−RQ - R;
  • a free rider gets Q−TQ - T.

A peer contributes iff θi≥R−T\theta_i \ge R - T.

FormulaNew fixpoint and performance

x=Pr⁡ ⁣(θi≥x+(1−x)(1−p)x−pαx),x = \Pr\!\left(\theta_i \ge \frac{x + (1-x)(1-p)}{x} - p\alpha x \right), WS(p)=x(Q−R)+(1−x)(Q−T)=(αx−1)(x+(1−x)(1−p)).W_S(p) = x(Q - R) + (1-x)(Q - T) = (\alpha x - 1)\big(x + (1-x)(1-p) \big).
DerivationSimplifying WS(p)W_S(p)

Let L=x+(1−x)(1−p)L = x + (1-x)(1-p). Then

x(αx−Lx)+(1−x)(1−p)αx=αx[x+(1−x)(1−p)]−L=(αx−1)L.x\Big(\alpha x - \frac{L}{x}\Big) + (1-x)(1-p)\alpha x = \alpha x\big[x + (1-x)(1-p)\big] - L = (\alpha x - 1)L.

PropositionClaim 23.2 — enough threat eliminates free-riding

If p≥1/αp \ge 1/\alpha, there is an equilibrium with x=1x = 1.

ProofAt full contribution, the threat outweighs the cost

At x=1x = 1: R=1R = 1 and T=pα≥1T = p\alpha \ge 1, so R−T≤0≤θiR - T \le 0 \le \theta_i for every peer, and everyone contributes. There are no free riders, so no penalty is ever actually imposed, and performance reaches the optimum α−1\alpha - 1.

∎

ImportantThreats that are never executed

When participation is valuable (α\alpha large), a small penalty, or a small probability of catching free riders, suffices for full cooperation regardless of generosity. The penalty is socially costly only off the equilibrium path. If α\alpha is small, a harsher penalty or a finer sieve is needed.


Barter: BitTorrent

DefinitionSwarming download

A seed splits a large file into fixed-size pieces and gives different pieces to different peers, who exchange pieces with each other. Each peer’s download rate depends on its upload rate: barter, i.e. direct reciprocity.

AlgorithmBitTorrent peer selection

  1. On starting a download, join a set of about 40 peers sharing the same file.
  2. Upload to 4–5 neighbours, periodically replacing them with the peers giving the best download rates (tit-for-tat).
  3. Opportunistic unchoking: occasionally upload to a random peer from the set, to discover better partners.

IntuitionManufacturing a shadow of the future

Chunking forces many repeated interactions with a small set of peers during one download. That restores what random matching destroyed (Figure 23.1b). It also needs no long-term state (no reputations or balances), which simplifies the design and makes it more robust to attack. Empirically, BitTorrent communities free-ride much less.

WarningNo incentive to seed

Barter lasts only as long as the download. Once a peer has the whole file, nothing rewards it for continuing to upload as a seed. Many communities layer a reputation scheme on top and exclude low contributors.

Rational manipulations (Shneidman et al. 2004, via “specification faithfulness”):

  1. understate upload bandwidth while preserving your rank among uploaders, so you upload less without downloading less;
  2. Sybil: split into several identities to be picked more often by opportunistic unchoking;
  3. whitewash identities when beneficial;
  4. upload garbage to inflate your apparent upload rate.

NoteOpen problem

Can BitTorrent, or any barter scheme, be made robust to all rational manipulations? Faithfulness here is the same concern as computational manipulation in distributed-algorithmic-mechanism-design.

ExampleFOX (Fair, Optimal eXchange)

Assume homogeneous peers, each serving kk requests in parallel and minimizing completion time. FOX schedules block exchanges on a static kk-ary tree with a synchronized protocol. If everyone complies, all peers finish optimally.

Enforcement is a grim trigger: a peer that detects a deviating neighbour can trigger a meltdown of the whole system, so any deviation means infinite completion time.

WarningNon-credible threats

FOX’s equilibrium is not subgame perfect: nobody actually wants to melt down the system after a deviation. And a single malicious or faulty node can destroy everything. So FOX has limited practical value.


Currency

Peers earn currency by contributing and spend it to consume (MojoNation, Karma).

TheoremGolle et al. (2001) — first equilibrium analysis

If each peer is charged in proportion to the gap between its downloads and uploads, there is a unique strict Nash equilibrium in which every peer maximizes both uploads and downloads.

NoteStated without proof

The chapter cites this result without derivation.

TheoremFriedman et al. (2006) — threshold equilibria and money supply

For each fixed money supply, if peers are patient enough, there is a nontrivial Nash equilibrium in threshold strategies: satisfy requests, and earn money, while your balance is below a threshold; refuse once it is above.

IntuitionMoney supply as a policy lever

Comparing equilibria across money supplies identifies the efficiency-maximizing supply for a system of a given size. The effective supply can be tuned either by injecting or removing currency, or by changing the price of a service request. So inflation is a tool for keeping a growing system efficient.

WarningCurrency is also vulnerable to whitewashing

Whitewashing pays whenever newcomers receive a positive opening balance, or balances may go negative, even temporarily: run up a debt, then vanish.


Hidden actions: contracts for unobservable effort

Free-riding is observable in principle. Many p2p actions are hidden.

ExampleHidden effort in networks

  • Gnutella and KaZaA peers are expected to forward queries, but can silently drop them or forward only probabilistically. Best-effort delivery and a changing topology make shirkers unidentifiable. If everyone drops, search stops working.
  • MANET devices drop packets to save energy.
  • ISPs practise hot-potato routing to avoid carrying traffic.

DefinitionMoral hazard

The economists’ name for hidden action, familiar from insurance and labour contracts. The principal–agent framework measures the efficiency lost and designs optimal contracts that pay on observable outcomes.

The principal–agent model

DefinitionPrincipal–agent setting (Feldman et al.)

  • nn agents. Agent ii chooses ai∈{0,1}a_i\in\{0,1\} (shirk or work) at cost c(0)=0c(0) = 0, c(1)=c>0c(1) = c > 0.
  • A contractible outcome o∈{0,1}o\in\{0,1\} (failure or success). The principal values success at v>0v > 0 and failure at 0.
  • A technology t:A→[0,1]t : A \to [0,1] gives the success probability t(a)t(a).
  • Assumptions: effort always helps, t(1,a−i)>t(0,a−i)t(1,a_{-i}) > t(0,a_{-i}), and t(a)>0t(a) > 0 always.

DefinitionRead-once networks; AND and OR

A graph with a source and a sink, where each agent controls one edge. Agent ii‘s edge succeeds with probability γi\gamma_i if it shirks and δi>γi\delta_i > \gamma_i if it works. The project succeeds iff some source–sink path succeeds. Anonymous case: γi=1−δi=γ∈(0,12)\gamma_i = 1 - \delta_i = \gamma\in(0,\tfrac12).

TechnologyRuleWith mm agents working
ANDall edges succeedt=γ n−m(1−γ)mt = \gamma^{\,n-m}(1-\gamma)^m
ORat least one edge succeedst=1−γ m(1−γ) n−mt = 1 - \gamma^{\,m}(1-\gamma)^{\,n-m}
graph LR
  subgraph AND["AND: packet forwarding along one path"]
    S1["s"] -->|"agent 1"| M1["relay"]
    M1 -->|"agent 2"| M2["relay"]
    M2 -->|"agent n"| T1["t"]
  end
  subgraph OR["OR: multipath routing"]
    S2["s"] -->|"agent 1"| T2["t"]
    S2 -->|"agent 2"| T2
    S2 -->|"agent n"| T2
  end
Running exampleTechnologyWhat the sender observes
packet forwarding in a MANET: each hop is an agentANDonly whether the packet arrived
multipath routing: duplicate over disjoint paths, one agent per pathORwhether any copy arrived
query forwarding in p2p file sharingOR-of-AND—

Contracts. Under limited liability (no fines), a contract pays agent ii an amount pi≥0p_i \ge 0 on success only.

ui(a)=pi t(a)−c(ai),u(a,v)=t(a)(v−∑ipi).u_i(a) = p_i\,t(a) - c(a_i), \qquad u(a,v) = t(a)\Big(v - \sum_i p_i\Big).

The principal picks contracts to maximize its utility at a Nash equilibrium of the agents. With multiple equilibria it may “suggest” one. This is justified here because the best Nash equilibrium is also a strong equilibrium, and often the unique one.

DefinitionDefinition 23.3 — marginal contribution

Δi(a−i)=t(1,a−i)−t(0,a−i).\Delta_i(a_{-i}) = t(1,a_{-i}) - t(0,a_{-i}). The increase in success probability when ii switches from shirking to working, given the others’ actions.

PropositionClaim 23.4 — best response

Agent ii works iff pi≥cΔi(a−i)p_i \ge \dfrac{c}{\Delta_i(a_{-i})} (indifferent at equality), since pit(1,a−i)−c≥pit(0,a−i)  ⟺  piΔi≥cp_it(1,a_{-i}) - c \ge p_it(0,a_{-i}) \iff p_i\Delta_i \ge c.

PropositionClaim 23.5 — optimal contracts for a target profile

To induce aa: pay pi=0p_i = 0 to shirkers and pi=c/Δi(a−i)p_i = c/\Delta_i(a_{-i}) to workers. Then

  • a working agent earns c(t(1,a−i)Δi(a−i)−1)=c t(0,a−i)Δi(a−i)≥0c\left(\frac{t(1,a_{-i})}{\Delta_i(a_{-i})} - 1\right) = c\,\frac{t(0,a_{-i})}{\Delta_i(a_{-i})} \ge 0, an information rent;
  • the principal earns u(a,v)=(v−∑i: ai=1cΔi(a−i)) t(a)u(a,v) = \Big(v - \sum_{i:\,a_i=1} \frac{c}{\Delta_i(a_{-i})}\Big)\,t(a).

IntuitionWhy hidden action costs the principal

The payment must make effort worthwhile on the margin. But it is paid whenever the project succeeds, including when it would have succeeded without ii‘s effort. So each worker is paid c/Δi>cc/\Delta_i > c. The principal gets only the second best.

RemarkWhen hidden action is free

Consider AND with γi=0\gamma_i = 0: a shirker always fails. Then t(0,a−i)=0t(0,a_{-i}) = 0, the information rent vanishes, and the principal gets the first best. This holds with direct contracts, or with recursive contracts in which each agent contracts with the next.

The price of unaccountability

If actions were observable, the principal would pay exactly cc per worker, so its utility would equal social welfare, t(a)v−∑ai=1ct(a)v - \sum_{a_i=1}c. Let S∗(v)S^*(v) and Soa∗(v)S^*_{oa}(v) be the optimal worker sets under hidden and observable actions.

DefinitionDefinition 23.6 — price of unaccountability

POU(t)=sup⁡v>0t(Soa∗(v)) v−∑i∈Soa∗(v)ct(S∗(v))(v−∑i∈S∗(v)ct(S∗(v))−t(S∗(v)∖{i})).\mathrm{POU}(t) = \sup_{v>0} \frac{t(S^*_{oa}(v))\,v - \sum_{i\in S^*_{oa}(v)}c}{t(S^*(v))\left(v - \sum_{i\in S^*(v)}\dfrac{c}{t(S^*(v)) - t(S^*(v)\setminus\{i\})}\right)}.

This is the worst multiplicative loss from not being able to monitor individual actions. In the forwarding example, it is what the sender loses by seeing only end-to-end delivery. (It plays the role of a price of anarchy; see inefficiency-of-equilibria.)

LemmaLemma 23.7 — monotonicity

For any technology, in both the hidden- and observable-action cases, the principal’s optimal utility, the success probability of the optimal contract, and its expected payment are all nondecreasing in vv. For anonymous technologies, the number of workers is nondecreasing in vv.

TheoremTheorem 23.8 — AND: all or nothing

For anonymous AND with γ∈(0,12)\gamma\in(0,\tfrac12):

  • there is a threshold v∗<∞v^* < \infty (depending on n,γ,cn,\gamma,c): below it contract with no one, above it with all nn, and at v∗v^* both are optimal;
  • the POU is attained at the hidden-action transition point: POU=(1γ−1)n−1+(1−γ1−γ).\mathrm{POU} = \Big(\frac1\gamma - 1\Big)^{n-1} + \Big(1 - \frac{\gamma}{1-\gamma}\Big).

WarningAND’s POU is unbounded

POU→∞\mathrm{POU}\to\infty as γ→0\gamma\to0 (any n≥2n \ge 2) or as n→∞n\to\infty (any fixed γ\gamma). A forwarding sender induces effort from all hops or none, and can lose enormously from not monitoring. This makes a case for network monitoring, even if it is costly.

IntuitionWhy AND is all-or-nothing

On a serial path, one agent’s effort is worth little unless the others also work: Δi\Delta_i is tiny when others shirk. Effort is complementary, so once it pays to motivate anyone, it pays to motivate everyone. For the same reason, each worker’s required pay c/Δic/\Delta_i is huge when γ\gamma is small.

TheoremTheorem 23.9 — OR: every transition, bounded loss

For anonymous OR with γ∈(0,12)\gamma\in(0,\tfrac12):

  • there are thresholds v1<v2<⋯<vnv_1 < v_2 < \dots < v_n such that for vk<v<vk+1v_k < v < v_{k+1}, contracting with exactly kk agents is optimal (none below v1v_1, all above vnv_n);
  • POU≤5/2\mathrm{POU} \le 5/2 for every nn, cc and γ\gamma.

IntuitionWhy OR is gradual

Parallel paths are substitutes: each extra working path adds less than the previous one. So the principal adds workers one at a time as vv grows. The information rent stays moderate, bounding the loss.

NoteProofs omitted

Theorems 23.8 and 23.9 and Lemma 23.7 are stated without proof in the chapter (Feldman et al. 2005 and follow-ups).

Computational hardness

For general read-once networks, the optimal contract depends on which agents work, not just how many.

TheoremTheorem 23.10 — optimal contracts are #P-hard

The optimal contract problem for read-once networks is #P-hard (under Turing reductions).

ProofSketch: recover network reliability from the contract threshold

Step 1: Start from network reliability. Take an instance ⟨G,{ζe}⟩\langle G, \{\zeta_e\}\rangle: compute t(E)t(E), the probability that some path works when edge ee works with probability ζe\zeta_e. This is #P-hard (Provan–Ball).

Step 2: Build G′G'. AND GG in series with a new agent xx having γx\gamma_x just below 12\tfrac12 and δx=1−γx\delta_x = 1 - \gamma_x. For the original edges, set δe=ζe\delta_e = \zeta_e and γe=ζe/2\gamma_e = \zeta_e/2.

Step 3: Agent xx enters last. With γx≈12\gamma_x \approx \tfrac12, xx‘s effort barely matters, so it joins the optimal contract only at very large vv, after all of EE.

The key step: use the supposed optimal-contract algorithm to find the critical vv at which xx enters. There the principal is indifferent between EE and E∪{x}E\cup\{x\}, and that indifference equation can be solved for t(E)t(E).

∎

NoteOpen problems

Which families of technologies admit polynomial-time optimal contracts? How well can optimal contracts be approximated, given that network reliability has an FPTAS (Karger)?


Open problems

NoteTwo challenges from the chapter

  1. A catalogue of rational manipulations. Which manipulations are specific to a mechanism, and which apply to all? Sybil and whitewashing robustness matters for reputation, barter and currency alike. Can a design be tested against a comprehensive catalogue?
  2. Beyond perfect rationality. Real populations mix rational, boundedly rational, altruistic, malicious and faulty peers. What solution concepts fit p2p and distributed systems? This calls for cross-fertilization with behavioural economics and computer security.

Quick reference

ObjectStatementNote
Gnutella free-ridingtwo thirds within six monthspre-lawsuits
One-shot file sharingfree-ride is dominantPrisoner’s Dilemma
Direct reciprocityTFT on your own history with the peerfails under random matching at scale (Fig. 23.1)
Indirect reciprocitycondition on behaviour toward othersneeds reputation
Strangers policyadapt cooperation to strangers’ recent behaviourfixed pp fails vs whitewashers
Reputation attackscollusion, Sybil, whitewashingcheap pseudonyms
Minimalist modelcontribute iff θi>1/x\theta_i > 1/xcost 1/x1/x
Fixpointx=Pr⁡(θi≥1/x)x = \Pr(\theta_i \ge 1/x)attractors 00, x1x_1; tipping point x2x_2
Uniform typesx1,2=12(1±1−4/θm)x_{1,2} = \tfrac12(1\pm\sqrt{1 - 4/\theta_m})
Claim 23.1x1↑x_1\uparrow in θm\theta_m, →1\to1; collapse if θm<4\theta_m < 4
PerformanceWS=αx−1W_S = \alpha x - 1
Penalty: costR=[x+(1−x)(1−p)]/xR = [x + (1-x)(1-p)]/xreduced load
Penalty: threatT=pαxT = p\alpha xlost benefit
Penalty fixpointx=Pr⁡(θi≥R−T)x = \Pr(\theta_i \ge R - T)
Penalty performanceWS(p)=(αx−1)(x+(1−x)(1−p))W_S(p) = (\alpha x - 1)(x + (1-x)(1-p))
Claim 23.2p≥1/αp\ge1/\alpha ⇒ equilibrium x=1x = 1threat never executed; welfare α−1\alpha - 1
BitTorrentabout 40 peers, 4–5 neighbours, opportunistic unchokebarter; no seeding incentive
BitTorrent manipulationsunderstate bandwidth, Sybil, whitewash, garbage uploadsShneidman et al.
FOXkk-ary tree schedule plus grim-trigger meltdownnot subgame perfect
Golle et al.charge ∝\propto downloads − uploads ⇒ unique strict NE
Friedman et al.threshold equilibria; optimal money supplyinflation as a lever
Principal–agentai∈{0,1}a_i\in\{0,1\}, cost cc, pay pi≥0p_i\ge0 on successlimited liability
AND / ORγn−m(1−γ)m\gamma^{n-m}(1-\gamma)^m / 1−γm(1−γ)n−m1 - \gamma^m(1-\gamma)^{n-m}forwarding / multipath
Marginal contributionΔi=t(1,a−i)−t(0,a−i)\Delta_i = t(1,a_{-i}) - t(0,a_{-i})Def 23.3
Claims 23.4–23.5work iff pi≥c/Δip_i \ge c/\Delta_i; optimal pi=c/Δip_i = c/\Delta_iinformation rent c t(0,a−i)/Δic\,t(0,a_{-i})/\Delta_i
POU (Def 23.6)observable-action optimum / hidden-action optimum, worst over vvprice-of-anarchy analogue
Lemma 23.7utility, success probability, payment nondecreasing in vv
Thm 23.8 (AND)one transition 0→n0\to n; POU=(1/γ−1)n−1+1−γ/(1−γ)\mathrm{POU} = (1/\gamma - 1)^{n-1} + 1 - \gamma/(1-\gamma)unbounded
Thm 23.9 (OR)all transitions k→k+1k\to k+1; POU≤5/2\mathrm{POU}\le 5/2
Thm 23.10optimal contracts on read-once networks are #P-hardvia network reliability

Facts to keep to hand

  • Every mechanism rebuilds the shadow of the future differently. Barter forces repeat play, reputation broadcasts history, currency stores it as a balance. All three fail when identities are free: Sybil multiplies them and whitewashing resets them.
  • Generosity toward newcomers is a subsidy to whitewashers. They are indistinguishable, so any fixed welcome can be exploited. Only welcome levels adapted to observed newcomer behaviour resist it.
  • Contribution has increasing returns, which creates tipping points. The cost per contributor is 1/x1/x, so participation feeds on itself upward and unravels downward. x=0x = 0 is always an equilibrium, and a stingy population (θm<4\theta_m < 4) always falls to it.
  • Good threats are never executed. With p≥1/αp\ge1/\alpha, everyone contributes and no penalty is imposed. The cost of the mechanism is paid only off the equilibrium path. The flip side: FOX’s threat is so extreme that it isn’t credible (not subgame perfect).
  • Hidden action is moral hazard. Pay-on-success contracts must reward the marginal contribution Δi\Delta_i, so they overpay by an information rent. The size of the loss depends on complementarity: AND (complements) gives all-or-nothing contracting and unbounded POU; OR (substitutes) gives gradual contracting and POU ≤5/2\le 5/2.
  • Monitoring has value exactly where effort is complementary. AND’s unbounded POU argues for investing in per-hop monitoring. OR’s bounded POU says end-to-end observation is nearly enough.
  • Designing optimal contracts can be as hard as computing reliability. They are #P-hard on general read-once networks.

References

← All notes