Self-Organising, Open and Cooperative P2P Societies – From Tags to Networks David Hales www.davidhales.com Department of Computer Science University of.

Slides:



Advertisements
Similar presentations
Complex Networks Advanced Computer Networks: Part1.
Advertisements

Evolving Cooperation in the N-player Prisoner's Dilemma: A Social Network Model Dept Computer Science and Software Engineering Golriz Rezaei Michael Kirley.
SP 5: Biologically Inspired Techniques for “Organic IT” Final Year Report Participants UniBO, UPF, Telenor, RAL Lead partner: Bologna (UniBO)
Solving Collective Commons Problems: Future Scenarios for P2P Finance David Hales, University of Szeged, Hungary Diversity in Macro.
NSPCS 2012 (KIAS, Seoul, 3 Jul ~ 6 July) Cooperative hierarchical structures emerging in multiadaptive games & Petter Holme (Umeå University, SungKyunKwan.
Improving Peer-to-Peer Networks “Limited Reputation Sharing in P2P Systems” “Robust Incentive Techniques for P2P Networks”
Tags and Image Scoring for Robust Cooperation By Nathan Griffiths Presented at AAMAS 2008.
1 SLIC: A Selfish Link-based Incentive Mechanism for Unstructured P2P Networks Qixiang Sun Hector Garcia-Molina Stanford University.
Advanced Topics in Data Mining Special focus: Social Networks.
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
Towards Cooperative Self- Organized Replica Management Work in Progress David Hales, Andrea Marcozzi (University of Bologna) Giovanni Cortese (University.
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,
Project funded by the Future and Emerging Technologies arm of the IST Programme Socially Inspired Approaches to Evolving Cooperation David Hales
Can Tags Build Working Systems? From MABS to ESOA Attempting to apply results gained from Multi-Agent- Based Social Simulation (MABSS)
Selfishness, Altruism and Message Spreading in Mobile Social Networks September 2012 In-Seok Kang
Multi-Patch Cooperative Specialists With Tags Can Resist Strong Cheaters, Bruce Edmonds, Feb 2013, ECMS 2013, Aalesund, Norway, slide 1 Multi-Patch Cooperative.
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.
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.
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.
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.
Novel Models of Group Selection in Social Structures and Networks David Hales University of Bologna, Italy In collaboration with: Stefano.
Cmpe 588- Modeling of Internet Emergence of Scale-Free Network with Chaotic Units Pulin Gong, Cees van Leeuwen by Oya Ünlü Instructor: Haluk Bingöl.
The simultaneous evolution of author and paper networks
William Stallings Data and Computer Communications
Contents of the Talk Preliminary Materials Motivation and Contribution
Introduction to Genetic Algorithms
An example of peer-to-peer application
Hiroki Sayama NECSI Summer School 2008 Week 2: Complex Systems Modeling and Networks Network Models Hiroki Sayama
A Network Model of Knowledge Acquisition
Applications of graph theory in complex systems research
The Matching Hypothesis
Web *.0 ? Combining peer production and peer-to-peer systems
Evolution for Cooperation
Amblard F.*, Deffuant G.*, Weisbuch G.** *Cemagref-LISC **ENS-LPS
Peer-to-Peer and Social Networks Fall 2017
CASE − Cognitive Agents for Social Environments
Socially Inspired Approaches to Evolving Cooperation
Group Selection Design Pattern
Lecture 23: Structure of Networks
Evolution for Cooperation
Altruism “for free” using Tags
Boltzmann Machine (BM) (§6.4)
Evolving cooperation in one-time interactions with strangers
CHAPTER I. of EVOLUTIONARY ROBOTICS Stefano Nolfi and Dario Floreano
Network Science: A Short Introduction i3 Workshop
Analysis of Large Graphs: Overlapping Communities
The Impact of Changes in Network Structure on Diffusion of Warnings
Presentation transcript:

Self-Organising, Open and Cooperative P2P Societies – From Tags to Networks David Hales www.davidhales.com Department of Computer Science University of Bologna Italy

Talk Overview Why study cooperation in P2P systems? The Prisoner’s Dilemma game Tags and how they work Applying in a P2P using re-wiring rules ESOA’04 @ AAMAS’04, NY, July 2004

Why study cooperation? How can nodes (agents) do tasks involving: Coordination & Teamwork Specialisation & Self-Repair Emergent Functions & Adapting to Change WITHOUT centralised supervision and in a scalable way when nodes are “peers” (autonomous) ESOA’04 @ AAMAS’04, NY, July 2004

The Prisoner’s Dilemma Given: T > R > P > S and 2R > T + S ESOA’04 @ AAMAS’04, NY, July 2004

Maintaining Cooperation in the PD Binding Agreements (3’rd party enforcement) – expensive, complex, tends to centralisation (Thomas Hobbes 1660) Repeated Interactions so can punish defectors – requires enough repeated interactions and “good guys” at the start (Axelrod 1984) Fixed spatial relationships – lattice or fixed networks – not good with dynamic networks (Nowak & May 1992) Tags – scalable, single round, simple (Holland 1993, Riolo 1997, Hales 2000) ESOA’04 @ AAMAS’04, NY, July 2004

What are “tags” Tags are observable labels, markings or social cues Agents can observe tags Tags evolve like any other trait (or gene) Agents may discriminate based on tags John Holland (1992) => tags powerful “symmetry breaking” function in “social-like” processes In GA-type interpretation, tags = parts of the genotype reflected directly in the phenotype ESOA’04 @ AAMAS’04, NY, July 2004

Agents - a Tag and a PD strategy Cooperate Defect Tag = (say) Some Integer Game interaction between those with same tag (if possible) ESOA’04 @ AAMAS’04, NY, July 2004

How Tags Work Shared tags Game Interactions Mutation of tag Copy tag and strategy ESOA’04 @ AAMAS’04, NY, July 2004

Visualising the Process (Hales 2000) Coop Defect Mixed Empty Unique Tag Values Time ESOA’04 @ AAMAS’04, NY, July 2004

Visualising the Process Coop Defect Mixed Empty Unique Tag Values Time ESOA’04 @ AAMAS’04, NY, July 2004

Recent finding – tag mutation rate needs to be higher ESOA’04 @ AAMAS’04, NY, July 2004

Translating Tags into a P2P Scenario All well and good, but can these previous results be applied to something that looks more like: unstructured overlay networks with limited degree and open to free riders

A P2P Scenario Consider a P2P: Assume nodes maintain some max. no. of links 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) ESOA’04 @ AAMAS’04, NY, July 2004

A P2P Scenario Represent the P2P as a undirected graph Assume nodes are selfish and periodically: Play PD with RND 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. ESOA’04 @ AAMAS’04, NY, July 2004

Initial thoughts and questions For tag-like dynamics high clustering would appear to be required (groups required) Will dynamic nature of the scenario support this? Can cooperation be maintained without it? We might start simulations of the model with high clustering initially (say small world or lattice) and compare that to random networks Many schemes of “neighbourhood copying and mutation” are possible which to use? What kind of topologies emerge over time? ESOA’04 @ AAMAS’04, NY, July 2004

Design Decisions Mutation of neighbourhood => replace all neighbours with a single neighbour chosen at random from the population Mutation on strategy = flip the strategy Node j copying a more successful node i => replace i neighbourhood with j’s plus j itself When maximum degree of node is exceeded throw away a randomly chosen link ESOA’04 @ AAMAS’04, NY, July 2004

Social Climbing Before After Fu > Au A copies F neighbours & strategy Where Au = average utility of node A In his case mutation has not changed anything ESOA’04 @ AAMAS’04, NY, July 2004

Mutation on the Neighbourhood Before After Mutation applied to F’s neighbourhood F is wired to a randomly selected node (B) ESOA’04 @ AAMAS’04, NY, July 2004

The Simulation Cycle LOOP some number of generations LOOP for each node (i) in the population N Select a game partner node (j) randomly from neighbour list Agent (i) and (j) invoke their strategies and get appropriate payoff END LOOP Select N/2 random pairs of agents (i, j) reproduce higher scoring agent Apply mutation to neighbour list and strategy of each reproduced agent with probability m ESOA’04 @ AAMAS’04, NY, July 2004

Parameters Vary N between 4,000..120,000 Maximum degree 20 Initial topology random graph Initial strategies all defection (not random) Mutation rate m = 0.001 (small) PD payoffs: T=1.9, R=1, P=d, S=d (where d is a small value) ESOA’04 @ AAMAS’04, NY, July 2004

Results ESOA’04 @ AAMAS’04, NY, July 2004

Results – increased mf=10 ESOA’04 @ AAMAS’04, NY, July 2004

A few more nodes ESOA’04 @ AAMAS’04, NY, July 2004

A typical run (10,000 nodes) ESOA’04 @ AAMAS’04, NY, July 2004

A 100 node example – after 500 generations ESOA’04 @ AAMAS’04, NY, July 2004

ESOA’04 @ AAMAS’04, NY, July 2004

Topology Evolution – so far it seems…. From ANY initial starting topology / strategy mix same outcome (tried random, lattice, small world, all nodes disconnected, all defect, random, all coop) Typically (very approx.) a max of n/10 unstable components exist at any one time which are highly internally connected (L not much more than 1 and C very high) But they are not of equal size Constantly reforming and changing due to mutation and replication Rough characterisation of disconnectedness = prob. that two random nodes are connected ESOA’04 @ AAMAS’04, NY, July 2004

Typical run, 200 nodes L / 5, K / 20, CM / 20 C=clustering coeff, L = path length, K = degree, cm = no of components, cp = connection prob, coop = prop of cooperators ESOA’04 @ AAMAS’04, NY, July 2004

A message passing game Keep everything the same but change “game” A message passing game – select two nodes (i,j) randomly from G. i tries to send a message to j. Do a flood fill query from i to j. If a route of cooperators is found from i to j then i gets a “hit” (one point added to score) Only cooperators pass on a messages incurring a small cost for doing so, reducing score Hence defectors will do better than cooperators getting the same proportion of hits Tough task since need a route between specific nodes via a chain of coops only ESOA’04 @ AAMAS’04, NY, July 2004

Message Passing game - 200 nodes after 500 generations ESOA’04 @ AAMAS’04, NY, July 2004

Message passing game - 200 nodes to 100 generations L / 5, K / 20, CM / 20 ESOA’04 @ AAMAS’04, NY, July 2004

But its not as good as it seems... Increased games to 25n per generation Start with random strategies (all def. no good) Does not appear to scale well (oscillations) More work needs to be done (only a few runs) A very tough test for scaling on this mechanism On reflection - surprising it did this well Try “easier” and more realistic “game” ESOA’04 @ AAMAS’04, NY, July 2004

Next steps Currently random selections - will it work with network generated selections? Realistic task (file sharing) (Qixiang Sun & Hector Garcia-Molina 2004 – see Hales 2004 IEEE P2P2004) So far robustness tested as effect of mutation – static pop size – try various “churn rates” Treats node links as “one chunk” rather than selectively removing links Modified form might enhance BitTorrent? ESOA’04 @ AAMAS’04, NY, July 2004

Conclusion Tag-like dynamics using simple rewiring rules Appears flexible - different topologies for different tasks Free-riding minimised with selfish nodes and no knowledge of past interaction Method scales well at least in some tasks More analysis needs to be done Also links with incentive based systems - “socially emergent incentive system” ESOA’04 @ AAMAS’04, NY, July 2004