Computer Science: A new way to think COS116: 4/28/11 Sanjeev Arora.

Slides:



Advertisements
Similar presentations
Our school: typical Greek school traditional models of education in its daily instructive practice. Past few years: efforts to modernize these instructive.
Advertisements

HOW MATHS CAN CHANGE YOUR LIFE Chris Budd Degree opportunities in Mathematics and Statistics.
“Well, what are you going to do with that?”
More on the invisible hand Present value Today: Wrap-up of the invisible hand; present value of payments made in the future.
Name: Date: Introduction to Stock Market
1 Project 2: Stock Option Pricing. 2 Business Background Bonds & Stocks – to raise Capital When a company sell a Bond - borrows money from the investor.
Functions of Money The Four Jobs of Money Medium of exchange Standard of value Store of value Standard of deferred payment Copyright 2002 by The.
1. 2 © 2007 Bloomberg L.P. All Rights Reserved. The Impact of Computers on the Financial Industry Kai To Bloomberg L.P.
Lecturer: Shaling Li Acc&Fin Dept, PBS University of Portsmouth 15 October, 2009.
What we have discussed in this course COS116, Spring 2010 Adam Finkelstein.
Welcome to the simplest way to create financial independence today!
Introduction The financial system coordinates saving and investment.
Understanding the Concept of Present Value
Behavioral Finance Shleifer on Noise Jan 22-27, 2015 Behavioral Finance Economics 437.
INTRODUCTION ECONOMETRICS I. MAXIMA “Without data you are just one more person with an opinion” (Anonymous) Even the most beautiful theory is just aesthetics.
Turing’s Paper Can Machines Think? Freshman Inquiry Cyber Millenium.
EconS 529 Research Methods Fall semester Introductory Lecture.
Copyright © 2004 South-Western 27 The Basic Tools of Finance.
1 Name Giannaki KonstantinaWhich of the four face-to-face institute or Elluminate session topics did you select to report on and why? I select the first.
Now you can buy and sell real estate like the PRO’s, and you can become your own boss in a fast paced exciting new career
Why attending this Program Sharpening the quantitative skills in   Pricing, hedging and risk measurement of derivative securities   Implementing risk.
INVESTMENTS | BODIE, KANE, MARCUS ©2011 The McGraw-Hill Companies Financial Economics Summer 2011.
INVESTMENTS | BODIE, KANE, MARCUS ©2011 The McGraw-Hill Companies Financial Economics Summer 2011.
Interest Rates and Rates of Return
The Basic Tools of Finance
Intel® Education K-12 Resources Our aim is to promote excellence in Mathematics and how this can be used with technology in order.
What computers just cannot do. COS 116: 2/28/2008 Sanjeev Arora.
Basic Tools of Finance Finance is the field that studies how people make decisions regarding the allocation of resources over time and the handling of.
“It is not a case of choosing those faces that, to the best of one’s judgment, are really the prettiest, nor even those that average opinion genuinely.
7. Stock Market Valuation & the EMH Role of Expectations Rational Expectations Efficient Markets Theory Role of Expectations Rational Expectations Efficient.
1 Trends in Mathematics: How could they Change Education? László Lovász Eötvös Loránd University Budapest.
Contents Click the link below to go directly to the slides for that chapter. Chapter 1 ■ Your Personal Strengths Chapter 2 ■ The Roles You Play Chapter.
1 Understanding Financial Crises Franklin Allen and Douglas Gale Clarendon Lectures in Finance June 9-11, 2003.
Summary of Last Lecture Introduction to Stocks Stock Valuation.
Brandon Groeger April 6, I. Stocks a. What is a stock? b. Return c. Risk d. Risk vs. Return e. Valuing a Stock II. Bonds a. What is a bond? b. Pricing.
How to Cook Financial Meth. Act 1 – Where it All Begins People borrow money from a lender to buy a home – this is called a mortgage loan. Every month,
Asset Market Experiments Econ 333 November 20, 2014.
Last Study Topics What Is A Corporation? - All large and medium-sized businesses are organized as corporations. The Role of The Financial Manager - Capital.
Copyright Jeremy Gold (GS): Financial Economics - Simple Market Ideas Applied to Public Pension Plans Jeremy Gold Middle Atlantic Actuarial Club.
CSU 670 Review Fall Software Development Application area: robotic games based on combinatorial maximization problems. Software development is about.
Introduction to options
1 CHAPTER FIVE: Options and Dynamic No-Arbitrage.
Article: The Real Cause of the Financial Crisis. Outline What is financial leverage How financial leverage works Example how financial leverage related.
The Mathematics of the General Election Dr Justin Greaves Department of Politics University of Warwick.
Copyright © 2004 South-Western 27 The Basic Tools of Finance.
1 Lesson 8: Basic Monte Carlo integration We begin the 2 nd phase of our course: Study of general mathematics of MC We begin the 2 nd phase of our course:
The Fundamentals of Investing
1 The Games Economists Play: Interactive Public Policy Capital Campus Texas July 9, 2008 copies of this presentation can be found at
Experimental Economics NSF short course David Laibson August 11, 2005.
Classroom Games in Economics Tuvana Pastine Sept 19, 2014.
Copyright  2011 Pearson Canada Inc Chapter 7 The Stock Market, the Theory of Rational Expectations, and the Efficient Markets Hypothesis.
How Solvable Is Intelligence? A brief introduction to AI Dr. Richard Fox Department of Computer Science Northern Kentucky University.
1 MBF 2263 Portfolio Management & Security Analysis Lecture 7 Efficient Market Hypothesis.
Economic Troubles on the Horizon Things Aren’t as Good as They Appear to Be!
2008/01/30Lecture 11 Game Theory. 2008/01/30Lecture 12 What is Game Theory? Game theory is a field of Mathematics, analyzing strategically inter-dependent.
Online Investing Review. Welcome to the review for your investing test. Work through the questions. If there is anything you don’t understand, ask Mr.
E-voting Bringing the voting process to the technology age.
Copyright © 2014 Pearson Canada Inc. Chapter 7 THE STOCK MARKET, THE THEORY OF RATIONAL EXPECTATIONS, AND THE EFFICIENT MARKET HYPOTHESIS Mishkin/Serletis.
Lecture 8: Finance: GBM model for share prices, futures and options, hedging, and the Black-Scholes equation Outline: GBM as a model of share prices futures.
Chapter 10 Externalities. Market Failure Market failure is when the free market does not provide the best outcome for society. Monopoly is a form of market.
Investing in real estate During a recession. In economics, recessions are sometimes defined as periods of economic contraction marked by an extended decline.
MTH 105. FINANCIAL MARKETS What is a Financial market: - A financial market is a mechanism that allows people to trade financial security. Transactions.
Reconstructing Preferences from Opaque Transactions Avrim Blum Carnegie Mellon University Joint work with Yishay Mansour (Tel-Aviv) and Jamie Morgenstern.
Computation, The Missing Ingredient in Classical Economics Edward Tsang Centre for Computational Finance and Economic Agents (CCFEA) University of Essex.
What does finance mean ?  Finance = f (money)  Money = anything that is generally accepted as payment for goods and services and repayment of.
Exploring Entrepreneurship  Entrepreneurship is the process of starting a new business.  Just having a good idea is not enough. Entrepreneurs must be.
Universality of Computation
Multiprocessor Synchronization Algorithms ( )
Chapter 7 Implications of Existence and Equivalence Theorems
Presentation transcript:

Computer Science: A new way to think COS116: 4/28/11 Sanjeev Arora

Computer science is no more about computers than astronomy is about telescopes. Edsger Dijkstra. Today: Computer science ideas have led to a rethinking of Epistemology, Physics, Statistics, Economics, Biology, Social Sciences, Privacy, etc.

Field 1: Mathematics Traditional math proofs (recall our discussion of axiomatic math): one needs to check every line PCP Theorem[A., Safra, Lund, Motwani, Sudan, Szegedy1992,..] Every math theorem has a proof that can be probabilistically checked by looking at 3 bits in them. (Highly nontrivial. Implies that computing approximate solutions to CLIQUE problem is tantamount to computing optimal solutions.)

Field 2: Epistemology (study or a theory of the nature and grounds of knowledge especially with reference to its limits and validity.) Zhuang Tse: See how the small fish are darting about in the river. That is the happiness of the fish. [Zhuang Tse, 300BC.] Hui Tse: You are not a fish yourself. How can you know the happiness of the fish? Zhuang Tse: And you not being I, how can you know that I do not know?

(Epistemology 1): Public closed-ballot elections Hold an election in this room s.t. Privacy-preserving Computations At the end everyone must agree on who won and by what margin Voters can speak only publicly. No one should know which way anyone else voted Is this possible?? Answer: Yes [Yao85,GMW86] Whatever you see from others, you could have produced yourself, with no interaction.

Epistemology 2: Asset bubbles Tulip bubble in Netherlands, 1630s South sea bubble in England, 1720 ……. dot com bubble, 1990s real estate bubble, I can calculate the motions of the heavenly bodies but not the madness of people. [Isaac Newton (lost money in South Sea bubble)] Also a challenge to modern economic theory.

Keynes: stock market vs. beauty contests It is not a case of choosing those [faces] that, to the best of ones judgment, are really the prettiest, nor even those that average opinion genuinely thinks the prettiest. We have reached the third degree where we devote our intelligences to anticipating what average opinion expects the average opinion to be. And there are some, I believe, who practice the fourth, fifth and higher degrees. (J. M. Keynes, General Theory of Employment, Interest and Money, 1936). 1 st degree thinking: pick the stock you like best. 2 nd degree thinking: pick stock that is best by 1 st order thinking 3 rd degree thinking: pick the stock that is best by 2 nd order thinking… Impossibility of bubbles (backwards induction argument): Suppose bubble will burst in 30 days and everybody knows it. Anticipating this, smart investors will exit the market on day 29. Realizing this, smart investors should exit on day 28, etc.…. If market has enough rational investors, bubble cannot form.

Meanwhile, over in computer science…. In 1970s and 1980s (continuing since), great interest in what can or cannot be achieved by distributed systems of processors with unreliable communication….

Coordinated attack problem [Gray78]+ many others Two generals in an army. If attack enemy simultaneously, they win. If only one attacks, the enemy wins. Can A go ahead and attack at dawn?? approximate common knowledge achievable! Attack possible iff A knows that B knows that A knows…. Common knowledge (Halpern and Moses, 84,90). Unachievable with unreliable message passing. Lets attack at dawn! General A General B Messenger No! Messenger could be intercepted and killed! Messenger Got your message. Agreed! Can B go ahead and attack at dawn?? Messenger Got your replyCan A go ahead and attack at dawn?? Can B go ahead and attack at dawn??

Dynamic model for bubbles [Brunnermeier, Abreu 2002] Market contains both irrational and rational agents Irrational agents cause bubble. Rational agents willing to prick bubbles, but require a coordinated attack (if too few attack, they lose!) Bubbles last until bubbles existence is approximate common knowledge. (Before then, rational to join bubble!). Synchronization mechanisms inspired by asynchronous clocking in distributed computing.

Field 3: Finance Computational intractability of pricing financial derivatives and its economic effects. (Arora, Barak, Brunnermeier, Ge 2010)

Crash of 08 (in 1 slide) Relative Market Sizes Lesson Learnt Small Error in Derivatives Huge Effects in Economy

Example of derivative Contract Seller to Pay Buyer $1M if DOW >11,000 one year from today Fair price = $1M X Pr[ DOW >11,000 ] Derivative implicated in 08 crash: CDO (collateralized debt obligation)

CDOs: Simplistic explanation Imagine 100 mortgages, each $1M, default probability 10%. Expected total yield: $90M Create two tranches: senior and junior. Senior gets first $70M of yield; junior gets rest Junior Senior Senior tranche less risky, attractive to pension funds etc. Junior tranche more risky, attractive to hedge funds

The recent financial crisis had many causes: regulatory failure, incorrect modeling, excessive risk-taking. All of these contributed to mispricing of derivatives. Qs. Even if we fix these issues, is there still an issue with derivative pricing? [ABBG10]: Probably yes. (Even in case of everyday CDOs.) Even if models are correct, pricing involves solving computationally intractable problems!! Negates some of their theoretical advantages.

Field 4: Physics I think I can safely say that nobody understands Quantum Mechanics The only difference between a probabilistic classical world and (the quantum one) is that… the probabilities would have to go negative.

Usual vs Negative probabilities o o o o o o o o N classical bits Randomly flip each one. System is in probabilistic superposition; each of 2 n configurations has associated nonnegative probability. quantum Do quantum operation on each. amplitude that could be -ve Quantum mechanics can be used to factor Integers efficiently. [Shor94] Is quantum mechanics correct??

Field 5: Statistics development and application of methods to collect, analyze and interpret data. Computer science versions: machine learning, data mining, etc. (Aside: is learning from experience = Automatized statistics??)

Rest of lecture: Man + machine Singularity: When machine intelligence overtakes ours.

Thoughts about Deep Blue Tremendous computing power (ability to look ahead several moves) Programmed by a team containing chess grandmasters. Had access to huge database of past chess games. Used machine learning tools on database to hone its skills. Human-machine computing Aside: Humans + Cheapo Chess software > Best Chess Software

Another example of human-computer computing… Olde dream: central repository of knowledge; all facts at your finger-tips. How it happened: 100s of millions of people created content for their own pleasure. Powerful algorithms were used to extract meaningful info out of this, and have it instantly available.

Second Life Online community where everybody acquires an avatar. (Piece of code; point-and-click programming as in Scribbler.) Avatar customizable but follows laws of physics in imaginary world (remember: weather simulation)

Weird 2 nd life facts Ability to buy/sell. (Linden dollars) Budding markets in real estate, avatar skins, clothes, entertainment, teaching avatars new skills, etc. Emerging political systems Interface with real world (eg Swedish embassy!) An interesting viewpoint: Second-Lifers are teaching the computer what human life is. (Analogies: Chess database and Deep Blue, WWW and Google.)

The most interesting question in the computational universe in the foreseeable future Not: Will computers ever be conscious? But: Where will all this take us? (and our science, society, politics,…)

Administrivia One final blogging assignment (due May 6): Write 2-3 paragraphs about AI, your expectations about it before you took this course, how they were shaped by this course, and the Searle article. Review sessions, probably afternoon of May 6. Final Exam Fri May 13, 7:30pm

Good luck with the final and have a great summer! Enjoy your time in the computational universe! Want to join COS major? Take a programming class in the summer and skip COS126.