Project funded by the Future and Emerging Technologies arm of the IST Programme Altruism “for free” using Tags David Hales www.davidhales.com Department.

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

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”
Cooperation in Anonymous Dynamic Social Networks Brendan Lucier University of Toronto Brian Rogers Northwestern University Nicole Immorlica Northwestern.
1 Evolution of Networks Notes from Lectures of J.Mendes CNR, Pisa, Italy, December 2007 Eva Jaho Advanced Networking Research Group National and Kapodistrian.
Networks. Graphs (undirected, unweighted) has a set of vertices V has a set of undirected, unweighted edges E graph G = (V, E), where.
Tags and Image Scoring for Robust Cooperation By Nathan Griffiths Presented at AAMAS 2008.
Evolutionary Games The solution concepts that we have discussed in some detail include strategically dominant solutions equilibrium solutions Pareto optimal.
1 SLIC: A Selfish Link-based Incentive Mechanism for Unstructured P2P Networks Qixiang Sun Hector Garcia-Molina Stanford University.
Evolutionary Games The solution concepts that we have discussed in some detail include strategically dominant solutions equilibrium solutions Pareto optimal.
Segregation and Neighborhood Interaction Work in progress Jason Barr, Rutgers Newark Troy Tassier, Fordham October 31, 2006.
On Distinguishing between Internet Power Law B Bu and Towsley Infocom 2002 Presented by.
Optimization Based Modeling of Social Network Yong-Yeol Ahn, Hawoong Jeong.
(Social) Networks Analysis III Prof. Dr. Daning Hu Department of Informatics University of Zurich Oct 16th, 2012.
Checking and understanding Simulation Behaviour Bruce Edmonds Centre for Policy Modelling Manchester Metropolitan University.
University of Bologna, Italy How to cheat BitTorrent and why nobody does Simon Patarin and David Hales University of Bologna ECCS 2006,
Developing Analytical Framework to Measure Robustness of Peer-to-Peer Networks Niloy Ganguly.
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
Prof. A. Taleb-Bendiab, Talk: SOAS’07, Contact: Date: 12/09/2015, Slide: 1 Software Engineering Concerns in Observing Autonomic.
Learning in Multiagent systems
CSS-TW1 Cooperation in Selfish Systems incorporating TagWorld I Welcome! David Hales, University of Bologna.
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,
Presenter: Chih-Yuan Chou GA-BASED ALGORITHMS FOR FINDING EQUILIBRIUM 1.
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)
P2P Interaction in Socially Intelligent ICT David Hales Delft University of Technology (Currently visiting University of Szeged, Hungary)
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.
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.
Algorithms and their Applications CS2004 ( ) 13.1 Further Evolutionary Computation.
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.
Lecture 10: Network models CS 765: Complex Networks Slides are modified from Networks: Theory and Application by Lada Adamic.
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.
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.
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.
Introduction to Genetic Algorithms
Rationality and Power: the “gap in the middle” in ICT
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 Altruism “for free” using Tags David Hales Department of Computer Science University of Bologna Italy

ECCS 2005, Paris – 2 Talk Overview My background and motivation The problem A solution: Tags and how they work Applying in a P2P using re-wiring rules

ECCS 2005, Paris – 3 Background and Motivation Computer Science and A.I Agent-Based Social Simulation (ABSS) Interest: Emergence of Cooperation (PD) Sociologists and engineers - same questions! Now: Apply ideas from ABSS to some engineering problems (back to CS!) e.g. open P2P

ECCS 2005, Paris – 4 The Problem Consider a system composed of agents that are: Autonomous (not externally controllable) Selfish (maximise their own utility) Greedy (local hill-climb) Adaptive (copy other nodes and self-adapt) How do we get the nodes to cooperative for the good of the network rather than simply free-ride?

ECCS 2005, Paris – 5 The Prisoner’s Dilemma Given: T > R > P > S and 2R > T + S

ECCS 2005, Paris – 6 Ways to get Cooperation 3’rd party enforcement – expensive, tends to centralisation (Thomas Hobbes 1660) Repeated interactions – need repeated interactions & some altruism (Axelrod 1984) Fixed lattice interaction – not good for dynamic networks (Nowak & May 1992) Tags – scalable, single round, simple (Holland 1993, Riolo 1997, Hales 2000)

ECCS 2005, Paris – 7 What are “tags” Tags are observable labels, markings, social cues They are attached to agents Agents interact preferentially with those sharing the same tag – no other function 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

ECCS 2005, Paris – 8 An Evolutionary Scenario Agents are selfish and greedy Copy the behaviors of more successful Randomly mutate strategies No population structure but…. Agents preferentially interact with those sharing the same tag

ECCS 2005, Paris – 9 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)

ECCS 2005, Paris – 10 Shared tags How Tags Work Mutation of tag Copy tag and strategy Game Interactions

ECCS 2005, Paris – 11 Visualising the Process (Hales 2000) Time Unique Tag Values Coop Defect Mixed Empty

ECCS 2005, Paris – 12 Visualising the Process Time Unique Tag Values Coop Defect Mixed Empty

ECCS 2005, Paris – 13 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)

ECCS 2005, Paris – 14 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.

ECCS 2005, Paris – 15 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

ECCS 2005, Paris – 16 Copying a more successful node 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

ECCS 2005, Paris – 17 Random movement in the net Before After Mutation applied to F’s neighbourhood F is wired to a randomly selected node (B)

ECCS 2005, Paris – 18 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 view If view empty, link to random node i (mutate view) Agent (i) and (j) invoke their strategies and get appropriate payoff END LOOP Select (N / 2) random pairs of nodes (i, j) lower scoring node copies higher scoring node Apply mutation to view and strategy of each reproduced node with probability m END LOOP

ECCS 2005, Paris – 19 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)

ECCS 2005, Paris – 20 Results

ECCS 2005, Paris – 21 A few more nodes

ECCS 2005, Paris – 22 A typical run (10,000 nodes)

ECCS 2005, Paris – 23 A 100 node example – after 500 generations

ECCS 2005, Paris – 24

ECCS 2005, Paris – 25 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 a set of unstable components exist - highly internally connected (L not much more than 1 and C very high) Constantly reforming and changing due to mutation and replication Rough characterisation of disconnectedness = prob. that two random nodes are connected

ECCS 2005, Paris – 26 Typical run, 200 nodes C=clustering coeff, L = path length, K = degree, cm = no of components, cp = connection prob, coop = prop of cooperators L / 5, K / 20, CM / 20

ECCS 2005, Paris – 27 Next steps 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?

ECCS 2005, Paris – 28 File Sharing Scenario Simplified form of that given by Q. Sun & H. Garcia-Molina 2004 Each node has variable giving proportion of capacity (100 units) devoted to generating queries against answering them [0..1] 1=selfish, 0=altruism Each node has an answering power (prob. Of making a hit given any query =0.4 fixed) Flood fill query method, TTL’s etc

ECCS 2005, Paris – 29 Results A typical run for a 10 4 node network

ECCS 2005, Paris – 30 Results Results showing number of queries (nq) and number of hits (nh) (averaged over cycle ) for different network sizes (10 individual runs for each network size)

ECCS 2005, Paris – 31 Results Cycles to high hit values (number of hits nh > 30) for different network sizes (10 runs each)

ECCS 2005, Paris – 32 What’s going on? A “Socially emergent incentive system” ? Selfish myopic behaviour causes nodes to migrate to more cooperative clusters and adopt cooperative strategies. Bad guys end-up alone or surrounded by other bad guys. being a bad guy is not a sustainable strategy However, at any given point in time a small number of bad guys are doing “better” than any good guys

ECCS 2005, Paris – 33 Conclusion Tag-like dynamics using simple rewiring rules Free-riding low even though nodes are selfish No knowledge of past interaction required Scales well in tested domains But: produces many (dynamic) components What about whitewashers? Different churn rates? Hyper-rational or irrational behaviour? Copying links and strategies?