In short
No Priors Podcast Episode Summary: AI and the Future of Math, with DeepMind’s AlphaProof Team
Podcast Details
- Title: No Priors: Artificial Intelligence | Technology | Startups
- Hosts: Elad Gil and Sarah Guo
- Episode Title: AI and the Future of Math, with DeepMind’s AlphaProof Team
- Guests: Laurent Sartran, Rishi Mehta, Thomas Hubert from Google DeepMind's AlphaProof Team
- Episode Duration: 0:00 - 34:17
- Published: Date not specified in the transcript
Episode Overview In this episode, the hosts discuss AlphaProof, a reinforcement learning-based system for formal math reasoning developed by Google DeepMind. The conversation covers the system's functionality, strengths, challenges, and its implications for the field of mathematics and AI.
Key Themes and Discussions
- Personal Introductions
- Introduction of the DeepMind team members and their backgrounds.
- Discussion on each member's journey into mathematics and AI.
- AlphaProof and the International Mathematical Olympiad (IMO)
- Achievements: AlphaProof reached a silver medal standard by solving 4 out of 6 IMO problems.
- Comparison of math problems to game playing (e.g., chess) and the unique challenges math presents.
- How AlphaProof Works
- Architecture: Based on AlphaZero, employing neural networks, reinforcement learning, and search components.
- Unique Functionality: Generates lines of mathematical proofs as its action space and utilizes a formal language for verification.
- Strengths of AlphaProof
- Particularly strong in algebra and number theory.
- Capable of discovering complex mathematical constructions that human mathematicians find challenging.
- Challenges in Scaling AlphaProof
- Limitations in theory building and understanding combinatorial problems.
- Need for enhanced training data and formalization methods for complex geometrical problems.
- Motivations Behind AI in Mathematics
- The pursuit of knowledge versus practical applications.
- Importance of math as a foundational element in science and technology.
- Verifying Correctness in Reinforcement Learning
- Insights on the role of formal verification in the reinforcement learning process.
- Discussion of how AlphaProof mirrors human problem-solving strategies and learning from variations.
- Collaboration Among Mathematicians
- Potential for AI to enhance collaboration in the mathematical community by providing verification tools.
- Discussed the need for AI to function like a graduate-level student assisting mathematicians.
- Future Perspectives on Math and AI
- Predictions about the growing importance of formal mathematics and learning tools like Lean.
- Speculations on how AI could further influence the development of new mathematical theories.
Key Takeaways
- Mathematics as a Cognitive Domain: Unlike games where players compete, math requires deep cognitive processes.
- AI's Role in Math: AI like AlphaProof has the potential to revolutionize how mathematicians solve complex problems and verify their correctness.
- Collaboration and Formalization: AI can foster broader collaboration in mathematics, where human mathematicians can utilize AI for verification and theory building.
- Educational Implications: Understanding formal math and tools like Lean may enhance future mathematical education.
Conclusion The episode emphasizes the intersection of AI and mathematics, showcasing how AI can augment human reasoning and problem-solving capabilities in this complex field. The conversation provides valuable insights into the current state of mathematical AI and its future trajectory.
---
For further engagement and to stay updated with upcoming episodes, listeners are encouraged to subscribe to the podcast and follow on social media.
Written by AI. May contain mistakes. Listen to the episode to check what was said.
Transcript
Automatic transcript. May contain errors.0:05Hi, listeners, and welcome to KnowPriors. Today, we have Thomas Hubert, Rishi Mehta,
0:23and mathematical reasoning. In today's episode, we'll explore how AlphaProof works, its implications for math and AI, more about Test Time RL, and what this reveals about machine learning's capability to reason rigorously. Really happy to have you guys. Welcome. Thank you for having us. Yeah. Maybe you can start by just talking a little bit about your backgrounds and how you came to be working on AlphaProof together. I'm Rishi. I was one of the tech leads on AlphaProof. I've been working in computer science and machine learning for a while. I'm a chess player, and I came across the AlphaZero paper and saw some of the chess games that that agent produced.
0:59And I found it really inspiring. And I thought, like, this is the kind of thing I need to work on. Coming up with something beautiful and superhuman and almost alien felt magical. I came over to DeepMind and the AlphaZero team, which Thomas was leading, was working on math. And that's how I got into math. That's my background. So, yeah, I started working in industry in my early career. I worked on the many detection computer networks. I worked on ad targeting and switched to AI research. And there, a constant interest of mine has been systems that can spend more computes to either tackle harder problems or to think more.
1:39And math seemed to be a perfect domain for that. Yeah, on my side, I was actually a Go player. So instead of doing programming since the age of 10, I was actually playing Goal. And I played a lot of Goal during my youth. And then at some point, it was also my dad's dream to build a computer Goal program. And so I was kind of figuring out, like, what do I need to know to be able to build a computer Goal program? And then I realized that maybe it was being built at that time. And so that's how I discovered DeepMind and how I discovered AGI. And that's how I joined the company and have been kind of involved with AlphaGo and AlphaZero, MuZero, this line of work.
2:21And recently we had worked on AlphaCode and AlphaTensor. So, you know, like that's way before ChatGPT, but we already knew that Transformers were kind of changing a little bit how things were done. And so we, you know, I found that in Mathias you could get this perfect verifiability and with AlphaCode we realized we can generate a lot of good code. And so it was very natural at that time to think about the potential there was for mathematics. Can you contrast? So maybe just as context, like for any listener who wasn't a super cool mathlete like me, IMO is the sort of oldest and most prestigious math competition for young people.
3:03There's a set of six problems. They feel impossibly hard. And AlphaProof had this really amazing results of solving four of the six problems this year. Can you talk a little bit about math and the IMO in particular as a problem relative to game playing and other search problems like chess? I think, you know, like first there is a big difference is that in board games you play against someone. And that's a lot of fun in the board games. And for instance, when we did this AlphaGo or AlphaZero algorithms, we could really have this thing about self-play. You could always play against someone who is exactly just your strengths.
3:43And that proved to be a powerful idea. When you're kind of trying to learn to do math, in some sense, you know, you don't really have an opponent. You just have to think about it. And math is a bit special in the sense that it's like, it's almost like a purely cognitive kind of thing where you can just, you know, the only thing you can do is to think more. You know, maybe you can't really go into the real world and run an experiment. And I guess mathematicians says that, you know, sometimes it's a good thing to take a nap and let your unconscious self kind of think about the problem. And that's a good way to come up with new ideas.
4:16It's a lot about thinking. And so, you know, like when you're confronted with a really hard problem, there's a whole question about how do you go and try to solve it. Maybe this is a good time to ask you to describe for our listeners, most of whom are technical or somewhere in the tech field, but also a broader business audience. And it's like, you know, how does AlphaProof work overall architecturally? Yes, sure. So AlphaProof is based on this thing called AlphaZero. So maybe let me start there. AlphaZero has this program we developed to, you know, like be basically kind of solve kind of perfect information board games.
4:51And the way it works is it's also based on a reinforcement learning algorithm. So you can think of AlphaZero as maybe three components, like one, a neural network, two, kind of large-scale rate for smart learning, basically learning from trial and errors. And three, it also has like this planning and kind of search component to it to try to, given the current situation, trying to search for kind of the best answer. And it turned out that, you know, like maybe we weren't very imagining that when we were doing chess, but if you can handle kind of infinite action spaces, then, you know, instead of kind of looking for a chess move, you can look for, for instance, a line of a proof.
5:32And so that's what we tried to do when we started off a proof. It's basically, can we look, can we, our action space is to generate lines of proofs. And maybe very importantly, we used a formal language to do that. So basically another way to say that is we use kind of code to write maths and it's become quite popular recently. And the advantage of that is that once kind of the proof is complete, then you know the machine would give you a signal back to say yes your proof is correct or not and so we could search for kind of correct proofs once we find a correct proof we can learn from it and get a better neural network and kind of go into this self-improving loop of tackling harder and harder problems and learning more and more about mass so at a very high level picture that's kind of how it works and how kind of the ideas behind offer zero are adapted to to do mass one One of the things that was an interesting tidbit from your announcement was, you know, there's a series of problems, solves one problem within minutes, three days to solve other problems.
6:36Is there a way you can characterize like the search space for math overall or what alpha proof is better at in terms of domains than others, like types of reasoning within math? The search space in math is quite large compared to like something like chess or other board games. So, you know, some people might think of writing math proofs as like picking from a bag of known tricks at each step. But in fact, like there are many proofs where like you've got to come up with some non-trivial constructions, like you've got to invent a function out of thin air or you've got to like come up with like some way to manipulate.
7:11Even if you're just rewriting an expression, you can rewrite it in infinite ways. And there's only like a few ways you could rewrite it to actually make progress on the proof. Sometimes thinking about some novel problem requires decades of theory building and approaching it from an entirely new perspective to arrive at the angle that helps you solve it. And so in that sense, the reason why there are a lot of math problems that are very simple to state but have stood the test of time in that they've been unsolved for centuries even is that the search space is not easy to navigate in most cases.
7:45I think what AlphaProof is good at amongst the IMO categories is it's largely good. So the IMO problems have come in four categories. So there's algebra, number theory, combinatrix, and geometry. The two that it's strongest at are algebra and number theory. It's relatively weaker at combinatrix, although it can do quite good at some IMO combinatrix problems. And we didn't apply it at geometry at this year's contest. and one of the ways in which it navigates this massive search space is via an idea that we came up with which we call test time RL. So this is an idea where like let's say you're confronted with a problem that you don't know how to solve and you can do some search with what you know right now and you're not able to find a proof to it.
8:32What the agent then does is it constructs many variations of the problem in the vicinity of that problem and attempts to solve all of them. And if it manages to solve any of them, it learns from that experience and sort of comes closer and closer to solving the original problem. And you can think of this as like when confronted with a new scientific problem, many of your priors that you've developed from other problems may not directly apply to it. And so you've got to do like very bespoke experiments on this problem itself to learn something about it. And then he'll climb your way towards the solution of this problem.
9:06And so this process kind of mimics that. And so when you talk about, you know, these like the problems that are solved out of three days, like these are the problems that had this in this loop of like, we can't solve it with the base network, but we propose many, many variations. We try all of them. We get slightly better, slightly better, slightly better. And then we hill climb our way to the final solution after like days of inference time compute. Or what are the limitations or approaches to scaling or, you know, increasing the set of problems that alpha proof can solve? And I guess there's two dimensions to that.
9:37To your point, there's a set of areas where it already does quite well, algebra and other areas. And then there's a set of areas where you may need new forms of training data or other things like certain aspects of geometry or potentially other areas of mathematics. I'm a little bit curious how you think about what is necessary to increase performance dramatically from here. And obviously what you've done is incredibly impressive. I'm just sort of curious like how you think about what are the obstacles to future growth? Maybe the main thing that AlphaProof doesn't do is theory building. It doesn't matter to the theories.
10:11AlphaProof and the equipment, number theory, wouldn't be able to come up with the complex analysis necessary to derive results in number theory. So it's one of the main things that we don't even, and we generate variants and get better by solving these and that enables us to tackle the original problems of interest. Theory building is a component that is, that would be required to go further. Maybe another dimension, some problems like combinatorics can be stated in a somewhat obfuscated manner. That doesn't mean that all combinatorics problems, And just as a reminder, commune-otherics problems are all about counting the number of things.
10:59For instance, if you have 40 socks in a drawer, how many pairs do you have? It can be stated in some obfuscated way and how to translate them in lean is a major difficulty and then how to solve them in lean is a bit unwieldy. How to best cycle this is still an open question. I think there is a link a little bit to your theory building because, for instance, you know, So if there were, in some sense, part of the difficulty comes from the fact that the tools you need to express those things don't actually exist currently in the library that we're using. And so for instance, if you had like some kind of things that expressed, you know, what is an agent, what is an environment, what is a strategy?
11:41Then for instance, some, most of the, you know, a lot of the combinatorics problems would be much easier to state. But because that doesn't exist at the moment, in some sense, kind of the auto-formalization would need to kind of come up with all these things beforehand before actually kind of formalizing the problem. And so that's kind of, maybe that's kind of linked to the fact that, you know, at some point you will need to be able to develop new definitions, new mathematical objects, kind of come up with their properties and their proofs, et cetera, et cetera. So I guess, I think it was 1900 when David Hilbert posed his famous 23 problems that kind of defined a lot of the big areas that at the time he felt were important to mathematics and the sort of unsolved things that were important or topical.
12:22Or is there some Turing test equivalent, I guess, as a generic question? It's an excellent question. That totally defined kind of, you know, like the mathematics in the 20th century and maybe, you know, the millennium problems, you know, the seven millennium problems of which, you know, one has been solved so far is another attempt at defining kind of what, you know, what could be one trajectory of mathematics for the 21st century. What are our chances of solving that? That's like a really hard question because we know, you know, our brain kind of thinks linearly, but we know from our experience in working on the AI that we should actually try to think exponentially.
13:04Things might change pretty quickly. At the same time, you know, I think we have no idea how hard maybe something like the Riemann hypothesis is. Is it two orders of magnitude, three orders? Maybe it is like 10 orders of magnitude away from what we can do, right? Because we don't have an existence kind of proof. It's much harder to kind of have an estimate of how hard this actually is. But I imagine that solving that problem will involve like kind of creating brand new math, brand new theories and things like this. So if we want to take out a proof all the way there, I think that's a capability we need to, either it emerges, it's possible because, you know, like to prove harder problems, you start to need to be able to introduce this new kind of mathematical objects to decompose the problem in some problems.
13:54And we see that already happening for the IMO at a small scale. But it's very possible that it could emerge from just trying to solve problems or potentially, you know, we have to kind of explicitly think more about what does it mean to build theories and how can we encourage our folks to do these kind of things. Yeah, just for our listener friends who don't spend as much time on the unsolved math problems, just to contextualize a little bit, the Riemann hypothesis is it essentially predicts that prime numbers follow a specific pattern like distribution, and it has important implications. Maybe we can go from there to thinking a little bit about when you were working, beginning to work on math as a search space, there are like lots of interesting hypotheses for like why go work on math at all.
14:44One is like the field itself. Right. And so be curious if any of you have problems you want to work on. Another is the premise that this sort of advancement in reasoning will transfer to other domains, be they science or what we think of as more language-based, less verifiable non-code, non -rules-based domains as well. Where do you all want to take this? I'm not really a mathematician, so I didn't have a problem I absolutely wanted to solve. But it's been my favorite subject when I was a student. And I think you're absolutely right. there are like, you know, at least two kind of main reasons why you would want to potentially spend a lot of time on math.
15:27One is that, I guess, it's been described as the language of the universe. And, you know, it's been extremely powerful to both, you know, describe and predict the natural world and of course, to shape it. And you see that, you know, basically, we see math being at the core of all the technology we're using now. So kind of having a good understanding of math is probably kind of very important to understand our current world. And then, of course, you could, as you alluded to, make an argument that, you know, kind of solving math or, you know, like, which requires, you know, reasoning, generalization, abstraction, all these things that we think about when we're talking about something like a cognitive HGI would be, would be, it is a path to, you know, go towards HGI and that could really help in kind of the development of HGI.
16:15So I think at least for me, you know, these are maybe the two main reasons as to, you know, why mass is a particular interesting, you know, topic to try to solve in a general way, even though, you know, like mass, okay, let's say it's still kind of a constrained domain, but with kind of unbounded complexity and actually it's representing a lot of stuff. but it might be worse kind of making a really kind of focused effort on it because of all the potential implications it might have. I can add something about my own motivation. I've always been interested in the question of making systems that get better by thinking more.
16:57I looked at this in mesh translation and text diffusion and navigating agents that discover the environment and where they do better by thinking more. math seems to be, in particular, proving statement, so the core of AlphaProve, seems to be one of the last big challenge domains where AI still had a long way to go. And one of the key ingredients would be figuring out a way of thinking more. So that can be searching more, that can be a test material, and maybe the next step of thinking more will be thinking so much of the agent comes up with its own theories. So math as a test bed for thinking more was my motivation.
17:41One of the big reasons to perceive HCI at all is to uncover the secrets of the universe, the deep questions of why do things work the way they do and why are we here and why am I conscious and what's going on? And I guess solving these pure math problems, it feels like one domain where we're already... There's a large number of people who are already just doing this. They're seeing math as a search for truth. like, you know, people are pursuing these problems, not because they have any applications often, but more that it's like, you know, what, what actually is the answer? Why, why does this thing work this way?
18:13Something like you in solving the Riemann hypothesis feels like it has the flavor of like, you know, a sort of pure search for truth, which is just quite appealing. I guess like related to that, you know, there's a long history in mathematics of people or in science in general, or science and mathematics of doing things for their own sake or for the pursuit of knowledge for its own sake. And Sarah mentioned as an example, number theory and its applications in cryptography, zero-knowledge proofs are propping up in different ways in cryptocurrencies. Group theory and algebra propped up in quantum mechanics over time and was developed beforehand and then applied and developed further there.
18:50Are there specific areas that you're most excited about from an applications area for some of the work that you're doing, or is it mainly doing it for the love of the theoretical part of it? It's a good question. I think we can, maybe, you know, maybe the answer depends on each one of us. I think one thing that I'd be motivated about is to learn from mathematicians, you know, what they are interested in and what they find interesting in the current, you know, world of mathematics. And so, for instance, you know, I've been reading about this thing called Langlang's program that is trying to connect different areas of math.
19:24And it was described to me a little bit as kind of, you know, just like in physics, where you're trying to look for this unified theory of physics. It's like trying this unified theory of mathematics, where maybe, you know, we have number theory here and we have like geometry there. And, and, but maybe there is kind of something behind that, you know, that is more unifying. So I personally like those abstract ideas, even though maybe I don't understand them very well. But yeah, I'd be very motivated to just see what mathematicians care about and they might disagree between themselves as well. I think they would disagree, right?
20:01Like if you look at the historical examples, like when von Belly starts working on imaginary numbers, he gets completely ridiculed by, I don't know, the more important mathematicians at the time. And like many years later, we get alternating current and the ability to describe electricity. And so I think it's really interesting as a question. Like if you have the machine, the machine is able to develop its own theorems, like where do you point it for interest or usefulness eventually? It's a really big question. To that, one domain I'm particularly excited is code verification. That is at the moment when we write software, we write the code and we write tests.
20:38And when the tests pass, we are reasonably happy. Every once in a while, bugs that pass the test or even security issues. It would be much better if we could express in code the properties that the algorithm is supposed to verify and to prove in code that the algorithm does verify these properties. So it's already done for very critical domain like Avionics cryptography, where it's very important. It has to be done by humans. I think the software industry would be in a much better place if verification was much more common. And if we remove the bottleneck, which is humans writing those proofs.
21:17So if humans could be enabled by specialized tools, we could handle the minishare of these proofs. I think we'd have done a major step for us. I think another application area I'm excited about is the transfer of this technology to many other domains. So there are two kinds of players. One is just the transfer of the mathematical reasoning skill that this agent acquires via this kind of training to many other domains. And as we see, math is critical for engineering and science and you name it. But also, some of the tech we developed here of scaling RL and figuring out how to spend a lot of inference time compute, stuff like this feels like it's quite generally applicable to many other problems.
22:00I'm going to ask a question that is more conjecture, right? We've been talking about math and code and domains which are not easily formalizable, but are formalizable and verifiable. How much do you think this applies in the language domain? Can NAI make something funnier and it's easier to tell if something is funny than to write a good stand-up set, right? Right. And so I think it's kind of an instructive example, but like, do you have any intuition for how to take some of these learnings around the ability to verify correctness or quality, you know, within the RL approach? I guess, you know, so as you said, you know, there are domains where there is a ground truth and there are domains where there aren't any ground truth.
22:53And so when, when they aren't, and you know, like for instance, funny is probably kind of, you know, a human kind of, it's a, it's a fuzzy human concept. And maybe there were kind of aliens out there and they would have a different sense of humor. And so for those kinds of problems, I think that, you know, the only way you can kind of get your grounding is through like the, the humans are your grounding. For other domains, maybe the real world is some sort of grounding and then you have to go to the real world to get your grounding. But basically the kind of the RL would allow you to say, well, you know, like where does my reward come from?
23:32I guess sometimes it comes from the real world. Sometimes you can perfectly round it and sometimes the reward comes from the human. And I think that's fine. There are some techniques basically that we developed in the sense that, you know, of course, when you can kind of machine check things, you can run at a scale that is quite different from, you know, if you have to ask humans in general, even though we are quite a lot of humans. So there's still probably quite a lot of scaling that is possible, especially for things like this, where, you know, like humor, where you could, you know, everyone should have a say about what is funny or not.
24:08So definitely, you know, for instance, the RL framework, I think is still a great framework to think about those questions. And part of, you know, what makes RL work, that should kind of also transfer. And maybe the things where we rely on buffer verification, that's maybe that wouldn't transfer to that particular question. Where is there room for, I suppose, like human rating or input in terms of the explicit description or labeling of their reasoning? in domains that are more verifiable, right? Like if you have unlimited access to Terry Tao to do labeling for you, is that useful? Or, you know, how should we think of that versus like just do more search and work on better formalization?
24:56The way AlphaProof currency operates there is that it discovers its own truths and when they are valid, it learns from them and develop its own style, which has been commented upon as looking, Yeah, quite, quite alien. So with unlimited access to Territah, I would create proofs that are correct with some niceness as perceived by this human. And we could start optimizing amongst the set of valid proofs towards proofs that look nice for purposes of interpretability, for purposes of teaching. So there's definitely still room in this space of valid proofs that humans might prefer. That's actually like a pretty damning statement to some degree, right?
25:47Because it's just like preference versus perhaps like, you know, capability advancement. Like, what do I care if the proof looks alien, if we have new knowledge? Interpretability seems useful in this case, but... Yes, I'm saying that's the only angle for sure. With more supervised data, we can avoid the exploration problem and we could translate all the problems that are known to man. And that certainly would make the agent much better. That would save us years of compute for sure. I'm not saying that interpretability is the only way we could use a dog math translation for sure. but it could provide us a signal that we couldn't get otherwise presumably with time compute theory building we might be able to to maybe rediscover proofs that are already known.
26:44I think it's an interesting question because it like like it highlights the sort of complementarity of like specialist human data and like RL data and I think it's especially prominent with like LLMs where like LLMs have generated have these like very strong human priors because they're pre-trained on a lot of human data. But then when we do RL with them, they have an opportunity to take these human priors and build on them and, you know, develop their own styles of doing things like Afterproof has done. And I think one thing we've seen in this project is that often, like, the small amounts of precious human data can be really useful to, like, seed the agent's behavior and sort of, you know, get it from, like, a complete zero state to, like, somewhere much higher where it can play with the environment in a much more efficient way.
Read the full transcript
27:25And then beyond that, it can take it from there and perhaps match or exceed the human, but with its own style. I guess that feels to me like that's probably going to be the way forward with RL for LLMs in general, is that the specialist humans are going to serve to get the LLM from just a bunch of weights that knows how to do nothing to something that is surprisingly strong. And then the RL is going to take you from there to something that's superhuman. I think I was supposed to be Poincaré or somebody who was a last mathematician who knew all of mathematics or at least understood big portions of it.
27:59And suddenly you have an AI or a system that could potentially encapsulate all of mathematics in a single program. And it could really be used as something that could help check a proof. It could help sort of push a mathematician forward in their own research. Often when somebody proves something now, if they're in a more side field, there aren't that many people who can actually verify or check the proof that they've done. How many mathematicians have access right now to alpha proof? How do you think about engaging with the mathematics community about day-to-day usage of this pretty amazing set of advancements?
28:32So at the moment, you know, like mathematicians don't have access to alpha proof. And to be honest with you, you know, like kind of we at the moment, we can't rival at all with someone like Terry Tao. We I think we demonstrated that what we've demonstrated is that we can learn general mathematics almost from scratch and arrive at kind of an impressive high school level. and then we need to grow our knowledge base so that we become useful. But I don't know if you've seen kind of Terry Tao's kind of recent interviews over the last year and he's been saying that, you know, one thing that is interesting in math is that collaborations has been relatively small.
29:11A lot of papers are one, two author paper and max five authors. And it's been because it's been very hard to collaborate with more mathematicians because you need to check what they are doing. And so it's very time consuming. But if you instead relied on a formal system to check everyone else's work, then you could do a little bit like in astronomy, where you could have an immature kind of living in the middle of maybe nowhere and you've never met. And then you wouldn't have to trust him. Like you could trust, in some sense, the machine to check the work. And if the machine says it's the correct proof, then it's the correct proof.
29:47And then you can kind of start to work with many, many more people, in some sense, kind of, that's cool because you can kind of start to think about making collaborations between many humans, but also potentially AIs, right? And so that could be, you know, that's one way we are thinking about it as well. It's like, oh, can we, can we, could we potentially collaborate to those projects? And at the moment, the way we think about it is, you know, we think more of ourselves as some kind of, it would be great if we could be like a graduate student and kind of the mathematicians could give us kind of the questions.
30:24I think that's maybe related to theory building at the moment. We're not really good at asking the right questions. And there's definitely kind of, we would like to rely on kind of the whole mathematical community to kind of ask the questions that they care about and see if we can help even a little bit answering those questions. I was also a Go player growing up. And so, you know, seeing the least subtle match and like very, as you described, alien moves in Go was incredibly interesting to me too. Is there something that has felt alien or surprising in terms of like an alpha proof proof so far that you can talk about?
31:05Yeah, sure. So let me show you guys the proof that, or part of the proof that alpha proof came up with for problem six at the IMO. I think it'll be much more easy to understand if I flash it on the screen. So this is problem six. So the IMO typically has six problems and problems three and six are the hardest ones. And so this is supposed to be one of the hardest problems of this year's IMO. But it actually turned out to be one of the hardest problems ever because only five out of the 500-odd contestants managed to solve it. So, you know, it is really hard. So we can just go over very quickly what this question is saying.
31:48And I won't go through the whole proof because it's probably incomprehensible in the time that we have. But like I'll point out like one cool construction that Alphapro came up with. So the question talks about like the definition of a function being aquasulian. So aquasulian is not really a mathematical term. This is just a tongue in cheek reference to the fact that Bath, where this contest was being held, used to be called aquasulis by the Romans. But anyway, so they've given us two equations that characterize an Aquasulian function. And we've got to show that there exists some integer C, such that for any Aquasulian function F, there are at most C different rational numbers of this form.
32:26So this is a bit complicated to understand, but essentially this form is the sort of even part of a function. And what it's trying to say is that, you know, you could like take any Aquasulian function and give it many rational numbers and figure out this expression for many rational numbers R and you might get like infinite values or you might get five values or three values. So it's asking you to prove that there is some bound C beyond which you cannot have more unique values and also asking you to find what this bound C is. So often, okay, so that's the question, what is C? So often when you're trying to answer a question like this, one strategy you can use is to show an upper bound for C and a lower bound for C and then show that those two converge and then you find C.
33:10So I'm going to pick up in the proof from the point where AlphaProof had already proved that C is less than or equal to two. That's itself quite an interesting proof and you can look at it on our blog post if you're interested. But at this point in the proof, AlphaProof has to decide, is C one or two? And the way it's going to have to decide that is by finding, so it's trivial to show that C can be one What's hard to show is like, is there any acquisition function f such that c is 2? And, you know, you can pause and try and find functions f that follow these properties and see if you can find one for which you can find two different values of this f of r plus f of minus r expression.
33:56But one thing that's interesting is like Tim Gowers, who was one of our judges and is also a Fields Medalist, tried this question for a couple hours and he couldn't find the construction for function that had this property, which is, of course, not to say that AlphaProof is better than Tom Gowers at math, but it just highlights how hard this part of the problem is. And AlphaProof came up with this construction, which is this function f of x equals minus x plus two seal of x, which is this funky-looking function that I've plotted over here. And interestingly, this function, if you plug in r equal to minus one and r equal to half, you get two different values.
34:32And so you can tell that C must be equal to two. So in my view, this is maybe the hardest problem that AlphaProof ever solved. And it was a really cool, funky construction that relies on this seal function. Very cool. Very cool. Can we start with advice for people who are working on math today and investing time in it, given AlphaProof and related models? Formal math is going to be an increasingly important thing going forward, not just because AI is going to be really a very, very strong tool within formal math, but also because it's emerging as a way of collaboration between mathematicians and many prominent mathematicians are adopting it.
35:13And, you know, it's still a small minority of the mathematical community that operates in lean, but it's a growing minority. And AI will only accelerate that. And so I guess I'm not a mathematician, so who am I to advise mathematicians? But like, I guess my advice from the outside would be like, learn lean as early as you can. I realize as well, it's a great tool for education because, you know, like most of the proofs are written at the level of abstraction of the person who writes the proof. And so for instance, you know, if that person thinks that step is trivial, then, you know, you wouldn't have any explanation about it.
35:47But if you have that proof in a formal language, then you can zoom in, you know, at the level of detail that is adapted for you. And so that's one thing. You can learn much more at your own level. And the second thing is, is you can actually do self play with yourself in a sense that, you know, maybe you are trying to learn about a very abstract part of math. And that's the usual thing is, you know, it's difficult to explain math because it's quite abstract. And then maybe you can't tell whether what you're doing is correct or not. And if you are doing it on paper, then maybe the next best thing you can do is to try to find someone or your teacher.
36:22That might take you a lot of time, right, to get some feedback. But if you are using a formal language, then, you know, you would know exactly what's left to be proved. if you've done the thing correctly or if you've kind of fooled yourself a little bit. So even for educational purposes, I think it might be very interesting. It's not really advice. It's more speculation. I am, somebody said that there were two types of mathematicians, the ones who build theories and the one who prove theorems. I understand that in order to prove theorems, sometimes you have to build whole theories as well as done for farmers last year.
37:03But it seems that there is more room for human creativity, human taste, human skill in building theories than in the proof part. One thing that I kind of struggle with here is it is increasingly true across a bunch of domains that are being, where the hill is being climbed with AI, I suppose, that taste seems to matter increasingly much. It could be terry-tow taste in problems because if you're working on arithmetic progression in primes, it actually leads to like advancements in methods and tools. But I actually think it's really, it's one, it's challenging because like telling somebody go develop good taste is a more nuanced, you know, directive than make sure you learn lean, right?
37:53But two, it's also pretty interesting and parallel to the work you guys have been doing in that to some degree, if you look at the behavior of where you're applying computation, it's like, oh, well, why don't you work on abstractly some problems around this area because it will improve your ability to solve the problem, right? And so I think maybe, as you said, we'll all do a little bit more test time RL. I don't know if we'll all develop taste, even if that looks useful. I saw this from somewhere, which was like, as machines get better at finding the answers, like we're going to have to get better at finding the questions.
38:27And, you know, like these systems don't have a, you know, their own sort of notion of what questions are interesting. And given a large question, how do I break it down into smaller questions that might be interesting? And, you know, that's probably where like not just in math, but in many domains, like even as a sort of software engineer, like I find that like more and more my job is like not figuring out these sort of small, low-level details, but, you know, making like good high-level decisions that the tools can help you with. And that's probably going to be true of more and more dominions.
38:57Thanks so much for doing this. It's great to meet all of you. And I appreciate you doing this as well. Find us on Twitter at NoPriorsPod. Subscribe to our YouTube channel if you want to see our faces. Follow the show on Apple Podcasts, Spotify, or wherever you listen. That way you get a new episode every week. And sign up for emails or find transcripts for every episode at no-priors.com.
From the publisher
In this week’s episode of No Priors, Sarah and Elad sit down with the Google DeepMind team behind AlphaProof, Laurent Sartran, Rishi Mehta, and Thomas Hubert. AlphaProof is a new reinforcement learning-based system for formal math reasoning that recently reached a silver-medal standard in solving International Mathematical Olympiad problems. They dive deep into AI and its role in solving complex mathematical problems, featuring insights into AlphaProof and its capabilities. They cover its functionality, unique strengths in reasoning, and the challenges it faces as it scales. The conversation also explores the motivations behind AI in math, practical applications, and how verifiability and human input come into play within a reinforcement learning approach. The DeepMind team shares advice and future perspectives on where math and AI are headed.
Sign up for new podcasts every week. Email feedback to show@no-priors.com
Follow us on Twitter: @NoPriorsPod | @Saranormous | @EladGil | @Rishicomplex | @LaurentSartran | @ThomasHubert
Show Notes:
0:00 Personal introductions
2:19 Achieving silver medal in IMO competition
3:52 How AlphaProof works
5:56 AlphaProof’s strengths within mathematical reasoning
8:56 Challenges in scaling AlphaProof
13:40 Why solve math?
17:50 Pursuing knowledge versus practical applications
21:30 Insights on verifying correctness within reinforcement learning
28:27 How AI could foster more collaboration among mathematicians
30:28 Surprising insights from AI proof generation
34:17 Future of math and AI: advice for math enthusiasts and researchers




