the commit protocol for truthful and cost-efficient routing in ad hoc networks with selfish nodes

34
The COMMIT Protocol for Truthful and Cost-Efficient Routing in Ad Hoc Networks with Selfish Nodes Eunyoung Chang 1 CS 6204 Mobile Computing

Upload: aira

Post on 20-Jan-2016

51 views

Category:

Documents


0 download

DESCRIPTION

Eunyoung Chang. CS 6204 Mobile Computing. The COMMIT Protocol for Truthful and Cost-Efficient Routing in Ad Hoc Networks with Selfish Nodes. Outline. Problem Proposed Approaches COMMIT Approaches THE SYSTEM MODEL The COMMIT Protocol Protocol Analysis The Cost of Cooperation. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: The COMMIT Protocol for Truthful and Cost-Efficient Routing in Ad Hoc Networks with Selfish Nodes

1

The COMMIT Protocol for Truthful and Cost-Efficient Routing in Ad Hoc Networks with Selfish Nodes

Eunyoung Chang

CS 6204 Mobile Computing

Page 2: The COMMIT Protocol for Truthful and Cost-Efficient Routing in Ad Hoc Networks with Selfish Nodes

2

Outline

Problem Proposed Approaches COMMIT Approaches THE SYSTEM MODEL The COMMIT Protocol Protocol Analysis The Cost of Cooperation

Page 3: The COMMIT Protocol for Truthful and Cost-Efficient Routing in Ad Hoc Networks with Selfish Nodes

3

OBJECTIVE

Problem- In ad hoc network, establish a route for sending

packets between a Sender and Destination- rational selfish Nodes , maximize their own utility.

Page 4: The COMMIT Protocol for Truthful and Cost-Efficient Routing in Ad Hoc Networks with Selfish Nodes

4

Proposed Approaches

Proposed Approaches 1. Ad Hoc-VCG : based on momentary transfer - energy-efficient, truthful

2. CORSAC : route discovery and packet forward cooperation-optimal

- utility maximizing - Problem The source cannot act strategically The number of messages must be exchanged

Page 5: The COMMIT Protocol for Truthful and Cost-Efficient Routing in Ad Hoc Networks with Selfish Nodes

5

COMMIT Approach

COMMIT Routing Protocol Goal 1. individual rationality 2. Truthfulness 3. The most energy-efficient(least Cost) path. 4. The message complexity is low.

COMMIT Protocol - COMMIT : Sender-centric, incentive-compatible

routing protocols

Page 6: The COMMIT Protocol for Truthful and Cost-Efficient Routing in Ad Hoc Networks with Selfish Nodes

6

COMMIT Protocol

Protocol

Truth. Routers

Truth. Forward

Strategic sender

Message Complex

Ad Hoc-VCG

Yes Partially No O(n3)

CORSAC Yes Yes No O(n3)

COMMIT Yes Partially

Yes O(|M|2d)

<Main Features of Routing Protocols>

• The major difference - The costs of routing are relative with nodes, not links.

- periodic topology control protocol- Game theory simple- Message complexity low

Page 7: The COMMIT Protocol for Truthful and Cost-Efficient Routing in Ad Hoc Networks with Selfish Nodes

7

THE SYSTEM MODEL

• Network Model - n nodes

- Links in the communication graph G.- Symmetric wireless link- 2-connected - topology control protocol

- K-Neigh, CBTC, CTR • Modeling routing as a Game : D, S, Relay nodes,

- D : “neural referee” - S : private information (type) , us = m - cs(D)

(u: utility of S, m: maximum per-packet price, cs(D):actual per-packet price ) - R : Cv = l(v) , us = pay(v) – l(v)

(l(v) : power level, Cv : cost to relay a packet, pay(v) : per-packet payment)

Page 8: The COMMIT Protocol for Truthful and Cost-Efficient Routing in Ad Hoc Networks with Selfish Nodes

8

THE SYSTEM MODEL

• Strategy Game – truth telling 1. A node can declare any type. 2. Drop control messages 3. Modify messages 4. Create bogus messages

• The Goal- Route message with the most efficient paths

• The features- truthful, incentive compatible, strategy proof

Page 9: The COMMIT Protocol for Truthful and Cost-Efficient Routing in Ad Hoc Networks with Selfish Nodes

9

The COMMIT Protocol

1. The mechanism 1. Winner determination by D 2. Payment computation by D 3. Billing.

2. The pricing scheme

3. Protocol Specification

Page 10: The COMMIT Protocol for Truthful and Cost-Efficient Routing in Ad Hoc Networks with Selfish Nodes

10

The COMMIT Protocol

2. The Pricing Scheme : Determine cs(D) ?

c(P) : The energy cost of a path P between S/D c(P) = ∑vЄP, v Є {S,D} l(v) MP : The wining path = {v1, v2, v3}

<replacement path> P-v : the path that does not include v c(P-v) : the cost of the minimum energy (S,D) path P-v

` pay(v) : Payment for a node v in the wining path MPpay(v) = c(P-v) – c(MP) +l(v)pay(v) = 0 ( for the nodes, that are not on the wining

path)

20

2020

(S,D,20)

S D

v1

v2

v3

v5v4

51

m = 65

l

Page 11: The COMMIT Protocol for Truthful and Cost-Efficient Routing in Ad Hoc Networks with Selfish Nodes

11

The COMMIT Protocol2. The Pricing Scheme : Determine cs(D)

(Q. Would the communication take place in the nodes?)

m = 65

(A. If truthfully, The communication would NOT take place)

51

20

2020

(S,D,20)S D

v1v3

v4 v5

v2

Page 12: The COMMIT Protocol for Truthful and Cost-Efficient Routing in Ad Hoc Networks with Selfish Nodes

12

The COMMIT Protocol2. The Pricing Scheme : Determine cs(D)

(Q. Would the communication take place in the nodes?)

v2

MP (The wining path) = {v1, v2, v3} = 26c(P-v1) (Replacement path ) = {v4 v5 } = 40 = c(P-v2) = c(P-v3) pay(v1) = c(P-v1) – c (MP) +l(v1) = 40 – 26 + 5 = 19, pay(v2)= 34, pay(v3) = 15 pay(v1) + pay(v2) + pay(v3) = 68 > 65

51

20

2020

(S,D,20)S D

v1v3

v4 v5 m = 65

Utility for all the players = 0

(A. The communication would not take place)

Page 13: The COMMIT Protocol for Truthful and Cost-Efficient Routing in Ad Hoc Networks with Selfish Nodes

13

The COMMIT Protocol2. The Pricing Scheme : Determine cs(D)

(Q. Would the communication take place in the nodes?)

v2

But assume that node V2 falsely declares power level 30 ? pay(v1) + pay(v2) + pay(v3) = 48 < 65

Utility of v2 : 34 – 20 = 14.

51

30

2020

(S,D,20)S D

v1v3

v4 v5 m = 65

(The communication would take place)(V2 would increase its utility)

Therefore, cs(D) = ∑vЄP, v Є {S,D} pay(v) would result in a nontruthful mechanism

l

Page 14: The COMMIT Protocol for Truthful and Cost-Efficient Routing in Ad Hoc Networks with Selfish Nodes

14

The COMMIT Protocol2. The Pricing Scheme : Determine cs(D)

(Q. Would the communication take place in the nodes?)

v2

But assume that node V2 falsely declares power level 30 ? pay(v1) + pay(v2) + pay(v3) = 48 < 65

51

20

2020

(S,D,20)S D

v1v3

v4 v5 m = 65

In order to circumvent this problem : cs(D) = c(P-mp) = 40c(P-mp) : global replacement pathcs(D) < m : feasible

Page 15: The COMMIT Protocol for Truthful and Cost-Efficient Routing in Ad Hoc Networks with Selfish Nodes

15

The COMMIT Protocol

2. The Pricing Scheme : Determine cs(D) - feasible : protecting the condition individual rationality.

c(P-mp) ≠ ∑ pay(v) : budget is

imbalanced

<Case 2 > c(P-mp) > ∑ pay(v) : getting additional money

by D

c(P-mp) < ∑ pay(v) : Contributing to the payment by D

vЄP, v Є {S,D} l

vЄP, v Є {S,D} l

vЄP, v Є {S,D} l

Page 16: The COMMIT Protocol for Truthful and Cost-Efficient Routing in Ad Hoc Networks with Selfish Nodes

16

The COMMIT Protocol

3. Protocol Specification1. Route discovery

S : RD (S, D, m) using l(S)R : RD (S, D, m, v1,l(v1),…, vk-1,l(vk-1)) , Vk build up

local view D : RD (S, v1, v2,…, vk-1, vk, D) from S to D , P-vi , P-mp

MP feasible(cs(D) = c(P-mp) < m)

2. Data transition: (only if MP is feasible) start : along the winning path MP from S to D

end : last packet of S, changes topology control protocol

Page 17: The COMMIT Protocol for Truthful and Cost-Efficient Routing in Ad Hoc Networks with Selfish Nodes

17

The COMMIT Protocol

- Truthful route discovery imply truthful data forwarding?

<Optimization > 1. forward only new edges : reduces the message complexity phase. 2. Vk compute whether a newly received path is

feasible -

Page 18: The COMMIT Protocol for Truthful and Cost-Efficient Routing in Ad Hoc Networks with Selfish Nodes

18

Protocol Analysis

1. Energy Efficiency : If truthfully, COMMIT computes MP

2. Message Complexity

S D

M

n1

n1

d

d

d d Each node forwards to |M| n1 forwards to |M| * degree d n1 has complete |M|dEach node |M| repeats ‘same’

Thus, |M|(|M|d)

3. Truthfulness and Individual Rationality : S, R, D

(The subset of all relay nodes)

(the maximum node

degree)

d

Page 19: The COMMIT Protocol for Truthful and Cost-Efficient Routing in Ad Hoc Networks with Selfish Nodes

19

Protocol Analysis – S

3. Truthfulness and Individual Rationality - prove : for the sender Sender : S will never pay a price that exceeds m.

1. mf < m :

a. C(P-mp) < mf < m : the utility remains the same. b. mf < C(P-mp) < m : the communication would not

takes place. c. C(P-mp) < mf < m : declaring utility unchanged at

zero .

2. mf > m : along the same line of case 1 above.

Page 20: The COMMIT Protocol for Truthful and Cost-Efficient Routing in Ad Hoc Networks with Selfish Nodes

20

Protocol Analysis – R

3. Truthfulness and Individual Rationality : S, R, D - prove : the Relay nodes A relay node : will never get a negative utility when acting

truthfully.

- Analyze the different cheating behaviors of the rely node

: An relay node v could 1 . lie about its type (power level l(v)) 2. Propagate a path with false information

3. internationally fail to propagate a path with new information

4. combine the above possibilities

Page 21: The COMMIT Protocol for Truthful and Cost-Efficient Routing in Ad Hoc Networks with Selfish Nodes

21

Protocol Analysis – R

3. Truthfulness and Individual Rationality : S, R, D 1. lie about its type (power level l(v)) : Utility

unchanged - Cheating option 1 : l(v) , lf(v) a . l(v) < lf(v) : b . l(v) > lf(v) :

.

30

2020

(S,D,20)

S D

v1

v2

v3

v5v4

51

m = 65

if vЄMP

No effect on the decision rule

10

2020

(S,D,20)

S D

v1

v2

v3

v5v4

51

m = 65

if vЄMP

v’s utility would not be changed

Page 22: The COMMIT Protocol for Truthful and Cost-Efficient Routing in Ad Hoc Networks with Selfish Nodes

22

Protocol Analysis – R

3. Truthfulness and Individual Rationality : S, R, D 2. Propagate a path with false information : case - Creating a false neighbor

take : RD(S,D, m, v1,, l(v1) ,…, vi-1, l(vi-1) ) forward: RD(S,D, m, v1,, l(v1) ,…, vi-h, l(vi-h), v, l(v) )

1. v is in the MP, feasible 2. v is in the MP, Not feasible

3. v is not in the MP, but it is in the (false) minimum-energy MP

- Creating a false overhop path forward: RD(S,D, m, v1,, l(v1) ,…, vi-h, l(vi-h), v, l(v) ) 1. v is in the MP, feasible

2. v is in the MP, Not feasible 3. v is not in the MP.

Page 23: The COMMIT Protocol for Truthful and Cost-Efficient Routing in Ad Hoc Networks with Selfish Nodes

23

Protocol Analysis – R

3. Truthfulness and Individual Rationality : S, R, D 2. Propagation with false info – 1) creating a false

neighbor Case: 1. v is in the MP, which is feasible : e’ = (vi-h , v )

uv = c(P-v) – c(MP) utility cost ↑, the cost of false MPf ↓ by e’e’ ∈ MPf

But e’ does not exist in G Payments during data session : zero

S D

v1

v

v3

v5v4

e’

reduce utility

Page 24: The COMMIT Protocol for Truthful and Cost-Efficient Routing in Ad Hoc Networks with Selfish Nodes

24

Protocol Analysis – R

3. Truthfulness and Individual Rationality : S, R, D 2. Propagation with false info – 1) creating a false

neighbor Case: 2. v is in the MP, which is NOT feasible : e’ = (vi-h , v )

utility zero

2

S D

v1

v

v3

v5v4

e’

utility cost ↑, the cost of P-mp ↓ by e’Not belong to P-mp

Page 25: The COMMIT Protocol for Truthful and Cost-Efficient Routing in Ad Hoc Networks with Selfish Nodes

25

Protocol Analysis – R

3. Truthfulness and Individual Rationality : S, R, D 2. Propagation with false info – 1) creating a false

neighbor Case: 3. v is not in the MP, but it is in the (false) minimum-energy MP : e’ = (vi-h , v )

S D

v1

v2

v3

vv4

utility zero

e’ ∈ MPf

e’ does not exist in G Payments during data session : zeroe’

Page 26: The COMMIT Protocol for Truthful and Cost-Efficient Routing in Ad Hoc Networks with Selfish Nodes

26

Protocol Analysis – R

3. Truthfulness and Individual Rationality : S, R, D 2. Propagation with false info – 2) Creating a false

overhop Path Case: 1. v is in the MP, which is feasible : e’ = (vi-h , vi+1 )

S D

v1

v2

v3

v5v4

e’

reduce utility

uv = c(P-v) – c(MP) The c(P-v) ↓ while cost of MP unchanged by e’

Page 27: The COMMIT Protocol for Truthful and Cost-Efficient Routing in Ad Hoc Networks with Selfish Nodes

27

Protocol Analysis – R

3. Truthfulness and Individual Rationality : S, R, D 2. Propagation with false info – 2) Creating a false

overhop Path Case: 2. v is in the MP, which is NOT feasible : e’ = (vi-h , vi+1 )

Data session would be aborted

S D

v1

v2

v3

v5v4

utility cost ↑, the cost of false MPf ↓ by e’However, test Msg along global replacement pathe’ does not exist in G

e’

Page 28: The COMMIT Protocol for Truthful and Cost-Efficient Routing in Ad Hoc Networks with Selfish Nodes

28

Protocol Analysis – R

3. Truthfulness and Individual Rationality : S, R, D 2. Propagation with false info – 2) Creating a false

overhop Path Case: 3. v is not in the MP : e’ = (vi-h , vi+1 )

S D

v1

v2

v3

v5v4

e’

utility zero

Not on the end point of e’ Leave v out of MP by e’

Page 29: The COMMIT Protocol for Truthful and Cost-Efficient Routing in Ad Hoc Networks with Selfish Nodes

29

Protocol Analysis – R

3. Truthfulness and Individual Rationality : S, R, D 3. Intentionally fail to propagate with new info

Case: 1. v is in the MP, which is feasible

S D

v1

v2

v3

v5v4

no incentive in not reporting edge info

uv = c(P-v) – c(MP) utility cost ↓ , the cost of MP↑ by no reporting

Page 30: The COMMIT Protocol for Truthful and Cost-Efficient Routing in Ad Hoc Networks with Selfish Nodes

30

Protocol Analysis – R

3. Truthfulness and Individual Rationality : S, R, D 3. Intentionally fail to propagate with new info

Case: 2. v is in the MP, which is NOT feasible

no incentive in not reporting

S D

v1

v2

v3

v5v4

No way utility cost ↑

Page 31: The COMMIT Protocol for Truthful and Cost-Efficient Routing in Ad Hoc Networks with Selfish Nodes

31

Protocol Analysis – R

3. Truthfulness and Individual Rationality : S, R, D 3. Intentionally fail to propagate with new info

Case: 3. v is not in the MP and try to join the MP by not reporting one of the edges e

S D

v1

v2

v3

v5v4

utility zero

c(MP) > c(MP v)c(MP v) ↑ by no reporting no way for v to turn MP v into the MP

Page 32: The COMMIT Protocol for Truthful and Cost-Efficient Routing in Ad Hoc Networks with Selfish Nodes

32

Protocol Analysis – R

3. Truthfulness and Individual Rationality 4. combine the above possibilities

S D

v1

v2

v3

v5v4

utility zero

No way utility cost ↑

Page 33: The COMMIT Protocol for Truthful and Cost-Efficient Routing in Ad Hoc Networks with Selfish Nodes

33

Protocol Analysis – D

3. Truthfulness and Individual Rationality : S, R, D 3. D acts truthfully

- Interest : receive data, new connection, customers happy

- No interest : Sender pay less, R’s overpayment

Thus If COMMIT executes in ad hoc, truthfulness is strategy

Page 34: The COMMIT Protocol for Truthful and Cost-Efficient Routing in Ad Hoc Networks with Selfish Nodes

34

The Cost of Cooperation

The cost of cooperation : The Difference between premium and MP

cost : The measure of inefficiency (C(MP) < m)

but c(P-mp) > m ; communication aborted

- COMMIT Approach : changing the topology of the new network.