(Workshop for women in computational topology in August: see here. For a post about these kinds of workshops see here.)
(I have already posted twice on stuff I saw or heard at the Gathering Conference here and here,)
Meta Point- At the Gathering for Gardner conference I learned lots of math (prob more accuarte to say I learned ABOUT lots of math) that I want to tell you about which is why this is my third post on it, and I post more.
The pamplets of Lewis Carol: Games, Puzzles, and related pieces: This was mostly puzzles that are by now familiar, but one new (to me) struck me: an aloof word is a word where if you change any one letter to anything else then its no longer a word. I think aloof is such a word.
Some talk don't know which one was about the Piet Hein Egg, also called a superegg. The talk (which differs slightly from he page pointed to) said it was a solid whose surface has the equation
(x/a)2.5 + (y/a)2.5 + (z/b)2.5
and its an egg which can stand on its end. (Note the x/a,y/a,z/b- that is correct, not a typo).
(Personal Note: Piet Hein invented Soma Cubes which is a puzzle where you put together 3-d pieces
made of small cubes into a large cube or other shapes. I learned about these in a Martin Gardner column and bought a set. I was very good at this- I put together every figure in the booklet within a week. This was the ONLY sign that I was GOOD at math when I was a kid, though there are many signs that was INTERESTED in math. About 30 years ago my girlfriend at that time and I went to a restaurant and there was a SOMA set on the table, assembled into a cube. I took it apart and she said ``Bill, you'll never be able to put it back together!!!'' I then ``tried'' to and ended up putting together instead a bathtub, a dog, a wall, and a W. But gee, it ``seemed'' like I was fumbling around and couldn't get a cube. ``Gee Bill, I think you've seen this puzzle before''. And who is this insightful girlfriend? My wife of over 20 years!)
Magic Magic Square (Sorry, dont know which talk) Try to construct a 4x4 magic square where (as usual) all rows and columns sum to the same thing. But also try to make all sets of four numbers that form a square (e.g., all four corners) also add to that number. Can you? If you insist on using naturals then I doubt it. Integers I also doubt it. But you CAN do it with rationals. How? If you want to figure it out yourself then DO NOT go to the answer which is at this link: here
Droste Effect: When a picture appears inside itself. For an example and why its called that see here
Black Hole Numbers: If you have a rule that takes numbers to numbers, are there numbers that ALL numbers eventually goto? If so, they are black hole numbers for that rule.
Map a number to the number of letters in its name
20 (twenty) --> 6 (six) --> 3 (three) --> 5 (five) --> four (4) --> four(4) --> ...
It turns out that ANY number eventually goes to 4.
Map a number to the sum of the digits of its divisors
12 has divisors 1,2,3,4,6,12 --> 1+2+3+4+6+1+2=19
19 has divisors 1,19 so --> 1+1+9 = 11
11 has divisors 1,11 so --> 1+1+1 = 3
3 has divisors 1,3 so --> 1+3=4
4 has divisors 1,2,4 so --> 1+2+4=7
7 has divisors 1,7 so --> 1+7=8
8 has divisors 1,2,4,8, --> 15
15 has divisors 1,3,5,15 --> 1+3+5+1+5 = 15
AH. It turns out ALL numbers eventually get to 15.
Boomerang Fractions: Given a fraction f do the following:
x1=1, x2=1+f, x3- you can either add f to x2 or invert x2. Keep doing this. Your goal is to get back to 1 as soo nas possible. Here is a paper on it: here. This notion can be generalized: given (s,f) start with s and try to get back so s. Can you always? how long would it take? Upper bounds?
Liar/Truth teller patterns on a square plane b Kotani Yoshiyuki. You have an 4 x 4 grid. Every grid point has a person. They all say ``I have exactly one liar adjacet (left, right, up, or down) to me.''
How many ways can this happen. This can be massively generalized.
Speed Solving Rubit's cube by Van Grol and Rik. A robot can do it in 0.9 seconds: here.
Computational Complexity and other fun stuff in math and computer science from Lance Fortnow and Bill Gasarch
Tuesday, May 24, 2016
Thursday, May 19, 2016
Upfronts
The US television industry has long fascinated me, an entertainment outlet driven by technology. David Sarnoff introduced television at the World's Fair in 1939 and developed the NBC network to provide content so people would buy RCA televisions, much the way Steve Jobs created the iTunes store to sell iPods. For decades television was broadcast over the air funded mostly by commercials. You could only watch a show when it aired and people adjusted their schedules to the broadcast schedule. People stayed home instead of going to the theater, movies, social clubs and restaurants. They all still exist but not to the extent before television. The nature of jobs changed. One funny comedian on TV would make considerable money but would put hundreds of vaudeville comedians out of a job.
In the 70's came cable television to big cities, initially to provide a better signal. But it also provided more stations including stations that were paid explicitly by consumers like HBO and implicitly through cable subscriptions like ESPN. ESPN is the single largest source of revenue for Disney. Eventually we would have hundreds of cable stations, many very specialized.
In the 80's came the VCR, then the DVR. No longer did we need to plan our time around the TV broadcast schedule. Eventually TV shows could have a continuing story line allowing for richer plot and character development.
Then came the Internet and streaming video. You could watch videos from series and movies on Netflix to user generated short pieces on YouTube or shorter still on Vine. People are watching TV not so much on TVs anymore but on their computers and phones. Like many others we have cut the cable cord in the Fortnow household, a trend that the industry still tries to fathom. Every cord cutter is $6 less a month to ESPN and the Disney bottom line.
Why bring up TV now? This is what used to be the most exciting week for television, the upfronts, where the broadcast networks reveal their new seasons to advertisers and the public at large. The networks are still having their presentations and parties, but the new shows fail to excite and quite a few retreads and revivals including 24, Prison Break, MacGyver, Tales from the Crypt, Gilmore Girls. Do you remember the Muppets returning last year? Neither do I.
We are in a golden age of television. One could take a rich novel and turn it into an equally rich 10-13 episode TV series. There were over 400 scripted TV series, and more really good series than I have time to watch (basically when I run on the treadmill). Meanwhile the networks continue to promote and party though an undercurrent of a very uncertain future. Watching the television industry is itself a never ending story.
In the 70's came cable television to big cities, initially to provide a better signal. But it also provided more stations including stations that were paid explicitly by consumers like HBO and implicitly through cable subscriptions like ESPN. ESPN is the single largest source of revenue for Disney. Eventually we would have hundreds of cable stations, many very specialized.
In the 80's came the VCR, then the DVR. No longer did we need to plan our time around the TV broadcast schedule. Eventually TV shows could have a continuing story line allowing for richer plot and character development.
Then came the Internet and streaming video. You could watch videos from series and movies on Netflix to user generated short pieces on YouTube or shorter still on Vine. People are watching TV not so much on TVs anymore but on their computers and phones. Like many others we have cut the cable cord in the Fortnow household, a trend that the industry still tries to fathom. Every cord cutter is $6 less a month to ESPN and the Disney bottom line.
Why bring up TV now? This is what used to be the most exciting week for television, the upfronts, where the broadcast networks reveal their new seasons to advertisers and the public at large. The networks are still having their presentations and parties, but the new shows fail to excite and quite a few retreads and revivals including 24, Prison Break, MacGyver, Tales from the Crypt, Gilmore Girls. Do you remember the Muppets returning last year? Neither do I.
We are in a golden age of television. One could take a rich novel and turn it into an equally rich 10-13 episode TV series. There were over 400 scripted TV series, and more really good series than I have time to watch (basically when I run on the treadmill). Meanwhile the networks continue to promote and party though an undercurrent of a very uncertain future. Watching the television industry is itself a never ending story.
Monday, May 16, 2016
Does this leak information?
Here are four fictional stories though inspired by real world events or TV shows (I forget which is which). My question is, was a confidence broken or was some information leaked that should not have been? I do not have answers.
Tenure: The candidate DOES find out the vote (e.g., 18 yes, 2 no) but DOES NOT find out who voted what. But what if the vote is 20 Yes 0 No. Then the candidate DOES know the vote. (Worse if it was 20 NO, 0 yes). I am sure this has been studied in crypto. Here is one solution: randomly flip one bit.
Lawyers:
CLIENT: I have roughly X dollars counting all of my assets. Are you the right firm to handle my estate?
LAWYER: Yes
CLIENT: Do you always say that?
LAWYER: No. If you had log(X) money then we would recommend a cheaper firm since your estate would not need our complex services. And if you had X^{10} money then there are other firms that are more familiar with investments at that level.
CLIENT: So, for example, Mitt Romney is not a client.
LAWYER: That is correct.
Did the lawyer break a confidence by saying that Mitt Romney was NOT a client? Could CLIENT goto lots of law firms and play this game and eventually find out Mitt Romney's lawyer?
Nobel Prize: If he committee leaks that the winner has been notified THAT he or she won, but not WHO it was, is that a breach?
Someone has confessed to a priest that he murdered someone (a staple of TV shows and movies). The wrong man is in jail, whose name is Bob.
PRIEST TO COP: You have the wrong man.
COP: How do you know.
PRIEST: I can't say how I know, but I know.
COP: Oh, It must be that the guilty man confessed to you but you can't break the seal of the confession. I won't ask you to. But here is a question: Has Bob been to confession lately?
PRIEST: No! (and he seems relieved to have gotten the message through)
Did the Priest betray the killers confidence?
People in Crypto (and elsewhere) define information, Knowledge, Security, similar terms formally so they can have protocols and try to prove things. Are their defintinitions realistic? In the above scenario's, are the above cases breaches or not? Is that even a rigorous question?
Tenure: The candidate DOES find out the vote (e.g., 18 yes, 2 no) but DOES NOT find out who voted what. But what if the vote is 20 Yes 0 No. Then the candidate DOES know the vote. (Worse if it was 20 NO, 0 yes). I am sure this has been studied in crypto. Here is one solution: randomly flip one bit.
Lawyers:
CLIENT: I have roughly X dollars counting all of my assets. Are you the right firm to handle my estate?
LAWYER: Yes
CLIENT: Do you always say that?
LAWYER: No. If you had log(X) money then we would recommend a cheaper firm since your estate would not need our complex services. And if you had X^{10} money then there are other firms that are more familiar with investments at that level.
CLIENT: So, for example, Mitt Romney is not a client.
LAWYER: That is correct.
Did the lawyer break a confidence by saying that Mitt Romney was NOT a client? Could CLIENT goto lots of law firms and play this game and eventually find out Mitt Romney's lawyer?
Nobel Prize: If he committee leaks that the winner has been notified THAT he or she won, but not WHO it was, is that a breach?
Someone has confessed to a priest that he murdered someone (a staple of TV shows and movies). The wrong man is in jail, whose name is Bob.
PRIEST TO COP: You have the wrong man.
COP: How do you know.
PRIEST: I can't say how I know, but I know.
COP: Oh, It must be that the guilty man confessed to you but you can't break the seal of the confession. I won't ask you to. But here is a question: Has Bob been to confession lately?
PRIEST: No! (and he seems relieved to have gotten the message through)
Did the Priest betray the killers confidence?
People in Crypto (and elsewhere) define information, Knowledge, Security, similar terms formally so they can have protocols and try to prove things. Are their defintinitions realistic? In the above scenario's, are the above cases breaches or not? Is that even a rigorous question?
Thursday, May 12, 2016
The Challenges of Smart Cities
Earlier this week I attended the CCC workshop Computing Research: Addressing National Priorities and Societal Needs (video). The workshop covered a large collection of topics, highlighting challenges of big data, privacy, security, sustainability, education, the future of work, CS funding and partnerships and more.
I'd like to highlight the challenges of Smart Cities, addressed in a panel Monday Morning and a talk by Keith Marzullo on Tuesday afternoon. Roughly a smart city is using technology to improve services, for example, sensors everywhere or preparing cities for autonomous vehicles. The speakers highlighted a number of major challenges.
- There are 382 Metropolitan Statistical Areas in the US from New York to Carson City that totals 84% of the US population and 91% of GDP. Many cities share similar problems but how easy can one port hardware and algorithms from one area to another? How do you scale smart cities without reinventing the wheel each time?
- Who pays for the infrastructure? Sometimes one can get research grants or federal help to start new projects, but these projects need continual maintenance afterwards. Are researchers just in it to start a project, write a paper and get out? How do we keep the advantages going in the long run?
- How do you keep the public's trust that the information collected will help the city and not just keeping track of everyone a la Orwell's 1984?
- How do we make sure we tackle the problems of the general public and not just the researchers and those who help fund? A great quote: We need to make sure we are focused more on mass transit than on how to make parking the Tesla easier.
- If we use big data to predict crime and position police in response, could that cause discrimination and harassment?
- How do we keep our research relevant?
Rural areas got their due as well. Interesting presentations on how farmers can use sensors and machine learning to optimize crops, fertilizer and water to use just the right amount needed for each segment of the farm.
To paraphrase Tip O'Neill, all computing is local, but we face many challenges taking our broad tools of cloud, big data, machine learning, automation and internet of things and apply them in our own neighborhoods.
Tuesday, May 10, 2016
Math lessons from the Donald Trump Nomination (non-political)
There may be articles titled Donald Trump and the Failure of Democracy. This is NOT one of them. This is about some math questions. I drew upon many sources but mostly Nate Silver's columns:Donald Trump's Six Stages of doom, How the Republican Field Dwindled from 17 to Trump (a collection of article),Four things I learned from the Donald Trump Primary. For the best news piece of the year on Donald Trump see John Oliver's
1) Trends. Since 1972 (the beginning of the modern era of prez primaries) the republicans, have ALWAYS (with one exception I"ll get to) nominated someone who was either PRZEZ or a sitting or former Gov, Senator, or VP who had ALSO been a serious candidate in a prior primary-prez race. The only exception is W who was a sitting Governor but had never run before, though he of course had name recognition. In short, someone FAMILIAR. This also fits our image of the Republicans as an old boys network (Dole got the nomination in 1996 because it was his turn). Hence most pundits expected the same this year.
a) The old ML maxim: Trends hold TILL THEY DON"T.
b) Nobody quite fit the pattern. The only ones who had run before were Rick Santorum, Rick Perry, and Mike Huckabee. Rich S and Mike H were niche candidates, Rick P had wider appeal in 2012 but entered late and stumbled (the WHOOPS moment, though more on that later). Jeb was like W, Former Gov with family name. So based just on Trends Perry or Jeb should have been the nominee, but its not that strong a match. (Added Later- A commenter says that John K ran briefly in 2000. My criteria was had been a serious candidate- not quite well defined, but John K would not have qualified. Even so, Governor and ran a bit, so he also was close to the criteria.) IF YOU HAVE A TREND AND USE IT TO PREDICT MAKE SURE THE DATA YOU HAVE FITS THE TREND.
c) I WILL NOT claim that I predicted any of this but there is an inkling of what happened in my post The law of the excluded middle of the road republicans where I pointed out for each candidate (including Trump) why they couldn't win. IF YOU HAVE A LARGE NUMBER OF LOW PROB EVENTS WHERE ONE WILL HAPPEN ITS HARD TO PREDICT WHICH ONE.
d) The pattern itself is only based on 11 data points and you might not want to count the four where there was a republican prez running for re-election. And 11 data points is not the full story--- the political situation from 1972 to 2016 changed dramatically. So these are data points on a moving target. Perhaps they should use papers like New analysis and algorithms for learning with drifting distributions. ITS HARD TO DO ANY REAL DATA ANALYSIS WHEN YOU DON"T HAVE ENOUGH DATA AND IT CHANGES OVER TIME.
2) Domination: Republican primary voters (in the past) wanted a candidate who was both conservative and electable. But what combination? I read that Chris Christie had no chance since it was thought that Jeb, S Walker, and Rubio were all MORE electable and MORE conservative- so they dominated him. Hence Donald Trump couldn't win since he was (though to be) less electable and his prob less conservative though that's hard to tell since he never held office. Hence he can't win. But some voters were tired of voting for electable as McCain and Romney were allegedly electable. And some were just plain angry. If you think your problems are because of immigrants vote Trump, if you think your problems are because of Wall Street then Feel the Bern. VOTERS DO NOT CARE ABOUT CONVEXITY AND DOMINATION.
3) Nate Silver. He's the Pollster who is NOT a pundit, does NOT let who he wants to see win affect what he predicts, wrote a great book about predictions: The Signal and the Noise: Why so Many Predictions Fail But Some Don't and got many predictions right in recent years. He wrote an excellent article Donald Trumps six stages of Doom in Aug 2015 which said what the obstacles are to the nomination and giving the nomination a 2% chance. To his credit he has owned this prediction in that later columns have told us where he went wrong. (Most pundits never say `Gee I was wrong') So why did his prediction not pan out?
a) They did in a sense. All of the problem he pointed out that Trump would have, Trump DID have- for example, Trump did not have a good organization to control delegates, and the party did try to stop him. So in a strange sense Nate was right. Except that he was wrong.
b) Back to Nate's 2%. Bill James (Baseball Stats guru) wrote (I am paraphrasing) If you are given odds of 500-1 that some awful team will win the world series than TAKE THAT BET. People have a hard time telling unlikely from REALLY unlikely. And the NY Mets did win the 1969 world series. (A quote from 1962: There will be a man on the moon before the Mets win the world series- true by two months). Also note that the the Leicester Soccer Team won this year despite being (literally) 5000-1 underdogs (see here). WAS NATE WRONG? If you give an event 2% chance and it happens I can't say you are wrong. In fact, if most everyone else gave it less than 2% or even 0 (which is the case here) then you are... less wrong.
4) Bill Gasarch. Based on TRENDS above I predicted Paul Ryan (and I owe Lance a dinner). My mistake was betting Ryan-I win, ANYONE ELSE-Lance wins (oddly enough, with a contested convention I might have still won that bet) . I should have made Lance name 5 candidates, and if any of those five win, he wins, but if its Ryan I win. I doubt he would have named Trump.
5) Game Theory: Lance has posted about Primary Game Theory. The main issue for a Trump voter might be `Gee, if I vote Trump he is not electable event though I like him, so I'll vote for X instead who is more electable' But voters are not game theorists. Plus they voted for John McCain and Mitt Romney based on that and they lost. So when Rubio said A Vote for Trump is a Vote for Hillary he may be right but the voters are not listening. Plus since Little Marco only won Minnesota and Puerto Rico (they have a primary! who knew!) he was not positioned to talk about electability. Plus one could argue that VERY few of the candidates could beat Hillary. In an early Column Nate thought only Jeb, Little Marco, and Scott Walker (remember him?). So once Rubio dropped out the electability argument was useless.
6) More Game Theory: Many of the candidates wanted someone ELSE to go after Trump so they went after each other.
7) The Pledge: For fear that Trump would run third party they all signed a pledge promising to support whoever got the nomination. When they signed it they never imagined that Trump would be the nominee.
8) Prediction Markets: They did pretty well, in about March they came around. Last week David Brooks maintained that Trump would not be the nominee, but he was kidding. I think.
1) Trends. Since 1972 (the beginning of the modern era of prez primaries) the republicans, have ALWAYS (with one exception I"ll get to) nominated someone who was either PRZEZ or a sitting or former Gov, Senator, or VP who had ALSO been a serious candidate in a prior primary-prez race. The only exception is W who was a sitting Governor but had never run before, though he of course had name recognition. In short, someone FAMILIAR. This also fits our image of the Republicans as an old boys network (Dole got the nomination in 1996 because it was his turn). Hence most pundits expected the same this year.
a) The old ML maxim: Trends hold TILL THEY DON"T.
b) Nobody quite fit the pattern. The only ones who had run before were Rick Santorum, Rick Perry, and Mike Huckabee. Rich S and Mike H were niche candidates, Rick P had wider appeal in 2012 but entered late and stumbled (the WHOOPS moment, though more on that later). Jeb was like W, Former Gov with family name. So based just on Trends Perry or Jeb should have been the nominee, but its not that strong a match. (Added Later- A commenter says that John K ran briefly in 2000. My criteria was had been a serious candidate- not quite well defined, but John K would not have qualified. Even so, Governor and ran a bit, so he also was close to the criteria.) IF YOU HAVE A TREND AND USE IT TO PREDICT MAKE SURE THE DATA YOU HAVE FITS THE TREND.
c) I WILL NOT claim that I predicted any of this but there is an inkling of what happened in my post The law of the excluded middle of the road republicans where I pointed out for each candidate (including Trump) why they couldn't win. IF YOU HAVE A LARGE NUMBER OF LOW PROB EVENTS WHERE ONE WILL HAPPEN ITS HARD TO PREDICT WHICH ONE.
d) The pattern itself is only based on 11 data points and you might not want to count the four where there was a republican prez running for re-election. And 11 data points is not the full story--- the political situation from 1972 to 2016 changed dramatically. So these are data points on a moving target. Perhaps they should use papers like New analysis and algorithms for learning with drifting distributions. ITS HARD TO DO ANY REAL DATA ANALYSIS WHEN YOU DON"T HAVE ENOUGH DATA AND IT CHANGES OVER TIME.
2) Domination: Republican primary voters (in the past) wanted a candidate who was both conservative and electable. But what combination? I read that Chris Christie had no chance since it was thought that Jeb, S Walker, and Rubio were all MORE electable and MORE conservative- so they dominated him. Hence Donald Trump couldn't win since he was (though to be) less electable and his prob less conservative though that's hard to tell since he never held office. Hence he can't win. But some voters were tired of voting for electable as McCain and Romney were allegedly electable. And some were just plain angry. If you think your problems are because of immigrants vote Trump, if you think your problems are because of Wall Street then Feel the Bern. VOTERS DO NOT CARE ABOUT CONVEXITY AND DOMINATION.
3) Nate Silver. He's the Pollster who is NOT a pundit, does NOT let who he wants to see win affect what he predicts, wrote a great book about predictions: The Signal and the Noise: Why so Many Predictions Fail But Some Don't and got many predictions right in recent years. He wrote an excellent article Donald Trumps six stages of Doom in Aug 2015 which said what the obstacles are to the nomination and giving the nomination a 2% chance. To his credit he has owned this prediction in that later columns have told us where he went wrong. (Most pundits never say `Gee I was wrong') So why did his prediction not pan out?
a) They did in a sense. All of the problem he pointed out that Trump would have, Trump DID have- for example, Trump did not have a good organization to control delegates, and the party did try to stop him. So in a strange sense Nate was right. Except that he was wrong.
b) Back to Nate's 2%. Bill James (Baseball Stats guru) wrote (I am paraphrasing) If you are given odds of 500-1 that some awful team will win the world series than TAKE THAT BET. People have a hard time telling unlikely from REALLY unlikely. And the NY Mets did win the 1969 world series. (A quote from 1962: There will be a man on the moon before the Mets win the world series- true by two months). Also note that the the Leicester Soccer Team won this year despite being (literally) 5000-1 underdogs (see here). WAS NATE WRONG? If you give an event 2% chance and it happens I can't say you are wrong. In fact, if most everyone else gave it less than 2% or even 0 (which is the case here) then you are... less wrong.
4) Bill Gasarch. Based on TRENDS above I predicted Paul Ryan (and I owe Lance a dinner). My mistake was betting Ryan-I win, ANYONE ELSE-Lance wins (oddly enough, with a contested convention I might have still won that bet) . I should have made Lance name 5 candidates, and if any of those five win, he wins, but if its Ryan I win. I doubt he would have named Trump.
5) Game Theory: Lance has posted about Primary Game Theory. The main issue for a Trump voter might be `Gee, if I vote Trump he is not electable event though I like him, so I'll vote for X instead who is more electable' But voters are not game theorists. Plus they voted for John McCain and Mitt Romney based on that and they lost. So when Rubio said A Vote for Trump is a Vote for Hillary he may be right but the voters are not listening. Plus since Little Marco only won Minnesota and Puerto Rico (they have a primary! who knew!) he was not positioned to talk about electability. Plus one could argue that VERY few of the candidates could beat Hillary. In an early Column Nate thought only Jeb, Little Marco, and Scott Walker (remember him?). So once Rubio dropped out the electability argument was useless.
6) More Game Theory: Many of the candidates wanted someone ELSE to go after Trump so they went after each other.
7) The Pledge: For fear that Trump would run third party they all signed a pledge promising to support whoever got the nomination. When they signed it they never imagined that Trump would be the nominee.
8) Prediction Markets: They did pretty well, in about March they came around. Last week David Brooks maintained that Trump would not be the nominee, but he was kidding. I think.
Thursday, May 05, 2016
Open Questions
Through the years I've mentioned a few of my favorite open problems in computational complexity on this blog that have perplexed me through the years. Let me mention a few of them again in case they inspire some of the new generation of complexity theorists.
- Does the polynomial-time hierarchy look like the arithmetic hierarchy? I mentioned this in the centenary post for Mostowski. Probably not because it would imply factoring in P (since NP∩co-NP would equal P) but we have no proof of separation and no oracle that makes them look the same.
- Does UP = NP imply the polynomial-time hierarchy collapses? What are the consequences if SAT had an NP algorithm with a unique accepting path? Remains open, again even in relativized worlds.
- Do rational functions that agree with Boolean functions on the hypercube have low decision tree complexity? I really expected someone to have come up with a proof or counterexample by now.
- What happens if two queries to NP can be simulated by a single query? Does S2=ZPPNP? Both questions asked in a post on S2P.
- Separate NP from Logarithmic space. I gave four approaches in a pre-blog 2001 survey on diagonalization (Section 3) though none have panned out. Should be much easier than separating P from NP.
Sunday, May 01, 2016
Some more bits from the Gathering for Gardner
I posted about the Gathering for Gardner conference and about some of the talks I saw here. Today I continue with a few more talks.
Playing Penney's game with Roulette by Robert Vallin. Penney;'s game is the following: let k be fixed. Alice and Bob pick different elements of {H,T}^k. They flip a coin until one of their sequences shows up, and that person wins. Which sequences have the best probability of winning?
New Polyhedral dice by Robert Fathauer, Henry Segerman, Robert Bosch. This is a good example of how my mentality (and possibly yours) differs from others. When I hear ``60-sided dice'' I think ``p1,...,p60 where are all between 0 and 1 and add up to 1'' I also thought that only the platonic solids could be usedvto form fair dice (so only 4-sided, 6-sided, 8-sided, 12-sided, and 20-sided dice can be made). NOT so. These authors actually MAKE real dice and they do not have to be platonic solids. Here is their website.
Numerically balance dice by Robert Bosch (paper is here). Why do dice have the opposite sides sum to the same thing? Read the paper to find out!
Secret messages in juggling and card shuffling by Erik Demaine. Erik Demaine was one of about 4 theoretical computer scientists I met at the conference, though Erik is so well rounded that calling him a theoretical computer scientist doesn't seem quite right. I had never met him before which surprised me. In this talk he showed us some new fonts- one using juggling. See here for an example of juggling fonts, co-authored with his father Martin.
Fibonacci Lemonade by Andrea Johanna Hawksley. Put in the leomon and sugar in fib number increments. Here is their website. In my first post I said the talks were on a variety of topics and then presented mostly math talks. This talk is an example of that variety. There were other talks involving the Fib numbers. I was surprised by this since they aren't that special (see here).
Penis Covers and Puzzles: Brain Injuries and Brain Health by Gini Wingard-Phillips. She recounted having various brain injuries and how working on mathematical puzzles, of the type Martin Gardner popularized as HELPING HER RECOVER! As for the title- people with brain injuries sometimes have a hard time finding the words for things so they use other words. In this case she wanted her husband to buy some condoms but couldn't think of the word so she said Penis Covers instead.
Loop- Pool on an Ellipse by Alex Bellos. Similar in my mind to the Polyhedral dice talk (you'll see why). We all know that if you built an elliptical pool table with a hole at one of the foci then if the ball is placed at the other foci and hit hard enough it WILL go into the other hole. But Alex Bellos actually MAKES these pool table (see here if you want buy one for $20,000). He told us the history- someone else tried to make one in 1962 but nobody bought them (I wonder if anyone are going to buy his), and Alex had problems with friction as you may recall that it only works on a frictionless surface. So his game does require some skill. The similarity to dice is that I (and you?) are used to thinking about dice and ellipses abstractly, not as objects people actually build.
This post is getting long so I'll stop here and report more in a later post. Why so mny posts? Six minute talks that I an actually understand and are delighted to tell you about!
Thursday, April 28, 2016
Claude Shannon (1916-2001)
Entropy has a formal definition, the minimum expected number of bits to represent the output of a distribution. But I view information as a more abstract concept of which entropy is just one substantiation. When you think of concepts like conditional information, mutual information, symmetry of information, the idea of an underlying distribution tends to fade away and you begin to think of information itself as an entity worth mentioning. And when you look at Kolmogorov Complexity, often called algorithmic information theory, the measure is over strings, not distributions, yet has many of the same concepts and relationships in the entropy setting.
Computational Complexity owes much to Shannon's information. We can use information theory to get lower bounds on communication protocols, circuits, even upper bounds on algorithms. Last spring the Simons Institute for the Theory of Computing had a semester program on Information Theory including including a workshop on Information Theory in Complexity Theory and Combinatorics. Beyond theory, relative entropy, or Kullback–Leibler divergence, plays an important role in measuring the effectiveness of machine learning algorithms.
We live in an age of information, growing dramatically every year. How do we store information, how do we transmit, how do we learn from it, how do we keep it secure and private? Let's celebrate the centenary of the man who gave us the framework to study these questions and so much more.
Sunday, April 24, 2016
Some short bits from the Gathering for Gardner Conference
I attended G4G12 (Gathering for Gardner) a conference that meets every 2 years (though the gap between the first and second was three years) to celebrate the work of Martin Gardner. Most of the talks were on Recreational mathematics, but there were also some on Magic and some are hard to classify.
Martin Gardner had a column in Scientific American called Mathematical Games from 1956 to 1981. His column inspired man people to go into mathematics. Or perhaps people who liked math read his column. The first theorem I ever read outside of a classroom was in his column. It was, in our terminology, a graph is Eulerian iff every vertex has even degree.
For a joint review of six G4G proceedings see here. For a joint review of six books on recreational math including three of Gardner's, see here. For a review of a book that has serious math based on the math he presented in his column see here.
The talks at G4G are usually 6 minutes long so you can learn about a nice problem and then work on it yourself. Their were a large variety of talks and topics. Many of the talks do not have an accompanying paper. Many of them are not on original material. But none of this matters--- the talks were largely interesting and told me stuff I didn't know.
64=64 and Fibonacci, as Studied by Lewis Caroll, by Stuart Moshowitz. This was about a Lewis Caroll puzzle where he put together shapes in one way to get a rectangle of area 65, and another way to get a square of area 64, The following link is NOT to his talk or a paper of Moshowitz, but it is about the problem: here
How Math can Save your life by Susan Marie Frontczak. This was part talk about bricks and weights and then she stood on the desk and sang this song (thats not her signing it).
Twelve ways to trisect and angle by David Richeson. This was NOT a talk about cranks who thought they had trisected and angle with straightedge and compass. It was about people who used ruler, compass, and JUST ONE MORE THING. I asked David later if the people who trisected the angle before it was shown impossible had a research plan to remove the ONE MORE THING and get the real trisection. He said no- people pretty much knew it was impossible even before the proof.
The Sleeping Beauty Paradox Resolved by Pradeep Mutalik. This paradox would take an entire blog post to explains so here is a pointer to the wikipedia entry on it: here. AH, this one DOES have a paper associated to it, so you can read his resolution here
Larger Golomb Rulers by Tomas Rokicki. A Golomb Ruler is a ruler with marks on it so that the all of the distances between marks are distinct. The number of marks is called the order of the ruler. Construction a Golumb ruler is easy (e.g., marks at the 1,2,4,8,... positions I think works). The real question is to get one of shortest length. They had some new results but, alas, I can't find them on the web.
Chemical Pi by John Conway. There are people who memorize the first x digits of pi. John Conway does something else. He has memorized the digits of pi and the chemical elements in the following way:
HYDROGEN 3.141592653 HELIUM next 10 digits of pi LITHIUM etc
that is, he memorized the digits of pi by groups of 10 and separated by the chemical elements in the order they are on the Periodic table. He claims this makes it easier to answer questions like: What is the 87th digits of pi. He also claims it gives a natural stopping point for how many digits of pi you need to memorize (need? maybe want). (ADDED LATER WHEN I CORRECTED HELIUM TO HYDROGEN: here are some mnemonic devices: here.
This post is getting long so I may report on more of the talks in a later post.
Thursday, April 21, 2016
The Master Algorithm
We see so few popular science books on computer science, particularly outside of crypto and theory. Pedro Domingos' The Master Algorithm: How the Quest for the Ultimate Learning Machine Will Remake the World, despite the hyped title and prologue, does a nice job giving the landscape of machine learning algorithms and putting them in a common text from their philosophical underpinnings to the models that they build on, all in a mostly non-technical way. I love the diagram he creates:
Working out from the inner ring are the representations of the models, how we measure goodness, the main tool to optimize the model and the philosophies that drove that model. The book hits on other major ML topics including unsupervised and reinforcement learning.
In the bullseye you can see the "Master Equation" or the Master Algorithm, one learning algorithm to rule them all. The quest for such an algorithm drives the book, and Domingos describes his own, admittedly limited attempts, towards reaching that goal.
I diverge from Domingos in whether we can truly have a single Master Algorithm. What model captures all the inner-ring models above: circuits. A Master Algorithm would find a minimum-sized circuit relative to some measure of goodness. You can do that if P = NP and while we don't think circuit-minimization is NP-hard, it would break cryptography and factor numbers. One of Domingos' arguments states "If we invent an algorithm that can learn to solve satisfiability, it would have a good claim to being the Master Algorithm". Good luck with that.
Working out from the inner ring are the representations of the models, how we measure goodness, the main tool to optimize the model and the philosophies that drove that model. The book hits on other major ML topics including unsupervised and reinforcement learning.
In the bullseye you can see the "Master Equation" or the Master Algorithm, one learning algorithm to rule them all. The quest for such an algorithm drives the book, and Domingos describes his own, admittedly limited attempts, towards reaching that goal.
I diverge from Domingos in whether we can truly have a single Master Algorithm. What model captures all the inner-ring models above: circuits. A Master Algorithm would find a minimum-sized circuit relative to some measure of goodness. You can do that if P = NP and while we don't think circuit-minimization is NP-hard, it would break cryptography and factor numbers. One of Domingos' arguments states "If we invent an algorithm that can learn to solve satisfiability, it would have a good claim to being the Master Algorithm". Good luck with that.
Monday, April 18, 2016
Its hard to tell if a problem is hard. Is this one hard?
Here is a problem I heard about at the Gathering for Gardner. Is it hard? easy? boring? interesting? I don't know.
Let N={1,2,3,...}
PROBLEM: parameters are s (start point) and f (not sure why to call it f). both are in N
Keep in mind the sequence, in order, of operations:
DIVIDE BY f, SUBTRACT f, ADD f, MULTIPLY by f.
form the following sequence of numbers in N
a(0)= s
Assume a(0),...,a(n) are known. Let A = {a(0),...,a(n)}. N-A are the elements in N that are NOT in A.
If a(n)/f is in N-A then a(n+1)=a(n)/f
Else
If a(n)-f is in N-A then a(n+1)=a(n)-f
Else
If a(n)+f is in N-A then a(n+1)=a(n)+f
Else
If a(n)*f is in N-A then a(n+1) = a(n)*f
Else
If none of the above holds then the sequence terminates.
Lets do an example! Let a=14 and f=2
14, 7, 5, 3, 1, 2, 4, 6, 8, 10, 12, 24, 22, 11, 9, 18, 16, 32, 30, 15, 13, 26, 28, 56, 54, 27, 25, 23, 21,
19, 17, 34, 36, 38, 40, 20, STOP since 10, 18, 22, 40 are all on the list.
Lets do another example! Let a=7, f=2
7, 5, 3, 1, 2, 4, 6, 8, 10, 12, 14, 16, 18, 9, 11, 13, 15, 17, ... (keeps going)
If f=2 and you get to an odd number x so that ALL of the odds less than x have already appeared but NONE of the odd numbers larger than x have appeared, then the sequence will go forever
with x, x+2, x+4, ...
QUESTIONS and META QUESTIONS
1) Can one characterize for which (s,f) the sequence stops.
2) Is it decidable to determine for which (s,f) the sequence stops.
3) Both (1) and (2) for either fixed s or fixed f.
4) Are the above questions easy?
5) Are the above questions interesting?
There are four categories:
Easy and Interesting- Hmmm, if its TOO easy (which I doubt) then I supposed can't be interesting.
Easy and boring.
Hard and interesting. This means that some progress can be made and perhaps connections to other mathematics.
Hard and Boring. Can't solve and are not enlightened for the effort.
Let N={1,2,3,...}
PROBLEM: parameters are s (start point) and f (not sure why to call it f). both are in N
Keep in mind the sequence, in order, of operations:
DIVIDE BY f, SUBTRACT f, ADD f, MULTIPLY by f.
form the following sequence of numbers in N
a(0)= s
Assume a(0),...,a(n) are known. Let A = {a(0),...,a(n)}. N-A are the elements in N that are NOT in A.
If a(n)/f is in N-A then a(n+1)=a(n)/f
Else
If a(n)-f is in N-A then a(n+1)=a(n)-f
Else
If a(n)+f is in N-A then a(n+1)=a(n)+f
Else
If a(n)*f is in N-A then a(n+1) = a(n)*f
Else
If none of the above holds then the sequence terminates.
Lets do an example! Let a=14 and f=2
14, 7, 5, 3, 1, 2, 4, 6, 8, 10, 12, 24, 22, 11, 9, 18, 16, 32, 30, 15, 13, 26, 28, 56, 54, 27, 25, 23, 21,
19, 17, 34, 36, 38, 40, 20, STOP since 10, 18, 22, 40 are all on the list.
Lets do another example! Let a=7, f=2
7, 5, 3, 1, 2, 4, 6, 8, 10, 12, 14, 16, 18, 9, 11, 13, 15, 17, ... (keeps going)
If f=2 and you get to an odd number x so that ALL of the odds less than x have already appeared but NONE of the odd numbers larger than x have appeared, then the sequence will go forever
with x, x+2, x+4, ...
QUESTIONS and META QUESTIONS
1) Can one characterize for which (s,f) the sequence stops.
2) Is it decidable to determine for which (s,f) the sequence stops.
3) Both (1) and (2) for either fixed s or fixed f.
4) Are the above questions easy?
5) Are the above questions interesting?
There are four categories:
Easy and Interesting- Hmmm, if its TOO easy (which I doubt) then I supposed can't be interesting.
Easy and boring.
Hard and interesting. This means that some progress can be made and perhaps connections to other mathematics.
Hard and Boring. Can't solve and are not enlightened for the effort.
Thursday, April 14, 2016
Who Controls Machine Learning?
After AlphaGo's victory, the New York Times ran an article The Race Is On to Control Artificial Intelligence, and Tech’s Future.
Some of my readers' comments forced me to rethink my hasty tweet. First, Google, Microsoft and Amazon can create ML infrastructure, cloud hardware that optimizes computational power and storage for machine learning algorithms to get a level of data analysis that one couldn't replicate in software alone.
More importantly, Google etc. have access to huge amounts of data. Cloud companies can provide pretrained machine learning algorithms. Google provides image classification, voice transcription and translation. Microsoft offers face and emotion detection and speech and text analysis. One could imagine, in the absence of privacy issues, Google taking your customer data, matching with data that Google already has on the same customers to draw new inferences about how to market to those customers better.
With almost all our computing heading to the cloud, cloud computing providers will continue to compete, and provide continuing better tools in machine learning and beyond. Eventually will one company "control AI"? That would surprise me but we may still end up with an AI oligarchy.
A platform, in technology, is essentially a piece of software that other companies build on and that consumers cannot do without. Become the platform and huge profits will follow. Microsoft dominated personal computers because its Windows software became the center of the consumer software world. Google has come to dominate the Internet through its ubiquitous search bar. If true believers in A.I. are correct that this long-promised technology is ready for the mainstream, the company that controls A.I. could steer the tech industry for years to come.I then tweeted "Can a company control AI? More likely to become a commodity." The major machine learning algorithms are public knowledge and one can find a number of open-source implementations including Google's own TensorFlow that powered AlphaGo. What's to stop a start-up from implementing their own machine learning tools on the cloud?
Some of my readers' comments forced me to rethink my hasty tweet. First, Google, Microsoft and Amazon can create ML infrastructure, cloud hardware that optimizes computational power and storage for machine learning algorithms to get a level of data analysis that one couldn't replicate in software alone.
More importantly, Google etc. have access to huge amounts of data. Cloud companies can provide pretrained machine learning algorithms. Google provides image classification, voice transcription and translation. Microsoft offers face and emotion detection and speech and text analysis. One could imagine, in the absence of privacy issues, Google taking your customer data, matching with data that Google already has on the same customers to draw new inferences about how to market to those customers better.
With almost all our computing heading to the cloud, cloud computing providers will continue to compete, and provide continuing better tools in machine learning and beyond. Eventually will one company "control AI"? That would surprise me but we may still end up with an AI oligarchy.
Sunday, April 10, 2016
What Rock Band Name would you choose?
I looked up my colleague Dave Mount on Wikipedia and found that he was a drummer for the glam rock band Mud. He informed me that (a) on Wikipedia he is David Mount and (b) if he had a rock band it would be named Fried Purple Ellipsoids.
This set off an email discussion where people said what their rock band name would be. I noticed that many ideas for names had variants. For example, my favorite for Ramsey Theorists: The Red Cliques could be
The Red Cliques
Red Clique
Bill Gasarch and the Red Cliques!
Clique!
So below I list one variant of each name but keep in mind that there are others.
The Hidden Subgroups
Amplitudes with Attitude
Schrodinger's cat (I wonder if this IS a rock band already)
The Red Cliques
Fried purple ellipsoids
Fried green ellipsoids
BIG A-G-T
The Biconnected Sets
PRAM!
BPP! (I wonder if any complexity class would work.)
SAT (I wonder if other one-word problems would work. TSP!)
Karp and the reductions
Avi and the derandomizers
Aravind and the Expanders
(Could replace Karp, Avi, and Aravind with others, but these are the first that
came to mind. Plus THE EXPANDERS was Aravind Srinivasan's idea.)
The MIT Logarhythms (This is a real acapella group see here.)
The Discrete Logarhythms
RSA!
The Oracles
The Interactive Proofs
The Natural Proofs
Fried Green Proofs
If we expand to include math we get lots more, so I'll just mention one real one: The Klein Four, an acapella group.
SO- what would YOUR rock band name be?
Thursday, April 07, 2016
It's All About the Jobs
In the April CACM Moshe Vardi asks Are We Headed toward Another Global Tech Bust? I agree with some of Vardi’s points, mostly that VC money chasing after unicorns (potential billion-dollar start-ups) will not continue at its heavy pace and we’re already seeing a slow down. But I disagree with Vardi’s assessment that “we should brace ourselves for another global tech and enrollment bust” in computer science. I suspect we’ll see more of a reality check, but that reality looks extremely strong.
Vardi claims that “It is the dream of joining a unicorn that probably attracts many students to study computing”. It’s not just the unicorns bringing students to computer science, but essentially a 100% employment rate for CS graduates looking for a job in the field, many receiving six-figure starting salaries. Few, if any, other disciplines can claim full employment after the bachelor’s degree. Industry is desperate to hire computing professionals in machine learning, cloud computing, cybersecurity, mobile computing, automation, robotics and data science, among others. Not just the computing companies but every industry that deals with data, which is pretty much every industry. Unicorns may become rarer but we won’t see a decline in demand for computer science students until we automate ourselves out of a job.
Take a look at this chart from Ed Lazowska's Where The Jobs Are – 2016 Edition. Those CS jobs won't fill themselves.
Vardi claims that “It is the dream of joining a unicorn that probably attracts many students to study computing”. It’s not just the unicorns bringing students to computer science, but essentially a 100% employment rate for CS graduates looking for a job in the field, many receiving six-figure starting salaries. Few, if any, other disciplines can claim full employment after the bachelor’s degree. Industry is desperate to hire computing professionals in machine learning, cloud computing, cybersecurity, mobile computing, automation, robotics and data science, among others. Not just the computing companies but every industry that deals with data, which is pretty much every industry. Unicorns may become rarer but we won’t see a decline in demand for computer science students until we automate ourselves out of a job.
Take a look at this chart from Ed Lazowska's Where The Jobs Are – 2016 Edition. Those CS jobs won't fill themselves.
Tuesday, April 05, 2016
Are Perfect Numbers Bigger than Six initial sums of odd cubes (answered)
(NONE of this is my work. In fact some of it is on Wikipedia.)
In my last blog I noticed that
28 = 13 + 33
496= 13 + 33 + 53 + 73
noting that 28 and 496 are the 2nd and 3rd perfect numbers.
I asked if 8128, the next perfect number is also an initial sum of odd cubes. It is!
8128 = 13 + 33 + ... + 153
I also asked if there was something interesting going on .The answer is YES but not that interesting.
All of the math with proofs are here. I sketch below.
Known Theorem 1: n is an even perfect number iff n is of the form (2p-1)(2p- 1) where 2p-1 is prime.
Known Theorem 2: 13 + 33 + 53 + ... + (2(m-1)+1)3 = m2(2m2-1).
Interesting theorem: if n is an even perfect number larger than 6 and p is the p from Known Theorem 1 then n is the sum of the first 2(p-1)/2 odd cubes.
Why this is less interesting: The proof does not use that n is perfect. It holds for any number of the form 2p-1(2p-1) where p is odd.
So the theorem has nothing to do with perfect numbers. Oh well.
Monday, April 04, 2016
Are perfect numbers bigger than 6 initial sums of odd cubes?
I pose two questions today (Monday April 4).
I will post the answers tomorrow (Tuesday April 5).
Feel free to comment about the answers. If you don't want clues look at the comments.
If I need to clarify something I will do it in the main post So, to reiterate- feel free to leave spoilers but if you want to avoid reading them, don't read the comments.
Note:
The first four perfect numbers are 6, 28, 496, 8128
28 = 13 + 33
496 = 13 + 33 + 53 + 73
Is 8128 the sum of the first six odd cubes? No, and that is not one of my questions.
Questions:
1) Is there a k such that 8128 is the sum of the first k odd cubes?
2) Is there something interesting going on here?
Friday, April 01, 2016
The Machine Learning Turk
Google's AlphaGo took the world by storm when it won its match with Lee Sedol but Demis Hassabis now acknowledges the dark truth. Google wanted to promote its cloud computing division as Amazon AWS and Microsoft Azure have quite the head start. Google needed a killer app that would bring users to Google Cloud and decided they could win if they had the best machine learning tools. They bought Deepmind, run by Hassabis, and needed a showcase event and decided to focus on Go, a game yet to be conquered by computers. Hassabis and his team used clever machine learning techniques on top of Monte Carlo Tree Search but only made mild improvements to the game. Google was growing desperate so a plan was hatched.
Using a modern version of the mechanical turk, an 18th century chess playing automaton that secretly hid a human inside playing the game, Hassabis enlisted Japanese Go player Yuta Iyama to secretly choose the moves for AlphaGo. Iyama, who worked with Google when they agreed to remove Iyama's embarrassing Karaoke videos from YouTube, didn't have to physically be in the machine but relayed the moves by a method Hassabis wouldn't reveal. AlphaGo, secretly getting its moves from Iyama, easily dispatched the European champion in October.
Hannabis and his team wrote up their failed algorithms and found it shockingly easy to fool the Nature editors and reviewers. Yann LeCun of Facebook looked at the Google's team's Nature paper and didn't see that much different from what Facebook had tried. "I just figured Google had chosen better parameters to make their program successful. At the time I should have realized what Google was up to."
Google took a risk challenging Lee Sedol but Sedol, not realizing he was really facing Iyama, played the wrong style of game and lost the match four games to one.
Will this revelation hurt the future of AI? "Machine learning continues to change society, but when it comes to Go," said LeCun, "Alpha fools".
Using a modern version of the mechanical turk, an 18th century chess playing automaton that secretly hid a human inside playing the game, Hassabis enlisted Japanese Go player Yuta Iyama to secretly choose the moves for AlphaGo. Iyama, who worked with Google when they agreed to remove Iyama's embarrassing Karaoke videos from YouTube, didn't have to physically be in the machine but relayed the moves by a method Hassabis wouldn't reveal. AlphaGo, secretly getting its moves from Iyama, easily dispatched the European champion in October.
Hannabis and his team wrote up their failed algorithms and found it shockingly easy to fool the Nature editors and reviewers. Yann LeCun of Facebook looked at the Google's team's Nature paper and didn't see that much different from what Facebook had tried. "I just figured Google had chosen better parameters to make their program successful. At the time I should have realized what Google was up to."
Google took a risk challenging Lee Sedol but Sedol, not realizing he was really facing Iyama, played the wrong style of game and lost the match four games to one.
Will this revelation hurt the future of AI? "Machine learning continues to change society, but when it comes to Go," said LeCun, "Alpha fools".
Monday, March 28, 2016
MohammadTaghi HajiAghayi on David Johnson
More than a week ago,
I heard the very sad news that David Johnson has passed away after one year
fight with cancer. I felt that I should write a memorial note for him. Indeed I
have done the same for Mihai Pătraşcu in the same blog and both Mihai and David were very similar to
me from several aspects: both were my colleagues at AT&T and more
importantly my dear friends, both they got their Ph.D. from MIT (the same place
that I got my Ph.D. as well), they both were extraordinary researchers, and
both passed away due to cancer after almost a year-long fight with it (and I
was closely aware of their situations in that year). Indeed David read my memo
for Mihai and he told me that he liked it. In addition, there is another reason that I feel respect for David; he was just a bit older than my father who also passed away very recently. So here I would like to put my
thoughts into words for David (and this took me more time in this case
since I wanted to mention some new thoughts given the comments already
in this blog). To do so, I would like to mention some of David’s personal characteristics
that I appreciated a lot and give some examples on them from my interactions
with him. Indeed I have even mentioned some of these to him when he was alive
and told him because of these (and other reasons), I am always proud to mention
that I have him as my boss at some point in my career.
First of all, David
was very humble and modest especially given his extraordinary CV: he won several awards especially Knuth
prize, he is the co-author of one of the top most-cited books in CS, he was
fellows of almost every community that he was involved with (e.g., ACM, SIAM,
AT&T), he was a member and the chair of several prestigious award
committees (like Gödel, Knuth, ACM Kanellakis, ACM Thesis Award) and indeed he was a founder of some of them (e.g.,
Kanellakis), and he was the founder of SODA, the best algorithms conference,
among others. Despite all this he was a very humble and modest man and I think
lots of people who interacted with him will fully agree on this. Just to give
an example, in 1998, while I was still a second-year undergrad at Sharif
University, I sent him an email asking whether he was aware of any book similar
to Garey & Johnson but for parallel computing (indeed this was my first remote
interaction with him); I was shocked how fast he answered my email just in a couple
of hours with a relevant reference. This was especially very exciting and encouraging
for me, since several other people never answered my emails at that time. More
interestingly, later in 2012, I told him personally that I admired him for answering
that email. He told me just wait a second and in a couple of minutes, he could
find the exact same email from 1998 that I sent him; then we even discussed
some English improvements for the email text as well.
Second he was a
perfectionist from several aspects. Here are some examples. He was often the
reviewer for P=NP or P!=NP papers for several journals. Probably lots of us
even do not look into these papers unless written by a well-known fellow; however
he was reading these papers very carefully to find the exact bugs and mention
them to the authors. Indeed even when I sent him several referee requests for
conferences for which I severed as a PC member, he always spent a lot of time
to read the paper very carefully and often came with novel improvements and
simplifications, sometime in a extend that authors of the paper under review
wanted to have this anonymous referee as a co-author. All these happened despite
he was a very busy man; however he still considered the task of refereeing a
paper very seriously and respected the authors (and I think this is an example
that lots of us can learn from it). He was a very good writer as well and spent
a lot of time to improve the presentation of a paper, simplify it, and present
it in a perfect way. I am proud to have one paper coauthored with David, a very
long paper with several co-authors. On this paper David had the lead and indeed
spent all the years that I was with AT&T (and even after than) to prepare
the journal version of the paper. Indeed he was sending us the almost final
version on Dec 2014 (and asked us for comments) just a month before he was
diagnosed with cancer (I hope that still we can send the paper to a journal
given the time that David spent on it). Another example of his perfectionism: he
attended ALL SODA while he was alive and almost ALL STOC and FOCS (expect 1-2
years that AT&T had travel restrictions). Not only that, anytime that there
was any talk in the conference, he attended at least one session. Yet another
example: we had group lunches every day at AT&T. That was David’s habit to ask everyone in the
group to see whether they want to join. Now the interesting point was that he
came exactly at noon EVERY DAY and you could even set your watch for 12pm when you
saw him for lunch.
He was founder of SODA,
the best algorithms conference. Indeed lots of us know David because he was the
founder of SODA and he was handling SODA business meetings for lots of year as
the chair of the steering committee. As a result, I often had lots of
discussion with him regarding SODA and its future. We discussed what the
protocol for selecting the chair of SODA should be, whether SODA should have an
official Rebuttal Phase or not, etc. During discussion even some interesting
topics came up which are good to discuss in the community as well. David
believed since SODAs (and in general other major TCS conferences) are the main
venues for publications but still we need full and correct mathematical proofs
for our claims (despite the rest of CS), we should have a five-year period that any major claims and theorems for which the
authors do not provide full proofs in a verifiable manner in arxiv or in a
journal during these five years should be considered officially open for
everyone to grab, prove formally, and get the full credit for that. Another
discussion was that ideally SODA (and again other major TCS conferences) should go double-blind like lots of
other major CS conferences in other fields. This will help to have much more
fair selection in which the name of authors do not give advantage/disadvantage
for acceptance (though PC chair still could see the author lists for some
extreme cases).
I can probably write
pages and pages of other memories on David’s excellent personal characteristics
(e.g. he was a marathon runner, he held the annual barbecue for
AT&T/Bell-labs theory interns, researchers, and alumni for more than two
decades, he served in Army between his
Masters and Ph.D. and kept the same types of spirits and disciplines in the
rest of his life, he always emphasized on putting his middle initial “S.” in
his name especially due to Airport Security since his name is a very common
name, etc), but I think I should stop at this point.
I hope that we have a
great memorial event for him in the next SODA (SODA’17) the conference that he
founded.
Rest in Peace David,
From Mohammad
Thursday, March 24, 2016
Complexity versus Complexity
For those interested, I've started writing posts for the Predictwise Blog. Predictwise makes predictions of future events such as who will win the Republican Nomination (currently Trump with an 80% probability) based on prediction markets and other betting sites. This has been a fascinating election in terms of predictions, strategies, rules and game theory and I'm happy to try and makes sense out of it over at Predictwise without subjecting my readers here at Computational Complexity with too many political posts.
A reader had asked me to comment on a Slate article The Theory of Everything and Then Some, a book review of John Miller's A Crude Look at the Whole: The Science of Complex Systems in Business, Life, and Society. John Miller is a social scientist who works on the other "complexity theory" that studies that "simple local rules can have complex global implications". Often complex systems work quite well, like the invisible hand of the economy, but sometimes things can go wrong and the article often mentions the "flash crash" of trading programs reacting to each other causing a major drop in stock prices in May of 2010.
Our fields with the similar names are not as different as might appear. Much of what they study are inherently computational-like processes and we also look at emergent behavior from simple operations of Turing machine; read, write and move the tape. What they call non-linear we call computation. We do take very different approaches. The computational complexity theory community proves theorems where we can and helps understand the mathematical challenges of when we can't. The other complexity theorists try to explain by examples, simulations and simplified models.
The two communities often, but not always, seem to have disdain for one another and that's a shame. The tools of computational complexity can help understand the power and limitations of complex systems. These collaborations require them to understand how we can help them and for us to be willing to work on problems that may not yield difficult-to-prove theorems. That's what attracts me to prediction markets, a very simple kind of information aggregation system that still is very difficult to analyze as a computational mechanism.
What's missing from the article is how tools like machine learning can play in helping to predict the outcomes of many complex systems. The big deluge of data that starts off the article may add to the complexity but it almost paradoxically also makes it possible to learn from it.
A reader had asked me to comment on a Slate article The Theory of Everything and Then Some, a book review of John Miller's A Crude Look at the Whole: The Science of Complex Systems in Business, Life, and Society. John Miller is a social scientist who works on the other "complexity theory" that studies that "simple local rules can have complex global implications". Often complex systems work quite well, like the invisible hand of the economy, but sometimes things can go wrong and the article often mentions the "flash crash" of trading programs reacting to each other causing a major drop in stock prices in May of 2010.
Our fields with the similar names are not as different as might appear. Much of what they study are inherently computational-like processes and we also look at emergent behavior from simple operations of Turing machine; read, write and move the tape. What they call non-linear we call computation. We do take very different approaches. The computational complexity theory community proves theorems where we can and helps understand the mathematical challenges of when we can't. The other complexity theorists try to explain by examples, simulations and simplified models.
The two communities often, but not always, seem to have disdain for one another and that's a shame. The tools of computational complexity can help understand the power and limitations of complex systems. These collaborations require them to understand how we can help them and for us to be willing to work on problems that may not yield difficult-to-prove theorems. That's what attracts me to prediction markets, a very simple kind of information aggregation system that still is very difficult to analyze as a computational mechanism.
What's missing from the article is how tools like machine learning can play in helping to predict the outcomes of many complex systems. The big deluge of data that starts off the article may add to the complexity but it almost paradoxically also makes it possible to learn from it.
Sunday, March 20, 2016
Hilary Putnam passed away on March 13
Hilary Putnam passed away on March 13, 2016. Some of the obits say he was a philosopher, mathematician, logician, and computer scientist.
He is probably best known to readers of this blog for his work on Hilbert's 10 problem and resolution.
HILBERT TENTH:
Recall H10 stated in current terminology: Find an ALGORITHM that will, given a poly p(x1,,...,,xn) in many variables, with coefficients in the integers, determine if it has a diophantine solution.
Martin Davis, Hilary Putnam, and Julia Robinson showed that if you also allow exponentation then the problem is undecidable in the early 1960s. Yuri Matijasevich in 1970 showed how to express exps in terms of polynomials to complete the proof. The solution to Hilbert's 10th problem is often credited to all four of them which seems right to me.
One consequence of there proof: for any c.e. set A there is a poly p such that
A = { x | exists x1,...,xn p(x,x1,...,xn)=0}
Later work got the polynomial down to 13 variables.
RESOLUTION:
John Robinson (but see comments) and later papers by Davis-Putnam aad later Davis-Logemann-Loveland devised resolution theorem proven which is an early SAT-solver algorithm. Many modern algorithms are based on it. (Note- earlier version of this post had mistakes in it. I thank Paul Beame's comments below for clarifying the history.)
HOW TO CLASSIFY HIM:
I suspect that Hilary Putnam would call himself a philosopher since that was his MOTIVATION. That may be the best way to classify people (if we are inclined to do that), don't look at WHAT they do look at WHY they do it.
PHIL OF MATH- one problem with Philosophy, even Phil of Math, is that its hard to have well defined questions and therefore hard to answer them. I am NOT criticizing the field, just saying why I would have a hard time working in it.
Thursday, March 17, 2016
The Value of Shapley
Nobel laureate Lloyd Shapley passed away Saturday. We best know Shapley for his stable matching algorithm with David Gale. Nicole Immorlica guest posted on stable matching shortly after Gale's passing in 2008.
I'd like to talk about another great innovation, the Shapley Value, a solution concept for cooperative games. For example, suppose no candidate has a majority of candidates heading into the Republican convention and there is no winner on the first ballot. Now we have many delegates that might group themselves into coalitions, and a union of coalitions that have enough delegates can determine the nominee. Larger coalitions have more power than smaller ones but even a single delegate coalition could tip the election. The Shapley value gives weights to the coalitions that measures their relative power with some nice linear and symmetric properties. In this scenario, the Shapley value of a coalition is the probability that adding that coalition will tip the election when coalitions are added in a random order.
Game Theorist Robert Aumann, another Nobel laureate, used the Shapley value to predict winning coalitions in Israeli elections.
The main challenge of the Shapley value is computational, in general it is #P-complete to compute but it can be approximated efficiently.
I'd like to talk about another great innovation, the Shapley Value, a solution concept for cooperative games. For example, suppose no candidate has a majority of candidates heading into the Republican convention and there is no winner on the first ballot. Now we have many delegates that might group themselves into coalitions, and a union of coalitions that have enough delegates can determine the nominee. Larger coalitions have more power than smaller ones but even a single delegate coalition could tip the election. The Shapley value gives weights to the coalitions that measures their relative power with some nice linear and symmetric properties. In this scenario, the Shapley value of a coalition is the probability that adding that coalition will tip the election when coalitions are added in a random order.
Game Theorist Robert Aumann, another Nobel laureate, used the Shapley value to predict winning coalitions in Israeli elections.
The main challenge of the Shapley value is computational, in general it is #P-complete to compute but it can be approximated efficiently.
Monday, March 14, 2016
On Phillip Rogaway's The Moral Character of Cryptographic Work.
Some people have emailed me asking me to blog about the paper The Moral Character of Cryptographic Work by Phillip Rogaway I urge you to read it, even if you disagree with it. Especially if you disagree with it. (Hmm- how will you know if you don't read it!)
There are so many issues raised in this paper that it could be (and might be) the topic of many blog posts. The first three paragraphs are today's topic:
Preamble. Most academic cryptographers seem to think that our field is a fun, deep, and politically neutral game—a set of puzzles involving communicating parties and notional adversaries. This vision of who we are animates a field whose work is intellectually impressive and rapidly produced, but also quite inbred and divorced from real-world concerns. Is this what cryptography should be like? Is it how we should expend the bulk of our intellectual capital?
For me, these questions came to a head with the Snowden disclosures of 2013. If cryptography’s most basic aim is to enable secure communications, how could it not be a colossal failure of our field when ordinary people lack even a modicum of communication privacy when interacting electronically? Yet I soon realized that most cryptographers didn’t see it this way. Most seemed to feel that the disclosures didn’t even implicate us cryptographers.
I think that they do. So I want to talk about the moral obligations of cryptographers, and my community as a whole. This is not a topic cryptographers routinely discuss. In this post-Snowden era, I think it needs to be.
My thoughts:
1) I would add that the Target Breaking, the SONY hack, and the OPM breakin might also show that crypto has been a failure. He doesn't seem to mention those but I think they strengthen his case.
2) Might it be Security that is a colossal failure? Of course, crypto and security go together so it may be hard to disentangle whose failure it is.
3) Might it be that good crypto research has been done but is not being used- the tech transfer problem. He later claims that this would be relevant if crypto worked on the right problems in the
first place.
4) I tend to think he's right. Rather than me telling you why I think he's right, just read his paper.
There are so many issues raised in this paper that it could be (and might be) the topic of many blog posts. The first three paragraphs are today's topic:
Preamble. Most academic cryptographers seem to think that our field is a fun, deep, and politically neutral game—a set of puzzles involving communicating parties and notional adversaries. This vision of who we are animates a field whose work is intellectually impressive and rapidly produced, but also quite inbred and divorced from real-world concerns. Is this what cryptography should be like? Is it how we should expend the bulk of our intellectual capital?
For me, these questions came to a head with the Snowden disclosures of 2013. If cryptography’s most basic aim is to enable secure communications, how could it not be a colossal failure of our field when ordinary people lack even a modicum of communication privacy when interacting electronically? Yet I soon realized that most cryptographers didn’t see it this way. Most seemed to feel that the disclosures didn’t even implicate us cryptographers.
I think that they do. So I want to talk about the moral obligations of cryptographers, and my community as a whole. This is not a topic cryptographers routinely discuss. In this post-Snowden era, I think it needs to be.
My thoughts:
1) I would add that the Target Breaking, the SONY hack, and the OPM breakin might also show that crypto has been a failure. He doesn't seem to mention those but I think they strengthen his case.
2) Might it be Security that is a colossal failure? Of course, crypto and security go together so it may be hard to disentangle whose failure it is.
3) Might it be that good crypto research has been done but is not being used- the tech transfer problem. He later claims that this would be relevant if crypto worked on the right problems in the
first place.
4) I tend to think he's right. Rather than me telling you why I think he's right, just read his paper.
Wednesday, March 09, 2016
David Johnson (1945-2016)
David Johnson, a leader and advocate for algorithms and all of theoretical computer science, passed away yesterday at the age of 70. A truly sad day for us all.
David's 1979 book with Michael Garey, Computers and Intractability: A Guide to the Theory of NP-Completeness, is still the best reference on the topic and perhaps the single most important resource in any computer scientist's library. David Johnson also wrote the NP-completeness column for the Journal on Algorithms and later the ACM Transactions on Algorithms, as well as "A Catalog of Complexity Classes" for the 1990 Handbook of Theoretical Computer Science. David founded the Symposium on Discrete Algorithms (SODA), a conference that is now often mentioned with STOC and FOCS as a top theory venue. He created the DIMACS algorithms challenges. He led SIGACT from 1987-1991, really transforming that organization, and served as its face for many years thereafter. I'm only scratching the surface of what he's done for the community, and can think of no one who put more effort into making the theoretical computer science as strong as it is.
Of course David was a great researchers as well, working on NP-completeness and approximation algorithms.
He received an ACM Fellow in 1995, the first SIGACT Distinguished Service prize in 1997 and the Knuth Prize in 2010. He used his Knuth prize lecture to push for practical applications for our algorithms. Just last month he was elected into the National Academy of Engineering.
I worked with David Johnson closely on various SIGACT activities. David never missed a STOC and we always invited him to the SIGACT Executive Committee dinners, not because he had an official role, but because he was David Johnson. I truly respected and admired David and glad I could call him a friend. We'll miss him deeply. STOC and SODA just won't be the same without him.
David's 1979 book with Michael Garey, Computers and Intractability: A Guide to the Theory of NP-Completeness, is still the best reference on the topic and perhaps the single most important resource in any computer scientist's library. David Johnson also wrote the NP-completeness column for the Journal on Algorithms and later the ACM Transactions on Algorithms, as well as "A Catalog of Complexity Classes" for the 1990 Handbook of Theoretical Computer Science. David founded the Symposium on Discrete Algorithms (SODA), a conference that is now often mentioned with STOC and FOCS as a top theory venue. He created the DIMACS algorithms challenges. He led SIGACT from 1987-1991, really transforming that organization, and served as its face for many years thereafter. I'm only scratching the surface of what he's done for the community, and can think of no one who put more effort into making the theoretical computer science as strong as it is.
Of course David was a great researchers as well, working on NP-completeness and approximation algorithms.
He received an ACM Fellow in 1995, the first SIGACT Distinguished Service prize in 1997 and the Knuth Prize in 2010. He used his Knuth prize lecture to push for practical applications for our algorithms. Just last month he was elected into the National Academy of Engineering.
I worked with David Johnson closely on various SIGACT activities. David never missed a STOC and we always invited him to the SIGACT Executive Committee dinners, not because he had an official role, but because he was David Johnson. I truly respected and admired David and glad I could call him a friend. We'll miss him deeply. STOC and SODA just won't be the same without him.
Monday, March 07, 2016
When do we care about the constants?
I've been reading two books recently: Asymptopia by Joel Spencer (He turns 70 soon! Workshop for it!. My nephew things that celebrating your bday with a workshop would be... odd) and The Joy of Factoring by Simon Wagtaff. In terms of content they are on two different topics. In terms of practicality they are different: Asymptopia is clearly a pure math book (there is one chapter on algorithms, but the rest is really pure math) whereas The Joy of Factoring is very practical in that it focuses on real algorithms for the important (for crytography) practical problem of factoring. However, there is one thing the books had in common: They both often care about multiplicative constants.
Example from Asymptopia: They gave better and better lower bounds on Ramsey numbers:
(1) R(k) ≥ (1+o(1))(k/e sqrt(2)) 2k/2 roughly (1+o(1))(0.26)2k/2
(2) R(k) ≥ (1+o(1))(k/e) 2k/2 roughly (1+o(1))(1+o(1))(0.37)k/2
(3) R(k) ≥ (1+o(1))(k/sqrt(2)) 2k/2 roughly (1+o(1))(0.71)k/2
(It may be hard to read so I will clarify- the o(1) is little-o, a term that goes to 0 as k gets large.)
The first lower bound uses the prob method and you the reader has prob seen it or could prob derive it yourself. Prob. The second lower bound uses prob and a clever way of coloring and then tossing out some vertices. The third lower bound uses the Local Lovasz Lemma.
Note that for this problem Joel Spencer cared about the constant.
Example from The Joy of Factoring: Since many (but not all!) factoring algorithms do not have rigorously proven run times (Number Theory is Hard!) it's harder to give clean examples here. The book often refers to tricks to get constants down and the notion that constants matters permeates the book. Here is one rigorous example of caring about constants:
Fermat's difference-of-squares algorithm goes as follows: We want to factor N. Let x=floor(sqrt(N)). Test each of the following numbers for being a square and stop when you get a square: x2-N, (x+1)2-N, (x+2)2 - N, etc. When you find an r such that (x+r)2-N=y2 then you have (x+r-y)(x+u+y)=N. Almost surely this is a nontrivial factorization of N. (This algorithm is worse than the trivial sqrt(N) algorithm in some cases; however, it has some of the ideas needed for more sophisticated algorithms including the Quadratic Sieve.) Of course, one might be looking for the right r a long time. How long:
Let a be the largest divisor of N that is ≤ \sqrt(N). Let k=a/sqrt(N). Then the search will take
1+ (1-k)2sqrt(N)/(2k)
Again note that there are no hidden multiplicative constants.
So when do we care about constants and why?
1) If you are working on an algorithm for a problem people really want to solve then you need the constants to be small.
2) If you can get good bounds on the exact constants then you should.
3) If you have a technique and try it out you might end up just improving the constant. Even so, you have showed that the technique has merit.
4) Improving the constant may show progress which will later lead to more important improvements.
5) Chicken and Egg: Here is an example from Asymptopia where he didn't care about the constant: Fix ε. Given three points in the unit square what is the prob that their area will be ≤ ε ? He showed its Θ(ε).This proof is very nice. Tracking the constants used in his proof looks tedious. In order to care about the constants perhaps we need an interesting proof about them. To look for a proof technique that applies to them perhaps we need to care in the first place. Chicken and Egg?
Example from Asymptopia: They gave better and better lower bounds on Ramsey numbers:
(1) R(k) ≥ (1+o(1))(k/e sqrt(2)) 2k/2 roughly (1+o(1))(0.26)2k/2
(2) R(k) ≥ (1+o(1))(k/e) 2k/2 roughly (1+o(1))(1+o(1))(0.37)k/2
(3) R(k) ≥ (1+o(1))(k/sqrt(2)) 2k/2 roughly (1+o(1))(0.71)k/2
(It may be hard to read so I will clarify- the o(1) is little-o, a term that goes to 0 as k gets large.)
The first lower bound uses the prob method and you the reader has prob seen it or could prob derive it yourself. Prob. The second lower bound uses prob and a clever way of coloring and then tossing out some vertices. The third lower bound uses the Local Lovasz Lemma.
Note that for this problem Joel Spencer cared about the constant.
Example from The Joy of Factoring: Since many (but not all!) factoring algorithms do not have rigorously proven run times (Number Theory is Hard!) it's harder to give clean examples here. The book often refers to tricks to get constants down and the notion that constants matters permeates the book. Here is one rigorous example of caring about constants:
Fermat's difference-of-squares algorithm goes as follows: We want to factor N. Let x=floor(sqrt(N)). Test each of the following numbers for being a square and stop when you get a square: x2-N, (x+1)2-N, (x+2)2 - N, etc. When you find an r such that (x+r)2-N=y2 then you have (x+r-y)(x+u+y)=N. Almost surely this is a nontrivial factorization of N. (This algorithm is worse than the trivial sqrt(N) algorithm in some cases; however, it has some of the ideas needed for more sophisticated algorithms including the Quadratic Sieve.) Of course, one might be looking for the right r a long time. How long:
Let a be the largest divisor of N that is ≤ \sqrt(N). Let k=a/sqrt(N). Then the search will take
1+ (1-k)2sqrt(N)/(2k)
Again note that there are no hidden multiplicative constants.
So when do we care about constants and why?
1) If you are working on an algorithm for a problem people really want to solve then you need the constants to be small.
2) If you can get good bounds on the exact constants then you should.
3) If you have a technique and try it out you might end up just improving the constant. Even so, you have showed that the technique has merit.
4) Improving the constant may show progress which will later lead to more important improvements.
5) Chicken and Egg: Here is an example from Asymptopia where he didn't care about the constant: Fix ε. Given three points in the unit square what is the prob that their area will be ≤ ε ? He showed its Θ(ε).This proof is very nice. Tracking the constants used in his proof looks tedious. In order to care about the constants perhaps we need an interesting proof about them. To look for a proof technique that applies to them perhaps we need to care in the first place. Chicken and Egg?
Wednesday, March 02, 2016
Changing This Ancient Art Into a Science
The ACM announced yesterday that they will award the 2015 Turing Award to Whitfield Diffie and Martin Hellman for contributions to modern cryptography. The Turing award is the highest honor in all of computing. John Markoff in the New York Times also has the story.
Diffie and Hellman are best known for public-key cryptography, the brilliant idea that one could communicate secretly with someone you haven't communicated previously. Without public-key cryptography there would be no e-commerce. Equally important Diffie and Hellman brought computational complexity to bare, moving cryptography into its modern age. I strongly recommend reading their 1976 gem New Directions in Cryptography (PDF) particularly the introduction and chapter 6 where Diffie and Hellman connect cryptography to computational complexity and the P v NP problem itself defined only five years earlier. Here's the first paragraph:
We stand today on the brink of a revolution in cryptography. The development of cheap digital hardware has freed it from the design limitations of mechanical computing and brought the cost of high grade cryptographic devices down to where they can be used in such commercial applications as remote key cash dispensers and computer terminals. In turn, such applications create a need for new types of cryptographic systems which minimize the necessity of secure key distribution channels and supply the equivalent of a written signature. At the same time, theoretical developments in information theory and computer science show promise of providing provably secure cryptosystems, changing this ancient art into a science.
One question for which I shall offer no opinion: Should Ralph Merkle have been a co-recipient of this award?
Monday, February 29, 2016
It works in practice, but does it work in theory (Pollard's Factorization algorithm)
Throughout this post I ignore polylog factors.
It is trivial to factor N in time N1/2. Pollard's rho-algorithm (see my write up here or Wikipedia Entry) for factoring does bette expected time N1/4. Or does it? It works well in practice but has not been proven to work well in theory. (If I missed some paper that DID prove it works well in theory please leave a polite comment.)
Here we state a conjectures that, if true, will show that Pollard's algorithm is in time (randomized) N1/4. Let p be a prime. Let c be in {2,...,p-1}.
Let fc(x)= x2 + c mod p.
x1 will be specified in the conjecture. xi is f(xi-1).
For at least half of the elements x1 in {2,...,p-1} and at least half of the elements c in {2,...,p-1} the sequence x1, x2,... will have a repeat within the first O(p1/2) items.
This is thought to be true since it is thought that the sequence is random-enough so that the birthday paradox will work. Still... no proof.
When reading some algorithms papers the interest is in getting an algorithm that you can PROVE the run time of. By contrast, papers on factoring and discrete log and other things that are used to break crypto systems the interest is more in getting something that actually works. I have to learn to stop thinking ``but they haven't proven that!'' and start thinking ``Oh, yes, that would work''. And to be fair, for Pollard's algorithms and others (e.g., quad sieve, number field sieve, which do better in practice than Pollard for large enough numbers) there are REASONS to think they will work well.
More generally, theoretical and applied work may need different mentalities.
Thursday, February 25, 2016
Primary Game Theory
[Nominations open for the SIGACT Distinguished Service Prize. Deadline: April 1]
The US presidential primaries have not gone as expected as you can see from the crazy shifts in the prediction markets. This year besides the usual democratic/republican split, we have an establishment/non-establishment split in both parties. Back in my day outside candidates like Trump, Cruz and Sanders would have run as independents like Ross Perot and John Anderson.
Despite the split, the establishment candidates focus more on themselves than the establishment. Christie's attack on Rubio in New Hampshire may have handed Trump the election and it certainly didn't save Christie's campaign. Kasich should just drop out now if he cares about keeping the nomination for an establishment candidate--it's just not his year, though maybe he's playing some game theory of his own.
The democratic side does not offer such interesting game theory, since we have a two horse race. Mostly a one horse race because the delegate math doesn't work well for Sanders.
Let's look at the election from the point of view of a hypothetical Georgia voter voting on Super Tuesday next week. Such a voter can choose which primary to vote on in election day.
Clinton will easily win Georgia but as long as Bernie gets at least 15% of the vote (likely), delegates will be allocated proportionally. So a vote in the democratic primary could affect a delegate but less likely to to affect who will be the nominee than on the Republican side. Unless Bernie surprises in South Carolina, the hypothetical voter may opt to vote in the Republican primary instead.
The republican delegate allocation rules most likely mean that the candidates receiving at least 20% of the votes will get a proportional allocation of 31 delegates and the winner in each of the 14 congressional districts gets two delegates while the runner up gets one. Looking at the polls, Trump will easily win the election with Cruz and Rubio hovering about 20%. A single vote could affect 6 delegates (20% of Georgia's at large 31 delegates). A vote for Kasich or Carson would not net Kasich or Carson any delegates but could bolster Trump by pushing Rubio's vote percentage down towards that 20% mark.
This scenario plays out across the Super Tuesday primaries. Trump is favored to win in every state voting that day except Cruz's Texas. If Rubio can get at least 20% of the vote in those states he keeps the race alive and could make up ground in winner-take-all states coming up later. Kasich doesn't draw much voters but enough that by not dropping out he may help close out this election on Tuesday. Game theory indeed.
In an early primary season already full of surprises we may see many more. It would be a lot more fun to watch if the fate of the US and the entire world didn't depend on the outcome.
The US presidential primaries have not gone as expected as you can see from the crazy shifts in the prediction markets. This year besides the usual democratic/republican split, we have an establishment/non-establishment split in both parties. Back in my day outside candidates like Trump, Cruz and Sanders would have run as independents like Ross Perot and John Anderson.
Despite the split, the establishment candidates focus more on themselves than the establishment. Christie's attack on Rubio in New Hampshire may have handed Trump the election and it certainly didn't save Christie's campaign. Kasich should just drop out now if he cares about keeping the nomination for an establishment candidate--it's just not his year, though maybe he's playing some game theory of his own.
The democratic side does not offer such interesting game theory, since we have a two horse race. Mostly a one horse race because the delegate math doesn't work well for Sanders.
Let's look at the election from the point of view of a hypothetical Georgia voter voting on Super Tuesday next week. Such a voter can choose which primary to vote on in election day.
Clinton will easily win Georgia but as long as Bernie gets at least 15% of the vote (likely), delegates will be allocated proportionally. So a vote in the democratic primary could affect a delegate but less likely to to affect who will be the nominee than on the Republican side. Unless Bernie surprises in South Carolina, the hypothetical voter may opt to vote in the Republican primary instead.
The republican delegate allocation rules most likely mean that the candidates receiving at least 20% of the votes will get a proportional allocation of 31 delegates and the winner in each of the 14 congressional districts gets two delegates while the runner up gets one. Looking at the polls, Trump will easily win the election with Cruz and Rubio hovering about 20%. A single vote could affect 6 delegates (20% of Georgia's at large 31 delegates). A vote for Kasich or Carson would not net Kasich or Carson any delegates but could bolster Trump by pushing Rubio's vote percentage down towards that 20% mark.
This scenario plays out across the Super Tuesday primaries. Trump is favored to win in every state voting that day except Cruz's Texas. If Rubio can get at least 20% of the vote in those states he keeps the race alive and could make up ground in winner-take-all states coming up later. Kasich doesn't draw much voters but enough that by not dropping out he may help close out this election on Tuesday. Game theory indeed.
In an early primary season already full of surprises we may see many more. It would be a lot more fun to watch if the fate of the US and the entire world didn't depend on the outcome.
Monday, February 22, 2016
What is a `previous publication'?
Here are the guidelines about submission to STOC 2015 with regard to
submitting a prior published paper. I assume that most of the Theory Conferences have a similar policy.
Prior and Simultaneous Submissions: The conference will follow SIGACT's policy on prior publication and simultaneous submissions. Abstract material which has been previously published in another conference proceedings or journal, or which is scheduled for publication prior to July 2015, will not be considered for acceptance at STOC 2015. The only exception to this policy are prior or simultaneous publications appearing in the Science and Nature journals. SIGACT policy does not allow simultaneous submissions of the same (or essentially the same) abstract material to another conference with published proceedings. The program committee may consult with program chairs of other (past or future) conferences to find out about closely related submissions.
Here is a question that I ask non-rhetorically. What if Alice has a paper in arXiv in 2010 and submits it to STOC in 2012. Technically it has not been published before. However, it certainly is not new.
Should this be allowed? Under the current rules of course YES. Should the rules be changed? A paper can be out there without it being published. Should the rules be changed to reflect this? I think NOT since it might be hard to define carefully and I don't want people to discourage posting on arXiv.
Should the committee be allowed to take its not-newness into account in judging it? Do they already? And the notion of well known or out there are subjective.
BOB: This paper has been known about for years.
EVE: Well, I didn't know about it, so for ME its new!
There might be a newness/quality trade off. If Donna posted her proof that P=NP in 2020 but submitted it to STOC 2030, I think it would still get in. By contrast if Bob posts a proof of a good but not great paper that is STOC-worthy in 2020, and then submits it in 2030,, I think it would not get in.
Then again, by 2030 maybe we will have changed the prestige-conference model we currently use.
submitting a prior published paper. I assume that most of the Theory Conferences have a similar policy.
Prior and Simultaneous Submissions: The conference will follow SIGACT's policy on prior publication and simultaneous submissions. Abstract material which has been previously published in another conference proceedings or journal, or which is scheduled for publication prior to July 2015, will not be considered for acceptance at STOC 2015. The only exception to this policy are prior or simultaneous publications appearing in the Science and Nature journals. SIGACT policy does not allow simultaneous submissions of the same (or essentially the same) abstract material to another conference with published proceedings. The program committee may consult with program chairs of other (past or future) conferences to find out about closely related submissions.
Here is a question that I ask non-rhetorically. What if Alice has a paper in arXiv in 2010 and submits it to STOC in 2012. Technically it has not been published before. However, it certainly is not new.
Should this be allowed? Under the current rules of course YES. Should the rules be changed? A paper can be out there without it being published. Should the rules be changed to reflect this? I think NOT since it might be hard to define carefully and I don't want people to discourage posting on arXiv.
Should the committee be allowed to take its not-newness into account in judging it? Do they already? And the notion of well known or out there are subjective.
BOB: This paper has been known about for years.
EVE: Well, I didn't know about it, so for ME its new!
There might be a newness/quality trade off. If Donna posted her proof that P=NP in 2020 but submitted it to STOC 2030, I think it would still get in. By contrast if Bob posts a proof of a good but not great paper that is STOC-worthy in 2020, and then submits it in 2030,, I think it would not get in.
Then again, by 2030 maybe we will have changed the prestige-conference model we currently use.
Thursday, February 18, 2016
Posting Papers
In the ancient days of the 80's, if someone wanted a paper from you, they would ask and you would mail via post. Sometimes I would get a self-addressed envelope asking for a certain paper. Departments would maintain collections of local technical reports. Someone could request a paper, an admin would make a copy, slap on a cover and send it out.
Sometimes I wonder why I bother and just let people use Google Scholar or DBLP to find my papers. I guess I'm just not ready to give up this record of my research life.
In the 90's, we started distributing papers by email, but then who you sent papers to started to matter. As soon as we had a browser in 1993, for fairness, though more because I got tired of responding to paper requests, I put together a page that had electronic copies of all my papers. Over the years those files have gone from postscript to pdf and the page started as html and later I used bib2html which I kept going on my old Chicago CS account that nobody bothered turning off. Bib2html failed to work for me last week, I asked the twitterverse for an alternative and they answered. I went with bibbase and now can reveal my new paper page. Pretty easy to tell from the page when I started as a department chair. I kept the old page active just in case but it will no longer be updated.
Sometimes I wonder why I bother and just let people use Google Scholar or DBLP to find my papers. I guess I'm just not ready to give up this record of my research life.
Sunday, February 14, 2016
∑{p≤ n} 1/p = ln(ln(n)) + o(1). read it here because....
(Last April fools day I posted four links to stories that seemed absurd and asked which one was false. They all were true. I recently came across five stories that all seem absurd but are all real, but three of them can't wait until April 1 since they are about current political events. Here they are:
Amazon to open many brick-and-mortar stores.
Why John Kasich got second place in New Hampshire (whch was better than expected).
Jim Gilmore's (who?) low expectations,
Why Ben Carson left Iowa.
airpnp- not about P vs NP
Donald Trump defends.... (I added this one on March 14)
And now back to our regularly scheduled blog)
A while back Larry Washington (number theorist at UMCP) showed me a simple proof that
∑p ≤ n 1/p = ln(ln(n)) + o(1)
(p goes through all the primes ≤ n.)
Recently I tried to remember it and could not so I looked on the web and... I could not find it! I found proofs that the sum is at least ln(ln(n)) as part of a proof that the series diverges, but could not find a simple proof of the equality.
I asked Larry Washington to email me the proof, and then (and this happens often) while waiting for the response I came up with it.
Anyway, to try to avoid what Lance pondered, the deterioratation of math over time, I post the proof here.Read it here since you probably can't find this proof elsewhere.
I continue to be amazed at both what IS and IS NOT on the web.
(ADDED LATER- one of the comments pointed to links on the web that DO contain the proofs I could not find.)
Amazon to open many brick-and-mortar stores.
Why John Kasich got second place in New Hampshire (whch was better than expected).
Jim Gilmore's (who?) low expectations,
Why Ben Carson left Iowa.
airpnp- not about P vs NP
Donald Trump defends.... (I added this one on March 14)
And now back to our regularly scheduled blog)
A while back Larry Washington (number theorist at UMCP) showed me a simple proof that
∑p ≤ n 1/p = ln(ln(n)) + o(1)
(p goes through all the primes ≤ n.)
Recently I tried to remember it and could not so I looked on the web and... I could not find it! I found proofs that the sum is at least ln(ln(n)) as part of a proof that the series diverges, but could not find a simple proof of the equality.
I asked Larry Washington to email me the proof, and then (and this happens often) while waiting for the response I came up with it.
Anyway, to try to avoid what Lance pondered, the deterioratation of math over time, I post the proof here.Read it here since you probably can't find this proof elsewhere.
I continue to be amazed at both what IS and IS NOT on the web.
(ADDED LATER- one of the comments pointed to links on the web that DO contain the proofs I could not find.)
Thursday, February 11, 2016
Test of Time Award- a good idea but...
The ESA Conference (European Symposium on Algorithms) has a test-of-time award
which
recognizes outstanding papers in algorithms research that were published in the ESA proceedings 19-21 years ago and which are still influential and stimulating the field today.
This sounds like a great idea- some papers are more influential then people might have thought when they first got into ESA, and some papers are less influential then people might have thought. And I am happy that Samir Khuller (my chair) and Sudipto Guha (a grad student when the paper was written) won it for their paper Approximating Algorithms for Connected Dominating Sets.
But there are two things that are not quite right.
1) 19-21 years. That seems like a very small window. '
2) The paper has to have been published in ESA.
Together this makes the job of the panel that decides the award easier as they only have to look at three years of conferences. But there are many fine papers in algorithms that are not in ESA and there may be an awesome three year period and then a draught, so the window seems short.
But rather than complain let me ask some well defined questions:
Are there any other awards with a lower limit (in this case 19 years) on how long the paper has to be out, so that its influence can be better appreciated? This is a good idea, though 19 seems high. Awards for a lifetime of work are often similar in that the are given after the works influence is known.
Are there any other awards that restrict themselves to ONE conference or journal? Of course best-paper and best-student-paper awards to that, but I don't know of any others.
ADDED LATER: A commenter says that there are LOTS of test-of-time awards associated to conferences:
see here
STOC, FOCS, SODA, CCC don't have them so I foolishly thought that was representative.
That raises another question - why do some conferences have it and some dont'?
which
recognizes outstanding papers in algorithms research that were published in the ESA proceedings 19-21 years ago and which are still influential and stimulating the field today.
This sounds like a great idea- some papers are more influential then people might have thought when they first got into ESA, and some papers are less influential then people might have thought. And I am happy that Samir Khuller (my chair) and Sudipto Guha (a grad student when the paper was written) won it for their paper Approximating Algorithms for Connected Dominating Sets.
But there are two things that are not quite right.
1) 19-21 years. That seems like a very small window. '
2) The paper has to have been published in ESA.
Together this makes the job of the panel that decides the award easier as they only have to look at three years of conferences. But there are many fine papers in algorithms that are not in ESA and there may be an awesome three year period and then a draught, so the window seems short.
But rather than complain let me ask some well defined questions:
Are there any other awards with a lower limit (in this case 19 years) on how long the paper has to be out, so that its influence can be better appreciated? This is a good idea, though 19 seems high. Awards for a lifetime of work are often similar in that the are given after the works influence is known.
Are there any other awards that restrict themselves to ONE conference or journal? Of course best-paper and best-student-paper awards to that, but I don't know of any others.
ADDED LATER: A commenter says that there are LOTS of test-of-time awards associated to conferences:
see here
STOC, FOCS, SODA, CCC don't have them so I foolishly thought that was representative.
That raises another question - why do some conferences have it and some dont'?
Monday, February 08, 2016
The Moral Hazard of Avoiding Complexity Assumptions
Moshe Vardi's CACM editor letter The Moral Hazard of Complexity-Theoretic Assumptions practically begs a response from this blog. I also encourage you to read the discussion between Moshe and Piotr Indyk and a twitter discussion between Moshe and Ryan Williams.
I take issue mostly with the title of Vardi's letter. Unfortunately we don't have the tools to prove strong unconditional lower bounds on solving problems. In computational complexity we rely on hardness assumptions, like P ≠ NP, to show that various problems are difficult to solve. Some of these assumptions, like the strong exponential-time hypothesis, the Unique Games Conjecture, the circuits lower bounds needed for full derandomization, are quite strong and we can't be completely confident that these assumptions are true. Nevertheless computer scientists will not likely disprove these assumptions in the near future so they do point to the extreme hardness of solving problems like getting a better than quadratic upper bound for edit distance or a better than 2-ε approximation for vertex cover.
If you read Vardi's letter, he doesn't disagree with the above paragraph. His piece focuses instead on the press that oversells theory results, claiming the efficiency of Babai's new graph isomorphism algorithm or the impossibility of improving edit distance. A science writer friend once told me that scientists always want an article to be fully and technically correct, but he doesn't write for scientists, he writes for the readers who want to be excited by science. Scientists rarely mislead the press, and we shouldn't, but do we really want to force science writers to downplay the story? These stories might not be completely accurate but if we can get the public interested in theoretical computer science we all win. To paraphrase Oscar Wilde, as I tweeted, the only thing worse than the press talking about theoretical computer science results is the press not talking about theoretical computer science results.
I take issue mostly with the title of Vardi's letter. Unfortunately we don't have the tools to prove strong unconditional lower bounds on solving problems. In computational complexity we rely on hardness assumptions, like P ≠ NP, to show that various problems are difficult to solve. Some of these assumptions, like the strong exponential-time hypothesis, the Unique Games Conjecture, the circuits lower bounds needed for full derandomization, are quite strong and we can't be completely confident that these assumptions are true. Nevertheless computer scientists will not likely disprove these assumptions in the near future so they do point to the extreme hardness of solving problems like getting a better than quadratic upper bound for edit distance or a better than 2-ε approximation for vertex cover.
If you read Vardi's letter, he doesn't disagree with the above paragraph. His piece focuses instead on the press that oversells theory results, claiming the efficiency of Babai's new graph isomorphism algorithm or the impossibility of improving edit distance. A science writer friend once told me that scientists always want an article to be fully and technically correct, but he doesn't write for scientists, he writes for the readers who want to be excited by science. Scientists rarely mislead the press, and we shouldn't, but do we really want to force science writers to downplay the story? These stories might not be completely accurate but if we can get the public interested in theoretical computer science we all win. To paraphrase Oscar Wilde, as I tweeted, the only thing worse than the press talking about theoretical computer science results is the press not talking about theoretical computer science results.
Thursday, February 04, 2016
Go Google Go
In 2009 I posted about a surprising new approach that moved computer Go from programs that lose to beginners to where it could beat good amateurs. That approach, now called Monte Carlo Tree Search, involves evaluating a position using random game play and doing a bounded-depth tree search to maximize the evaluation.
Google last week announced AlphaGo, a program that uses ML techniques to optimize MCTS. This program beat the European Go champion five games to none, a huge advance over beating amateurs. In March AlphaGo will play the world Go champion, Lee Sedol, in a five game match. The world will follow the match closely (on YouTube naturally). For now we should keep our expectations in check, Deep Blue failed to beat Kasparov in its first attempt.
Google researchers describe AlphaGo in detail in a readable Nature article. To oversimplify they train deep neural nets to learn two functions, the probability of a win from a given position, and the probability distribution used to choose the next move in the random game play in MCTS. First they train with supervised learning based on historical game data between expert players and then reinforcement learning by basically having the program play itself. AlphaGo uses these functions to guide the Monte Carlo Tree Search.
AlphaGo differs quite a bit from chess algorithms.
Google last week announced AlphaGo, a program that uses ML techniques to optimize MCTS. This program beat the European Go champion five games to none, a huge advance over beating amateurs. In March AlphaGo will play the world Go champion, Lee Sedol, in a five game match. The world will follow the match closely (on YouTube naturally). For now we should keep our expectations in check, Deep Blue failed to beat Kasparov in its first attempt.
Google researchers describe AlphaGo in detail in a readable Nature article. To oversimplify they train deep neural nets to learn two functions, the probability of a win from a given position, and the probability distribution used to choose the next move in the random game play in MCTS. First they train with supervised learning based on historical game data between expert players and then reinforcement learning by basically having the program play itself. AlphaGo uses these functions to guide the Monte Carlo Tree Search.
AlphaGo differs quite a bit from chess algorithms.
- AlphaGo uses no built-in strategy for Go. The same approach could be used for most other two player games. I guess this approach would fail miserably for Chess but I would love to see it tried.
- Machine learning has the nice property that you can train offline slowly and then apply the resulting neural nets quickly during gameplay. While we can refine the chess algorithms offline but all the computation generally happens during the game.
- If a computer chess program makes a surprising move, good or bad, one can work through the code and figure out why the program made that particular move. If AlphaGo makes a surprising move, we'll have no clue why.
- I wonder if the same applies to human play. A chess player can explain the reasoning behind a particular move. Can Go players do the same or do great Go players rely more on intuition?
Machine learning applications like AlphaGo seemingly tackle difficult computational problems with virtually no built-in domain knowledge. Except for generating the game data for the supervised learning, humans play little role in how AlphaGo decides what to do. ML uses the same techniques to translate languages, to weed out spam, to set the temperature in my house, and in the near future to drive my car. Will they prove our theorems? Time will tell.
Monday, February 01, 2016
Math questions that come out of the Iowa Caucus
Link for info I refer to here
Jim Gilmore, republican, has 0% of the vote. Does that mean that literally NOBODY voted for him?
Hillary beat Bernie , but BOTH get 21 delegates. I hardly call that a win. I call that a tie.
Why do we refer to Hillary and Bernie by their first names, but most of the republicans by their last name. The only exception is Jeb! who we call Jeb to dist from his brother. Also, I think he wants to play down his relation to his brother. Not that it will matter.
Cruz/Trump/Rubio will get 8,7,6 delegates.(This might change but not by a lot). I'd call that a tie. Later states will be winner-take-all which make no sense in a race with this many people (though it may go down soon-- Huckabee has already suspended his campaign which seems like an odd way of saying I quit). But in winner-take-all states there will be real winners. Why are there winner-take-all states? It was a deal made so that those states wouldn't move their primaries up.
This is a terrible way to pick a president. I don't mean democracy which is fine, I mean the confusing combination of Caucus's and Primaries, with some states winner-take-all, some by proportion, and Iowa and NH having... more power than they should. This was NOT a planned system it just evolved that way. But its hard to change.
If you are a registered Republican but want Hillary to win then do you (1) vote for the republican you like the best, or (2) vote for the Republican that Hillary can most easily beat. The problem with (2) is that you could end up with President Trump.
Stat analysis of polls and looking at past trends have their limits for two reasons:
1) The amount of data is small. The modern primary system has only been in place since 1972. Some nominations are incumbents which are very different from a free-for-all. The only times both parties had free-for-alls were 1988, 2000, 2008, and 2016.
2) Whatever trends you do find, even if they are long term (e.g., the tallest candidate wins) might just change. The old Machine Learning warning: Trends hold until they don't.
Most sciences get BETTER over time. Polling is a mixed bag. On the one hand, using modern technology you can poll more people. On the other hand, people have so many diff ways to contact them that its hard to know what to do. For example, its no longer the case that everyone has a landline.
Is this headline a satire?:here
AI project- write a program that tells political satire from political fact. Might be hard.
My wife pointed out that
Hillary WINS since she didn't lose!
Bernie WINS since an insurgent who TIES the favorite is a win
Cruz WINS since... well, he actually DID win
Trump WINS since his support is mostly real and he didn't collapse. And he was surprisingly gracious in his concession speech. (This is the weakest `he WINS' argument on this list)
Rubio might be the BIG WINNER since he did way better than expected. Thats a rather odd criteria and it makes people want to set their expectations low.
SO--- like a little league game where they all tried hard, THE'RE ALL WINNERS!
The American Public--- not so much.
Jim Gilmore, republican, has 0% of the vote. Does that mean that literally NOBODY voted for him?
Hillary beat Bernie , but BOTH get 21 delegates. I hardly call that a win. I call that a tie.
Why do we refer to Hillary and Bernie by their first names, but most of the republicans by their last name. The only exception is Jeb! who we call Jeb to dist from his brother. Also, I think he wants to play down his relation to his brother. Not that it will matter.
Cruz/Trump/Rubio will get 8,7,6 delegates.(This might change but not by a lot). I'd call that a tie. Later states will be winner-take-all which make no sense in a race with this many people (though it may go down soon-- Huckabee has already suspended his campaign which seems like an odd way of saying I quit). But in winner-take-all states there will be real winners. Why are there winner-take-all states? It was a deal made so that those states wouldn't move their primaries up.
This is a terrible way to pick a president. I don't mean democracy which is fine, I mean the confusing combination of Caucus's and Primaries, with some states winner-take-all, some by proportion, and Iowa and NH having... more power than they should. This was NOT a planned system it just evolved that way. But its hard to change.
If you are a registered Republican but want Hillary to win then do you (1) vote for the republican you like the best, or (2) vote for the Republican that Hillary can most easily beat. The problem with (2) is that you could end up with President Trump.
Stat analysis of polls and looking at past trends have their limits for two reasons:
1) The amount of data is small. The modern primary system has only been in place since 1972. Some nominations are incumbents which are very different from a free-for-all. The only times both parties had free-for-alls were 1988, 2000, 2008, and 2016.
2) Whatever trends you do find, even if they are long term (e.g., the tallest candidate wins) might just change. The old Machine Learning warning: Trends hold until they don't.
Most sciences get BETTER over time. Polling is a mixed bag. On the one hand, using modern technology you can poll more people. On the other hand, people have so many diff ways to contact them that its hard to know what to do. For example, its no longer the case that everyone has a landline.
Is this headline a satire?:here
AI project- write a program that tells political satire from political fact. Might be hard.
My wife pointed out that
Hillary WINS since she didn't lose!
Bernie WINS since an insurgent who TIES the favorite is a win
Cruz WINS since... well, he actually DID win
Trump WINS since his support is mostly real and he didn't collapse. And he was surprisingly gracious in his concession speech. (This is the weakest `he WINS' argument on this list)
Rubio might be the BIG WINNER since he did way better than expected. Thats a rather odd criteria and it makes people want to set their expectations low.
SO--- like a little league game where they all tried hard, THE'RE ALL WINNERS!
The American Public--- not so much.
Subscribe to:
Posts (Atom)



