Cs286r Victor Chan Scrip Systems Victor Chan. CS286 Victor Chan Agenda  Scrip Systems  Peer to Peer Systems  Scrip Systems for P2P Networks  Adobe.

Slides:



Advertisements
Similar presentations
BitTorrent or BitCrunch: Evidence of a credit squeeze in BitTorrent?
Advertisements

Optimal Scheduling in Peer-to-Peer Networks Lee Center Workshop 5/19/06 Mortada Mehyar (with Prof. Steven Low, Netlab)
6.896: Topics in Algorithmic Game Theory Lecture 20 Yang Cai.
CPS Bayesian games and their use in auctions Vincent Conitzer
Nash’s Theorem Theorem (Nash, 1951): Every finite game (finite number of players, finite number of pure strategies) has at least one mixed-strategy Nash.
Mechanism Design without Money Lecture 1 Avinatan Hassidim.
An Approximate Truthful Mechanism for Combinatorial Auctions An Internet Mathematics paper by Aaron Archer, Christos Papadimitriou, Kunal Talwar and Éva.
Multi-item auctions with identical items limited supply: M items (M smaller than number of bidders, n). Three possible bidder types: –Unit-demand bidders.
Rarest First and Choke Algorithms Are Enough
The BitTorrent Protocol. What is BitTorrent?  Efficient content distribution system using file swarming. Does not perform all the functions of a typical.
Game Theory and Computer Networks: a useful combination? Christos Samaras, COMNET Group, DUTH.
Regret Minimization and the Price of Total Anarchy Paper by A. Blum, M. Hajiaghayi, K. Ligett, A.Roth Presented by Michael Wunder.
Diversification of Demand
On the Economics of P2P Systems Speaker Coby Fernandess.
The Role of Prices in Peer-Assisted Content Distribution Christina Aperijis Michael J. Freedman Ramesh Johari Presented by: Kyle Chauvin and Henry Xie.
P2P I NCENTIVES Dror Marcus. Yoni DenyConfess HadasHadas Deny Redo the testYoni is free Hadas is expelled from school Confess Yoni is expelled from school.
Improving Peer-to-Peer Networks “Limited Reputation Sharing in P2P Systems” “Robust Incentive Techniques for P2P Networks”
Algorithmic and Economic Aspects of Networks Nicole Immorlica.
Modelling and Performance Analysis of BitTorrent-Like Peer-to-Peer Networks.
Game-Theoretic Approaches to Multi-Agent Systems Bernhard Nebel.
CMPT 401 Summer 2007 Dr. Alexandra Fedorova Lecture XV: Real P2P Systems.
Lecture 1 - Introduction 1.  Introduction to Game Theory  Basic Game Theory Examples  Strategic Games  More Game Theory Examples  Equilibrium  Mixed.
Distributed Multiagent Resource Allocation In Diminishing Marginal Return Domains Yoram Bachrach(Hebew University) Jeffrey S. Rosenschein (Hebrew University)
Review: Game theory Dominant strategy Nash equilibrium
Alex Sherman Jason Nieh Cliff Stein.  Lack of fairness in bandwidth allocation in P2P systems:  Users are not incentivized to contributed bandwidth.
Dynamic Spectrum Management: Optimization, game and equilibrium Tom Luo (Yinyu Ye) December 18, WINE 2008.
CS522: Algorithmic and Economic Aspects of the Internet Instructors: Nicole Immorlica Mohammad Mahdian
Modeling and analysis of BitTorrent-like P2P network Fan Bin Oct,1 st,2004.
Selfish Caching in Distributed Systems: A Game-Theoretic Analysis By Byung-Gon Chun et al. UC Berkeley PODC’04.
AWESOME: A General Multiagent Learning Algorithm that Converges in Self- Play and Learns a Best Response Against Stationary Opponents Vincent Conitzer.
The Asset Market, Money, and Prices
Keeping Peers Honest In EigenTrust Robert McGrew Joint work with Zoë Abrams and Serge Plotkin.
Free-rider problem in peer-to- peer networks Sumitra Ganesh.
Anonymizing Web Services Through a Club Mechanism With Economic Incentives Mamata Jenamani Leszek Lilien Bharat Bhargava Department of Computer Sciences.
Introduction to Game Theory
Allerton 2011 September 28 Mathias Humbert, Mohammad Hossein Manshaei, and Jean-Pierre Hubaux EPFL - Laboratory for Communications and Applications (LCA1)
A Game Theoretic Framework for Incentives in P2P Systems --- CS. Uni. California Jun Cai Advisor: Jens Graupmann.
Bit Torrent (Nick Feamster) February 25, BitTorrent Steps for publishing – Peer creates.torrent file and uploads to a web server: contains metadata.
Free-riding and incentives in P2P systems name:Michel Meulpolder date:September 8, 2008 event:Tutorial IEEE P2P 2008.

Mechanisms for Making Crowds Truthful Andrew Mao, Sergiy Nesterko.
CPS 173 Mechanism design Vincent Conitzer
Yitzchak Rosenthal P2P Mechanism Design: Incentives in Peer-to-Peer Systems Paper By: Moshe Babaioff, John Chuang and Michal Feldman.
A P2P file distribution system ——BitTorrent Pegasus Team CMPE 208.
Optimizing Scrip Systems: Efficiency, Crashes, Hoarders, and Altruists By Ian A. Kash, Eric J. Friedman, Joseph Y. Halpern Presentation by Avner May 12/10/08.
1 Efficiency and Nash Equilibria in a Scrip System for P2P Networks Eric J. Friedman Joseph Y. Halpern Ian Kash.
Do incentives build robustness in BitTorrent? Michael Piatek, Tomas Isdal, Thomas Anderson, Arvind Krishnamurthy, Arun Venkataramani.
Nash equilibrium Nash equilibrium is defined in terms of strategies, not payoffs Every player is best responding simultaneously (everyone optimizes) This.
6.853: Topics in Algorithmic Game Theory Fall 2011 Constantinos Daskalakis Lecture 21.
A Non-Monetary Protocol for P2P Content Distribution in Wireless Broadcast Networks with Network Coding I-Hong Hou, Yao Liu, and Alex Sprintson Dept. of.
Standard and Extended Form Games A Lesson in Multiagent System Based on Jose Vidal’s book Fundamentals of Multiagent Systems Henry Hexmoor, SIUC.
Auction Theory תכנון מכרזים ומכירות פומביות Topic 7 – VCG mechanisms 1.
Ivan Osipkov Fighting Freeloaders in Decentralized P2P File Sharing Systems.
MULTI-TORRENT: A PERFORMANCE STUDY Yan Yang, Alix L.H. Chow, Leana Golubchik Internet Multimedia Lab University of Southern California.
1 Competitive Auctions Authors: A. V. Goldberg, J. D. Hartline, A. Wright, A. R. Karlin and M. Saks Presented By: Arik Friedman and Itai Sharon.
Truthful and Non-Monetary Mechanism for Direct Data Exchange I-Hong Hou, Yu-Pin Hsu, and Alex Sprintson.
1 The Games Economists Play: Interactive Public Policy Capital Campus Texas July 9, 2008 copies of this presentation can be found at
May 8, Manipulating Scrip Systems: Sybils and Collusion Ian Kash Cornell University Joint work with Eric Friedman and Joe Halpern.
Network Economics -- Lecture 2: Incentives in P2P systems and reputation systems Patrick Loiseau EURECOM Fall 2012.
Incentives for Sharing in Peer-to-Peer Networks By Philippe Golle, Kevin Leyton-Brown, Ilya Mironov, Mark Lillibridge.
Beyond selfish routing: Network Games. Network Games NGs model the various ways in which selfish agents strategically interact in using a network They.
Mechanism Design with Strategic Mediators Moran Feldman EPFL Joint work with: Moshe Babaioff, Microsoft Research Moshe Tennenholtz, Technion.
The Federal Reserve System. Prior to 1913, hundreds of national banks in the U.S. could print as much paper money as they wanted They could lend a lot.
Yu-Hsuan Lin Catholic University of Korea, Korea University of York, U.K. 5 th Congress of EAAERE, Taipei, 06 th – 07 th August 2015.
Lecture XV: Real P2P Systems
Introduction to BitTorrent
Unit 4 SOCIAL INTERACTIONS.
Presented By Aaron Roth
The BitTorrent Protocol
Optimizing Scrip Systems: Efficiency, Crashes, Hoarders, and Altruists
Presentation transcript:

Cs286r Victor Chan Scrip Systems Victor Chan

CS286 Victor Chan Agenda  Scrip Systems  Peer to Peer Systems  Scrip Systems for P2P Networks  Adobe Interna l 2

CS286 Victor Chan What is a scrip? A scrip is a non governmental currency used to pay for services from others. The need to earn scrip prevents freeloading  Adobe Interna l 3

CS286 Victor Chan Where is scrip systems used?  Capitol Hill Baby Sitting Co-op (Sweeney ‘77)  Couples babysitting for each other  Paid in scrips, each worth one hour of babysitting time  Low circulation of scrips resulted in “recession”  Eventually too much scrip was issued  Ithaca Hours (started in 1991)  Local currency used at Ithaca New York  500 business participating, including libraries, banks, medical centers, landlords  Used to promote local economic development, with12,000 Hours in circulation  Adobe Interna l 4

CS286 Victor Chan Yootopia! (Reeves et al 2006)  Yootle, a local currency created at Yahoo!  Used in prediction markets  Used to buy favors from people  Used where cold hard cash isn’t the best idea  All transactions are recorded in a ledger system  Group decision with a scrip system (Where to go for dinner?)  Voting with compensation  Vickery-Clarke-Groves (VCG) Mechanism  General Decision Auction (DAUC)  Iterative Decision Auction  SMS and web interface for users

CS286 Victor Chan Moving on  Any further thoughts on group decision or yootopia?

CS286 Victor Chan Peer to Peer Networks  Filesharing  BitTorrent, Kazaa, Gnutella, Napster  Online discussion  Slashdot, Digg, etc.  Distributed computing 

CS286 Victor Chan Peer to Peer Networks in Files Sharing  Increased social welfare  Costs still exist, leading to free riding users  Gnutella 70% users do not share, and 50% requests filled by top 1% users  There exist “altruistic” users that have become vital to the “health” p2p systems  However these users are expensive to host on a network and ISP’s are trying to remove them  Fair sharing does not happen since these users exist

CS286 Victor Chan Barter like approaches:  BitTorrent  Tit for Tat algorithm (Optimistic Unchoking)  Exchange upload bandwidth for download bandwidth  New peers lose out, nothing to offer  eMule  Track history of previous interactions with other users  Give priority to users with good history  With large n, hard to match up

CS286 Victor Chan Reputation based approaches:  Adobe Interna l 10  Internet Relay Chat (IRC)  Direct client to client sharing  Set up using private messaging/negotiation  Slow for new users to gain enough “rep”  Kazaa  Measure ratios of upload vs. download  To help new users, everyone is given “avg” rating  Free ride until “bad” rating, and create a new account (sybil attack)

CS286 Victor Chan Scrip system for P2P  Benefits of having a Scrip System  In history based reputation systems, no longer need to meet same peers  In BitTorrent, tit for tat can be extended to an exchange between multiple users  “The Role of Prices in Peer-Assisted Content Distribution” Johari et al  New users can be given scrip right away to participate  Problems of having a Scrip System  Still vulnerable to sybil attacks  How much money to have in the system?  Inflation, bubbles, recessions just like the real economy!

CS286 Victor Chan Scrip System in P2P networks  Efficiency and Nash Equilibria in a Scrip System for P2P Networks  Friedman, Halpern and Kash (2006)  Model for evaluating Scrip Systems in P2P Networks  Nash Equilibrium with threshold strategies  Money supply to maximize efficiency

CS286 Victor Chan The Model  Model Asymmetric interactions in a file sharing network  Unlike previous models of random matching between users  Each round uniformly select an agent to request and match with provider  Providers in the system each with β > 0 probability of fulfilling a request  Assumption: Time independence  Agent fulfilling request will pay cost α < 1  A discount factor of δ < 1 is used  Time steps are in 1/n

CS286 Victor Chan More definitions  G(n,δ,α,β) represents a game with n agents  : agent chosen in round t to make request  : whether a given agent can satisfy request, dependent on β  : whether a given agent will satisfy the request  : the agent chosen to satisfy request.  Chosen at random from willing and able  : agent i’s utility at round t

CS286 Victor Chan Utility functions  Standard User:  Altruistic User:  Total utility:

CS286 Victor Chan Altruistic Users: Closer look  Always happy to upload, since cost is positive and their strategy is  for all t  If enough of these users, others become free riders and play  for all t  How many altruists do you need to make everyone a freeloader?  Proposition 2.1: There is an a that depends only on δ,α,β such that in G(n, δ,α,β) with at least a altruistic users not volunteering is the dominant strategy for all standard users.

CS286 Victor Chan How many altruists?  With no money, users have their requests filled with probability:  So even with money, their total additional utility gain is:  But if this gain is less than the cost to get money: Users will not want to pay the cost and will never choose to volunteer

CS286 Victor Chan What does this mean?  Example with β = 0.01, α = 0.1, δ = /day then need a>1145  Relatively small size compared to a large P2P network  In BitTorrent having 1145 Seeds (altruist) is unlikely, so we still see many leechers uploading.  Any thoughts on why amount doesn’t depend on n?  In order to establish a useful scrip system, need to remove altruistic users, or standard users will all become free riders

CS286 Victor Chan Finding the equilibrium in a Scrip System  Users pay those that satisfy their requests $1  Total amount of money in system M  Agents using threshold strategies:

CS286 Victor Chan Nonstrategic play of the game  System “converges” to a distribution over money  Assume everyone plays and system has M< kn dollars  State of the game can be represented as: Total amount of money in state s Player has value in this set

CS286 Victor Chan Distributions of Money in the System  Let be the distribution on {0,….,k}  Not very useful by itself, since not all distributions can be achieved  Look at the distributions that has, where m = M/n  There is a unique distribution in d*, with maximum entropy  Markov Chain,, then with large n, will likely be in a state s, such that d s will be close to d*  Closeness is defined as the Euclidean distance between two distributions: (

CS286 Victor Chan Theorem  X is the random variable that the Markov Chain is in a state S at time t  After some time t, the Pr(X is in state S where d s will be close to d*) is very high.

CS286 Victor Chan Simulation Results

CS286 Victor Chan Simulation Results

CS286 Victor Chan Simulation Results

CS286 Victor Chan Game under strategic play  Goal: Show that there is a non trivial Nash Equilibrium where all agents play a threshold strategy  First show for all k, if all other agents play S k there is a S k’ for agent i that is also the best response.

CS286 Victor Chan Make the strategies continuous  Look at a strategy pair, and consider a mix strategy  will play with probability and with  This essentially produces as continuous set of strategies by mixing adjacent threshold strategies. where

CS286 Victor Chan Theorem 4.1  If every other agent is playing then the best response is either a unique or a mix of playing two adjacent threshold strategies.

CS286 Victor Chan Proof of 4.1  Consider agent i with probability of making a request and receiving a request constant  i decides at each iteration whether to satisfy a request based on its strategy  So to i, the system is a Markov Decision Process, with i having the choice to move between various states  i will compute the optimal policy for this MDP, and there is a optimal policy that is a threshold policy.

CS286 Victor Chan Theorem 4.2  There should be a Nash Equilibrium that is in the space of threshold strategies  Fixing δ, we get a best response function that is a step function.  Any point where the br( δ, γ ) = γ then there is a Nash Equilibrium

CS286 Victor Chan Simulation Results

CS286 Victor Chan Social Welfare and Scalability  How much money M should be in the system?  Theorem 5.1: Most efficient equilibrium only depends on the ratio of M to n.  Proof, from Theorem 3.1, the d* depends only on M/n and k, and since br( δ, k ) depends on only d*, the Nash Equilibrium is only depend on M/n  In practice, it will be easier to adjust the price of a transaction rather than injecting or removing money from the system.  New comers can be added by changing the price of transactions

CS286 Victor Chan Sybils and Collusion  Sybils can be used to increase the likelihood of being chosen to fulfill a request  Set a lower k threshold strategy, offer to work more often  Sybils can also be used to drive down the price of requests  Or make sybils leave and drive up the price  Price of fulfilling a request depends on n

CS286 Victor Chan Extensions  The current system is Homogenous, relax these assumptions  Cost of joining the network, could deter sybil attacks  The current system does not take into account of altruistic users  Effect of hoarders, people who work but never spend (stocking up)  Any scrip system will require a centralized accounting system, and users will likely have to reveal their identities

CS286 Victor Chan That’s it! Q & A  Adobe Interna l 35