dynasearch final presentation · further results & conclusion experimental results setting:...

94
Project Group “DynaSearch” Final Presentation

Upload: others

Post on 09-May-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

Project Group “DynaSearch”Final Presentation

Page 2: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Table of Contents

1 Introduction

2 Objective Function Search in P2P NetworksIntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

3 Network Creation ProcessesNetwork Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

2 / 60

Page 3: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Introduction

3 / 60

Page 4: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Project Group

4 / 60

Page 5: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Our Work in the CRC 901

1 Big software from small pieces – Search for pieces that

Maximize some objective function orFulfill certain properties

2 Communicating entities with varying interests

Adapt network to these interests

5 / 60

Page 6: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

Objective Function Search in P2P Networks

Introduction

6 / 60

Page 7: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

Motivation

Data items have several attributes

Scenario: User specifies what is important to him

Does not know which items exist

Wants best possible result

7 / 60

Page 8: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

Formal Definition

General:

Data items in [0, 1)d

Request is function f : [0, 1)d → RFor now:

d = 2

f is linear: f (x , y) := a1x + a2y

8 / 60

Page 9: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

Example

(1, 1)

(0, 0)

f(x, y) = 7x+ 4y

9 / 60

Page 10: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

First Idea

Move sweep line through coordinate space

Start at best corner

Result is first item found

What do we need?

Manage coordinate space in p2p system

Efficient way of searching

10 / 60

Page 11: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

Basic P2P System

Use Content Addressable Network (CAN)

Manages data items in [0, 1)d coordinate space

Each node responsible for section of space

11 / 60

Page 12: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

CAN Example

2-dimensional CAN with 5 nodes

12 / 60

Page 13: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

How to search?

Many data items ⇒ Result at corner

Few data items ⇒ Large empty sections

Want to skip empty sections quickly

⇒ Meta structure with containment information

13 / 60

Page 14: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

Hierarchy Meta Structure

Create tree structure with containment information

Root node responsible for whole coordinate space

Partition recursively

Node knows whether some child contains data item

14 / 60

Page 15: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

Network Balance

Need to make some assumptions about network structure:

(0, 0)

(1, 1)

f(x, y) = x

15 / 60

Page 16: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

Network Balance

Introduce c-balance:

s := shortest side length of any CAN-area

` := longest side length of any CAN-area

c := `2

s2

16 / 60

Page 17: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

Objective Function Search in P2P Networks

Algorithms

17 / 60

Page 18: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

Algorithm FindMaxBasic Idea

Approach1 Start at root of hierarchy2 If area contains data item: search child areas; else: skip area

Technique1 Sequentially process areas2 Best areas are processed first3 Areas with higher hierarchy level are preferred

18 / 60

Page 19: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

Algorithm FindMaxIllustration

(0, 0)

(1, 1)

Initial scenario and Step 1

19 / 60

Page 20: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

Algorithm FindMaxIllustration

(0, 0)

(1, 1)

Step 2

19 / 60

Page 21: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

Algorithm FindMaxIllustration

(0, 0)

(1, 1)

Step 3

19 / 60

Page 22: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

Algorithm FindMaxIllustration

(0, 0)

(1, 1)

Step 4

19 / 60

Page 23: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

Algorithm FindMaxIllustration

(0, 0)

(1, 1)

Step 5

19 / 60

Page 24: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

Algorithm FindMaxIllustration

(0, 0)

(1, 1)

Step 6

19 / 60

Page 25: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

Algorithm FindMaxIllustration

(0, 0)

(1, 1)

Step 7

19 / 60

Page 26: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

Algorithm FindMaxIllustration

(0, 0)

(1, 1)

Step 8

19 / 60

Page 27: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

Algorithm FindMaxIllustration

(0, 0)

(1, 1)

Step 9

19 / 60

Page 28: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

Algorithm FindMaxIllustration

(0, 0)

(1, 1)

Step 10

19 / 60

Page 29: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

Algorithm FindMaxIllustration

(0, 0)

(1, 1)

Step 11

19 / 60

Page 30: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

Algorithm FindMaxIllustration

(0, 0)

(1, 1)

For comparison only: Optimality proven

19 / 60

Page 31: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

Algorithm FindMaxAnalysis – Results & Techniques

Scenario: n node c-balanced CAN, linear objective function

Message count: O(c3/2 · √n)

Response time: O(c3/2 · √n)

Technique:

Line `p through optimal result pAlgorithm contacts non-empty areas intersecting `pUpper bound number of intersecting areas using balancefactor c

20 / 60

Page 32: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

Algorithm FindMaxAnalysis – Results & Techniques

d`p

`2

`1

d = 4 ·√2c/n

q

21 / 60

Page 33: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

Algorithm ParaMaxBasic Idea

1 Lower bound function value of result

2 Multiple iterations; each time increase lower bound

3 Later iterations process areas deeper in the hierarchy

4 Process areas in parallel

22 / 60

Page 34: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

Algorithm ParaMaxIllustration

(0, 0)

(1, 1)

f(1, 1)

Max depth: Level 0

23 / 60

Page 35: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

Algorithm ParaMaxIllustration

(0, 0)

(1, 1)

f(1, 1)

Max depth: Level 1

23 / 60

Page 36: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

Algorithm ParaMaxIllustration

(0, 0)

(1, 1)

f(1, 1)

Max depth: Level 2

23 / 60

Page 37: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

Algorithm ParaMaxIllustration

(0, 0)

(1, 1)

f(1, 1)

Max depth: Level 3

23 / 60

Page 38: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

Algorithm ParaMaxIllustration

(0, 0)

(1, 1)

f(1, 1)

For comparison only: Optimality proven

23 / 60

Page 39: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

Algorithm ParaMaxAnalysis – Results & Techniques

Scenario: n node c-balanced CAN, linear objective function

Message count: O(√c · n)

Response time: O((log c)2 + (log n)2)

Techniques:

For each hierarchy level: stripes of contacted areas from thatlevelUpper bound number of areas in each stripe using balancefactor c

24 / 60

Page 40: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

Objective Function Search in P2P Networks

Experimental Results

25 / 60

Page 41: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

Experimental Results

Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs

Analyze the balance factor c

Analyze the influence of different scaling factors:

Request angleNumber nodes

26 / 60

Page 42: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

Balance Factor

Balance factor by number nodes

27 / 60

Page 43: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

Influence of Request Angle

Performance of FindMax by request angle

28 / 60

Page 44: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

Scaling of Response Time

Response time by number nodes

29 / 60

Page 45: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

Scaling of Message Count / Number Nodes

Message count of FindMax by number nodes

30 / 60

Page 46: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

Scaling of Message Count / Number Nodes

Message count of ParaMax by number nodes

31 / 60

Page 47: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

Objective Function Search in P2P Networks

Further Results & Conclusion

32 / 60

Page 48: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

Further Results

Algorithms can be applied to higher dimensions

Bad scaling of worst cases

Work for convex functions with minor modifications

Similar performance in experimentsNo theoretical results

33 / 60

Page 49: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

Conclusion

Good first approach to function search

Tree structure leads to balance problems

Balance factor (of network) does not matter

Theoretical worst cases on algorithm behavior happen inpractice

34 / 60

Page 50: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

IntroductionAlgorithmsExperimental ResultsFurther Results & Conclusion

Outlook

Observe: Possible results are from convex hull of data items

Approach: Construct meta structure managing convex hull

35 / 60

Page 51: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

Network Creation Processes

Network Creation under Dynamic Communication Interests

36 / 60

Page 52: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

Network Creation Games

Classical notion:

n agents

A strategy for every agent

Costs for every agent depending on strategy

Nash Equilibria

Recent developement:

1 One-shot games with direct equilibria

2 Investigate convergence of processes

3 Our contribution: investigate sequence of processes

37 / 60

Page 53: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

Network Creation Games

Classical notion:

n agents

A strategy for every agent

Costs for every agent depending on strategy

Nash Equilibria

Recent developement:

1 One-shot games with direct equilibria

2 Investigate convergence of processes

3 Our contribution: investigate sequence of processes

37 / 60

Page 54: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

Network Creation Processes

Definition

A network creation process on a node set V consists of:

1 Initial undirected graph G0

2 Set of undirected friendships F

F (v) denotes the friends of v ∈ V

3 Costs of v ∈ V in G : cG (v) =∑

u∈F (v)

dG (u, v) or cG (v) = maxu∈F (v)

dG (u, v)

4 Game operation: How nodes can transform the current graph,

e.g., a node can swap position with one of its neighbors

5 Strategy: Which operations a node is allowed to perform,

e.g., a node can perform a swap iff its costs decrease

6 Move policy: Node order to perform operations

2

1

4

3

2

1

4

3

1

2

4

3

2

1

4

31 can swap with 2, but not with 4

38 / 60

Page 55: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

Network Creation Processes

Definition

A network creation process on a node set V consists of:

1 Initial undirected graph G0

2 Set of undirected friendships F

F (v) denotes the friends of v ∈ V

3 Costs of v ∈ V in G : cG (v) =∑

u∈F (v)

dG (u, v) or cG (v) = maxu∈F (v)

dG (u, v)

4 Game operation: How nodes can transform the current graph,

e.g., a node can swap position with one of its neighbors

5 Strategy: Which operations a node is allowed to perform,

e.g., a node can perform a swap iff its costs decrease

6 Move policy: Node order to perform operations

2

1

4

3

2

1

4

3

1

2

4

3

2

1

4

31 can swap with 2, but not with 4

38 / 60

Page 56: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

Network Creation Processes

Definition

A network creation process on a node set V consists of:

1 Initial undirected graph G0

2 Set of undirected friendships F

F (v) denotes the friends of v ∈ V

3 Costs of v ∈ V in G : cG (v) =∑

u∈F (v)

dG (u, v) or cG (v) = maxu∈F (v)

dG (u, v)

4 Game operation: How nodes can transform the current graph,

e.g., a node can swap position with one of its neighbors

5 Strategy: Which operations a node is allowed to perform,

e.g., a node can perform a swap iff its costs decrease

6 Move policy: Node order to perform operations

2

1

4

3

2

1

4

3

1

2

4

3

2

1

4

31 can swap with 2, but not with 4

38 / 60

Page 57: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

Network Creation Processes

Definition

A network creation process on a node set V consists of:

1 Initial undirected graph G0

2 Set of undirected friendships F

F (v) denotes the friends of v ∈ V

3 Costs of v ∈ V in G : cG (v) =∑

u∈F (v)

dG (u, v) or cG (v) = maxu∈F (v)

dG (u, v)

4 Game operation: How nodes can transform the current graph,

e.g., a node can swap position with one of its neighbors

5 Strategy: Which operations a node is allowed to perform,

e.g., a node can perform a swap iff its costs decrease

6 Move policy: Node order to perform operations

2

1

4

3

1

2

4

3

2

1

4

31 can swap with 2, but not with 4

38 / 60

Page 58: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

Network Creation Processes

Definition

A network creation process on a node set V consists of:

1 Initial undirected graph G0

2 Set of undirected friendships F

F (v) denotes the friends of v ∈ V

3 Costs of v ∈ V in G : cG (v) =∑

u∈F (v)

dG (u, v) or cG (v) = maxu∈F (v)

dG (u, v)

4 Game operation: How nodes can transform the current graph,

e.g., a node can swap position with one of its neighbors

5 Strategy: Which operations a node is allowed to perform,

e.g., a node can perform a swap iff its costs decrease

6 Move policy: Node order to perform operations2

1

4

3

1

2

4

3

2

1

4

31 can swap with 2, but not with 438 / 60

Page 59: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

Network Creation Processes

Definition

A network creation process on a node set V consists of:

1 Initial undirected graph G0

2 Set of undirected friendships F

F (v) denotes the friends of v ∈ V

3 Costs of v ∈ V in G : cG (v) =∑

u∈F (v)

dG (u, v) or cG (v) = maxu∈F (v)

dG (u, v)

4 Game operation: How nodes can transform the current graph,

e.g., a node can swap position with one of its neighbors

5 Strategy: Which operations a node is allowed to perform,

e.g., a node can perform a swap iff its costs decrease

6 Move policy: Node order to perform operations

2

1

4

3

1

2

4

3

2

1

4

31 can swap with 2, but not with 4

38 / 60

Page 60: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

Reachable Network Creation Processes

Idea: Communication interests can vary⇒ Observe influence of simple dynamics

Definition

A network creation process is reachable if it can be built up by

starting with the empty friendship set, and

adding exactly one new friendship every time a Nash equilibrium isreached.

reachable not reachable

39 / 60

Page 61: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

Reachable Network Creation Processes

Idea: Communication interests can vary⇒ Observe influence of simple dynamics

Definition

A network creation process is reachable if it can be built up by

starting with the empty friendship set, and

adding exactly one new friendship every time a Nash equilibrium isreached.

reachable not reachable

39 / 60

Page 62: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

Equilibria

Definition

Consider a network creation process.

A graph is a Nash equilibrium (NE) if no node can perform a gameoperation according to the strategy.

A graph is an operation equilibrium (OE) if

it is a Nash equilibrium, andit can be reached from the initial graph according to the gameoperation.

A graph is a process equilibrium (PE) if

it is an operation equilibrium, andit can be reached from the initial graph according to thestrategy and the move policy.

G0: NE, no OE: OE, no PE: PE:

40 / 60

Page 63: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

Network Creation Processes

Node Swap Processes

41 / 60

Page 64: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

Convergence: SNSP

Definition

A network creation process is a Selfish Node Swap Process (SNSP) if

game operation: a node can swap with one of its neighbors

strategy: a node can perform exactly those swaps that decrease its costs

Theorem

For any connected graph G = (V ,E) with diameter ≥ 2, there is a reachableSNSP with G as initial graph and the maximum cost function for which no OEexists. This also holds for the average cost function.

42 / 60

Page 65: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

Convergence: SNSP

Definition

A network creation process is a Selfish Node Swap Process (SNSP) if

game operation: a node can swap with one of its neighbors

strategy: a node can perform exactly those swaps that decrease its costs

Theorem

For any connected graph G = (V ,E) with diameter ≥ 2, there is a reachableSNSP with G as initial graph and the maximum cost function for which no OEexists. This also holds for the average cost function.

42 / 60

Page 66: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

Convergence: WPNSP

Definition

A network creation process is a Weak Pairwise Node Swap Process (WPNSP)if

game operation: a node can swap with one of its neighbors

strategy: a node can perform exactly those swaps that decrease its owncosts and do not increase the costs of the swap partner

Definition

A move policy is improving if it always chooses one of the nodes that canperform a game operation according to the strategy.

2

1

4

31 or 3 be can chosen, not 2 or 4

43 / 60

Page 67: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

Convergence: WPNSP

Definition

A network creation process is a Weak Pairwise Node Swap Process (WPNSP)if

game operation: a node can swap with one of its neighbors

strategy: a node can perform exactly those swaps that decrease its owncosts and do not increase the costs of the swap partner

Definition

A move policy is improving if it always chooses one of the nodes that canperform a game operation according to the strategy.

2

1

4

31 or 3 be can chosen, not 2 or 4

43 / 60

Page 68: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

Convergence: WPNSP – AVE

Theorem

Consider a WPNSP with initial graph G , set of friendships F , the average costfunction and an improving move policy. Then it reaches a PE after at most|F |(diam(G)− 1) steps.

Lemma

For every d ∈ N, d ≥ 3, there is a reachable WPNSP with initial graph G withdiameter Θ(d), Θ(d) friendships F , the average cost function and animproving move policy that reaches a PE in Θ(|F |(diam(G)− 1) steps.

44 / 60

Page 69: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

Convergence: WPNSP – AVE

Theorem

Consider a WPNSP with initial graph G , set of friendships F , the average costfunction and an improving move policy. Then it reaches a PE after at most|F |(diam(G)− 1) steps.

Lemma

For every d ∈ N, d ≥ 3, there is a reachable WPNSP with initial graph G withdiameter Θ(d), Θ(d) friendships F , the average cost function and animproving move policy that reaches a PE in Θ(|F |(diam(G)− 1) steps.

44 / 60

Page 70: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

Convergence: WPNSP – AVE

Lemma

For every d ∈ N, d ≥ 3, there is a reachable WPNSP with initial graph G withdiameter Θ(d), Θ(d) friendships F , the average cost function and animproving move policy that reaches a PE in Θ(|F |(diam(G)− 1) steps.

d d

45 / 60

Page 71: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

Convergence: WPNSP – MAX

Lemma

There is a reachable WPNSP with the maximum cost function that has no PEeven if its move policy is arbitrarily changed.

1

2

3

4

5

6

9

10

11

12

13

14

18

17

16

15

23

22

21

20

7

8

19

2425

26

27

28

2930

31

32

33

3435

36 37

38 39

46 / 60

Page 72: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

Convergence: SPNSP

Definition

A network creation process is a Strong Pairwise Node Swap Process (SPNSP)if

game operation: a node can swap with one of its neighbors

strategy: a node can perform exactly those swaps that decrease its owncosts as well as the costs of the swap partner

Theorem

Every SPNSP with the maximum cost function and an improving move policyreaches always a PE.

47 / 60

Page 73: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

Convergence: SPNSP

Definition

A network creation process is a Strong Pairwise Node Swap Process (SPNSP)if

game operation: a node can swap with one of its neighbors

strategy: a node can perform exactly those swaps that decrease its owncosts as well as the costs of the swap partner

Theorem

Every SPNSP with the maximum cost function and an improving move policyreaches always a PE.

47 / 60

Page 74: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

Overview

SNSP WPNSP SPNSPAVE MAX AVE MAX AVE MAX

Existence of OE no yes open yesExistence of PE no yes no yes

Always convergence no yes no yes

Convergence speed ∞ Θ(|F | diam(G)) ∞ Θ(|F | diam(G)) Ω(|VF |2 diam(G))

O

((|VF | + diam(G)− 1

|VF |

))VF := v ∈ V | F (v) 6= ∅

48 / 60

Page 75: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

Quality of OE

Definition

Consider a network creation process on a node set V .

The social costs of a graph G are sc(G) :=∑v∈V

cG (v).

A graph G that can be reached from the initial graph according to thegame operation is a social optimum if it has lowest social costs among allthose graphs.

The operational Price of Anarchy (oPoA) is

maxsc(G) | G OE sc(H)

,

and the operational Price of Stability (oPoS) is

minsc(G) | G OE sc(H)

,

where H is a social optimum.

49 / 60

Page 76: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

Quality of OE

Definition

Consider a network creation process on a node set V .

The social costs of a graph G are sc(G) :=∑v∈V

cG (v).

A graph G that can be reached from the initial graph according to thegame operation is a social optimum if it has lowest social costs among allthose graphs.

The operational Price of Anarchy (oPoA) is

maxsc(G) | G OE sc(H)

,

and the operational Price of Stability (oPoS) is

minsc(G) | G OE sc(H)

,

where H is a social optimum.

49 / 60

Page 77: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

Quality of OE

Definition

Consider a network creation process on a node set V .

The social costs of a graph G are sc(G) :=∑v∈V

cG (v).

A graph G that can be reached from the initial graph according to thegame operation is a social optimum if it has lowest social costs among allthose graphs.

The operational Price of Anarchy (oPoA) is

maxsc(G) | G OE sc(H)

,

and the operational Price of Stability (oPoS) is

minsc(G) | G OE sc(H)

,

where H is a social optimum.

49 / 60

Page 78: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

Overview

SNSP WPNSP SPNSPAVE MAX AVE MAX AVE MAX

Existence of OE no yes open yesExistence of PE no yes no yes

Always convergence no yes no yes

Convergence speed ∞ Θ(|F | diam(G)) ∞ Θ(|F | diam(G)) Ω(|VF |2 diam(G))

O

((|VF | + diam(G)− 1

|VF |

))oPoA Θ(diam(G)) Θ(diam(G)) Θ(diam(G))oPoS Θ(diam(G)) 1 Θ(diam(G)) 1 O(diam(G))

50 / 60

Page 79: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

Quality of OE: oPoA for WPNSPs

Theorem

1 Consider a WPNSP with initial graph G , a non-empty friendship set andthe maximum or average cost function that has some OE. Then, oPoA≤ diam(G).

2 For every d ∈ N, d ≥ 4, there is a reachable WPNSP with the averagecost function and an initial graph with diameter Θ(d) such that oPoA= Θ(diam(G)). This also holds for the maximum cost function.

d d

d

51 / 60

Page 80: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

Quality of OE: oPoA for WPNSPs

Theorem

1 Consider a WPNSP with initial graph G , a non-empty friendship set andthe maximum or average cost function that has some OE. Then, oPoA≤ diam(G).

2 For every d ∈ N, d ≥ 4, there is a reachable WPNSP with the averagecost function and an initial graph with diameter Θ(d) such that oPoA= Θ(diam(G)). This also holds for the maximum cost function.

d d

d

51 / 60

Page 81: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

Layered Graphs

Layers are cliques and the edges between neighboring layers build a perfectmatching or a complete bipartite graph.

v0,0

v0,1

v0,2

v1,0

v1,1

v1,2

v2,0

v2,1

v2,2

v0,0

v0,1

v0,2

v1,0

v1,1

v1,2

v2,0

v2,1

v2,2

v3,0

v3,1

v3,2

52 / 60

Page 82: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

Overview

SNSP WPNSP SPNSPAVE MAX AVE MAX AVE MAX

Existence of OE no yes open yesExistence of PE no yes no yes

Always convergence no yes no yes

Convergence speed ∞ Θ(|F | diam(G)) ∞ Θ(|F | diam(G)) Ω(|VF |2 diam(G))

O

((|VF | + diam(G)− 1

|VF |

))oPoA

General graphs Θ(diam(G)) Θ(diam(G)) Θ(diam(G))

Layered graphs Θ(diam(G)) Θ(√

diam(G)) ——— ———oPoS Θ(diam(G)) 1 Θ(diam(G)) 1 O(diam(G))

53 / 60

Page 83: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

NP-completeness

Definition

An OE G is optimal if sc(G) = minsc(H) | H OE.

Theorem

The problem of finding an optimal OE for a SNSP, WPNSP or SPNSP withthe maximum or the average cost function is NP-complete. This also holds forthe problem of finding a social optimum.

Reduction uses clique problem.

There is a solutions where all friendships have distance 1 iff friendshipgraph is isomorphic to a subgraph of the initial graph.⇒ Node swap processes are game theoretical version of subgraphproblems.

54 / 60

Page 84: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

NP-completeness

Definition

An OE G is optimal if sc(G) = minsc(H) | H OE.

Theorem

The problem of finding an optimal OE for a SNSP, WPNSP or SPNSP withthe maximum or the average cost function is NP-complete. This also holds forthe problem of finding a social optimum.

Reduction uses clique problem.

There is a solutions where all friendships have distance 1 iff friendshipgraph is isomorphic to a subgraph of the initial graph.⇒ Node swap processes are game theoretical version of subgraphproblems.

54 / 60

Page 85: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

Network Creation Processes

Shortcut Process

55 / 60

Page 86: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

Definition

Definition

Consider a network creation process. A shortcut of node v is an undirected edgecontaining v that is not contained in the initial graph and that is owned by v .

Definition

A network creation process is a Shortcut Process (SCP) if

game operation: a node can choose a (new) shortcut

strategy: a node can choose exactly those shortcuts that decrease itscosts

56 / 60

Page 87: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

Definition

Definition

Consider a network creation process. A shortcut of node v is an undirected edgecontaining v that is not contained in the initial graph and that is owned by v .

Definition

A network creation process is a Shortcut Process (SCP) if

game operation: a node can choose a (new) shortcut

strategy: a node can choose exactly those shortcuts that decrease itscosts

56 / 60

Page 88: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

Theoretical Results

Lemma

Consider an SCP, an initial graph with diameter 2 which is an OE and themaximum or average cost function. After starting a new process with animproving move policy by adding a new friendship, this process reaches a PEafter at most 1 step.

Theorem

The problem of finding an optimal OE for an SCP is NP-complete for both theaverage and the maximum cost function.

Lemma

There is an algorithm that approximates social optima with factor < 2 for SCPswith the average cost function. This also holds for the maximum cost function.

57 / 60

Page 89: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

Theoretical Results

Lemma

Consider an SCP, an initial graph with diameter 2 which is an OE and themaximum or average cost function. After starting a new process with animproving move policy by adding a new friendship, this process reaches a PEafter at most 1 step.

Theorem

The problem of finding an optimal OE for an SCP is NP-complete for both theaverage and the maximum cost function.

Lemma

There is an algorithm that approximates social optima with factor < 2 for SCPswith the average cost function. This also holds for the maximum cost function.

57 / 60

Page 90: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

Theoretical Results

Lemma

Consider an SCP, an initial graph with diameter 2 which is an OE and themaximum or average cost function. After starting a new process with animproving move policy by adding a new friendship, this process reaches a PEafter at most 1 step.

Theorem

The problem of finding an optimal OE for an SCP is NP-complete for both theaverage and the maximum cost function.

Lemma

There is an algorithm that approximates social optima with factor < 2 for SCPswith the average cost function. This also holds for the maximum cost function.

57 / 60

Page 91: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

Simulations

Instance: Sequence of SCPs with

circle as initial graph,

a new friendship every time a PE is reached,

the empty friendship graph in the first SCP until the complete friendshipgraph in the last SCP,

the strategy restricted such that every node has to perform a best move,

cyclic move policy

Outcome: In every simulated sequence

all processes reached a PE,

a huge star was created,

the social costs of every PE was at most 4 times the social costs of asocial optimum.

58 / 60

Page 92: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

Simulations

Instance: Sequence of SCPs with

circle as initial graph,

a new friendship every time a PE is reached,

the empty friendship graph in the first SCP until the complete friendshipgraph in the last SCP,

the strategy restricted such that every node has to perform a best move,

cyclic move policy

Outcome: In every simulated sequence

all processes reached a PE,

a huge star was created,

the social costs of every PE was at most 4 times the social costs of asocial optimum.

58 / 60

Page 93: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

Network Creation Processes

Open Problems

59 / 60

Page 94: DynaSearch Final Presentation · Further Results & Conclusion Experimental Results Setting: 1000 Nodes, 100 Data Items, 1000 Requests, 25 runs Analyze the balance factor c Analyze

IntroductionObjective Function Search in P2P Networks

Network Creation Processes

Network Creation under Dynamic Communication InterestsNode Swap ProcessesShortcut ProcessOpen Problems

Open Problems

Fill out Node Swap Table using only reachable examples.

Proof analog results for SCPs.

Find characterizations of initial graph or friendship set that imply betterconvergence behavior or better quality of equilibria (cf., layered graphs).

Consider more complex dynamics of friendships (e.g., deletion).

Examine dynamic friendships in other network creation games.

60 / 60