(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.)
Computational Complexity and other fun stuff in math and computer science from Lance Fortnow and Bill Gasarch
Sunday, February 14, 2016
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.
Thursday, January 28, 2016
We Still Can't Beat Relativization
As we celebrate our successes in computational complexity here's a sobering fact: We have had no new non-relativizing techniques in the last 25 years.
A little background: In 1975, a few years after Cook established the P v NP problem, Baker, Gill and Solovay created two sets A and B such that every NP machine that could ask questions about A could be simulated by a P machine that could ask questions to A and there is some language accepted by an NP machine that could ask questions to B that cannot be solved by a P machine that could ask questions to B. In other words PA = NPA but PB ≠ NPB.
All the known proof techniques at the time relativized, i.e., if you proved two classes were the same or different, they would be the same of different relative to any set. BGS implied that these techniques could not settle the P v NP problem.
In the 80's and 90's we got very good at creating these relativized worlds and, with a couple of exceptions, we created relativized worlds that make nearly all the open questions of complexity classes between P and PSPACE both true and false.
There were some results in the that were non-relativizing for technical uninteresting reasons. In the late 80s/early 90s we had some progress, results like NP having zero-knowledge proofs, co-NP (and later PSPACE) having interactive proofs and NEXP having (exponential-sized) probabilistically checkable proofs, despite relativized worlds making those statements false. But then it stopped. We had a few more nonrelativizing results but those just used the results above, not any new techniques.
In 1994 I wrote on survey on what relativization meant post-interactive proofs, still mostly up to date. We have seen new barriers put up such as natural proofs and algebrization, but until we can at least get past traditional relativization we just cannot make much more progress with complexity classes.
A little background: In 1975, a few years after Cook established the P v NP problem, Baker, Gill and Solovay created two sets A and B such that every NP machine that could ask questions about A could be simulated by a P machine that could ask questions to A and there is some language accepted by an NP machine that could ask questions to B that cannot be solved by a P machine that could ask questions to B. In other words PA = NPA but PB ≠ NPB.
All the known proof techniques at the time relativized, i.e., if you proved two classes were the same or different, they would be the same of different relative to any set. BGS implied that these techniques could not settle the P v NP problem.
In the 80's and 90's we got very good at creating these relativized worlds and, with a couple of exceptions, we created relativized worlds that make nearly all the open questions of complexity classes between P and PSPACE both true and false.
There were some results in the that were non-relativizing for technical uninteresting reasons. In the late 80s/early 90s we had some progress, results like NP having zero-knowledge proofs, co-NP (and later PSPACE) having interactive proofs and NEXP having (exponential-sized) probabilistically checkable proofs, despite relativized worlds making those statements false. But then it stopped. We had a few more nonrelativizing results but those just used the results above, not any new techniques.
In 1994 I wrote on survey on what relativization meant post-interactive proofs, still mostly up to date. We have seen new barriers put up such as natural proofs and algebrization, but until we can at least get past traditional relativization we just cannot make much more progress with complexity classes.
Sunday, January 24, 2016
When do we stop giving the original reference?
I was preparing a talk which included my result that there is a sane reduction 4-COL \le 3-COL (the paper is here) when I realized that if I am going to claim the reduction is by Gasarch then I should find out and credit the person who proved 3-COL NP-complete (I assume that the result 3-COL \le 4-COL is too trivial to have an author). I could not find the ref on the web (I am sure that one can find it on the web, but a cursory glance did not yield it). The reference was not in Goldreich's complexity book, nor the CLR Algorithms book. I suspect its not in most recent books.
The reference is Stockmeyer, SIGACT NEWS 1973,
Few modern paper references Cook or Levin's original papers for the Cook-Levin Theorem. I've even heard thats a sign its a crank paper.
Few modern papers reference Ramsey's original paper for Ramsey's Theorem.
But the questions arises--- when is a result such common knowledge that a ref is no longer needed?
A result can also go through a phase where the reference is to a book that contains it, rather than the original paper.
On the one hand, one SHOULD ref the original so that people know who did it and what year it was from. On the other hand there has to be a limit to this or else we would all be refering to Euclid and Pythagoras.
Where does Stockmeyer's result fall? I do not know; however, I've noticed that I didn't reference him, and I will correct that.
Thursday, January 21, 2016
The Growing Academic Divide
So reads the Report on the Modern Language Association Job Information List. The MLA is the main scholarly organization for the humanities in the US. The bright spot--we aren't Japan.The decreases of the past three years bring the number of advertised jobs to a new low, below the level reached after the severe drop between 2007–08 and 2009–10.
Meanwhile in computer science we continue to see large enrollment increases in major, minors and students just wanting to take computer science courses. In the upcoming CRA Snowbird Conference "a major focus of the conference will be booming enrollments, with a short plenary followed by parallel sessions devoted to the topic, its various ramifications, and ideas to help you deal with it, including best practices for managing growth."
The 2015 November CRA News had 83 pages of faculty job ads, up from 75 in 2014 and 34 in 2012. This doesn't even count that fact that many departments are looking to hire two, three, four or more positions in CS. It will be an interesting job market this spring.
All of this is driven by jobs. We can't produce enough strong computer scientists to fill industry demand. And it's becoming increasingly hard for a humanities major to get a good first job.
It's nice to be on the side of growth but it's a shame that faculty hiring seems to be a zero-sum game. We need poets as well as nerds. We've help create a world where we have made ourselves indispensable but is this a world we really want to live in?
Monday, January 18, 2016
Is it okay to praise an article or book in an article or book?
I recently had a paper accepted (YEAH!). The referees had some good corrections and one that puzzled me.
you wrote ``our proof is similar to the one in the wonderful book by Wilf on generationg functions [ref]''. You should not call a book wonderful as that is subjective. You can say it's well known.
I asked a pretension of professors about this. Is it okay to praise an article or book? Is it okay to state an opinon? Would the following be acceptable:
1) In Cook's groundbreaking paper SAT was shown to be NP-complete. It IS grounbreaking, so maybe thats okay.
2) Ramsey's paper, while brilliant, is hard for the modern reader to comprehend. Hence we give an exposition. If I am writing an exposition then I might need to say why the original is not good to read so this is informative.
3) Ryan Williams proved an important lower bound in [ref]. Is this okay to write? For most people yes, but NOT if you are Ryan Williams. (He never wrote such.)
4) William Gasarch proved an unimportant lower bound in [ref]. Is this okay to write ? Only if you ARE William Gasarch (He never wrote such).
The version that will be in a journal will indeed NOT call Wilf's book wonderful. The version on arXiv which will be far more read (not behind a paywall) will call Wilf's book wonderful.
you wrote ``our proof is similar to the one in the wonderful book by Wilf on generationg functions [ref]''. You should not call a book wonderful as that is subjective. You can say it's well known.
I asked a pretension of professors about this. Is it okay to praise an article or book? Is it okay to state an opinon? Would the following be acceptable:
1) In Cook's groundbreaking paper SAT was shown to be NP-complete. It IS grounbreaking, so maybe thats okay.
2) Ramsey's paper, while brilliant, is hard for the modern reader to comprehend. Hence we give an exposition. If I am writing an exposition then I might need to say why the original is not good to read so this is informative.
3) Ryan Williams proved an important lower bound in [ref]. Is this okay to write? For most people yes, but NOT if you are Ryan Williams. (He never wrote such.)
4) William Gasarch proved an unimportant lower bound in [ref]. Is this okay to write ? Only if you ARE William Gasarch (He never wrote such).
The version that will be in a journal will indeed NOT call Wilf's book wonderful. The version on arXiv which will be far more read (not behind a paywall) will call Wilf's book wonderful.
Thursday, January 14, 2016
A limit on the DFA-CFG divide for finite sets
It is easy to see that for Ln = {a,b}*a{a,b}2n
There IS a CFG of size O(n)
ANY DFA is of size double-exp-in-n
I was wondering if we can increase this gap. That is, a statment like: For all but a finite number of n there exists a lang Ln such that
There IS a CFG of size O(n)
ANY DFA is of size triple-exp-in-n.
I also looked at finite sets. For COMPLIMENT of { ww : |w|=2n }
There IS a CFG of size O(n)
ANY DFA (in fact any DPDA) is of size double-exp-in-n.
This is stated in my paper here though the real interesting math needed to get it are in here where they get lower bounds on the size of CFG's, generalizing techniques from here.
SO my question still stands- can we get a triple exp separation? I have shown that this CANNOT be achieved with finite sets:
THEOREM: If L is a finite lang then there exists n such that (1) Any CFG in Chomsky Normal Form for L has to be of size \ge log n, AND (2) there IS a DFA of size 2n.
Proof: Let n be such that the longest string in L if of length n. In order for a Chomsky Normal Form grammar to generate this string it needs \ge log n nonterminals. Since the lang has at most 2n
strings in it, there is a DFA of size 2n for it.
End of proof.
So I have shown that one approach won't work. I am hoping that YOU know an approach to get
a trip-exp-sep and leave a comment about it.
There IS a CFG of size O(n)
ANY DFA is of size double-exp-in-n
I was wondering if we can increase this gap. That is, a statment like: For all but a finite number of n there exists a lang Ln such that
There IS a CFG of size O(n)
ANY DFA is of size triple-exp-in-n.
I also looked at finite sets. For COMPLIMENT of { ww : |w|=2n }
There IS a CFG of size O(n)
ANY DFA (in fact any DPDA) is of size double-exp-in-n.
This is stated in my paper here though the real interesting math needed to get it are in here where they get lower bounds on the size of CFG's, generalizing techniques from here.
SO my question still stands- can we get a triple exp separation? I have shown that this CANNOT be achieved with finite sets:
THEOREM: If L is a finite lang then there exists n such that (1) Any CFG in Chomsky Normal Form for L has to be of size \ge log n, AND (2) there IS a DFA of size 2n.
Proof: Let n be such that the longest string in L if of length n. In order for a Chomsky Normal Form grammar to generate this string it needs \ge log n nonterminals. Since the lang has at most 2n
strings in it, there is a DFA of size 2n for it.
End of proof.
So I have shown that one approach won't work. I am hoping that YOU know an approach to get
a trip-exp-sep and leave a comment about it.
Monday, January 11, 2016
A question in Formal Lang Theory about Size of Desc of Languages.
(This post is inspired by me thinking more about this blog entry and this paper.)
Upper bounds on n are really O(n).
Lower bounds of f(n) are really Omega(f(n))
DPDA = Deterministic Push Down Automata
NDFA = Nondet. Finite Aut.
DFA = Det. Finite Aut.
It is known that FOR ALL n there is a lang Ln such that there is an NDFA of size n, but ANY DFA for Ln is of size at least 2n : Ln = (a,b)*a(a,b)n. for DFA-exactly 2n, NDFA- n+2. One can also get 2n and n.
It is known that FOR ALL n there is a lang Ln such that there is a DPDA of size n, but ANY NDFA for Ln is of size at least roughly 2n size: Ln={a2n }. (ADDED LATER TO CLARIFY- NOTE THAT
Ln is a one-element set, hence regular.)
Can we acheive both at the same time? Is the following true: for all n there exists Ln such that
1) There is a size n DPDA for Ln.
2) Any NDFA for Ln requires size 2n.
3) There IS an NDFA for Ln of size 2n.
4) Any DFA for Ln requires size 22n.
If we replace DPDA with PDA then { (a,b)*a(a,b)2n } works.
Wednesday, January 06, 2016
Rūsiņš Freivalds (1942-2016)
Rūsiņš Mārtiņš Freivalds passed away on Monday from a heart attack at the age of 73. I met Freivalds several times often through Carl Smith, who passed away himself in 2004. Rūsiņš, Carl, Bill, myself and a couple of others have a joint paper on inductive inference and measure theory. Freivalds is the sixth co-author I've lost and it never gets easier.
Rūsiņš Freivalds did much of the early work in probabilistic algorithms and automata, and in inductive inference, a computability-theoretic approach to learning. In the 70's he found fast probabilistic algorithms for checking multiplication of integers and matrices. More recently he has looked at quantum finite automata. He supervised several PhD students including Andris Ambainis, one of the leading researchers in quantum algorithms.
Mostly I remember Freivalds as the leader of the Latvian theoretical computer science community and just an extremely nice and friendly colleague. I am glad to have known and worked with him.
Rūsiņš Freivalds did much of the early work in probabilistic algorithms and automata, and in inductive inference, a computability-theoretic approach to learning. In the 70's he found fast probabilistic algorithms for checking multiplication of integers and matrices. More recently he has looked at quantum finite automata. He supervised several PhD students including Andris Ambainis, one of the leading researchers in quantum algorithms.
Mostly I remember Freivalds as the leader of the Latvian theoretical computer science community and just an extremely nice and friendly colleague. I am glad to have known and worked with him.
Sunday, January 03, 2016
Predictions for 2016
This is the first post of 2016! (that is not a factorial). Hence I will make some predictions and at the end of the year I'll see how I did
1) The USA Prez election will have two main candidates: Hillary Clinton and Ted Cruz. Clinton will win by floating rumors that Cruz was born in a foreign country.
2) There will be a proof that there exists a constant c such that the methods that got a lower bound of (3+1/86)n on an explicit function cannot be extended to cn.
3) P vs NP will not be solved. But see next point.
4) I will be asked to look at at least two resolutions of P vs NP. This year I was asked to look at two
proofs that P=NP. Neither was correct.
5) GI will still not be in known to be in P.
6) There will be a proof that Babai's techniques cannot get GI into P.
7) The fact that 2016=25327 will be useful in a math competition.
8) Posting a video of a talk (as Babai did) will become an acceptable way to claim a result, rather than having a paper on arXiv. Getting a paper in a Journal will become less and less relevant for big results.
(This is a topic for a later blog post.)
9) The Unique Game conjecture... When it was first stated it seemed like maybe it could be proven or disproven. The longer it stays open the harder it seems. Clyde Kruskal tells me that a good method for guessing how long a problem will stay open is how long its been open. So I'll predict it won't be resolved this year. However, by that reasoning, I will always predict it will not be resolved in the following year.
10) There will be a big data breach. The security protocols used were never proven secure, though that won't be what caused the breach. Nor was it caused because of a really fast factoring or DL algorithm.
11) Comp Sci enrollment will continue to rise.
12) Leave your predictions in the comments!
1) The USA Prez election will have two main candidates: Hillary Clinton and Ted Cruz. Clinton will win by floating rumors that Cruz was born in a foreign country.
2) There will be a proof that there exists a constant c such that the methods that got a lower bound of (3+1/86)n on an explicit function cannot be extended to cn.
3) P vs NP will not be solved. But see next point.
4) I will be asked to look at at least two resolutions of P vs NP. This year I was asked to look at two
proofs that P=NP. Neither was correct.
5) GI will still not be in known to be in P.
6) There will be a proof that Babai's techniques cannot get GI into P.
7) The fact that 2016=25327 will be useful in a math competition.
8) Posting a video of a talk (as Babai did) will become an acceptable way to claim a result, rather than having a paper on arXiv. Getting a paper in a Journal will become less and less relevant for big results.
(This is a topic for a later blog post.)
9) The Unique Game conjecture... When it was first stated it seemed like maybe it could be proven or disproven. The longer it stays open the harder it seems. Clyde Kruskal tells me that a good method for guessing how long a problem will stay open is how long its been open. So I'll predict it won't be resolved this year. However, by that reasoning, I will always predict it will not be resolved in the following year.
10) There will be a big data breach. The security protocols used were never proven secure, though that won't be what caused the breach. Nor was it caused because of a really fast factoring or DL algorithm.
11) Comp Sci enrollment will continue to rise.
12) Leave your predictions in the comments!
Monday, December 28, 2015
Complexity Year in Review 2015
We had an incredible year for theorems in 2015, the strongest year in computational complexity in the last decade. Topping the list as the theorem of the year is László Babai's quasipolynomial-time algorithm for graph isomorphism. A little risky because nobody, including Babai himself, has fully verified the proof but given Babai's reputation and the warm reception of his lectures, I have little doubt it will all work out. Again I strongly recommend watching the video of Babai's first lecture. Not only is Babai a great researcher but he's an excellent speaker as well. For the those up to the challenge, the paper is now available as well.
Beyond Babai's result we had a great year including random oracles separating the polynomial-time hierarchy, the (3+1/86)n size lower bound for general circuits, Terry Tao's solution to the Erdős discrepancy problem, explicit constructions of Ramsey Graphs and new bounds on threshold circuits.
We celebrated 50 years of computational complexity and Moore's law, the centenary of Hamming and the bicentenaries of Ada Lovelace and George Boole, the latter giving us the Boolean algebra. In 2016 we will celebrate the centenary of the person who used those bits to describe information.
We thank our guest posters Dylan McKay and Thomas Zeume. Dylan's metric group problem is still open if anyone wants to try and crack it.
In 2015 we continue to see CS departments struggle to meet the demand of students and industry. US universities faced many difficult challenges including dealing with race relations, freedom of speech and safety issues. Too much tragedy in the US and abroad, and a far too divisive political campaign. Here's hoping for reason to prevail in 2016.
We remember Gene Amdahl, Alberto Apostolico, Barry Cooper, George Cox, Jiří Matoušek, John Nash, Leonard Nimoy, Hartley Rogers Jr., Donald Rose, Karsten Schwan and Joe Traub.
Wishing everyone a Happy New Year and a successful 2016.
Beyond Babai's result we had a great year including random oracles separating the polynomial-time hierarchy, the (3+1/86)n size lower bound for general circuits, Terry Tao's solution to the Erdős discrepancy problem, explicit constructions of Ramsey Graphs and new bounds on threshold circuits.
We celebrated 50 years of computational complexity and Moore's law, the centenary of Hamming and the bicentenaries of Ada Lovelace and George Boole, the latter giving us the Boolean algebra. In 2016 we will celebrate the centenary of the person who used those bits to describe information.
We thank our guest posters Dylan McKay and Thomas Zeume. Dylan's metric group problem is still open if anyone wants to try and crack it.
In 2015 we continue to see CS departments struggle to meet the demand of students and industry. US universities faced many difficult challenges including dealing with race relations, freedom of speech and safety issues. Too much tragedy in the US and abroad, and a far too divisive political campaign. Here's hoping for reason to prevail in 2016.
We remember Gene Amdahl, Alberto Apostolico, Barry Cooper, George Cox, Jiří Matoušek, John Nash, Leonard Nimoy, Hartley Rogers Jr., Donald Rose, Karsten Schwan and Joe Traub.
Wishing everyone a Happy New Year and a successful 2016.
Tuesday, December 22, 2015
Guns and Crypto
“We believe it would be wrong to weaken security for hundreds of millions of law-abiding customers so that it will also be weaker for the very few who pose a threat,” said a spokesperson from Smith & Wesson on the recent calls for increased gun control.
The quote was actually from Apple on a proposed British law that would require the company to devise methods to break into iPhone communications.
In the wake of Paris and San Bernardino we've heard calls for controls on both guns and cryptography with eerily similar arguments coming from defenders. If we ban guns/crypto then only bad people will have guns/crypto. Any attempts to limit guns/crypto is a slippery slope that takes away our constitutional rights and our freedoms.
I don't have a gun but I do use encryption, built into the iPhone and the various apps and browsers I use to communicate. Fat lot of good it does me as hackers stole my personal information because I shopped at Home Depot and Target. Because my health insurance runs through Anthem. Because I voted in the State of Georgia.
I am a strong believer in individual rights, a person should be able to use cryptography to protect their communications and a gun, if they wish, to protect their family. But I do see the value in gaining access in communications to stop a terrorist as well as making it harder for them to get the weapons to carry out their acts. Why can't the fingerprint technology that unlocks my iPhone also unlock a gun? The gun/crypto advocates don't trust to government to implement any restrictions reasonably and thus fight any changes.
No laws can completely eliminate or even restrict guns or crypto but they can make it harder to use. The challenges aren't technological, we can create guns or crypto protocols that perform as we want them to perform. The challenges are social, finding the right balance between rights and security and governments we can trust to enforce that balance.
The quote was actually from Apple on a proposed British law that would require the company to devise methods to break into iPhone communications.
In the wake of Paris and San Bernardino we've heard calls for controls on both guns and cryptography with eerily similar arguments coming from defenders. If we ban guns/crypto then only bad people will have guns/crypto. Any attempts to limit guns/crypto is a slippery slope that takes away our constitutional rights and our freedoms.
I don't have a gun but I do use encryption, built into the iPhone and the various apps and browsers I use to communicate. Fat lot of good it does me as hackers stole my personal information because I shopped at Home Depot and Target. Because my health insurance runs through Anthem. Because I voted in the State of Georgia.
I am a strong believer in individual rights, a person should be able to use cryptography to protect their communications and a gun, if they wish, to protect their family. But I do see the value in gaining access in communications to stop a terrorist as well as making it harder for them to get the weapons to carry out their acts. Why can't the fingerprint technology that unlocks my iPhone also unlock a gun? The gun/crypto advocates don't trust to government to implement any restrictions reasonably and thus fight any changes.
No laws can completely eliminate or even restrict guns or crypto but they can make it harder to use. The challenges aren't technological, we can create guns or crypto protocols that perform as we want them to perform. The challenges are social, finding the right balance between rights and security and governments we can trust to enforce that balance.
Monday, December 21, 2015
Blog Followers
If you follow this or any other Blogger-based blog via a non-Google account, you'll need to follow with a Google account instead. Details.
Wednesday, December 16, 2015
Simons and Berkeley
The Simons Institute for the Theory of Computing in Berkeley held two programs this fall, Fine-Grained Complexity and Algorithm Design and Economics and Computation both ending this week. It would have been a great fall for me to spend there as I have strong connections in both groups, but as a department chair and father to a high-school senior it would have been impossible to be away from Atlanta for an extended period of time.
But I did manage some short trips, my first to Simons. In September I went to attend the workshop on Connections Between Algorithm Design and Complexity Theory but had to leave early and to make up for it I visited for a few days last week as well. The Simons Institute has taken over Calvin Lab, a circular building on the UC Berkeley campus. Lecture rooms on the first floor, wide-open working spaces on the second floor where most people congregate and visitor offices on the third floor. It's not just the space but an incredible group of complexity theorists and EC types there this fall.
The year marks thirty years since I spent that not-so-happy year of grad school in Berkeley. The city of Berkeley has mellowed a bit. When I lived there before, many recent graduates didn't leave and instead remained in their cheap rent-controlled apartments. Now you see almost a bimodal distribution centered around college-aged students and late middle-aged residents. Berkeley housing is getting hard to find again, this time because of overflow from limited affordable housing in San Francisco. Still Berkeley seems like a city that has never grown up. I guess people like it that way.
But I did manage some short trips, my first to Simons. In September I went to attend the workshop on Connections Between Algorithm Design and Complexity Theory but had to leave early and to make up for it I visited for a few days last week as well. The Simons Institute has taken over Calvin Lab, a circular building on the UC Berkeley campus. Lecture rooms on the first floor, wide-open working spaces on the second floor where most people congregate and visitor offices on the third floor. It's not just the space but an incredible group of complexity theorists and EC types there this fall.
The year marks thirty years since I spent that not-so-happy year of grad school in Berkeley. The city of Berkeley has mellowed a bit. When I lived there before, many recent graduates didn't leave and instead remained in their cheap rent-controlled apartments. Now you see almost a bimodal distribution centered around college-aged students and late middle-aged residents. Berkeley housing is getting hard to find again, this time because of overflow from limited affordable housing in San Francisco. Still Berkeley seems like a city that has never grown up. I guess people like it that way.
Thursday, December 10, 2015
Ada Lovelace (1815-1852)
Back in my teens I had ordered my first computer, a TRS-80 from Radio Shack, and I grew anxious in the weeks before it arrived. I learned the basics of BASIC and started writing programs on paper ready to be typed into this new machine. Imagine though if I had to wait not just a few weeks but over a hundred years. Such was the fate of Augusta Ada King, Countess of Lovelace, born two hundred years ago today.
Ada, daughter of the poet Lord Byron, showed an early talent in mathematics. At age 17 she became a friend of Charles Babbage, inventor of the difference engine and proposed a more complex analytic engine. Babbage gave a talk at the University of Turin and Ada had the task of translating an article written by Italian engineer Luigi Menabrea based on the talk. Ada did more than just translate, she added her own thoughts which included a program that could be run on the analytic engine computing a specific sequence of numbers. The analytic engine never got built and Ada never saw her program run but nevertheless she gets credit as the first computer programmer and most notably in 1980 the US Department of Defense named their preferred computer language "Ada" in her honor.
Here's to Lady Ada Lovelace, born way too far ahead of her time.
Ada, daughter of the poet Lord Byron, showed an early talent in mathematics. At age 17 she became a friend of Charles Babbage, inventor of the difference engine and proposed a more complex analytic engine. Babbage gave a talk at the University of Turin and Ada had the task of translating an article written by Italian engineer Luigi Menabrea based on the talk. Ada did more than just translate, she added her own thoughts which included a program that could be run on the analytic engine computing a specific sequence of numbers. The analytic engine never got built and Ada never saw her program run but nevertheless she gets credit as the first computer programmer and most notably in 1980 the US Department of Defense named their preferred computer language "Ada" in her honor.
Here's to Lady Ada Lovelace, born way too far ahead of her time.
Monday, December 07, 2015
crank math and crank people
In the same week I got email claming:
1) Babai had shown that GI is in quasipoly time.
2) Opeyemi Enoch, a Nigerian Mathematician, solved the Riemann hypothesis.
I believe Babai's claim since (a) he's worked on the problem a lot and is a known expert, (b) the result is believable, and (c) the math we know now seem up to the task.
I do not believe Enoch's claim. It would be unfair for me to not believe it because I never heard of him. However, my sources in math say that RH is not in a position to be solved. Also, articles I've read on the web including this article seem to say things that cast doubts on it such as this quote:
motivation to solve the problem came from his students, who brought it to him with the hope of making 1 million ``off the internet''
Bobby Jindall (who?) dropped out of the Prez race (why am I bringing this up? Is he working on RH?) Bobby Jindall was a Rhodes Scholar. (why am I bringing this up? Wait and see.)
In 2003 I was in a Taxi (ask your grandparents what Taxi's were before we had Uber) and the driver began telling me lots of conspiracies--- there is no Gold in Fort Knx, the novel Goldfinger was Ian Flemmings attempt to tell us this, Reagan was shot because he knew this, and the American Presidency is controlled by a secret cabal. I pointed out that if that's the case how did George Bush Sr (clearly a member of the Cabal) lose to Bill Clinton. His answer: Bill Clinton was a Rhodes Scholar and the Cabal is controlled by Rhode Scholars.
Its hard to argue with a conspiracy theorist about the past. But you can challenge him to predict the future. So I told him ``if you can predict who will be the Democratic Nominee for Prez in 2004 then I will look at your website and take it seriously. If not, then not'' He smiled and just said ``Wesley Clark was a Rhodes scholar'' If I had asked him who would be the republican nominee in 2016 then he might have said ``Bobby Jindal is a Rhodes Scholar''
The way to expose conspiracy theorists, astrologers, and The National Inquirer is to take their predictions seriously and test them. I wonder why anyone believes these things given their track record.
Judging math things is different- A math paper can be read and should stand on its own.
Thursday, December 03, 2015
Moonshots
In 1961 Kennedy said "this nation should commit itself to achieving the goal, before this decade is out, of landing a man on the Moon and returning him safely to the Earth". In 1969 Neil Armstrong and Buzz Aldrin walked on the moon and returned to earth safely. In the 46 years hence man has gone no further.
Bill Gates founded Microsoft to place "a computer on every desk and in every home". Once he succeeded, Microsoft lost its way. Their current mission takes a different tact "Empower every person and every organization on the planet to achieve more."
In my life I've seen many a moonshot succeed, from a computer chess program that can beat the best humans, the classification of finite simple groups and the proof of Fermat's last theorem. They all seem to end up with a "Now what?". If you have a finite mission, you can only achieve finite things. We often think of moonshots as an amazing challenge but they serve as limits as well.
In computing we have a law that has become a mission, that the power of computing doubles roughly every two years. These improvements have enabled the incredible advances in learning, automation and connectivity that we see today. We keep making better computers because we don't have a limit just a goal of getting better than where we are today.
When I first started writing grant proposals, a senior faculty member chided me for saying "the ultimate goal of computational complexity is prove P ≠ NP". He said that would kill any grant proposals after we did settle the question. While we are in no danger of solving this problem in the near future, eventually we will and I'd hate to see the field whither afterwards.
My favorite mission comes from Star Trek, particularly the TNG version with "Its continuing mission: to explore strange new worlds, to seek out new life and new civilizations, to boldly go where no one has gone before."
Bill Gates founded Microsoft to place "a computer on every desk and in every home". Once he succeeded, Microsoft lost its way. Their current mission takes a different tact "Empower every person and every organization on the planet to achieve more."
In my life I've seen many a moonshot succeed, from a computer chess program that can beat the best humans, the classification of finite simple groups and the proof of Fermat's last theorem. They all seem to end up with a "Now what?". If you have a finite mission, you can only achieve finite things. We often think of moonshots as an amazing challenge but they serve as limits as well.
In computing we have a law that has become a mission, that the power of computing doubles roughly every two years. These improvements have enabled the incredible advances in learning, automation and connectivity that we see today. We keep making better computers because we don't have a limit just a goal of getting better than where we are today.
When I first started writing grant proposals, a senior faculty member chided me for saying "the ultimate goal of computational complexity is prove P ≠ NP". He said that would kill any grant proposals after we did settle the question. While we are in no danger of solving this problem in the near future, eventually we will and I'd hate to see the field whither afterwards.
My favorite mission comes from Star Trek, particularly the TNG version with "Its continuing mission: to explore strange new worlds, to seek out new life and new civilizations, to boldly go where no one has gone before."
Subscribe to:
Posts (Atom)