34 karma · joined Jul 17, 2018 (8y ago) · 10 submissions
comment 3y ago · link · parent
Recent breakthroughs are quite exciting: see page 4 of "On One-way Functions and Kolmogorov Complexity" which, for the first time, bases the security of private-key crypto on a natural and fundamentally computational problem instead of something from number theory. They get a solid connection to universal extrapolation via Impagliazzo, Levin '90.
Currently, these results operate for overly-restrictive learning models. I hope we will slowly improve them to obtain win/win conditions: depending on the setup either strong cryptography or strong learning is possible, but not both.
My point is: these are not fads. We have been working very hard on fundamental mathematical connections between learning and crypto for decades. Progress is slow, but meaningful. Those papers are theoretical, but modern crypto emerged from a purely theoretical and embryonic "computational number theory".
I am also not a fan of the article. It would have been better if the author had chosen to define, for example, "one way functions" and the "PAC learning model" and explain why these theoretical constructions are not quite a match for large language models and blockchain-based protocols. However, I believe that bringing computational learning theory --- which is inextricably linked to cryptography --- closer and closer to LLMs is a promising direction for future research.
Links to Cited Papers:
comment 7y ago · link · parent
And that's the issue, isn't it? I think he's using "retrieve" to mean something much closer to what a digital computer does. Ie, there's a single "place" in the brain where the song is compressed and stored. My definition of "retrieve" (and yours, I think) is implicitly more relaxed; I say that a rough distributed system that reacts to stimuli like songs by being able to approximately reproduce them later counts as "retrieval."
As other commenters have noted, the article uses a very restrictive definition of computation/retrieval. I mean, earlier in the article, he gives a definition of the same game that the "Lifelong Learning" and "Reinforcement Learning" people use.
I think he's actually on the same page as many learning theorists, and is just trying to make it clear to a general audience that a very "tight" match between the brain and Von Neumann machines isn't reasonable.
comment 7y ago · link · parent
Further from "core complexity," a lot of the work on machine learning primitives is also directly informed by instances from practice. See the "manifold hypothesis" :
https://deepai.org/machine-learning-glossary-and-terms/manif...
comment 7y ago · link · parent
Finding ways to characterize hardness and easiness in terms of underlying structure to those input distributions is exactly what average-case complexity tries to accomplish. The "holy grail" is to classify problems over efficient distribution of inputs. That is, first make the fairly reasonable assumption that the family of formulas you actually run (say) SAT-solvers on came from an efficient computation ("nature", or people coming up with problems). Then, identify properties of those distributions that you can measure and "blame" intractability on.
For example, there's a huge amount of work on these types of parameters for SAT instances. See: https://people.csail.mit.edu/rrw/backdoors.pdf
This type of work could, eventually, directly inform practice.
And of course I think it is okay for some researchers to work on purely theoretical or worst-case problems. Insights from worst-case complexity are often useful in solving the more difficult problems of average-case complexity; it is useful to know where and how the theories diverge.
Reconsidering, I guess I just don't understand the article at all. Maybe he's arguing that TCS doesn't have this problem because we have a hierarchy of theories, where worst-case complexity inspires average-case complexity inspires parameterized average-case complexity which could someday be used in the real world. Over very long timescales (think, centuries) I think complexity theory will produce practical insights.
comment 7y ago · link · parent
Think of "problems" as abstract primitives: sorting, search, graph operations, optimization, etc. To give a concrete example, let's take a particular search problem: boolean satisfiability (SAT). The input is boolean formulas, and the output is "an assignment to the variables of this formula that make it TRUE."
Some problems are "NP-complete". The definition of NP isn't important for our discussion here. What is important is that NP-completeness or lack thereof is indeed a "beautiful" way to classify problems. Further, we expect NP-complete problems to be impossible to solve efficiently on every input. This is what the article means by "worst-case" or "overly pessimistic" theories.
SAT is NP-complete, so "classical complexity" would predict that SAT cannot be efficiently solved with computers. But often, SAT can be solved efficiently "in practice" using simple heuristics. So Moshe would say that classical complexity is simply wrong; it doesn't describe the "real-world" behavior of actually trying to solve SAT. While difficult-to-process formulas may exist, we "just happen" to only encounter easy-to-process formulas.
So, to summarize: the article criticizes researchers who focus only on worst-case complexity. While the theory is beautiful, we can point to many problems for which it does not accurately predict performance.
I think this criticism is a little strange, because most complexity theorists also work on "average-case" complexity; the study of when "typical" inputs are difficult vs easy to solve. This is mentioned at the very end of the article. Any working complexity theorist would immediately list these problems with worst-case complexity, and explain that it is an imperfect and primitive theory compared to how we would really want to understand when and how these problems are difficult. There is a great deal of work trying to understand what about each formula makes it difficult or easy to process, and why.
The issue is, we are nowhere near understanding even worst-case complexity. So theoretical research often toggles back and forth between the two settings, trying to make progress overall.
Computational complexity theory is a fundamental mathematical field that will only occasionally produce enough understanding to impact practice. For an example, see:
https://www.youtube.com/watch?v=FGtsqEwANWY&feature=youtu.be...
comment 8y ago · link · parent
It is one thing to derandomize particular algorithms -- often, a single algorithm uses randomness in a limited way. Perhaps the algorithm only uses the fact that truly random bits are pairwise independent -- thus, fully random bits are "overkill" for this algorithm. Swapping out the random bits for pairwise independent bits, which we know how to generate deterministically, suffices.
To derandomize all of BPP, we need to understand how any efficient computation could make use of random bits. This seems to require deep insights into the structure of efficient computation -- which we are pretty far from.
comment 8y ago · link · parent
The objective of derandomization is to completely remove the need to flip random bits from the algorithm. If you had a deterministic PRG, you could completely remove the error from a BPP algorithm. Here is a sketch of why, where I'm eliding the quantitative details:
A PRG takes as input a short string of truly random bits (a "seed") and produces as output a long string of "pseudorandom bits". By the definition of a PRG, an efficient algorithm cannot tell the different between the PRG's output and a long string that was really sampled uniformly at random.
So, the obvious way to use this to derandomize a BPP machine M is to toss a small number of random bits, run them through the PRG, and use the output of the PRG as the random bits that M would use. We've used the PRG to shrink the amount of randomness required, but not completely eliminate it.
To fully eliminate the randomness, brute-force over every possible seed, run M on an input x with each PRG output serving as the random coins, and take the majority vote. This is a fully deterministic process. It is efficient if the ratio between the seed length of the PRG and output length of the PRG is such that 2^(seed length) is still polynomial.
The strategy is always correct because, if there is an input y where this brute-force-and-vote strategy fails to produce the correct answer, we can use that input to produce an efficient algorithm that distinguishes between PRG outputs and truly random strings. Why? Because on random bit-strings, M(y,r) usually produces the "right answer" on y, by definition of BPP. On PRG outputs, we just assumed that the majority of answers are wrong, because our vote got the answer wrong! So M(y,random) and M(y,PRG) will tend to disagree.
This is a contradiction -- we assumed no efficient procedure could distinguish between PRG outputs and truly random strings.
The above is a hasty sketch, that I hope gets a few of the ideas across. See Pseudorandom Generators: A Primer (http://www.wisdom.weizmann.ac.il/~oded/PDF/prg10.pdf) theorem 2.16.
Anyway, if we had good enough lower bounds against procedures with advice (see other comments) we could produce such PRGs.
comment 8y ago · link · parent
For every input x in L, M on x outputs YES with probability close to one.
For every input x not in L, M outputs NO with probability close to one.
Notice that the input is quantified by "for every" x. The probability in BPP (and thus the error) is only over the random coin tosses that the algorithm uses, not the inputs. This gives our intuition for BPP = P: we can completely eliminate the error using a sufficiently high-quality pseudorandom generator (PRG).
We believe that P = BPP because we believe high-quality PRGs exist. More precisely, we can construct such PRGs if there are problems in exponential time that require exponential time even "with advice".
Advice is arbitrary information associated with each input length of a problem -- it could even be uncomputable. That is, on all inputs of length n, I get access to a specific string of length poly(n), for instance. That's one string per input length mind, not per input -- if it was per input I could just give you the answer.
So such a lower bound is like saying that a certain problem in exponential time is really exponential; there is no strange "compression scheme" that could give us some weird information about all inputs of length n and admit a sub-exponential time solution to the problem.
Intuitively, it would be super weird if advice let us cut down on computation time so dramatically. Formally, there are strange consequences if advice is powerful. For instance, if NP is contained in P with polynomial-length advice, PH collapses to the second level (the Karp-Lipton Theorem).
On Heuristics:
A heuristic is a different notion of complexity: we would instead say for most inputs x, or for any efficiently sample-able distribution over inputs x, the algorithm is correct with high probability. This notion makes perfect sense when combined with deterministic algorithms or with randomized algorithms. In the deterministic setting, the probability is only over the inputs. In the randomized setting, we have a joint probability over inputs and tossed coins.
comment 8y ago · link · parent
* Where this work intersects cryptography: in order for cryptosystems to be secure, we generally have to assume the difficulty of certain specific problems: a complexity assumption! Recent work (see here: https://eprint.iacr.org/2015/907) links these assumptions to how easy it is to notice they are false. Intuitively, the easier it is to notice that an assumption is false, the better it is for crypto. A false assumption can be detected and crypto based on this assumption abandoned.
* Where computer search is used to assist proofs: A line of work terminating in https://eccc.weizmann.ac.il//report/2011/031/ used computer search to show time-space tradeoffs for solving satisfiability.
comment 8y ago · link · parent
Simple constructions using hard decision problems would completely derandomize BPP into P. This is the "hardness to randomness" paradigm: if we could prove that some problem in exponential time was hard enough for circuits, we could completely derandomize BPP. See https://en.wikipedia.org/wiki/Pseudorandom_generator#Pseudor... for more information on this approach.
Unfortunately, the hardness to randomness program is far from realization. Circuit lower bounds are hard to prove; the best known lower bounds separate NONDETERMINISTIC quasi-polynomial (n^(log n)) time from a circuit class with stringent structural restrictions (no threshold gates, constant depth, polynomial size). See https://eccc.weizmann.ac.il/report/2017/188/ for the state of the art, and https://eccc.weizmann.ac.il//eccc-reports/1994/TR94-010/inde... for formal evidence that circuit lower bounds are difficult to prove.
On the other hand, if we are willing to accept "average-case" derandomization, we appear closer to BPP "is basically equal to" P. By "average-case" derandomization, I mean that the deterministic version of the algorithm is wrong on some inputs, but it is impossible to sample those inputs efficiently. This is actually another application of the hardness to randomness paradigm: if we knew EXP != BPP, we would obtain an average-case derandomization of BPP into sub-exponential time. This is not quite what we want, of course: it is an open problem to improve that to fully-polynomial time! See https://link.springer.com/article/10.1007%2Fs00037-007-0233-... for the state of the art in this approach.
Because separations like EXP vs BPP seem easier than circuit lower bounds, (as mentioned in the article, we DO know EXP != P) average-case derandomization seems closer than full derandomization.
For the record, EXP contains BPP, because we can just enumerate over all possible random strings, compute the probability of acceptance, and answer accordingly. I don't think the article mentioned this trivial derandomization. So, that's why getting BPP into even sub-exponential time is an interesting result.