43
The Algorithmic Lens: How the Computational Perspective is Transforming the Sciences Christos H. Papadimitriou UC Berkeley

The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

The Algorithmic Lens:How the Computational Perspective

is Transforming the Sciences

Christos H. PapadimitriouUC Berkeley

Page 2: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

FCRC, June 11 2007 2

What is Computer Science?

“CS is the only scientific discipline that cannot be defined in a single sentence”

Page 3: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

FCRC, June 11 2007 3

(now seriously folks…)What is Computer Science?

• Applied science?• Engineering discipline?• Branch of Math/Physics/EE?• “The study of information and its

algorithms”?• (in the era of the Internet): Also a natural

and social science?

Page 4: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

FCRC, June 11 2007 4

What is Computer Science?(cont.)

• Mathematics: “The queen and servant of sciences”

• Queen: Power, authority, pride• Servant: Influences and transforms by

being useful, powerful, and universal• My point: CS is the new math

Page 5: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

FCRC, June 11 2007 5

The evidence:Eight vignettes from

• Mathematics• Physics• Biology• Economics and Social Science

Page 6: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

FCRC, June 11 2007 6

(with many thanks to…

• Dick Karp, Alistair Sinclair, Umesh Vazirani, Elchanan Mossel, Scott Shenker

• The SIGACT Committee for the advancement of theoretical CS)

Page 7: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

FCRC, June 11 2007 7

The queen’s crown jewels:The seven Clay Institute Millennium problems

• Birch and Swinnerton-Dyer Conjecture• Hodge Conjecture• Navier-Stokes Equations• P vs NP• Poincaré Conjecture• Riemann Hypothesis• Yang-Mills Theory

Page 8: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

FCRC, June 11 2007 8

“the deepest, and most fundamental and consequential, open problem in Mathematics today is not about geometry or whole numbers: it is about computation…”

Page 9: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

FCRC, June 11 2007 9

The queen is snobbish

• Mainstream Mathematics has been much more reserved about other fields, such as Foundations/Logic, Mathematical Physics, and Combinatorics

• P vs NP was adopted by mathematicians only after three decades of powerful work by computer scientists failed to solve it

Page 10: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

FCRC, June 11 2007 10

P vs NP:the quest for depth

Page 11: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

FCRC, June 11 2007 11

btw: NP-Completeness

• CS’s most successful intellectual export

Page 12: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

FCRC, June 11 2007 12

Perturbing Physics

The computational worldview providesnew insights into, and tests, some ofthe most prestigious theories aboutthe universe

Page 13: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

FCRC, June 11 2007 13

Quantum computation: reinventing the bit

bit: a wire can havemany electrons

few electrons

qubit: an electroncan be

closeto the nucleusfar

Page 14: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

FCRC, June 11 2007 14

Big difference

• A bit is either 0 or 1• A qubit is in both states Q = α |0⟩ + β |1⟩

• An n-qubit system is in 2n states at the same time!

complex numbers“probabilities”

Page 15: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

FCRC, June 11 2007 15

Three possible reactions

1. How curious, Nature is extravagant!(remember Einstein: “The Old One does not throw dice”)

2. Oh my God, how do you simulate such a system on a computer?

3. But what if we built a computer out of these things?

Page 16: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

FCRC, June 11 2007 16

How to factor a 1000-bit integerin ~1000 easy steps

the “probabilities”of 21000 states

maintained throughout

input1000 bits

output(measurement)

1000 bits

Page 17: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

FCRC, June 11 2007 17

But can we build these computers?The three eventualities

1. Yes!2. No, because of a thousand annoying little

problems and details (plus, eventually, lack of funding…)

3. No, because Quantum Physics holds only for tiny numbers of particles!!!

Page 18: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

FCRC, June 11 2007 18

“Quantum computation is as much about testing Quantum Physics as it is about building powerful computers.”

Umesh Vazirani

Page 19: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

FCRC, June 11 2007 19

Also: Statistical Mechanics

• In physical systems, when parameters of local interactions evolve, macroscopic propertieschange dramatically, and we have a phase transition

• Certain randomized algorithms are known to converge exponentially faster when the parameters are in the right range

• Deep fact: These two phenomena are identical

Page 20: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

FCRC, June 11 2007 20

Statistical Mechanics (cont.)

• The traffic is two-way: Belief propagationand survey propagation algorithms forconstraint satisfaction

• Phase transitions in the Internet and the www?

Page 21: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

FCRC, June 11 2007 21

Disrupting Biology

• Several mysteries in Biology can be productively approached as algorithmic problems, e.g.

• evolution• the brain• the immune system• …and many more

Page 22: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

FCRC, June 11 2007 22

The mystery of internal conflicts

We often find ourselves in situations of internal conflict

• Between our conscience and our ambition• Between our duty and our laziness• Between our appetite and our diet• Is this a way to run a brain?

Page 23: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

FCRC, June 11 2007 23

What is an internal conflict?

• Two subsystems• Their behavior is

best described in terms of two objective functions

• These functions do not align

Page 24: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

FCRC, June 11 2007 24

Can an optimal system havean internal conflict?

Theorem [Livnat-Pippenger 2006]: Yes, if complexity is taken into account

Page 25: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

FCRC, June 11 2007 25

The mystery of evolution

“To think that the eye could evolve by natural selection seems, I freely confess, absurd to the highest degree”

Charles Darwin 1859The computational perspective does not seem to help:“How do you search for a 3×109-long stringin 3×109 years?” Les Valiant 2007

Page 26: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

FCRC, June 11 2007 26

A seemingly unrelated question:

• Why does simulated annealing work so much better than genetic algorithms in solving optimization problems?

simulated annealing ⇔ asexual reproduction

genetic algorithms ⇔ sexual reproduction

Page 27: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

FCRC, June 11 2007 27

Fitness landscapes:“peaks” vs “plateaus”

alleles(variants)of gene A

allelesof gene B

peaks

troughs

“plateau”

Page 28: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

FCRC, June 11 2007 28

Sex favors plateaus over peaks!

Theorem [Livnat & P, 2007]:• Unless peak > 2 × plateau, in sexual

reproduction the plateau will dominate and the peaks will become extinct

• In asexual reproduction, the peaks will always dominate and the plateau will become extinct

Page 29: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

FCRC, June 11 2007 29

And plateaus accelerate evolution

• They act as springboards allowing alternatives to be explored in parallel…

• …and this acceleration promotes speciation(the creation of new species)…

• …which results in an altered landscape…• …in which sex selects more plateaus…• …and life goes on…

Page 30: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

FCRC, June 11 2007 30

Page 31: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

FCRC, June 11 2007 31

The Internet turned CS into a natural science

The first computational artifact that was never designed, and hence must be approached by the scientific method:

• Observations• Experiments• Falsifiable theories• Specialized applied mathematics

Page 32: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

FCRC, June 11 2007 32

…and a social science

• Economics and Game Theory“The Internet is an equilibrium, we just have to identify the game”

Scott Shenker• Sociology

The Internet cannot be studied in isolation from the complex social system it enables and serves. And it is an ideal test bed for sociological analysis and experimentation.

Page 33: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

FCRC, June 11 2007 33

Behavior predictions in Economics: Equilibria

• Nobody has an incentive to change, as long as everybody else stays put

Page 34: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

FCRC, June 11 2007 34

The story of equilibria

[von Neumann 1929]: They always exist, as long as the game is two-player zero-sum

[Nash 1951]: Even in nonzero-sum, multiplayer games

[Arrow-Debreu 1952]: In markets too

Question: Can they be computed efficiently?

Page 35: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

FCRC, June 11 2007 35

But why should we care about algorithms for equilibria?

• Equilibria are predictions of behavior• Computational tractability is an important

modeling prerequisite“If your laptop can’t find it, then neithercan the market.” Kamal Jain

• Important CS contribution to the debate on solution concepts in Economics

Page 36: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

FCRC, June 11 2007 36

…and very recently…

Theorem [Daskalakis, Goldberg & P, 2006]:Finding a Nash equilibrium is anintractable problem

Page 37: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

FCRC, June 11 2007 37

Also, equilibria are inefficient:“The price of anarchy”

cost of worst equilibrium“socially optimum” costp. of A =

Page 38: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

FCRC, June 11 2007 38

Selfishness can hurt you!

x

1

0

1

x

delays

Social optimum: 1.5

Selfish equilibrium: 2

Page 39: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

FCRC, June 11 2007 39

…but [often] not too much

Price of anarchy

= 4/3

Theorem [Roughgarden and Tardos, 2000]:

Page 40: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

FCRC, June 11 2007 40

Finally, sociology under the lens:the Milgrom 1968 experiment, revisited

It’s a small world:“six degrees”on average

Q: for whichnetworks does this work?

Page 41: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

FCRC, June 11 2007 41

Who do you know?(besides your neighbors…)

Prob = [distance]-A

Theorem [Kleinberg 2001]•If A = 2, log2 n hops•If A ≠ 2, nB hops

Page 42: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

FCRC, June 11 2007 42

Another convergence

• Social networks become large, explicit and available

• Their analysis is informed by the same algorithmic applied math that was developed for understanding the Internet

Page 43: The Algorithmic Lens - Ed Lazowskalazowska.cs.washington.edu/fcrc/Christos.FCRC.pdfThe mystery of evolution “To think that the eye could evolve by natural selection seems, I freely

FCRC, June 11 2007 43

So…

• The algorithmic worldview is changing the sciences: mathematical, natural, life, social

• CS is placing itself at the center of the scientific discourse and exchange of ideas

• And this is only the beginning…

Thank you!