is network science a science?...mtgox has detected unusual activity on its bitcoin wallets and...

61
ETH Zurich – Distributed Computing – www.disco.ethz.ch Roger Wattenhofer Is Network Science a Science?

Upload: others

Post on 22-Jun-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

ETH Zurich – Distributed Computing – www.disco.ethz.ch

Roger Wattenhofer

Is Network Science a Science?

Page 2: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

Confession

Page 3: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

I don’t have a

account.

Page 4: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

… but I always loved networks*

*Computer NetworksWireless Networks

Social NetworksMobile Networks

Biological NetworksEconomic Networks

Page 5: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction
Page 6: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

Past SuccessesSome Success Stories of

Network Science

Milgram, Watts-Strogatz,

& Kleinberg

Markov Chains, Stationary Distribution,

& PageRank

Spectral Graph Theory

Page 7: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction
Page 8: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

But…

Page 9: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

Real Science has (Open) Problems

Page 10: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

Science: Still Interesting in 100 Years

Engineering: Interesting Right Now!

Page 11: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

Complexity Theory

Can a Computer Solve Problem P in Time t?

Page 12: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

Complexity Theory

Can a Computer Solve Problem P in Time t?

Network

Distributed

Page 13: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

Complexity Theory

Can a Computer Solve Problem P in Time t?

Network

NetworkDistributed

Page 14: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

Distributed (Message-Passing) Algorithms

• Nodes are agents with unique ID’s that can communicate with neighbors by sending messages. In each synchronous round, every node can send a (different) message to each neighbor.

69

17

11

10 7

Page 15: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

Distributed (Message-Passing) Algorithms

• Nodes are agents with unique ID’s that can communicate with neighbors by sending messages. In each synchronous round, every node can send a (different) message to each neighbor.

• Distributed (Time) Complexity: How many rounds does problem take?

69

17

11

10 7

Page 16: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

An Example

Page 17: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

How Many Nodes in Network?

Page 18: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

How Many Nodes in Network?

Page 19: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

How Many Nodes in Network?

Page 20: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

How Many Nodes in Network?

Page 21: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

How Many Nodes in Network?

Page 22: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

How Many Nodes in Network?

1

1

1

1

1

1

Page 23: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

How Many Nodes in Network?

2

1

1

2

1

4

1

1

1

Page 24: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

How Many Nodes in Network?

With a simple flooding/echo process, a network can find the numberof nodes in time 𝑂(𝐷), where 𝐷 is the diameter (size) of the network.

2

1

1

2

1

4

1

1

1

10

Page 25: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

Diameter of Network?

• Distance between two nodes = Number of hops of shortest path

Page 26: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

Diameter of Network?

• Distance between two nodes = Number of hops of shortest path

Page 27: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

Diameter of Network?

• Distance between two nodes = Number of hops of shortest path

• Diameter of network = Maximum distance, between any two nodes

Page 28: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

Diameter of Network?

Page 29: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

Diameter of Network?

Page 30: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

Diameter of Network?

Page 31: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

Diameter of Network?

Page 32: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

Diameter of Network?

Page 33: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

Diameter of Network?

Page 34: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

Diameter of Network?

Page 35: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

(even if diameter is just a small constant)

Pair of rows connected neither left nor right? Communication complexity: Transmit Θ(𝑛2) information over O(𝑛) edges Ω(𝑛) time!

[Frischknecht, Holzer, W, 2012]

Networks Cannot Compute Their Diameter in Sublinear Time!

Page 36: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

e.g., dominating set approximation in planar graphs

Distributed Complexity Classification

1 log∗ 𝑛 polylog 𝑛 𝐷 poly 𝑛

various problems in growth-bounded graphs

MIS, approx. of dominating set, vertex cover, ...

count, sum, spanning tree, ...

diameter, MST, verification of e.g. spanning tree, …

e.g., [Kuhn, Moscibroda, W, 2014]

Page 37: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

SublinearAlgorithms

Self-Stabilization

Self-Assembly

Applicationse.g. Multi-Core

DynamicNetworks

DistributedComplexity

Page 38: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

SublinearAlgorithms

Self-Stabilization

Self-Assembly

Applicationse.g. Multi-Core

DynamicNetworks

DistributedComplexity

Page 39: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

Science: Still Interesting in 100 Years

Engineering: Interesting Right Now!

Page 40: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

Bitcoin

Page 41: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

Bank of Bitcoin

Page 42: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

Spending Money

AmountDestination

Signature

Source

Page 43: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

Moving Money

Source Destination Amount

Source Destination Amount

Source Destination Amount

Transaction

Page 44: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

Distributing the Bank

TX

Page 45: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

Propagation Time

[Decker, W, 2013]

Page 46: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

Double-spending

TX

Source Destination Amount

TX’

Source Destination Amount

Page 47: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

Double-spending in the Network

TX TX’

Page 48: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

Distributing the Bank

I am the leader

Page 49: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

Double-spending in the Real World[Bamert, Decker, Elsen, W, Welten, 2013]

Page 50: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

Where would you inject your transaction?

Page 51: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

Double-spending, the Theory

Player 1: Where to inject original transaction?Player 2: Where to inject copy?

Page 52: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction
Page 53: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

Really?

Page 54: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

Sometimes, being second is better!

[Meier, Pignolet, Schmid, W, 2014]

Page 55: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

Another Example: Nontransitive Dice

Page 56: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

Transaction Malleability

February 10, 2014: “Addressing Transaction Malleability: MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.”

Page 57: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

Transaction Malleability

Page 58: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

Transaction Malleability in Real Life

386 Bitcoins

[Decker, W, Arxiv, in submission ]

Page 59: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction
Page 60: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

Summary

Page 61: Is Network Science a Science?...MtGox has detected unusual activity on its Bitcoin wallets and performed investigations during the past weeks.” Transaction Malleability Transaction

Thank You!Questions & Comments?

Thanks to my co-authors, mostlyChristian DeckerSilvio FrischknechtStephan Holzer www.disco.ethz.ch