NU ACM Talk Virtual Scientific Communities for Driving Innovation and Learning Karl Lieberherr joint work with Ahmed Abdelmeged and Bryan Chadwick 12/21/20151SCG.

Slides:



Advertisements
Similar presentations
Ulams Game and Universal Communications Using Feedback Ofer Shayevitz June 2006.
Advertisements

Scientific Enquiry, Scientific Process or Problem Solving?
What is a CAT?. Introduction COMPUTER ADAPTIVE TEST + performance task.
Scientific Community Game Karl Lieberherr 4/29/20151SCG.
Lower bound: Decision tree and adversary argument
LADIS workshop (Oct 11, 2009) A Case for the Accountable Cloud Andreas Haeberlen MPI-SWS.
Tutorial 6 of CSCI2110 Bipartite Matching Tutor: Zhou Hong ( 周宏 )
Contributions of SCG Karl Lieberherr Northeastern University College of Computer and Information Science Boston, MA joint work with Ahmed Abdelmeged and.
Algorithms and Data Review Fall 2010 Karl Lieberherr 1CS 4800 Fall /7/2010.
Specker Challenge Game (SCG): A Novel Tool for Computer Science Karl Lieberherr.
Great Theoretical Ideas in Computer Science.
Group 7. Goals and Objectives to teach the children about genes and how different combinations produce different offspring. To help children easily recognize.
Chapter 11: Limitations of Algorithmic Power
Chapter 11 Limitations of Algorithm Power Copyright © 2007 Pearson Addison-Wesley. All rights reserved.
Foundations of Cryptography Lecture 2 Lecturer: Moni Naor.
Inclusion-Exclusion Principle. 3 sets A,B,C A B C |A ˘ B ˘ C| = |A| + |B| + |C| -|A*B|-|A*C|-|B*C| +|A*B*C| *: intersection A*B A*C B*C |A ˘ B ˘ C| =
The Scientific Community Game as A Crowdsourcing Platform to Distinguish Good from Bad Presentation to Clients by Software Development Organization 4/24/20111.
SCG Example Labs Ahmed Abdelmeged Karl Lieberherr.
CSU 670 Review Fall Software Development Application area: robotic games based on combinatorial maximization problems. Software development is about.
SCG Domain Specification Karl. Overview What needs to be provided – What GameProvider needs to provide to define a competition. – What each Scholar needs.
Poster Design & Printing by Genigraphics ® The Scientific Community Game Education and Innovation Through Survival in a Virtual World of.
The Scientific Community Game: Education and Innovation Through Survival in a Virtual World of Claims Karl Lieberherr Northeastern University College of.
The Scientific Community Game: Education and Innovation Through Survival in a Virtual World of Claims Karl Lieberherr Northeastern University College of.
Virtual Scientific Communities for Innovation Karl Lieberherr Northeastern University College of Computer and Information Science Boston, MA joint work.
Virtual Scientific Communities for Innovation Karl Lieberherr Northeastern University College of Computer and Information Science Boston, MA joint work.
Software Development using artificial markets of constructively egoistic agents Karl Lieberherr 1SD-F09.
Agile Development In 2001, a group called the “Agile Alliance” signed a “manifesto” that stated: Individuals and Interactions over processes and tools.
Formal Two Party Debates about Algorithmic Claims or How to Improve and Check your Homework Solutions Karl Lieberherr.
Evaluation of software engineering. Software engineering research : Research in SE aims to achieve two main goals: 1) To increase the knowledge about.
The Scientific Community Game for STEM Innovation and Education (STEM: Science, Technology, Engineering and Mathematics) Karl Lieberherr Ahmed Abdelmeged.
Automatically Synthesizing SQL Queries from Input-Output Examples Sai Zhang University of Washington Joint work with: Yuyin Sun.
Teaching Students to Prove Theorems Session for Project NExT Fellows Presenter: Carol S. Schumacher Kenyon College and.
Big Idea 1: The Practice of Science Description A: Scientific inquiry is a multifaceted activity; the processes of science include the formulation of scientifically.
TEAMWORK WORKSHOP ICOM5047 Design Project in Computer Engineering J. Fernando Vega-Riveros, Ph.D. Associate Professor – ECE Dpt.
ANTs PI Meeting, Nov. 29, 2000W. Zhang, Washington University1 Flexible Methods for Multi-agent distributed resource Allocation by Exploiting Phase Transitions.
SDG Mittagsseminar1 Using Artificial Markets to Teach Computer Science Through Trading Robots How to get students interested in algorithms, combinatorial.
Software Development using artificial markets of constructively egoistic agents Karl Lieberherr 1SD-F09.
Game Driven Software Development for NPOs the Scientific Community Game (SCG)
1 Lower Bounds Lower bound: an estimate on a minimum amount of work needed to solve a given problem Examples: b number of comparisons needed to find the.
SCG Court: A Crowdsourcing Platform for Innovation Karl Lieberherr Northeastern University College of Computer and Information Science Boston, MA joint.
SCG Court: A Crowdsourcing Platform for Innovation Karl Lieberherr Northeastern University College of Computer and Information Science Boston, MA joint.
The Scientific Community Game Education and Innovation Through Survival in a Virtual World of Claims Karl Lieberherr Northeastern University College of.
SCG layers or SCG stages Karl and Yue. Layers of Constraints We can look at the process of game design as a successive layering of constraints on a game.
MSD 2011 Midterm Karl Lieberherr 3/28/20111MSD midterm.
A Popperian Platform for Programming and Teaching the Global Brain Karl Lieberherr Ahmed Abdelmeged Northeastern University, CCIS, PRL, Boston 11/20/20151.
NU ACM Talk Virtual Scientific Communities for Driving Innovation and Learning Karl Lieberherr joint work with Ahmed Abdelmeged and Bryan Chadwick 11/28/20151SCG.
Dynamic Benchmarking Software development though competition Alex Dubreuil Northeastern University
Contributions of SCG to SDG Karl Lieberherr Northeastern University College of Computer and Information Science Boston, MA joint work with Ahmed Abdelmeged.
Reactive and Output-Only HKOI Training Team 2006 Liu Chi Man (cx) 11 Feb 2006.
The Algorithms we use to learn about Algorithms Karl Lieberherr Ahmed Abdelmeged 3/16/20111Open House 2011.
A Popperian Platform for Programming and Teaching the Global Brain Karl Lieberherr Ahmed Abdelmeged Northeastern University, CCIS, PRL, Boston 12/23/20151.
Key Points Karl Lieberherr. Challenge: old high-level description Price Set of problems 1/5/20162Summary.
Regular Expressions Fundamental Data Structures and Algorithms Peter Lee March 13, 2003.
Persistent Playgrounds Fall 2011 Managing Software Development 1/27/20161Persistent Playgrounds.
HSR Help Karl Lieberherr 1/23/20111Asymptotic Growth.
Software Development using virtual scientific communities of constructively egoistic agents Karl Lieberherr 1SCG-SP20103/19/2016.
The NP class. NP-completeness Lecture2. The NP-class The NP class is a class that contains all the problems that can be decided by a Non-Deterministic.
Amir Yavariabdi Introduction to the Calculus of Variations and Optical Flow.
A Popperian Platform for Programming and Teaching the Global Brain Karl Lieberherr Ahmed Abdelmeged Northeastern University, CCIS, PRL, Boston 6/26/20161.
Contributions of SCG to SDG Karl Lieberherr Northeastern University College of Computer and Information Science Boston, MA joint work with Ahmed Abdelmeged.
The NP class. NP-completeness
What is a CAT? What is a CAT?.
The Scientific Community Game for STEM Innovation and Education
SCG Court: A Crowdsourcing Platform for Innovation
Chapter 11 Limitations of Algorithm Power
Interactive Proofs Adapted from Oded Goldreich’s course lecture notes.
CSC-682 Advanced Computer Security
Karl Lieberherr Ahmed Abdelmeged
Presentation transcript:

NU ACM Talk Virtual Scientific Communities for Driving Innovation and Learning Karl Lieberherr joint work with Ahmed Abdelmeged and Bryan Chadwick 12/21/20151SCG Innovation Supported by Novartis and GMO

Introduction Scientific Community Game(X) [SCG(X)] – Goal: Foster innovation and learning in some domain X A virtual scientific community consists of virtual scholars that propose and oppose hypotheses maximizing their reputations Applications: Learning and innovation through focused interaction, “Netflix in the small” 12/21/2015Innovation2

Your Programming Assignments Input f in F satisfying precondition Output g in G satisfying postcondition Claims about your program p: F -> G: – Correctness – Resource consumption Time: 100. Space: <= 10 Energy – Quality of G: 0.6

Programming Assignments Further claims about your program p: F -> G: – Well designed Follows well accepted design guidelines

Evaluating Programming Assignments Run them on a benchmark provided by the teaching assistant / professor. Run them on all test cases provided by other students. Reward students whose test cases find bugs in programs of other students. Good idea! Increases interaction. What about checking resource consumption and quality claims? Require that they are stated explicitly as part of the submission.

Hypotheses I claim that my program p:F->G is correct for all inputs satisfying the precondition and it operates with resource consumption R and achieves quality Q. Example hypothesis: I claim that my sorting program is correct for all inputs of size n < 10^6 and it makes at most n*log(log(n)) comparisons.

How to model a scholar? Solve problems Provide hard problems Propose hypotheses about Solve and Provide (Introspection) Oppose hypotheses – Strengthen hypotheses – Refute hypotheses Supported opposing failed Refuted opposing succeeded 12/21/20157Innovation

Where SCG comes from J ACM SCG = Scientific Community Game SCG = Specker Challenge Game 12/21/2015SCG Innovation8 Lieberherr/Specker 1981

Outline Introduction (done) Highest safe rung example SCG Scholar / Agent SCG Agent in Action Highest safe rung example (opposition) Who is the winner? Competition and collaboration Disadvantages of SCG Further Examples SCG-based Software Development Process Conclusions 12/21/2015SCG Innovation9

Example: Jar Stress Testing You have a ladder with r rungs, and you want to find the highest rung from which you can drop a copy of the jar and not have it break. We call this the highest safe rung problem (r,b). How many experiments do you need? Minimize. (r,infinity) (r,1) 12/21/201510SCG

Highest Safe Rung Problem Problems and Solutions Problems: p=((r,b),secret hsr), secret hsr in [0,r], r,b natural numbers r = number of rungs b = number of jars that are allowed to break (r,b) is called a niche Solutions: sequence of queries of the form n? to find hsr. Responses: yes/no. Quality of solution: q = length of sequence of queries 12/21/201511SCG Innovation

Highest Safe Rung Problem Hypotheses Alice claims the hypothesis: I can solve any problem p=((r,b),secret hsr) with quality q: abbreviated H = ((r,b),q) Problems to be delivered for H = ((r,b),q) are of the form ((r,b), s). Important: A hypothesis defines a family of problems. Propose: Hypotheses H1 = ((25,2),11), H2 = ((25,2),6) (from Kleinberg/Tardos) 12/21/201512SCG Innovation

Scholars propose and oppose 12/21/2015Innovation13 HA1 HA2 HA3 HA4 egoistic Alice egoistic Bob Bob increases his reputation HB1 HB2 opposes (1) provides problem (2) solves problem not as well as she expected based on HA2 (3) WINS! LOSES proposed hypotheses social welfare Life of a scholar: (propose+ oppose+ provide* solve*)*

What is the purpose of SCG? The purpose of playing an SCG(X) competition is to assess the "skills" of the agents in: – solving problems in domain X, – making good predictions about niches in domain X, – finding the hardest problems in a specific niche of X 12/21/2015Innovation14

What is SCG(X) 12/21/2015Innovation15 no automation human plays full automation agent plays degree of automation used by scholar some automation human plays 0 1 more applications: test constructive knowledge transfer to reliable, efficient software agent Bob agent Alice

What is SCG(X)? Teams Design Problem Solver Develop Software Deliver Agent Agent AliceAgent Bob Administrator SCG police I am the best No!! Let’s play constructively 12/21/201516Innovation Team Alice Team Bob

For agents: Full Round Robin Tournaments or Swiss-Style Agents to play the SCG(X). Repeat a few times with feedback used to update agents. Within the group of participating agent, the winning agent has the – best solver for X-problems – best supported knowledge about X 12/21/201517Innovation

SCG in Action: Competitions /cs4500/f09/files/competitions/past_competit ions/11_23/tournament_1/final_results_tour nament_2009_11_24_12_03_41.html /cs4500/f09/files/competitions/past_competit ions/11_23/tournament_1/final_results_tour nament_2009_11_24_12_03_41.html /cs4500/f09/files/competitions/past_competit ions/10_22/tournament_1/final_results_tour nament_2009_10_23_04_35_18.html /cs4500/f09/files/competitions/past_competit ions/10_22/tournament_1/final_results_tour nament_2009_10_23_04_35_18.html 12/21/2015Innovation18

Highest Safe Rung Problem opposing opposing(refuting, strengthening) Alice claims: Hypothesis ((25,2),5) – Bob opposes it by refuting it: Bob invents problem ((25,2), secret 9). Alice: 5? no, 10? yes, 6? no, 7? no, 8? no. Already 5 questions asked and answer still unknown. Alice’ claim is refuted. Alice claims: Hypothesis ((25,2),12) – Bob opposes it by strengthening it to ((25,2),9); and he can successfully support this hypothesis 12/21/201519SCG Innovation

Highest Safe Rung Problem supporting Alice claims: Hypothesis ((25,2),12) – Bob tries to oppose but Alice supports it: Bob provides: ((25,2), secret 23). Alice: 5? no, 10? no, 15? no, 20? no, 25? yes, 21? no, 22? no, 23? no, 24? yes. Only 9 questions asked and problem ((25,2), secret 23) is solved. Alice has supported her hypothesis. 12/21/2015SCG Innovation20

Who wins? Alice or Bob? Reputation of Alice = – the number of hypotheses that Alice proposed that were never successfully opposed by Bob (neither refuted nor strengthened) + – the number of hypotheses that Bob proposed that were successfully opposed by Alice RA = HAnotOpposedB + HBOpposedA The scholar with the highest reputation wins encourages: creating strong knowledge and opposing knowledge created by others 12/21/201521SCG Innovation Motivated by real scientific community

competitive / collaborative 12/21/2015Innovation22 Agent Alice: claims hypothesis H Agent Bob: opposes H, refutes: provides evidence for !H Alice wins knowledge Bob wins reputationmakes public knowledge

Highest Safe Rung Problem competition / collaboration Alice claims: Hypothesis ((25,2),12) – Bob tries to oppose but Alice supports it: Alice: 5? no, 10? no, 15? no, 20? no, 25? yes, 21? no, 22? no, 23? no, 24? yes. – From this exchange which is prompted by Alice defending her reputation, Bob gets an idea: For problem: p=((r,b),secret hsr), consider f(r,x) =(r/x + x) and find a x so that f(25,x) is minimized. f(25,5)=10; f(25,6)=11;f(25,4)=11. – From this idea Bob knows that he can strengthen the hypothesis to ((25,2),10) – General solution for 2 jars to break: Given r, find x to minimize (r/x + x). 12/21/2015SCG Innovation23

Scholars and Agents: Same rules Are encouraged to 1.offer results that are not easily improved. 2.offer results that they can successfully support. 3.strengthen results, if possible. 4.expose results that are wrong. 5.stay active and publish new results. 6.be well-rounded: solve posed problems and pose difficult problems for others. 7.become famous! 12/21/201524Innovation

Soundness Theorem SCG is sound: The agent with the best algorithms / knowledge wins (there is no way to cheat) – best: within the group of participating agents 12/21/2015Innovation25

Highest Safe Rung Problem Asymptotic Hypotheses Alice claims the hypothesis: I can solve any problem p=((r,b),secret hsr) with quality f(r,b) : abbreviated H = ((r,b),f(r,b)) Problems to be delivered for H = ((r,b),f(r,b)) are of the form ((r,b), secret hsr). Propose: Hypotheses H1 = ((r,b),(log(r)) b ), H2 = ((r,b),r 1/b ) 12/21/201526SCG Innovation

Highest Safe Rung Problem opposing asymptotic hypothesis opposing (refuting, strengthening) Alice claims: Hypothesis ((r,b),(b*log(r))) – Bob opposes it by refuting it: Bob invents problem ((1024,2), secret hsr). log(1024) = questions are not enough! Alice: 30? no, 60? yes, 31? no, 32? no, etc.. Already 20 questions asked and answer still unknown. Alice’ claim is refuted. Alice claims: Hypothesis ((r,2),r/2) – Bob opposes it by strengthening it to ((r,2),2*r ½ ); and he can successfully support this hypothesis. 12/21/201527SCG Innovation

Disadvantages of SCG The game is addictive. After Bob having spent 4 hours to fix his agent and still losing against Alice, Bob really wants to know why! Overhead to learn to define and participate in competitions. The administrator for SCG(X) must perfectly supervise the game. Includes checking the legality of X-problems. – if admin does not, cheap play – watching over the admin 12/21/201528Innovation

How to compensate for those disadvantages Warn the scholars. Use a gentleman’s security policy: report administrator problems, don’t exploit them to win. Occasionally have a non-counting “attack the administrator” competition to find vulnerabilities in administrator. – both generic as well as X-specific vulnerabilities. 12/21/201529Innovation

GIGO: Garbage in / Garbage out If all agents are weak, no useful solver created. 12/21/2015Innovation30

Physics Maximum Height Problem Problems and Solutions Problems: p=(v, a), v, a: positive real numbers The maximum height obtained by a projectile launched with speed v at angle a to the horizontal is z. Solutions: real number z. Quality of solution: Number of correct decimal places. 12/21/201531SCG Innovation

Physics Maximum Height Problem Hypotheses Alice claims the hypothesis: I can solve any maximum height problem p=(v,a) with quality q in 1 minute: abbreviated H = (MHP,q) Problems to be delivered for H = (MHP,q) are of the form (v,a). Propose: Hypotheses H1 = (MHP,3), H2 = (MHP,6) 12/21/201532SCG Innovation

Physics Maximum Height Problem opposing opposing (refuting, strengthening) Alice claims: Hypothesis (MHP,3) – Bob opposes it by refuting it: Bob invents problem (25,60 degrees). Alice fails to solve the problem in 1 minute with 3 correct digits. Alice’ claim is refuted. Checking is done by experiment or trusted third party. Alice claims: Hypothesis (MHP,1) – Bob opposes it by strengthening it to (MHP,2); and he can successfully support this hypothesis 12/21/201533SCG Innovation

RegExpToAutomata Problem Problems and Solutions Problems: p=(r,n); r a regular expression of size n. r = regular expression; a + b* a + a a a b* n defines a niche of regular expressions Solutions: DFA d equivalent to r. Quality of solution: Number of states of d. 12/21/201534SCG Innovation

RegExpToAutomata Problem Problems and Solutions Problems: p=(r,n); r a regular expression of size n. r = regular expression; a + b* a + a a a b* n defines a niche of regular expressions Solutions: DFA d equivalent to r. Quality of solution: Number of states of d. 12/21/201535SCG Innovation

RegExpToAutomata Problem Hypotheses Alice claims the hypothesis: I can solve any problem p=(r,n) with quality q or less: abbreviated H = (n,q) Problems to be delivered for H = (n,q) are of the form p=(r,n). Important: A hypothesis defines a family of problems. Propose: Hypotheses H1 = (5,11), H2 = (5,10) 12/21/201536SCG Innovation

RegExpToAutomata Problem opposing opposing(refuting, strengthening) Alice claims: Hypothesis (5,11) – Bob opposes it by refuting it: Bob invents a regular expression r of size 5, gives it to Alice and she fails to deliver a DFA d with 11 or fewer states. Alice’ claim is refuted. Alice claims: Hypothesis (5,20) – Bob opposes it by strengthening it to (5,19); and he can successfully support this hypothesis 12/21/201537SCG Innovation

RegExpToAutomata Problem supporting Alice claims: Hypothesis (4,12) – Bob tries to oppose but Alice supports it: Bob gives to Alice a regular expression r of size 4. Alice provides and equivalent DFA with 12 or fewer states. Alice has supported her hypothesis. 12/21/2015SCG Innovation38

Who wins? Alice or Bob? Reputation of Alice = – the number of hypotheses that Alice proposed that were never successfully opposed by Bob (neither refuted nor strengthened) + – the number of hypotheses that Bob proposed that were successfully opposed by Alice. RA = HAnotOpposedB + HBOpposedA The scholar with the highest reputation wins. encourages: creating minimum automata for regular expressions of a given size. 12/21/201539SCG Innovation

Software Development Process Increase targeted interaction between software developers. 12/21/2015Innovation40

Traditional Approach Human Developers Develop new software for problem solving domain X Static Evaluation. No competition. human1human2 Testing unit testing integration testing Benchmark is used to evaluate software human3human4 Users Requirements for X 41SCG-SP201012/21/2015

Why Software Development through a virtual scientific community? Human Developers Develop new software for problem solving domain X SCG(X) Erika-Patrick-agent winning-agent Evaluates fairly, frequently, constructively and dynamically. Drives innovation. Challenges humans. Agents point humans to what needs attention in the software. human1human2 ErikaPatrick Benchmark is used to evaluate software Users Requirements for X 42SCG-SP201012/21/2015

Erika-Patrick Agent Surrogate of combined knowledge of Erika and Patrick successfully transferred to agent. Transfer knowledge by programming. 43SCG-SP201012/21/2015

Conclusions How to make learning and problem solving fun: design a game and interact. Scientific Community Game = Specker Challenge Game = SCG How to create reliable problem solving software? Have it tested through SCG. 12/21/2015Innovation44

Final Slide More Questions? 12/21/2015Innovation45

12/21/2015SCG Innovation46

SCG concepts Scholars working in a domain with niches. Define functions on niches. Hypotheses: claims about functions on niches: – Discounting protocol for HA: Alice selects niche element ne and Bob applies fBob so that claim about function does not hold – Strengthening protocol Reputation 12/21/201547SCG Innovation

SCG concepts Scholars working in a domain with niches. Function f: Niche -> S for Alice and Bob. Hypotheses: claims about niches: belief: f has property b(s, dn, fdn). (Niche,Belief) – Discounting protocol: Alice selects niche element ne and Bob applies fBob creating s, so that !b(s,ne) – Strengthening protocol Reputation 12/21/201548SCG Innovation

Hypothesis Structure Algorithm Solver: Problems -> Solutions For all p in Problems with feature f in Features algorithm Solver solves p using resources p(f) with quality(p,Solver(p),f). Algorithm Provider: Features -> Problems For feature f, Algorithm Provider provides a problem p, for all solutions of p, !quality(p,Solver(p),f). 12/21/201549SCG Innovation

Two person SCG Alice, Bob Domain: Source, Target; fA, fB-> Source-> Target; Source defined by niche predicate. Hypotheses HA (HB): claims about fA (fB) Discounting protocol for HA: – Bob provides element ne in Source so that fA(ne) contradicts HA. – Alice provides element ne in Source so that fB(ne) contradicts HA. Strengthening protocol – Bob proposes HB, HA => HB and Alice cannot discount HB. 12/21/201550SCG Innovation

Two person SCG Specialize for problem solving Alice, Bob Domain: Problems -> Solutions Hypotheses Discounting protocol for hypothesis HA by Alice: – Bob attacks in one of two ways (depends on HA) Bob provides a problem for which Alice constructs a solution that contradicts HA. Alice provides a problem for which Bob constructs a solution that contradicts HA. Strengthening protocol – Bob proposes HB, HA => HB and Alice cannot discount HB. 12/21/201551SCG Innovation

Hypotheses Solution algorithm A: Problems->Solutions For all elements p in Problems that have feature F and a secret solution ss(p), algorithm A(p) constructs with resource constraint Prediction(F) an element s(p) in set Solutions(p) with property Q(p,s(p),ss(p),F). 12/21/201552SCG Innovation

Hypotheses Problem creation algorithm A-1 12/21/201553SCG Innovation

Discounting protocol 12/21/201554SCG Innovation

SCG by Example Highest safe rung problem Speed prediction problem graph diameter / average pair-wise distance 12/21/201555SCG Innovation

Example: Jar Stress Testing You have a ladder with r rungs, and you want to find the highest rung from which you can drop a copy of the jar and not have it break. We call this the highest safe rung problem (r,b). How many experiments do you need? Minimize. (r,infinity) (r,1) 12/21/201556SCG

Highest Safe Rung Problem Problems and Solutions Problems: p=((r,b),secret hsr), secret hsr in [0,r], r,b natural numbers r = number of rungs b = number of jars that are allowed to break (r,b) is called a niche Solutions: sequence of queries of the form n? to find hsr. Responses: yes/no. Quality of solution: q = length of sequence of queries 12/21/201557SCG Innovation

Highest Safe Rung Problem Hypotheses Alice claims the hypothesis: I can solve any problem p=((r,b),secret hsr) with quality q: abbreviated H = ((r,b),q) Problems to be delivered for H = ((r,b),q) are of the form ((r,b), s). Important: A hypothesis defines a family of problems. Propose: Hypotheses H1 = ((25,2),11), H2 = ((25,2),6) (from Kleinberg/Tardos) 12/21/201558SCG Innovation

Highest Safe Rung Problem opposing opposing(refuting, strengthening) Alice claims: Hypothesis ((25,2),5) – Bob opposes it by refuting it: Bob invents problem ((25,2), secret 22). Alice: 5? no, 10? yes, 6? no, 7? no, 8? no. Already 5 questions asked and answer still unknown. Alice’ claim is refuted. Alice claims: Hypothesis ((25,2),12) – Bob opposes it by strengthening it to ((25,2),9); and he can successfully support this hypothesis 12/21/201559SCG Innovation

Highest Safe Rung Problem supporting Alice claims: Hypothesis ((25,2),12) – Bob tries to discount but Alice supports it: Alice: 5? no, 10? no, 15? no, 20? no, 25? yes, 21? no, 22? no, 23? no, 24? yes. Only 9 questions asked and problem ((25,2), secret 23) is solved. Alice has supported her hypothesis. 12/21/2015SCG Innovation60

Who wins? Alice or Bob? Reputation of Alice = – the number of hypotheses that Alice proposed that were never successfully discounted by Bob (neither refuted nor strengthened) + – the number of hypotheses that Bob proposed that were successfully discounted by Alice RA = HAnotDiscountedB + HBdiscountedA The scholar with the highest reputation wins encourages: creating strong knowledge and discounting knowledge created by others 12/21/201561SCG Innovation Motivated by real scientific community

Highest Safe Rung Problem competition / collaboration Alice claims: Hypothesis ((25,2),12) – Bob tries to discount but Alice supports it: Alice: 5? no, 10? no, 15? no, 20? no, 25? yes, 21? no, 22? no, 23? no, 24? yes. – From this exchange which is prompted by Alice defending her reputation, Bob gets an idea: For problem: p=((r,b),secret hsr), consider f(r,q) =(r/q + q) and find a q so that f(25,q) is minimized. f(25,5)=10; f(25,6)=11;f(25,4)=11. – From this idea Bob knows that he can strengthen the hypothesis to ((25,2),10) – General solution: Given r, find q to minimize (r/q + q). 12/21/2015SCG Innovation62

Highest Safe Rung Problem Asymptotic Hypotheses Alice claims the hypothesis: I can solve any problem p=((r,b),secret hsr) with quality f(r,b) : abbreviated H = ((r,b),f(r,b)) Problems to be delivered for H = ((r,b),f(r,b)) are of the form ((r,b), secret hsr). Propose: Hypotheses H1 = ((r,b),(log(r)) b ), H2 = ((r,b),r 1/b ) 12/21/201563SCG Innovation

Highest Safe Rung Problem discounting asymptotic hypothesis discounting (refuting, strengthening) Alice claims: Hypothesis ((r,b),(b*log(r))) – Bob discounts it by refuting it: Bob invents problem ((1024,2), secret hsr). log(1024) = questions are not enough! Alice: 30? no, 60? yes, 31? no, 32? no, etc.. Already 20 questions asked and answer still unknown. Alice’ claim is refuted. Alice claims: Hypothesis ((r,2),r/2) – Bob discounts it by strengthening it to ((r,2),2*r ½ ); and he can successfully support this hypothesis. 12/21/201564SCG Innovation

Physics Maximum Height Problem Problems and Solutions Problems: p=(v, a), v, a: positive real numbers The maximum height obtained by a projectile launched with speed v at angle a to the horizontal is z. Solutions: real number z. Quality of solution: Number of correct decimal places. 12/21/201565SCG Innovation

Physics Maximum Height Problem Hypotheses Alice claims the hypothesis: I can solve any maximum height problem p=(v,a) with quality q in 1 minute: abbreviated H = (MHP,q) Problems to be delivered for H = (MHP,q) are of the form (v,a). Propose: Hypotheses H1 = (MHP,3), H2 = (MHP,6) 12/21/201566SCG Innovation

Physics Maximum Height Problem discounting discounting (refuting, strengthening) Alice claims: Hypothesis (MHP,3) – Bob discounts it by refuting it: Bob invents problem (25,60 degrees). Alice fails to solve the problem in 1 minute with 3 correct digits. Alice’ claim is refuted. Checking is done by experiment or trusted third party. Alice claims: Hypothesis (MHP,1) – Bob discounts it by strengthening it to (MHP,2); and he can successfully support this hypothesis 12/21/201567SCG Innovation

RegExpToAutomata Problem Problems and Solutions Problems: p=(r,n); r a regular expression of size n. r = regular expression; a + b* a + a a a b* n defines a niche of regular expressions Solutions: DFA d equivalent to r. Quality of solution: Number of states of d. 12/21/201568SCG Innovation

RegExpToAutomata Problem Problems and Solutions Problems: p=(r,n); r a regular expression of size n. r = regular expression; a + b* a + a a a b* n defines a niche of regular expressions Solutions: DFA d equivalent to r. Quality of solution: Number of states of d. 12/21/201569SCG Innovation

RegExpToAutomata Problem Hypotheses Alice claims the hypothesis: I can solve any problem p=(r,n) with quality q or less: abbreviated H = (n,q) Problems to be delivered for H = (n,q) are of the form p=(r,n). Important: A hypothesis defines a family of problems. Propose: Hypotheses H1 = (5,11), H2 = (5,10) 12/21/201570SCG Innovation

RegExpToAutomata Problem discounting discounting (refuting, strengthening) Alice claims: Hypothesis (5,11) – Bob discounts it by refuting it: Bob invents a regular expression r of size 5, gives it to Alice and she fails to deliver a DFA d with 11 or fewer states. Alice’ claim is refuted. Alice claims: Hypothesis (5,20) – Bob discounts it by strengthening it to (5,19); and he can successfully support this hypothesis 12/21/201571SCG Innovation

RegExpToAutomata Problem supporting Alice claims: Hypothesis (4,12) – Bob tries to discount but Alice supports it: Bob gives to Alice a regular expression r of size 4. Alice provides and equivalent DFA with 12 or fewer states. Alice has supported her hypothesis. 12/21/2015SCG Innovation72

Who wins? Alice or Bob? Reputation of Alice = – the number of hypotheses that Alice proposed that were never successfully discounted by Bob (neither refuted nor strengthened) + – the number of hypotheses that Bob proposed that were successfully discounted by Alice. RA = HAnotDiscountedB + HBdiscountedA The scholar with the highest reputation wins. encourages: creating minimum automata for regular expressions of a given size. 12/21/201573SCG Innovation

Calculus Maximization Problem Problems and Solutions Problems: p=(f: function in one variable,J interval); Solutions: maximum of f in interval I. 12/21/201574SCG Innovation

Calculus Maximization Problem Hypotheses Alice claims the hypothesis(Polynomial, k): I can solve any problem p=(f,J) for f a polynomial in time (size of the polynomial)^k. H =(Polynomial, k). Problems to be delivered for H = (Polynomial, k) are of the form p=(f,J), f a polynomial. Important: A hypothesis defines a family of problems. Propose: Hypotheses H2 = (Polynomial, 2), H1 = (Polynomial,1). 12/21/201575SCG Innovation

Calculus Maximization Problem discounting discounting (refuting, strengthening) Alice claims: Hypothesis (Polynomial,1) – Bob discounts it by refuting it: Bob invents a polynomial (e.g., x^2 – x + 1) in one variable and an interval, gives them to Alice and she fails to deliver, in the given time, the maximum of the polynomial in the interval. Alice’ claim is refuted. Alice claims: Hypothesis (Polynomial,3) – Bob discounts it by strengthening it to (Polynomial,2); and he can successfully support this hypothesis 12/21/201576SCG Innovation

I claim I can solve this problem with one program that runs in time t on a single core machine and that runs in time 1.2 * t/c on a machine with c>1 cores. 12/21/2015SCG Innovation77

SCG Many kinds of hypotheses. They are defined by – Problems, Solutions – Discounting protocol Refuting protocol Strengthening protocol Problems and solutions to be exchanged in protocols 12/21/2015SCG Innovation78

Hypotheses Alice constructive claims I can solve problems of kind k – with quality q – close to your quality – better than you I claim statement S of the form – ForAllExists – ExistsForAll 12/21/2015SCG Innovation79

12/21/2015SCG Innovation80

Extra: too complex 12/21/2015SCG Innovation81

RegExpToAutomata Problem Problems and Solutions Problems: p=(function in two variables f(t,b); interval for t; interval for b). n defines a niche of regular expressions Solutions: min max solution. Quality of solution: Number of states of d. 12/21/201582SCG Innovation

Minimizing and Maximizing Functions Problems and Solutions Problems: minimizing and maximizing functions. Solutions: correct values. 12/21/201583SCG Innovation

Minimizing and Maximizing Functions Hypotheses Alice claims the hypothesis: function in two variables f(t,b); interval for t; interval for b. min [t] max [b] < h. H = (f(t,b),It,Ib,h) I can solve any problem p=(r,n) with quality q or less: abbreviated H = (n,q) Problems to be delivered for H = (n,q) are of the form p=(r,n). Important: A hypothesis defines a family of problems. Propose: Hypotheses H1 = (5,11), H2 = (5,10) 12/21/201584SCG Innovation

12/21/2015SCG Innovation85 Calculus Alice claims the hypothesis: min t max b f(t,b) < 0.8. t and b are vectors in a subset of some vector space. Bob opposes Alice' hypothesis by strengthening it: min t max b f(t,b) < 0.7. Alice opposes Bob's hypothesis by strengthening it further: min t max b f(t,b) < 0.6. Bob opposes Alice' hypothesis by challenging it. Alice provides t=t0 and Bob finds b=b0 and it turns out that f(t0,b0)=0.65. Therefore Bob wins reputation from Alice.

Highest Safe Rung Problem Problems and Solutions Problems: p=((r,b),secret hsr), secret hsr in [0,r], r,b natural numbers r = number of rungs b = number of jars that are allowed to break (r,b) is called a niche Solutions: sequence of queries of the form n? to find hsr. Responses: yes/no. Quality of solution: q = length of sequence of queries 12/21/201586SCG Innovation p=((r,b),floating)