6 ms·
Generative Language Modeling for Automated Theorem Proving
- visarga 6y agoThis shows transformers are capable of generating more than plain text. Transformers are probably the most general architecture to date, they can handle plain text, images, math and speech, but the penalty is that they need lots of training data and compute.
- riku_iki 6y ago> but the penalty is that they need lots of training data and compute. I think it depends on how noisy and unstructured data is (e.g. human language), transformer will likely approximate few well correlated datapoints just fine.
- grandmczeb 6y agoMost transformer models require that the data is euclidian (e.g. a sequence or image). Non-Euclidean deep learning methods like graph neural networks (GNNs) are much more general and can accept almost arbitrarily structured data (social networks, point clouds, trees, etc). You can actually model transformers as a special case of GNNs[1]. [1] https://towardsdatascience.com/transformers-are-graph-neural-networks-bca9f75412aa https://towardsdatascience.com/transformers-are-graph-neural...
- bollu 6y agoAll smooth manifolds can be realised as submanifolds of euclidean space. This is the famous Nash embedding theorem: https://en.wikipedia.org/wiki/Nash_embedding_theorem https://en.wikipedia.org/wiki/Nash_embedding_theorem Hence, it's unclear if the power gained by GNNs is actually 'useful'.
- grandmczeb 6y agoWhat do you mean by useful? GNNs get better performance than other methods on lots of real tasks. It's the same as CNNs being useful in practice despite not having more "theoretical" power than MLPs.
- lostmsu 6y agoWhich tasks where GNNs get better performance have standardized benchmarks?
- Tarean 6y agoApparently it takes around 1 V100 GPU hour per proof. Wonder if something like this might make it into developer tooling eventually. Writing down some nontrivial invariant like 'no deadlocks are possible' and getting the result some time later seems like it could be useful. In program verification 99% of proofs can be quickly (and decidably) be dispatched with an smt solver, the last 1% is probably quantifier instantiation which a language modle might tackle.
- spolu 6y agoCompletely agreed.
- mensetmanusman 6y agoAre there an infinite number of theorems that could be proven? Or are we only interested in the class of mathematical truths that are interesting to humans?
- YeGoblynQueenne 6y agoI've only given a cursory reading to the paper, so my concerns may be addressed somewhere in it. This is admittedly more rigorous work than previous efforts to train language models to perform automated theorem proving and it's admirable that the authors have actually reached out to the community around Metamath (the classical automated theorem prover used in the paper) to understand the extent to which their work is useful to that community. That said, I don't understand the motivation of the work. Why is it necessary to teach a language model to perform automated theorm proving, when there are already approaches that can perform automated theorem proving, that outperform language models in theorem proving and that do not have the high costs associated with training language models? Indeed, Metamath is based on an extremly simple principle of variable substitution, which is just what it sounds like and comparing the complexity of a modern, GPT-based language model to such a simple approach is not flattering for the language model approach. Besides if I understand correctly, Metamath, was used as the "ground truth" for evaluation and testing of the trained language model and the language model didn't get anywhere near 100% performance, meaning it's far behind the ability of Metamath in automated theorem proving. So we have a very simple approach that works very well on one side and an extremely complex approach that doesn't work very well on the other. The comparison is, again, not flattering for the language model approach. I can see that GPT-ƒ (the language model in the paper) has contributed some shorter proofs to some theorems in Metamath's database, which seems to be very much appreciated by the Metamath community, but on the other hand, it seems that GPT-ƒ was not able to prove new theorems (and a shorter version of a theorem proved by GPT-ƒ was found by hand, by one of the Metamath users, a little after the GPT-ƒ results were announced on the Metamath google group). It seems to me it would be a long and arduous road for language models to achieve parity with classical automated theorem provers - if indeed such parity can be achieved at all. And all this hard work- for what, when there already exist perfectly serviceable automated theorem provers with none of the drawbacks of language models)? Why reinvent a wheel, only to come up with a new wheel that can only roll one way and only on Tuesdays? Finally, despite the more rigorous approach in this paper, the trend of only comparing neural net approaches to other neural net approaches continues. An automated theorem prover approach of any stripe should be compared to the state of the art in automated theorm proving, not just to other efforts using a similar approach! Imagine if I wanted to present a new image recognition algorithm based on automated theorem proving and ommitted comparison with Convolutional Neural Nets!