Project funded by the Future and Emerging Technologies arm of the IST Programme Socially Inspired Approaches to Evolving Cooperation David Hales www.davidhales.com.

Slides:



Advertisements
Similar presentations
Evolving Cooperation in the N-player Prisoner's Dilemma: A Social Network Model Dept Computer Science and Software Engineering Golriz Rezaei Michael Kirley.
Advertisements

SP 5: Biologically Inspired Techniques for “Organic IT” Final Year Report Participants UniBO, UPF, Telenor, RAL Lead partner: Bologna (UniBO)
Evolution and Repeated Games D. Fudenberg (Harvard) E. Maskin (IAS, Princeton)
Evolution of Cooperation The importance of being suspicious.
Solving Collective Commons Problems: Future Scenarios for P2P Finance David Hales, University of Szeged, Hungary Diversity in Macro.
Cooperation in Anonymous Dynamic Social Networks Brendan Lucier University of Toronto Brian Rogers Northwestern University Nicole Immorlica Northwestern.
Institutions and the Evolution of Collective Action Mark Lubell UC Davis.
A Crash Course in Game Theory Werner Raub Workshop on Social Theory, Trust, Social Networks, and Social Capital II National Chengchi University – NCCU.
Tags and Image Scoring for Robust Cooperation By Nathan Griffiths Presented at AAMAS 2008.
A Memetic Framework for Describing and Simulating Spatial Prisoner’s Dilemma with Coalition Formation Sneak Review by Udara Weerakoon.
Why How We Learn Matters Russell Golman Scott E Page.
Evolutionary Games The solution concepts that we have discussed in some detail include strategically dominant solutions equilibrium solutions Pareto optimal.
Evolutionary Games The solution concepts that we have discussed in some detail include strategically dominant solutions equilibrium solutions Pareto optimal.
Recent Research Studies on Cooperative Games In the recent years since around 2003 I have been doing research following up on a specific idea for the finding.
Virtual communities, Peer-to-Peer Networks Basic introduction to the (sociology and) economics of file-sharing in BitTorrent systems name:David Hales date:Jan.
University of Bologna, Italy How to cheat BitTorrent and why nobody does Simon Patarin and David Hales University of Bologna ECCS 2006,
Project funded by the Future and Emerging Technologies arm of the IST Programme Recent directions in DELIS / Overview of on-going work David Hales
Cooperation through the endogenous evolution of social structure David Hales & Shade Shutters The Open University & Arizona State University
5. Alternative Approaches. Strategic Bahavior in Business and Econ 1. Introduction 2. Individual Decision Making 3. Basic Topics in Game Theory 4. The.
Economics of P2P file- sharing systems Basic introduction to the (sociology and) economics of file-sharing in BitTorrent systems name:David Hales, Tribler.
CSS-TW1 Cooperation in Selfish Systems incorporating TagWorld I Welcome! David Hales, University of Bologna.
Dynamic Games of complete information: Backward Induction and Subgame perfection - Repeated Games -
Standard and Extended Form Games A Lesson in Multiagent System Based on Jose Vidal’s book Fundamentals of Multiagent Systems Henry Hexmoor, SIUC.
Project funded by the Future and Emerging Technologies arm of the IST Programme Cooperation with Strangers David Hales Department of.
Example Department of Computer Science University of Bologna Italy ( Decentralised, Evolving, Large-scale Information Systems (DELIS)
Rationality meets the tribe: Some models of cultural group selection David Hales, The Open University Hales, D., (2010) Rationality.
Engineering with Sociological Metaphors: Examples and Prospects University of Bologna This work is partially supported by the European.
SLAC and SLACER: Simple copy & rewire algorithms for trust and cooperation in P2P David Hales, Stefano Arteconi, Ozalp Babaoglu University of Bologna,
Can Tags Build Working Systems? From MABS to ESOA Attempting to apply results gained from Multi-Agent- Based Social Simulation (MABSS)
P2P Interaction in Socially Intelligent ICT David Hales Delft University of Technology (Currently visiting University of Szeged, Hungary)
Evolving networks for cooperation Dagstuhl CCT3 DELIS Workshop Sept 3rd-4th 2005 Presented by David Hales University of Bologna, Italy
Self-Organising Networks of Services without Money or Contracts David Hales, University of Bologna, Italy First International Workshop and Summer School.
You are all social scientists: you just don’t know it yet David Hales (University of Bologna, Italy) SASO 2007, Cambridge. Mass.
Putting “tags” to work Attempting to apply results gained from agent- based social simulation (ABSS) to MAS. Dr David Hales
David Hales (University of Bologna) University of Bologna, Italywww.davidhales.com WARNING! Superficial sociological interpretation followed by simplistic.
Emergent Group-Like Selection in a Peer-to-Peer Network ECCS Conference Paris, Nov. 16 th, 2005 David Hales University of Bologna, Italy
Evolving cooperation in one-time interactions with strangers Tags produce cooperation in the single round prisoner’s dilemma and it’s.
Evolving Social Rationality for MAS using “Tags” Trying to “make things work” by applying results gained from Agent-Based Social Simulation.
Joanna Tyrowicz What are institutions? Institutional Economics.
Project funded by the Future and Emerging Technologies arm of the IST Programme From Selfish Nodes to Cooperative Networks – Emergent Link-based Incentives.
Project funded by the Future and Emerging Technologies arm of the IST Programme Understanding “tag” systems by comparing “tag” models David Hales
The Evolution of Specialisation in Groups – Tags (again!) David Hales Centre for Policy Modelling, Manchester Metropolitan University, UK.
How to Analyse Social Network? : Part 2 Game Theory Thank you for all referred contexts and figures.
Repeated Game Modeling of Multicast Overlays Mike Afergan (MIT CSAIL/Akamai) Rahul Sami (University of Michigan) April 25, 2006.
Socially Inspired Computing Engineering with Social Metaphors.
Evolving P2P overlay networks with Tags, SLAC and SLACER for Cooperation and possibly other things… Saarbrücken SP6 workshop July 19-20th 2005 Presented.
Project funded by the Future and Emerging Technologies arm of the IST Programme Altruism “for free” using Tags David Hales Department.
Evolving Strategies for the Prisoner’s Dilemma Jennifer Golbeck University of Maryland, College Park Department of Computer Science July 23, 2002.
Simple Rewire Protocols for Cooperation in Dynamic Networks David Hales, Stefano Arteconi, Ozalp Babaoglu University of Bologna, Italy Bio-Inspired Workshop,
Social Simulation for Self-* Systems: An idea whose time has come? David Hales University of Bologna, Italy In collaboration with: Stefano.
Evolving Specialisation, Altruism & Group-Level Optimisation Using Tags – The emergence of a group identity? David Hales Centre for Policy Modelling, Manchester.
Evolving Specialisation, Altruism & Group-Level Optimisation Using Tags David Hales Centre for Policy Modelling, Manchester Metropolitan University, UK.
Project funded by the Future and Emerging Technologies arm of the IST Programme Change your tags fast! - A necessary condition for cooperation? David Hales.
Evolution of Cooperation in Mobile Ad Hoc Networks Jeff Hudack (working with some Italian guy)
Emergent Group Selection: Tags, Networks and Society David Hales, The Open University ASU, Thursday, November 29th For more details.
Indirect Reciprocity in the Selective Play Environment Nobuyuki Takahashi and Rie Mashima Department of Behavioral Science Hokkaido University 08/07/2003.
Novel Models of Group Selection in Social Structures and Networks David Hales University of Bologna, Italy In collaboration with: Stefano.
1 AGENT-BASED MODELING OF THE TRAGEDY OF THE COMMONS by Güven Demirel.
Contents of the Talk Preliminary Materials Motivation and Contribution
Game Theory and Cooperation
Rationality and Power: the “gap in the middle” in ICT
Web *.0 ? Combining peer production and peer-to-peer systems
Evolution for Cooperation
CASE − Cognitive Agents for Social Environments
Socially Inspired Approaches to Evolving Cooperation
Group Selection Design Pattern
Self-Organising, Open and Cooperative P2P Societies – From Tags to Networks David Hales Department of Computer Science University of.
Evolution for Cooperation
Altruism “for free” using Tags
Evolving cooperation in one-time interactions with strangers
Presentation transcript:

Project funded by the Future and Emerging Technologies arm of the IST Programme Socially Inspired Approaches to Evolving Cooperation David Hales Department of Computer Science University of Bologna Italy

2 A note on typology in this presentation Because this area is actually vast, covering lots of disciplines and concepts, I have highlighted some key concepts in red italic This means that there are good overviews on wikipeadia: You should look these terms up to fully grasp what is being presented here

3 Sociologically Inspired Computing Many key problems in the engineering of distributed computer systems bear close similarities to puzzles in human societies Historically these have been studied in areas such as Economics, Sociology and Political Science As computer scientists / engineers we can benefit from an awareness of some of these ideas

4 Sociologically Inspired Computing Recently an area called “Computational Sociology” has emerged Social scientists express their ideas using computer simulations (often agent-based) This is good news since we can get agent-level algorithmic descriptions of their ideas Some of those algorithms can be modified and applied for our purpose (nice self-* properties)

5 Sociologically Inspired Computing CAUTION: when dealing with social theories and talking about human societies it is important to note: Within the social sciences there is no general agreement on basic principles, theories or subject matter Social science tends to be broken into disconnected “factions” with competing assumptions, methods and goals Furthermore ideas are often “political” and hence can cause people to get “excited”

6 Sociologically Inspired Computing HOWEVER: none of this need worry us because: We are only interested in if the “theories” and “ideas” work in computer systems We don’t care if they are true, false or silly Hence we don’t need to get involved in sociological debates but just “steal” good ideas

7 Sociologically Inspired Computing There are many possible areas from which we could attempt to steal good ideas from social science (e.g.): Formation of organisations and roles The emergence of money / Economy Trust and Reputation / Crime and Deviance Power / Class Cooperation, coordination, and altruism We will focus on Cooperation

8 Cooperation in Distributed Systems Many systems are composed of semi- autonomous units E.g. Agent, P2P, animal and human societies It is often the case that individual interests conflict with collective interests E.g. P2P file sharing system - downloading more than uploading E.g. human society - over exploitation of a common resource

9 Cooperation in Distributed Systems Consider pollution and the environment: It is in the collective interest keep the environment clean enough so we don’t all die But it is in the individual interest of firms (corporations) to save money by not properly disposing of dangerous pollutants This is particularly true if a small set of firms could pollute without this causing a problem but if all pollute then this kills us all (say)

10 Cooperation in Distributed Systems Consider a community fishing an area of sea: It is in the collective interest of the community to avoid over-fishing such that there are not enough fish to reproduce But it is in the individual interests of the fisherman to catch as much fish as possible

11 Cooperation in Distributed Systems These kinds of situations have been termed “commons dilemmas” or “collective resource dilemmas” G. Hardin (1968) summarized the issue in his famous paper: “The Tragedy of the Commons” These kinds of situations can occur in distributed systems also

12 Cooperation in Distributed Systems Consider an open file sharing P2P overlay network: It is in the collective interests of the entire network community that each node shares high quality files But it is in the individual interest of each node to download files without uploading them

13 Cooperation in Distributed Systems Consider routing of a message in an ad-hoc mobile network It is in the collective interests of the network community that messages are routed correctly But it is in the individual interests of the each node to save energy by receiving messages but not passing them on

14 Cooperation in Distributed Systems What kinds solutions have been proposed / identified for these kinds of problems? Central enforcement of correct behaviour E.g. EU fishing quotas, “Kyoto carbon taxes” Require centralised agencies and policing Decentralised methods E.g. self-policing, emergence of cooperative social norms or behaviours Do not require centralised coordination

15 Cooperation in Distributed Systems Much economic theory (including Game Theory) makes the following assumptions: Individuals can assign a utility to themselves and others for all possible outcomes of behaviours Individuals behave to maximise their utility Individuals know that all others will behave in this way and have infinite computational resources to calculate the best next behaviour This is termed “ideally rational” or Homo Economicus model

16 Cooperation in Distributed Systems With classical assumptions - often possible to calculate Nash Equilibria - sets of behaviours (or strategies) such that no individual can improve their utility by changing strategy Under “ideally rational” assumptions individuals would behave selfishly in all our previous examples But studies show humans don’t behave in an ideally rational way - more cooperation, heuristics, learning (Herbert Simon - Bounded Rationality)

17 Cooperation in Distributed Systems More recently the “evolutionary approach” relaxes the classical assumptions: Individuals follow simple learning rules based on how well they do relative to others Copy the behaviours of better performing others Modify their behaviour from time-to-time (innovate) Cultural evolution not biological evolution (although will often produce similar results)

18 The Prisoner’s Dilemma This is a kind of minimal two-player form of a Commons Tragedy The “rational” game theoretic solution (the Nash Equilibrium) is the worst outcome for all Selfish adaptive / evolutionary units would also tend to Nash because this is also the Evolutionary Stable Strategy (ESS) It is desirable for societies to cooperation in such situations and many seem to. But how?

19 The Prisoner's Dilemma Game Given: T > R > P > S and 2R > T + S (3) (5) (0) (1)

20 The Prisoner’s Dilemma Players =>P1P2P1P2P1P2P1P2 Moves =>CCCDDCDD Payoffs =>RRSTTSPP Values =>(3) (0)(5) (0)(1) Total =>(6)(5) (2) A contradiction between collective and individual interests: Nash Equilibrium = DD

21 Ways to get Cooperation in the PD 3’rd party enforcement – requires trusted authority Tit-for-Tat – requires repeated interactions (IPD) with same agents (Axelrod 1984) Interaction & copying on lattice – not possible in many environments (Nowak & May 1992) Image Scoring - requires others to observe game interactions (Sigmund & Nowak 1998) Tags – scalable, single round, simple, applicable to P2P (Holland 1993, Riolo 2001, Hales 2004)

22 What are “tags” Tags are observable labels, markings, cues They are attached to agents Can be observed by other agents Agents interact preferentially with those sharing the same tag – no other function In cultural interpretation, tags = clothing styles (fashions) or other overt signals (make-up or mannerisms)

23 An Evolutionary PD Scenario Agents are selfish and greedy Copy behaviors and tags of more successful Randomly mutate strategies and tags No population structure but…. Agents preferentially interact with those sharing the same tag When agents interact they play the PD

24 Agents - a Tag and a PD strategy Tag = 5 Tag = 10 Cooperate Defect Tag = (say) Some Integer Game interaction between those with same tag (if possible)

25 How Tags Work Shared tags Mutation of tag Copy tag and strategy Game Interactions

26 Visualising the Process Time Unique Tag Values Coop Defect Mixed Empty

27 Visualising the Process Time Unique Tag Values Coop Defect Mixed Empty

28 A P2P Scenario Consider a P2P: Assume nodes maintain some max. degree Node neighbours can be thought of as a group Nodes may be good guys, share resources with neighbours, or free-ride, using neighbours resources but not sharing theirs (PD) Sharing / free-riding is a Strategy The neighbour links (as a whole) a kind of “tag” (if clustering high enough)

29 A P2P Scenario Represent the P2P as a undirected graph Assume nodes are selfish and periodically: Play PD with randomly selected neighbour Compare performance to some randomly selected other node If other node is doing better copy its neighbourhood and strategy Mutate strategies and neighbourhood.

30 Design Decisions Mutation of view => replace all with single randomly chosen node Mutation of strategy = flip the strategy Node j copying a more successful node i => replace i view with j’s plus j itself When maximum degree of a node is exceeded throw away a randomly chosen link

31 F u > A u Before After Where A u = average utility of node A A copies F neighbours & strategy In his case mutation has not changed anything Copying a more successful node

32 Random movement in the net Before After Mutation applied to F’s neighbourhood F is wired to a randomly selected node (B)

33 Parameters Vary N between 4, ,000 Maximum degree 20 Initial topology random graph (not important) Initial strategies all defection (not random) Mutation rate m = (small) PD payoffs: T=1.9, R=1, P=d, S=d (where d is a small value)

34 Results

35 A 100 node example – after 500 generations

36 General Conclusions Socially Inspired Methods An awareness of sociological approaches can inspire novel approaches to self-* engineering However the process is not simple: need to be aware of the assumptions being imported - make sense in new context? much modification and testing is required The emerging area of computational sociology seems to be particularly relevant Evolutionary approaches appear more relevant than classical approaches in GT and Econ.

37 References Journal of Artificial Societies and Social Simulation (JASSS) David Hales (2004) From Selfish Nodes to Cooperative Networks. IEEE International Conference on Peer-to-Peer Computing Riolo, R. L., Cohen, M. D. & Axelrod, R. (2001) Evolution of cooperation without reciprocity. Nature 414, Holland, J. (1993) The Effect of Lables (Tags) on Social Interactions. Santa Fe Institute Working Paper Santa Fe, NM. Robert Axelrod (1984) The Evolution of Cooperation, Basic Books Nowak, M.A. and Sigmund, K. (1998) Evolution of indirect reciprocity by image scoring, Nature 393, 573. Nowak M A, May R M (1992) Evolutionary games and spatial chaos, Nature, 359, Garrett Hardin (1968) The Tragedy of the Commons Science 162,

38