Simple Rewire Protocols for Cooperation in Dynamic Networks David Hales, Stefano Arteconi, Ozalp Babaoglu University of Bologna, Italy Bio-Inspired Workshop,

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

Modeling Maze Navigation Consider the case of a stationary robot and a mobile robot moving towards a goal in a maze. We can model the utility of sharing.
SP 5: Biologically Inspired Techniques for “Organic IT” Final Year Report Participants UniBO, UPF, Telenor, RAL Lead partner: Bologna (UniBO)
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.
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 Sensor Networks and Networked Societies of Artifacts Jose Rolim University of Geneva.
Tags and Image Scoring for Robust Cooperation By Nathan Griffiths Presented at AAMAS 2008.
Network Coding for Large Scale Content Distribution Christos Gkantsidis Georgia Institute of Technology Pablo Rodriguez Microsoft Research IEEE INFOCOM.
1 SLIC: A Selfish Link-based Incentive Mechanism for Unstructured P2P Networks Qixiang Sun Hector Garcia-Molina Stanford University.
UNIVERSITY OF JYVÄSKYLÄ Topology Management in Unstructured P2P Networks Using Neural Networks Presentation for IEEE Congress on Evolutionary Computing.
Building Low-Diameter P2P Networks Eli Upfal Department of Computer Science Brown University Joint work with Gopal Pandurangan and Prabhakar Raghavan.
Keeping Peers Honest In EigenTrust Robert McGrew Joint work with Zoë Abrams and Serge Plotkin.
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
CSS-TW1 Cooperation in Selfish Systems incorporating TagWorld I Welcome! David Hales, University of Bologna.
1 BitHoc: BitTorrent for wireless ad hoc networks Jointly with: Chadi Barakat Jayeoung Choi Anwar Al Hamra Thierry Turletti EPI PLANETE 28/02/2008 MAESTRO/PLANETE.
Dresden, ECCS’07 06/10/07 Science of complex systems for socially intelligent ICT Overview of background document Objective IST FET proactive.
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,
SP 5: Biologically Inspired Techniques for “Organic IT” Plan for months Participants UniBO, UPF, Telenor, TILS presented by David Hales (UniBO)
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)
Emergent Robustness in Software Systems through Decentralized Adaptation: an Ecologically-Inspired ALife Approach Franck Fleurey, Benoit Baudry, Benoit.
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.
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.
Incentives for Sharing in Peer-to-Peer Networks By Philippe Golle, Kevin Leyton-Brown, Ilya Mironov, Mark Lillibridge.
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.
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.
School of Electrical Engineering &Telecommunications UNSW Cost-effective Broadcast for Fully Decentralized Peer-to-peer Networks Marius Portmann & Aruna.
Organic Evolution and Problem Solving Je-Gun Joung.
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.
1 AGENT-BASED MODELING OF THE TRAGEDY OF THE COMMONS by Güven Demirel.
Rationality and Power: the “gap in the middle” in ICT
The Matching Hypothesis
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
CHAPTER I. of EVOLUTIONARY ROBOTICS Stefano Nolfi and Dario Floreano
Presentation transcript:

Simple Rewire Protocols for Cooperation in Dynamic Networks David Hales, Stefano Arteconi, Ozalp Babaoglu University of Bologna, Italy Bio-Inspired Workshop, Rome, 25th July 2006

David Hales (University of Bologna) University of Bologna, Italywww.davidhales.com Evolutionary Models Recent evolutionary models demonstrate desirable properties of cooperation and coordination Based on ideas coming from evolutionary / bounded rationality approaches (Simon, Arthur, Axelrod et al) Such models relax assumptions of “ideal” rationality Consider agents operate using simple heuristics Often collective learning via a (cultural) evolutionary approach The idea that (potentially random) innovations in agents are copied by others (in some way) if they improve utility (defined in some way)

David Hales (University of Bologna) University of Bologna, Italywww.davidhales.com Evolutionary Models Such models capture self-organising and emergent processes Argued: similar to those that occur in human or animal societies Computational Social Science using agent-based simulation Obviously controversial, rarely validated Yet increasingly accepted as alternative to equilibrium analysis / ideal rational approaches More applicable to engineering applications - noise, incomplete information, high dynamicity, heterogeneous agents etc. Side-stepping controversy and validity of such models, can we steal and adapt these ideas for “engineering” of desirable properties in distributed systems?

David Hales (University of Bologna) University of Bologna, Italywww.davidhales.com Peer-to-Peer Systems We have translated some of these models into protocols for use in peer-to-peer (P2P) systems P2P are generally open systems of client programs running on user machines with no central authority or control Electronically mediated and semi-automated social systems Some general motivating questions are: How can such systems come to self-organise, cooperate and coordinate to produce productive behaviour? How can the negative effects of free-riding and selfish behaviour be avoided - promote social good? How can such systems scale well in a robust way? How can the effects of malicious behaviour be minimised?

David Hales (University of Bologna) University of Bologna, Italywww.davidhales.com tag systems Previous “tag” models offer a simple mechanism by which some of these questions can be addressed Both cooperation and coordination (specialisation)

David Hales (University of Bologna) University of Bologna, Italywww.davidhales.com Self-Organising Cooperation in Peer-to-Peer Systems Algorithm based on social simulation models of “tags” Introduced by Holland early 1990’s Developed recently by Riolo; Hales; Edmonds. Tags are observable “markings”, labels or social cues, attached to agents (e.g. hairstyle, dress, accent) In an evolutionary algorithm tags evolve just like any other artificial gene in the “genotype” They are displayed directly in the “phenotype” When agents bias interactions towards those with similar tags, even selfish evolution selects for cooperative and altruistic behaviour Evolution for Cooperation

David Hales (University of Bologna) University of Bologna, Italywww.davidhales.com Evolution for Cooperation We translated the tag algorithm into a network nodes move to find “better” neighbors producing a kind of evolution in the network “bad guys” become isolated Results in a “duplicate and re-wire” rule Producing a kind of “group selection” between clusters a functional reason for temporal structures found in the “natural” networks? Self-Organising Cooperation in Peer-to-Peer Systems

David Hales (University of Bologna) University of Bologna, Italywww.davidhales.com SLAC Algorithm Basic Algorithm Periodically do Each node compare “utility” with a random node if the other node has higher utility copy that node’s strategy and links (reproduction) mutate (with a small probability): change strategy (behavior) change neighborhood (links) fi od Self-Organising Cooperation in Peer-to-Peer Systems

David Hales (University of Bologna) University of Bologna, Italywww.davidhales.com SLAC algorithm 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 Self-Organising Cooperation in Peer-to-Peer Systems “Reproduction” = copying a more successful node

David Hales (University of Bologna) University of Bologna, Italywww.davidhales.com SLAC algorithm Before After Mutation applied to F’s neighbourhood F is wired to a randomly selected node (B) Self-Organising Cooperation in Peer-to-Peer Systems “Mutation of the neighbourhood” = random movement in the net

David Hales (University of Bologna) University of Bologna, Italywww.davidhales.com SLAC Applied to the PD Applied to a simulated Prisoner’s Dilemma Scenario: Where selfish behavior produces poor performance – Nash Eq. Nodes store a pure strategy, either cooperate or defect Play the single round PD with randomly selected neighbours Using their strategy We take average payoff as the node utility Mutation of strategy: flip strategy Nodes randomly selected to play a random neighbours some number of times each period Self-Organising Cooperation in Peer-to-Peer Systems

David Hales (University of Bologna) University of Bologna, Italywww.davidhales.com Cycles to High Cooperation

David Hales (University of Bologna) University of Bologna, Italywww.davidhales.com SLAC Applied to PD Typical Individual Run

David Hales (University of Bologna) University of Bologna, Italywww.davidhales.com How Does SLAC Work? Clusters

David Hales (University of Bologna) University of Bologna, Italywww.davidhales.com SLAC Applied to File Sharing P2P Applied to a simulated P2P File Sharing Scenario: Simplified form of that given by Q. Sun & H. Garcia-Molina 2004 Nodes control how much capacity devoted to generating or answering queries based on P = [0..1] P =1.0 selfish (only generates queries) P =0.0 altruist (only answers queries) We take as node utility the number of hits Mutation of strategy: change P randomly Flood fill query method, TTL’s etc Self-Organising Cooperation in Peer-to-Peer Systems

David Hales (University of Bologna) University of Bologna, Italywww.davidhales.com SLAC Applied to P2P File Sharing Self-Organising Cooperation in Peer-to-Peer Systems Some simulation results A typical run for a 10 4 node network Selfishness reduces Average performance increases

David Hales (University of Bologna) University of Bologna, Italywww.davidhales.com SLAC Applied to P2P File Sharing Self-Organising Cooperation in Peer-to-Peer Systems Some simulation results Results showing number of queries (nq) and number of hits (nh) (averaged over cycle ) for different network sizes with10 individual runs for each network size

David Hales (University of Bologna) University of Bologna, Italywww.davidhales.com SLAC to SLACER SLAC is OK for some tasks – as we have seen But produces disconnected components This is no good when we want An “Artificial Friendship Network” to span the network Connected – such that all nodes are linked with short path Chains of trust between all nodes – preferably short also To achieve this we modify SLAC and introduce SLACER

David Hales (University of Bologna) University of Bologna, Italywww.davidhales.com SLACER algorithm Basic Algorithm Periodically do Each node compare “utility” with a random node if the other node has higher utility copy that node’s strategy and links, probabilistically retaining some existing links mutate (with a small probability): change strategy (behavior) change neighborhood (links), probabilistically retaining some existing links fi od

David Hales (University of Bologna) University of Bologna, Italywww.davidhales.com SLAC to SLACER SLAC SLACER

David Hales (University of Bologna) University of Bologna, Italywww.davidhales.com SLACER – Some Results

David Hales (University of Bologna) University of Bologna, Italywww.davidhales.com SLACER – Some Results

David Hales (University of Bologna) University of Bologna, Italywww.davidhales.com SLACER - Some Results Cycles

David Hales (University of Bologna) University of Bologna, Italywww.davidhales.com SLACER – Future Applications By establishing a fully connected “Artificial Social Network” (ASN) This can be used as input to existing P2P applications Specifically those that assume or require trusted social networks as input Currently harvested from contacts or “buddy lists” in chat applications Example: Collective spam filtering: J. S. Kong, P. O. Boykin, B. Rezei, N. Sarshar, and V. Roychowdhury, “Let you cyberalter ego share information and manage spam,” Available as pre-print:

David Hales (University of Bologna) University of Bologna, Italywww.davidhales.com Conclusion Simple copy and rewire algorithm No need for centralized trust or enforcement mechanism No need for knowledge of past interactions Process cooperative behavior even when nodes behave in an egotistical way, locally and greedy optimizing Works through a kind of “group selection” – “tribal selection” Can produce trusted and cooperative Artificial Social Networks Could be applied to existing protocols with minor modification Available on open source P2P simulation platform Peersim.

David Hales (University of Bologna) University of Bologna, Italywww.davidhales.com Related Publications References Hales & Edmonds (2005) “Applying a socially-inspired technique (tags) to improve cooperation in P2P Networks”, IEEE Transactions on Systems, Man, and Cybernetics, Part A Hales & Arteconi (2006) “SLACER: A Self-Organizing Protocol for Coordination in P2P Networks”, IEEE Intelligent Systems, 21(2):29-35, March / April Self-Organising Cooperation in Peer-to-Peer Systems peersim.sourceforge.net

David Hales (University of Bologna) University of Bologna, Italywww.davidhales.com SLAC and SLACER Fini

David Hales (University of Bologna) University of Bologna, Italywww.davidhales.com The End Thank you!