Lex Fridman Podcast XX
[0] The following is a conversation with Ariel Vinalis.
[1] He's a senior research scientist to Google Deep Mind, and before that, he was a Google Brain and Berkeley.
[2] His research has been cited over 39 ,000 times.
[3] He's truly one of the most brilliant and impactful minds in the field of deep learning.
[4] He's behind some of the biggest papers and ideas in AI, including sequence -to -sequence learning, audio generation, image captioning, neural machine translation, and, of course, reinforcement learning.
[5] He's a lead researcher of the Alpha Star Project, creating an agent that defeated a top professional at the game of StarCraft.
[6] This conversation is part of the Artificial Intelligence Podcast.
[7] If you enjoy it, subscribe on YouTube, iTunes, or simply connect with me on Twitter at Lex Friedman, spelled F -R -I -D.
[8] And now, here's my conversation with Ariel Vinalis.
[9] you spearheaded the deep mind team behind alpha star that recently beat a top professional player at starcraft so you have an incredible wealth of work and deep learning in a bunch of fields but let's talk about star craft first let's go back to the very beginning even before alpha star before deep mind before deep learning first what came first for you a love for programming or a love for video I think for me it definitely came first the drive to play video games.
[10] I really liked computers.
[11] I didn't really code much, but what I would do is I would just mess with the computer, break it and fix it.
[12] That was the level of skills, I guess, that I gained in my very early days, I mean, when I was 10 or 11.
[13] And then I really got into video games, especially StarCraft, actually, the first version.
[14] I spent most of my time just playing kind of pseudo -professionally, as professionally as you could play back in 98 in Europe, which was not a very main scene like what's called nowadays e -sports.
[15] Right, of course, in the 90s.
[16] So how did you get into StarCraft?
[17] What was your favorite race?
[18] How do you develop?
[19] How did you develop your skill?
[20] What was your strategy?
[21] All that kind of thing.
[22] So as a player, I tended to try to play not many games, not to kind of disclose the.
[23] strategies that I kind of developed.
[24] And I like to play random, actually, not in competitions, but just to, I think in StarCraft there's, well, there's three main races.
[25] And I found it very useful to play with all of them.
[26] And so I would choose random many times, even sometimes in tournaments, to gain skill on the three races because it's not how you play against someone, but also if you understand the race because you play it, you also understand what's annoying, what then when you're on the other side, what to do to annoy that person, to try to gain advantages here and there and so on.
[27] So I actually played random, although I must say in terms of favorite race, I really like Zerk.
[28] I was probably best at Zerk, and that's probably what I tend to use towards the end of my career before starting university.
[29] So let's step back a little bit.
[30] Could you try to describe StarCraft to people that may never have played video games, especially the massively online variety like StarCraft?
[31] So StarCraft is a real -time strategy game.
[32] And the way to think about StarCraft, perhaps if you understand a bit chess, is that there are, there's a board, which is called map or or like, yeah, like the map where people play against each other.
[33] There's obviously many ways you can play, but the most interesting.
[34] one is the one versus one setup, where you just play against someone else, or even the built in AI, right?
[35] The blizzard put a system that can play the game reasonably well if you don't know how to play.
[36] And then in this board, you have, again, pieces like in chess, but these pieces are not there initially like they are in chess.
[37] You actually need to decide to gather resources, to decide which pieces to build.
[38] So in a way, you're starting almost with no pieces, you start gathering resources in StarCraft.
[39] There's minerals and gas that you can gather, and then you must decide how much do you want to focus, for instance, on gathering more resources or starting to build units or pieces.
[40] And then once you have enough pieces or maybe like a good attack composition, then you go and attack the other side of the map.
[41] And now the other main difference with Chess is that you don't see the other side of the map.
[42] So you're not seeing the moves of the enemy.
[43] It's what we call partially observable.
[44] So as a result, you must not only decide trading off economy versus building your own units, but you also must decide whether you want to scout to gather information, but also by scouting you might be giving away some information that you might be hiding from the enemy.
[45] So there's a lot of complex decision -making all in real time.
[46] There's also, unlike chess, this is not a turn -based game, You play basically all the time continuously and thus some skill in terms of speed and accuracy of clicking is also very important.
[47] And people that train for these really play this game at an amazing skill level.
[48] I've seen many times these and if you can witness this life, it's really, really impressive.
[49] So in a way, it's kind of a chess where you don't see the other side of the board.
[50] You're building your own pieces and you also need to gather resources to basically get some money to build other buildings, pieces, technology, and so on.
[51] From the perspective of the human player, the difference between that and chess, or maybe that and a game, like turn -based strategy, like Heroes of Might and Magic, is that there's an anxiety, because you have to make these decisions really quickly.
[52] And if you are not actually aware of what decisions work, it's a very stressful balance.
[53] Everything you describe is actually quite stressful, difficult to balance.
[54] for an amateur human player.
[55] I don't know if it gets easier at the professional level, like if they're fully aware what they have to do, but at the amateur level, there's this anxiety, oh, crap, I'm being attacked, oh, crap, I have to build up resource.
[56] Oh, I have to probably expand.
[57] And all these, the real -time strategy aspect is really stressful and computation, I'm sure, difficult.
[58] We'll get into it.
[59] But for me, Battlenet, so StarCraft was released in 19, 28, 20 years ago, which is hard to believe.
[60] And Blizzard Battlenet with Diablo in 96 came out.
[61] And to me, it might be a narrow perspective, but it changed online gaming and perhaps society forever.
[62] Yeah.
[63] But I may have way too narrow viewpoint, but from your perspective, can you talk about the history of gaming over the past 20 years?
[64] is this how transformational, how important is this line of games?
[65] Right.
[66] So I think I kind of was an active gamer whilst this was developing, the internet, online gaming.
[67] So for me, the way it came was I played other games strategy related.
[68] I played a bit of Common and Conquer.
[69] And then I played Warcraft 2, which is from Blizzard.
[70] But at the time, I didn't know.
[71] I didn't understand about what Blizzard was or anything.
[72] Warcraft 2 was just a game, which was actually very similar to StarCraft in many ways.
[73] It's also a real -time strategy game where there's orgs and humans, so there's only two races.
[74] But it was offline.
[75] And it was offline, right?
[76] So I remember a friend of mine came to school, say, oh, there's this new cool game called StarCraft, and I just said, oh, this sounds like just a copy of Warcraft 2 until I kind of installed it.
[77] And at the time, I am from Spain, so we didn't have, like, very good internet, right?
[78] So there was, for us, StarCraft became first kind of an offline experience where you kind of start to play these missions, right?
[79] You play against some sort of scripted things to develop the story of the characters in the game.
[80] And then later on, I start playing against the built -in AI, and I thought it was impossible to defeat it.
[81] Then eventually you defeat one, and you can actually play against seven built -in AIs at the same time, which also felt impossible.
[82] But actually, it's not that hard to beat seven built -in AIs at once.
[83] So once we achieved that, also we discovered that we could play.
[84] As I said, Internet wasn't that great, but we could play with the land, right?
[85] Like, basically against each other if we were in the same place because you could just connect machines with, like, cables, right?
[86] So we started playing in land mode and against, you know, as a group of friends.
[87] And it was really, really, like, much more entertaining than playing against AI's.
[88] And later on, as Internet was starting to develop up and being a bit faster and more reliable, then it's when I started experiencing Battlenet, which is these amazing universe, not only because of the fact that you can play the game against anyone in the world, but you can also get to know more people.
[89] You just get exposed to now, like, this vast variety of it's kind of a bit when the chats came about, right?
[90] There was a chat system you could play against people, but you could also chat with people, not only about Stalker, but about anything.
[91] And that became a way of life for kind of two years.
[92] And obviously that it became like kind of it exploded in me that I started to play more seriously, going to tournaments and so on and so forth.
[93] Do you have a sense on a societal, sociological level, what's this whole part of society that many of us are not aware of?
[94] And it's a huge part of society, which is gamers.
[95] I mean, every time I come across that in YouTube or streaming sites.
[96] I mean, this is the huge number of people play games religiously.
[97] Do you have a sense of those folks, especially now that you've returned to that realm a little bit on the AI side?
[98] Yeah.
[99] So in fact, even after StarCraft, I actually played World Warcraft, which is maybe the main sort of online worlds on presence that you get to interact with lots of people.
[100] So I played that for a little bit.
[101] It was, to me, was a bit less stressful than StarCraft because winning was kind of, a given.
[102] You just put in this world and you can always complete missions.
[103] But I think it was actually the social aspect of especially StarCraft first and then games like Wall of Warcraft really shaped me in a very interesting way.
[104] Because what you get to experience is just people you wouldn't usually interact with.
[105] Right.
[106] So even nowadays, I still have many Facebook friends from the area where I played online.
[107] And their ways of thinking, even political, they just, we don't live in, like we don't interact in the real world, but we were connected by basically fiber.
[108] And that way I actually get to understand a bit better that we live in a diverse world.
[109] And these were just connections that were made by, because, you know, I happened to go in a city, in a virtual city as a priest.
[110] And I met this, you know, this warrior and we became friends.
[111] And then we started like playing together, right?
[112] So I think it's transformative and more and more people are more aware of it.
[113] I mean, it's becoming quite mainstream.
[114] But back in the day, as you were saying in 2005, even, it was still very strange thing to do, especially in Europe.
[115] I think there were exceptions like Korea, for instance, it was amazing, like that everything happened so early in terms of cyber cafes.
[116] Like, it's, if you go to Seoul, it's a city that back in the day, StarCraft was kind of, you could be a celebrity by playing StarCraft.
[117] But this was like 99, 2000, right?
[118] It's not like recently.
[119] So, yeah, it's quite interesting to look back.
[120] And, yeah, I think it's changing society.
[121] The same way, of course, like technology and social networks and so on are also transforming things.
[122] And a quick tangent, let me ask, you're also one of the most productive people in your particular.
[123] chosen passion and path in life, and yet you're also appreciate and enjoy video games.
[124] Do you think it's possible to do, to enjoy video games in moderation?
[125] Someone told me that you could choose two out of three.
[126] When I was playing video games, you could choose having a girlfriend playing video games or studying.
[127] And I think for the most part, it was relatively true.
[128] these things do take time.
[129] If you take the game pretty seriously and you want to study it, then you obviously will dedicate more time to it.
[130] And I definitely took gaming and obviously studying very seriously.
[131] I love learning science and etc. So to me, especially when I started university undergrad, I kind of step off StarCraft.
[132] I actually fully stopped playing.
[133] And then Wall of Warcraft was a bit more casual.
[134] You could just connect online.
[135] And, I mean, it was fun.
[136] But as I said, that was not as much time investment as it was for me in StarCraft.
[137] Okay.
[138] So let's get into AlphaStar.
[139] What are the, you're behind the team.
[140] So DeepMind's been working on StarCraft and released a bunch of cool open source agents and so on the past few years.
[141] But AlphaStar really is the moment where the first time you beat a world class player.
[142] So what are the parameters of the challenge in the way that Alpha Star took it on?
[143] And how did you and David and the rest of the DeepMind team get into it?
[144] Consider that you can even beat the best in the world or top players.
[145] I think it all started back in 2015.
[146] Actually, I'm lying.
[147] I think it was 2014 when DeepMind was acquired by Google.
[148] And I at the time was at Google Brain, which is it was in California, it's still in California.
[149] We had this summit where we got together, the two groups, so Google Brain and Google DeepMind got together, and we gave a series of talks.
[150] And given that they were doing deep reinforcement learning for games, I decided to bring up part of my past, which I had developed at Berkeley, like this thing, which we call Berkeley Overmind, which is really just a StarCraft one bot, right?
[151] So I talked about that.
[152] And I remember Demi just came to me and said, well, maybe not now.
[153] It's perhaps a bit too early, but you should just come to deep mine.
[154] and do this again with deep reinforcement learning, right?
[155] And at the time, it sounded very science fiction for several reasons.
[156] But then in 2016, when I actually moved to London and joined DeepMine, transferring from brain, it became apparent that because of the AlphaGo moment and kind of Blizzard reaching out to us to say, wait, like, do you want the next challenge and also me being full -time at DeepMine?
[157] So sort of kind of all these came together.
[158] and then I went to Irvine in California to the Blizzard headquarters to just chat with them and try to explain how would it all work before you do anything.
[159] And the approach has always been about the learning perspective, right?
[160] So in Berkeley, we did a lot of rule -based conditioning and if you have more than three units, then go attack and if the other has more units than me, I retreat and so on and so forth.
[161] And of course, the point of deep reinforcement learning, deep learning, machine learning in general, is that all these should be learned behavior.
[162] So that kind of was the DNA of the project since its inception in 2016, where we just didn't even have an environment to work with.
[163] And so that's how it all started, really.
[164] So if you go back to that conversation with Demis, or even in your own head, how far away did you?
[165] Because we're talking about Atari games.
[166] We're talking about Go, which is kind of, if you're honest about it, really far away from StarCraft, well, now that you've beaten it, maybe you could say it's close, but it's much, it seems like StarCraft is way harder than go.
[167] Philosophically, mathematically speaking.
[168] So how far away did you think you were?
[169] Do you think in 2019 and 18 you could be doing as well as you have?
[170] Yeah, when I kind of thought about, okay, I'm going to dedicate know, a lot of my time and focus on this.
[171] And obviously I do a lot of different research in deep learning.
[172] So spending time on it, I mean, I really had to kind of think there's going to be something good happening out of this.
[173] So really, I thought, well, this sounds impossible.
[174] And it probably is impossible to do the full thing, like the whole game where you play one versus one and it's only a neural network playing and so on.
[175] So it really felt like I just, this even think it was possible.
[176] But on the other hand, I could see some stepping stones, like, towards that goal.
[177] Clearly, you could define sub -problems in StarCraft and sort of dissect it a bit and say, okay, here is a part of the game, here is another part.
[178] And also, obviously, the fact, so this was really also critical to me, the fact that we could access human replays, right?
[179] So Blizzard was very kind.
[180] And in fact, they open -source this for the whole community where you can just go and it's not every single StarCraft game ever played but it's a lot of them you can just go and download and every day they will you can just query a dataset and say well give me all the games that were played today and given my kind of experience with language and sequences and supervised learning i thought well that's definitely going to be very helpful and something quite unique now because ever before we had such a large data set of replays of people playing the game at this scale of such a complex video game, right?
[181] So that to me was a precious resource.
[182] And as soon as I knew that Blizzard was able to kind of give this to the community, I started to feel positive about something non -trivial happening.
[183] But I also thought the full thing, like really no rules, no single line of code that tries to say, well, I mean, if you see this unit, build a detector, all these, not having any of these specializations seemed really, really, really difficult to me. Intuitively.
[184] I do also like that Blizzard was teasing or even trolling you, sort of almost, yeah, pulling you in into this really difficult challenge.
[185] Do they have any aware?
[186] What's the interest from the perspective of Blizzard, except just curiosity?
[187] Yeah, I think Blizzard has really understood and really bring forward this competitiveness of esports in games.
[188] The StarCraft really kind of sparked a lot of, like something that, almost was never seen, especially as I was saying back in Korea.
[189] So they just probably thought, well, this is such a pure one -versus -one setup that it would be great to see if something that can play Atari or Go and then later on chess could even tackle this kind of complex real -time strategy game, right?
[190] So for them, they wanted to see first, obviously, whether it was possible, if the game they created was in a way solvable to some extent.
[191] And I think on the other hand, they also are a pretty modern company that innovates a lot.
[192] So just starting to understand AI for them to how to bring AI into games.
[193] It's not, it's not AI for games, but games for AI, right?
[194] I mean, both ways I think can work.
[195] And we obviously had been mine used games for AI, right, to drive AI progress, but Blizzard might actually be able to do, and many other companies to start to understand and do the opposite.
[196] So I think that is also something they can get out of this.
[197] And they definitely, we have brainstormed a lot about this, right?
[198] But one of the interesting things to me about StarCraft and Diablo and these games that Blizzard has created is the task of balancing classes, for example, sort of making the game fair from the starting point and then let's skill determine the outcome.
[199] Is there, I mean, can you first comment?
[200] There's three races, Zerg, Protas, and Terran.
[201] I don't know if I've ever said that out loud.
[202] Is that how you pronounce it?
[203] Terran.
[204] Yeah.
[205] Yeah.
[206] I don't think I've ever so in person interact with anybody about Starcraft.
[207] That's funny.
[208] So they seem to be pretty balanced.
[209] I wonder if the AI, the work that you're doing with Alpha Star would help balance them even further.
[210] Is that something you think about?
[211] Is that a new unit or a new spell type is obviously possible given that you can always train or pre -train at scale some agent that might start using that in unintended ways.
[212] But I think actually if you understand how StarCraft has kind of co -evolved with players, in a way I think it's actually very cool the ways that many of the things and strategies that people came up with, right?
[213] So I think we've seen it over and over in StarCraft that Blizzard comes up with maybe a new unit and then some players get creative and do something kind of unintentional or something that Blizzard designers just simply didn't test or think about.
[214] And then after that becomes kind of mainstream in the community, Blizzard patches the game and then they kind of maybe weaken that strategy or make it actually more interesting, but a bit more balanced.
[215] So this kind of continual talk between players and Blizzard is kind of what has defined them actually in actually most games, in StarCard, but also.
[216] in Wall of Warcraft, they would do that.
[217] There are several classes, and it would be not good that everyone plays absolutely the same race and so on, right?
[218] So I think they do care about balancing, of course, and they do a fair amount of testing.
[219] But it's also beautiful to also see how players get creative anyways.
[220] And, I mean, whether AI can be more creative at this point, I don't think so, right?
[221] I mean, it's just sometimes something so amazing happens.
[222] Like, I remember back in the days, like, you have the...
[223] these drop ships that could drop the rivers and that was actually not thought about that you could drop this unit that has this what's called splash damage that would basically eliminate all the enemy's workers at once.
[224] No one thought that you could actually put them in really early game do that kind of damage and then, you know, things change in the game.
[225] But I don't know.
[226] I think it's quite an amazing exploration process from both sides, players and Blizzard alike.
[227] Well, it's almost like a reinforcement learning exploration, but the scale of humans that play that play Blizzard games is almost on the scale of a large scale, deep mind, RL experiment.
[228] I mean, if you look at the numbers, it's, I mean, you're talking about, I don't know how many games, but hundreds of thousands of games, probably a month.
[229] Yeah.
[230] I mean, so it's almost the same as running RL agents.
[231] What aspect of the problem of StarCraft, do things?
[232] the hardest.
[233] Is it the, like you said, the imperfect information?
[234] Is it the fact they have to do long -term planning?
[235] Is it the real -time aspects?
[236] So you have to do stuff really quickly?
[237] Is it the fact that large action space so you can do so many possible things?
[238] Or is it, you know, in the game theoretic sense, there's no Nash -Equilibia, or at least you don't know what the optimal strategy is because there's way too many options?
[239] Right.
[240] Is there something that stands out as just like the hardest, the most annoying thing.
[241] So when we sort of looked at the problem and start to define the parameters of it, right?
[242] What are the observations?
[243] What are the actions?
[244] It became very apparent that, you know, the very first barrier that one would hit in StarCraft would be because of the action space being so large and as not being able to search like you could in chess or go, even though the search space is vast.
[245] The main problem that we identified was that of exploration, right?
[246] So without any sort of human knowledge or human prior, if you think about StarCraft and you know how deep reinforcement learnings algorithm works, which is essentially by issuing random actions and hoping that they will get some wins sometimes so they could learn.
[247] So if you think of the action space in StarCraft, almost anything you can do in the early game is bad.
[248] because any action involves taking workers which are mining minerals for free that's something that the game does automatically sends them to mine and you would immediately just take them out of mining and send them around.
[249] So just thinking, how is it going to be possible to get to understand these concepts but even more like expanding, right?
[250] There's these buildings you can place in other locations in the map to gather more resources, but the location of the building is important.
[251] And you have to select a worker, send it walking to that location, build the building, wait for the building to be built, and then put extra workers there.
[252] So they start mining.
[253] That just, that feels like impossible if you just randomly click to produce that state, desirable state that then you could hope to learn from, because eventually that may yield to an extra win, right?
[254] So for me, the exploration problem due to the action space and the fact that there's not really turns.
[255] There's so many turns because the game essentially ticks at 22 times per second.
[256] I mean, that's how they can discretize sort of time.
[257] Obviously, you always have to discretize time.
[258] There's no such thing as real time.
[259] But it's really a lot of time steps of things that could go wrong.
[260] And that definitely felt a priori like the hardest.
[261] You mentioned many good ones.
[262] I think partial observability, the fact that there is no perfect strategy because of the partial observability.
[263] Those are very interesting problems.
[264] We start seeing more and more now in terms of as we solve the previous ones.
[265] But the core problem to me was exploration and solving it has been basically kind of the focus and how we saw the first breakthroughs.
[266] So exploration in a multi -hierarchical way.
[267] So like 22 times a second exploration has a very different meaning than it does in terms of should I gather resources early or should I wait or so on?
[268] So how do you solve the long term?
[269] Let's talk about the internals of Alpha Star.
[270] So first of all, how do you represent the state of the game as an input?
[271] Right.
[272] How do you then do the long -term sequence modeling?
[273] How do you build a policy?
[274] Right.
[275] So what's the architecture like?
[276] So Alpha Star has obviously several components, but everything passes through what we call the policy, which is a neural network.
[277] And that's kind of the beauty of it.
[278] There is, I could just now give you a neural network and some weights.
[279] And if you fed the right observations and you understood the actions the same way we do, you would have basically the agent playing the game.
[280] There's absolutely nothing else needed other than those weights that were trained.
[281] Now, the first step is observing the game.
[282] And we've experimented with a few alternatives.
[283] The one that we currently use mixes both spatial sort of images that you would process from the game, that is the zoomed -out version of the map and also a zoom -in version of the camera or the screen, as we call it.
[284] But also, we give to the agent the list of units that it sees, more of as a set of objects that it can operate on.
[285] That is not necessarily required to use it, and we have versions of the game that play well without this set vision that is a bit not like how humans perceive the game, But it certainly helps a lot because it's a very natural way to encode the game is by just looking at all the units that there are.
[286] They have properties like health, position, type of unit, whether it's my unit or the enemies.
[287] And that sort of is kind of the summary of the state of the game, not that list of units or set of units that you see all the time.
[288] But that's pretty close to the way humans see the game.
[289] Why do you say it's not, it's not, you're saying the exactness of it is not, yeah, it's not the humans.
[290] The exactness of it is perhaps not the problem.
[291] I guess maybe the problem, if you look at it from how actually humans play the game, is that they play with a mouse on a keyboard and a screen, and they don't see sort of a structured object with all the units.
[292] What they see is what they see on the screen, right?
[293] So remember that there's a, sorry to interrupt, there's a plot that you showed with camera -based where you do exactly that, right?
[294] You move around, and that seems to converge to similar performance.
[295] Yeah, I think that's what I, we're kind of experimenting with what's necessary or not, but using the set.
[296] So, actually, if you look at research in computer region, where it makes a lot of sense to treat images as two -dimensional arrays, there's actually a very nice paper from Facebook.
[297] I think I forgot who the authors are, but I think it's part of Kamings has group.
[298] And what they do is they take an image.
[299] which is this two -dimensional signal and they actually take pixel by pixel and scramble the image as if it was just a list of pixels.
[300] Crucially, they encode the position of the pixels with the X, Y coordinates.
[301] And this is just kind of a new architecture which we incidentally also use in StarCraft called the Transformer, which is a very popular paper from last year, which yielded very nice result in machine translation.
[302] And if you actually believe in this kind of, or it's actually a set of pixels, as long as you encode X, Y, it's okay.
[303] Then you could argue that the list of units that we see is precisely that, because we have each unit as a kind of pixel, if you will, and then they're X, Y coordinates.
[304] So in that perspective, without knowing it, we use the same architecture that was shown to work very well on Pascal and ImageNet and so on.
[305] So the interesting thing here is putting it in that way, it starts to move it towards the way you usually work with Lange, language.
[306] So what, and especially with your expertise and work in language, it seems like there's echoes of a lot of the way you would work with natural language in the way you've approached Alpha Star.
[307] Right.
[308] What's, does that help with the long -term sequence modeling there somehow?
[309] Exactly.
[310] So, so now that we understand what an observation for a given time step is, we need to move on to say, well, there's going to be a sequence of such observations.
[311] And agent will need to, given all that it's seen, not only the current time step, but all that it's seen.
[312] Why?
[313] Because there is partial observability.
[314] We must remember whether we saw a worker going somewhere, for instance, right?
[315] Because then there might be an expansion on the top right of the map.
[316] So given that, what you must then think about is there is the problem of, given all the observations, you have to predict the next action.
[317] And not only given all the but given all the observations and given all the actions you've taken, predict the next action.
[318] And that sounds exactly like machine translation, where, and that's exactly how kind of I saw the problem, especially when you are given supervised data or replays from humans, because the problem is exactly the same.
[319] You're translating essentially a prefix of observations and actions onto what's going to happen next, which is exactly how you would train a model to translate or to generate language as well, right?
[320] You have a certain prefix.
[321] You must remember everything that comes in the past because otherwise you might start having non -coherent text.
[322] And the same architectures we're using LSTMs and transformers to operate across time to kind of integrate all that's happened in the past.
[323] Those architectures that work so well in translation or language modeling are exactly the same than what the agent is using to issue actions in the game.
[324] And the way we train it, moreover, for imitation, which is step one of alpha -starries, take all the human experience and try to imitate it, much like you try to imitate translators that translated many pairs of sentences from French to English say, that sort of principle applies exactly the same.
[325] It's almost the same code, except that instead of words, you have a slightly more complicated objects, which are the observations, and the actions are also a bit more complicated than a word.
[326] is there a self -play component then too so once you run out of imitation right so so indeed you can bootstrap from human replays but then the agents you get are actually not as good as the humans you imitated right so how do we imitate well we take humans from 3 ,000 MMR and higher 3 ,000 MMR is just a metric of human skill and 3 ,000 MMR might be like 50 % percent percentile, right?
[327] So it's just kind of average human.
[328] What's that?
[329] So maybe quick pause.
[330] MMR's a ranking scale, the matchmaking rating for players.
[331] So it's three thousand.
[332] I remember there's like a master and a grandmaster.
[333] What's three thousand?
[334] So three thousand is is pretty bad.
[335] I think it's kind of gold level.
[336] It just sounds really good relative to chess, I think.
[337] Oh yeah, yeah.
[338] No, the the ratings, the best in the world are at 7 ,000 MMR.
[339] 7 ,000.
[340] So 3 ,000, it's a bit like Elo indeed, right?
[341] So 3 ,500 just allows us to not filter a lot of the data.
[342] So we like to have a lot of data in deep learning, as you probably know.
[343] So we take these kind of 3 ,500 and above, but then we do a very interesting trick, which is we tell the neural network what level they are imitating.
[344] So we say, this replay you're going to try to imitate to predict the next action for all the actions that you're going to see is a 4 ,000 MMR replay.
[345] This one is a 6 ,000.
[346] 6 ,000 MMR replay.
[347] And what's cool about this is then we take this policy that is being trained from human and then we can ask it to play like a 3 ,000 MMR player by setting a bit saying, well, okay, play like a 3 ,000 MMR player or play like a 6 ,000 MMR player.
[348] And you actually see how the policy behaves differently.
[349] It gets worse economy if you play like a gold level player.
[350] It does less actions per minute, which is the number of clicks or number of actions that you will issue in a whole minute.
[351] And it's very interesting to see that it kind of imitates the skill level quite well.
[352] But if we ask it to play like a 6 ,000 MMR player, we tested, of course, these policies to see how well they do.
[353] They actually beat all the built -in AIs that Blizzard put in the game, but they're nowhere near 6 ,000 MMR players, right?
[354] They might be maybe around goal level, platinum, perhaps.
[355] So there's still a lot of work to be done for the policy to truly understand what it means to win.
[356] so far we only ask them okay here is the screen and that's what's happened on the game until this point what would the next action be if we ask you know we ask a pro to now say oh you're going to click here or here or there and the point is experiencing wins and losses is very important to then start to refine otherwise the policy can get loose can just go off policy as we call it that's so interesting that you can at least hope eventually to be able to control a policy approximately to be some MMR level.
[357] That's so interesting, especially given that you have ground truth for a lot of these cases.
[358] Can I ask you a personal question?
[359] Sure.
[360] What's your MMR?
[361] Well, I haven't played StarCraft 2, so I am unranked.
[362] Oh, which is the kind of lowest league.
[363] Okay.
[364] So I used to play StarCraft, the first one.
[365] But you haven't seriously played...
[366] No, not StarCraft 2.
[367] So the best player, we have a deep mind is about 5 ,000 MMR, which is high masters.
[368] It's not at grandmaster level.
[369] Grandmaster level would be the top 200 players in a certain region like Europe or America or Asia.
[370] But for me, it would be hard to say.
[371] I am very bad at the game.
[372] I actually played Alpha Star a bit too late and it beat me. I remember the whole team was, oh, Oreo, you should play.
[373] And I was, oh, it looks like it's not so good yet.
[374] And then I remember I kind of got busy and waited an extra week and I played and it really beat me very badly.
[375] I mean, how did that feel?
[376] Isn't that an amazing feeling?
[377] That's amazing, yeah.
[378] I mean, obviously I tried my best and I tried to also impress my because I actually played the first game.
[379] So I'm still pretty good at micromanagement.
[380] The problem is I just don't understand StarCraft too.
[381] I understand StarCraft.
[382] And when I played StarCraft, I probably was consistently, like, for a couple years, top 32 in Europe.
[383] So I was decent, but at the time, we didn't have this kind of MMR system as well established.
[384] So it would be hard to know what it was back then.
[385] So what's the difference in interface between Alpha Star and Starcraft and a human player in Starcraft?
[386] Is there any significant differences between the way they both see the game?
[387] I would say the way they see the game, there's a few things that are just very hard to simulate.
[388] The main one perhaps, which is obvious in hindsight, is what's called cloaked units, which are invisible units.
[389] So in StarCraft, you can make some units that you need to have a particular kind of unit to detect it.
[390] So these units are invisible.
[391] If you cannot detect them, you cannot target them.
[392] So they would just destroy your buildings or kill your workers.
[393] But despite the fact you cannot target the unit, there's a shimmer that as a human you observe.
[394] I mean, you need to train a little bit.
[395] You need to pay attention.
[396] But you would see this kind of space time like distortion.
[397] And you would know, okay, there are, yeah.
[398] Yeah, there's like a wave thing.
[399] Yeah, it's called shimmer.
[400] Space time distortion.
[401] I like it.
[402] That's really like the blizzard term is shimmer.
[403] Shimmer, okay.
[404] And so these shimmer professional players actually can see it immediately.
[405] they understand it very well.
[406] But it's still something that requires certain amount of attention and it's kind of a bit annoying to deal with.
[407] Whereas for Alpha Star, in terms of vision, it's very hard for us to simulate sort of, are you looking at this pixel in the screen and so on?
[408] So the only thing we can do is there is a unit that's invisible over there, so Alpha Star would know that immediately, obviously still obeys the rules.
[409] You cannot attack the unit.
[410] You must have a detector.
[411] so on.
[412] But it's, it's kind of one of the main things that it just doesn't feel there's a very proper way.
[413] I mean, you could imagine, oh, you don't have high, maybe you don't know exactly where it is, or sometimes you see it, sometimes you don't.
[414] But it's, it's just really, really complicated to get it so that everyone would agree, oh, that's, that's the best way to simulate this, right?
[415] You know, it seems like a perception problem.
[416] It is a perception problem.
[417] So, so the only problem is people, or you ask, oh, what's the difference between how humans perceive the game?
[418] say they wouldn't be able to tell a shimmer immediately as it appears on the screen, whereas Alpha Star in principle sees it very sharply, right?
[419] It sees that the bit turned from zero to one, meaning there's now a unit there, although you don't know the unit or you don't know, you know that you cannot attack it and so on.
[420] Got it.
[421] So that, from a vision standpoint, that probably is the one that is kind of the most obvious one.
[422] Then there are things humans cannot do perfectly, even professionals, which is they miss a detail or they might have not seen a unit.
[423] And obviously, as a computer, if there's a corner of the screen that turns green because a unit enters the field of view, that can go into the memory of the agent, the LSTM, and persists there for a while and for whatever, for however long is relevant, right?
[424] And in terms of action, it seems like the rate of action from Alpha Star is comparative, if not slower than professional players, but is there, but it's more precise is what I read.
[425] So that's really probably the one that is causing us more issues for a couple of reasons, right?
[426] The first one is StarCraft has been an AI environment for quite a few years.
[427] In fact, I mean, I was participating in the very first competition back in 2010.
[428] And there's really not been kind of a very clear set of rules how the actions per minute, the rate of actions that you can issue is.
[429] And as a result, this.
[430] agents or bots that people build in a kind of almost very cool way, they do like 20 ,000, 40 ,000 actions per minute.
[431] Now, to put this in perspective, a very good professional human might do 300 to 800 actions per minute.
[432] They might not be as precise.
[433] That's why the range is a bit tricky to identify exactly.
[434] I mean, 300 actions per minute precisely is probably realistic.
[435] 800 is probably not.
[436] but you see humans doing a lot of actions because they warm up and they kind of select things and spam and so on just so that when they need, they have the accuracy.
[437] So we came into this by not having kind of a standard way to say, well, how do we measure whether an agent is at human level or not?
[438] On the other hand, we had a huge advantage, which is because we do imitation learning, agents turned out to act like humans in terms of rate of actions, even precisions and imprecisions of actions in the supervised policy, you could see all these.
[439] You could see how agents like to spam click, to move here.
[440] If you played especially Diablo, you would know what I mean.
[441] I mean, you just dump like spam, oh, I move here, move here, and move here.
[442] You're doing literally like maybe five actions in two seconds, but these actions are not very meaningful.
[443] One would have sufficed.
[444] So on the one hand, we start from this.
[445] imitation policy that is at the ballpark of the actions per minute of humans because it's actually statistically trying to imitate humans.
[446] So we see this very nicely in the curves that we showed in the blog post.
[447] Like there's these actions per minute and the distribution looks very human -like.
[448] But then of course, as self -play kicks in, and that's the part we haven't talked too much yet, but of course the agent must play against itself to improve, then there's almost no guarantees that these actions will not become more precise or even the rate of actions is going to increase over time.
[449] So what we did, and this is probably kind of the first attempt that we thought was reasonable, is we looked at the distribution of actions for humans for certain windows of time.
[450] And just to give a perspective, because I guess I mentioned that some of these agents that are programmatic, let's call them, they do 40 ,000 actions per minute.
[451] Professionals, as I said, do 300 to 800.
[452] So what we looked is, we looked, we look at a distribution over professional gamers and we took reasonably high actions per minute but we kind of identify certain cutoffs afterwards even if the agent wanted to act these actions would be dropped but the problem is this cutoff is probably set a bit too high and what ends up happening even though the games and when we ask the professionals and the gamers by and large they feel like it's playing human -like there are some Asians that developed maybe slightly too high APMs, which is actions per minute, combined with the precision, which made people sort of start discussing a very interesting issue, which is, should we have limited this?
[453] Should we just let it lose and see what cool things it can come up with, right?
[454] Interesting.
[455] So this is in itself an extremely interesting question, but the same way that modeling the shimmer would be so difficult, modeling absolutely all the details about muscles and precision and tiredness of humans would be quite difficult, right?
[456] So we really hear in kind of innovating in this sense of, okay, what could be maybe the next iteration of putting more rules that makes the agents more human -like in terms of restrictions.
[457] So, yeah, putting constraints that...
[458] More constraints, yeah.
[459] That's really interesting.
[460] That's really innovative.
[461] So one of the constraints you put on yourself.
[462] or at least focused in is on the Protas race, as far as I understand.
[463] Can you tell me about the different races and how they, so Protas, Terran, and Zerg, how do they compare, how do they interact?
[464] Why did you choose Protas?
[465] Right.
[466] In the dynamics of the game, seen from a strategic perspective.
[467] So Protos, so in Stargraf, there are three races.
[468] Indeed, in the demonstration, we saw only the Protos race.
[469] So maybe let's start with that one.
[470] Protos is kind of the most technologically advanced race.
[471] It has units that are expensive but powerful, right?
[472] So in general, you want to kind of conserve your units as you go attack.
[473] So you want to and then you want to utilize these tactical advantages of very fancy spells and so on, so forth.
[474] And at the same time, they're kind of people say like they're a bit easy.
[475] to play perhaps, right?
[476] But that I actually didn't know.
[477] I mean, I just talked to now a lot to the players that we work with TLO and Mana.
[478] And they said, oh, yeah, Protost is actually people think is actually one of the easiest races.
[479] So perhaps the easier, that doesn't mean that it's, you know, obviously professional players excel at the three races.
[480] And there's never like a race that dominates for a very long time anyway.
[481] So if you look at the top, I don't know, 100 in the world, Is there one race that dominates that list?
[482] It would be hard to know because it depends on the regions.
[483] I think it's pretty equal in terms of distribution and Blizzard wants it to be equal, right?
[484] They wouldn't want one race like Protos to not be representative in the top place.
[485] So definitely like they tried it to be like balance, right?
[486] So then maybe the opposite race of Protos is Zerk.
[487] Zerk is a race where you just kind of expand and take over as many resources as you can, and they have a very high capacity to regenerate their units.
[488] So if you have an army, it's not that valuable in terms of losing the whole army is not a big deal as ZERC, because you can then rebuild it, and given that you generally accumulate a huge bank of resources, Zirks typically play by applying a lot of pressure, maybe losing their whole army, but then rebuilding it quickly.
[489] So, although, of course, every race, I mean, there's never, I mean, they're pretty diverse.
[490] I mean, there are some units in ZERC that are technologically advanced, and they do some very interesting spells.
[491] And there's some units in prototypes that are less valuable, and you could lose a lot of them and rebuild them, and it wouldn't be a big deal.
[492] All right.
[493] So maybe I'm missing out.
[494] Maybe I'm going to say some dumb stuff, but summary of strategy.
[495] So first, there's collection of a lot of resources.
[496] Right.
[497] So that's one option.
[498] And the other one is expanding, so building other bases.
[499] Then the other is obviously building units and attacking with those units.
[500] And then I don't know what else there is.
[501] Maybe there's the different timing of attacks.
[502] Like do attack early, attack late?
[503] What are the different strategies that emerged that you've learned about?
[504] I've read that a bunch of people are super happy that you guys have apparently, that Alpha Star apparently has discovered that's really good to, What does it, saturate?
[505] Oh, yeah, the mineral line.
[506] Yeah, the mineral line.
[507] Yeah, yeah.
[508] And that's for greedy amateur players like myself, that's always been a good strategy.
[509] You just build up a lot of money and it just feels good to just accumulate and accumulate.
[510] So thank you for discovering that.
[511] Yeah.
[512] Validating all of us.
[513] But is there other strategies that you discovered, interesting, unique to this game?
[514] Yeah, so if you look at kind of not being a StarCraft 2 player, but of course StarCraft and StarCraft 2 and real -time strategy games in general are very similar.
[515] I would classify perhaps the openings of the game.
[516] They're very important.
[517] And generally I would say there's two kinds of openings.
[518] One that's a standard opening.
[519] That's generally how players find sort of a balance between risk and economy and building some units early on so that they could defend but they're not too exposed, basically, but also expanding quite quickly.
[520] So this would be kind of a standard opening.
[521] And within a standard opening, then what you do choose generally is what technology are you aiming towards.
[522] So there's a bit of rock paper scissors of you could go for spaceships or you could go for invisible units or you could go for, I don't know, like massive units that attack against certain kinds of units, but they're weak against others.
[523] So standard openings themselves have some choices like rock paper Caesar style.
[524] Of course, if you scout and you're good at guessing what the opponent is doing, then you can play as an advantage, because if you know you're going to play rock, I mean, I'm going to play paper, obviously.
[525] So you can imagine that normal standard games in Stargraph looks like a continuous rock paper Caesar game, where you guess what the distribution of rock, paper and Caesar is from the enemy and reacting accordingly to try to beat it or, you know, put the paper out before he kind of changes his mind from rock to scissors, and then you would be in a weak position.
[526] So, sorry to pause on that.
[527] I didn't realize this element, because I know it's true with poker.
[528] I know I looked at Labrottis.
[529] You're also estimating trying to guess the distribute, trying to better and better estimate the distribution of what the opponent is likely to be doing.
[530] Yeah.
[531] I mean, as a player, you definitely want to have a belief state over what's app on the other side of the map and when your belief state becomes inaccurate when you start having that serious doubts whether he's going to play something that you must know that's when you scout you want to then gather information right is improving the accuracy of the belief or improving the belief state part of the loss that you're trying to optimize or is it just an side effect it's implicit but you could explicitly model it and it would be quite good at probably predicting what's on the other side of the map, but so far it's all implicit.
[532] There's no additional reward for predicting the enemy.
[533] So there's these standard openings.
[534] And then there's what people call cheese, which is very interesting.
[535] And Alpha Star sometimes really likes this kind of cheese.
[536] These cheeses, what they are is kind of an all -in strategy.
[537] You're going to do something sneaky.
[538] You're going to hide enemies, hide your own buildings close to the enemy base, or you're going to go for hiding your technological buildings so that you do invisible units and the enemy just cannot react to detect it and thus lose the game.
[539] And there's quite a few of these cheeses and variants of them.
[540] And there is where actually the belief state becomes even more important.
[541] Because if I scout your base and I see no buildings at all, any human player knows something's up.
[542] They might know, well, you're hiding something close to my base, should I build suddenly a lot of units to defend?
[543] Should I actually block my ramp with workers so that you cannot come and destroy my base?
[544] So all this is happening.
[545] And defending against Cheeses is extremely important.
[546] And in the Alpha Star League, many agents actually develop some cheesy strategies.
[547] And in the games we saw against TLO and Manna, two out of the 10 agents were actually doing these kind of strategies, which are cheesy strategies.
[548] And then there's a variant of cheesy strategies.
[549] which is called all -in.
[550] So an all -in strategy is not perhaps as drastic as, oh, I'm going to build cannons on your base and then bring all my workers and try to just disrupt your base and game over, or Gigi, as we say in StarCraft.
[551] There's these kind of very cool things that you can align precisely at a certain time mark.
[552] So, for instance, you can generate exactly 10 -unit composition that is perfect, like five of this type, five of this other type, and align the upgrade so that at four minutes, and a half, let's say, you have these 10 units and the upgrade just finished.
[553] And at that point, that army is really scary.
[554] And unless the enemy really knows what's going on, if you push, you might then have an advantage because maybe the enemy is doing something more standard.
[555] It expanded too much.
[556] It developed too much economy and it trade off badly against having defenses, and the enemy will lose.
[557] But it's called all in because if you don't win, then you're going to lose.
[558] Right.
[559] So you see players that do these kind of strategies.
[560] If they don't succeed, game is not over.
[561] I mean, they still have a base and they still gathering minerals, but they will just Gigi out of the game because they know, well, game is over.
[562] I gambled and I failed.
[563] So if we start entering the game theoretic aspects of the game, it's really rich.
[564] And it's really, that's why it also makes it quite entertaining to watch.
[565] Even if I don't play, I still enjoy watching the game.
[566] But the agents are trying to do this mostly implicitly, but one element that we improved in self -play is creating the Alpha Star League.
[567] And the Alpha Star League is not pure self -play.
[568] It's trying to create different personalities of agents so that some of them will become cheesy agents.
[569] Some of them might become very economical, very greedy, like getting all the resources, but then being maybe early on they're going to be weak, but later on they're going to be very strong.
[570] and by creating this personality of agents, which sometimes it just happens naturally that you can see kind of an evolution of agents that given the previous generation, they train against all of them and then they generate kind of the perfect counter to that distribution.
[571] But these agents, you must have them in the populations because if you don't have them, you're not covered against these things, right?
[572] It's kind of you want to create all sorts of the opponents that you will find in the wild so you can be exposed to, these cheeses, early aggression, later aggression, more expansions, dropping units in your base from the side, all these things.
[573] And pure self -play is getting a bit stuck at finding some subset of these, but not all of these.
[574] So the Alpha Star League is a way to kind of do an ensemble of agents that they're all playing in a league, much like people play on Battlenet, right?
[575] They play, you play against someone who does a new cool strategy and you immediately oh my god i want to try it i want to play again and this to me was another critical part of the of the problem which was can we create a battle net for agents yeah that's kind of what the alpha star league really fascinating and where they stick to their different strategies yeah wow that's that's really really interesting so but that said you uh were fortunate enough or just skilled enough to win five zero uh and so how hard is it to win i mean that's not the goal.
[576] I guess I don't know what the goal is.
[577] The goal should be to win majority, not 5 -0, but how hard is it in general to win all matchups?
[578] I don't want one V -1.
[579] So that's a very interesting question because once you see Alpha Star and superficially you think, well, okay, if you sum up the games like 10 to 1, right, it lost the game that it played with the camera interface, you might think, well, that's done, right?
[580] It's, it's superhuman at the game.
[581] And that's not really the claim we really can't make, actually.
[582] The claim is we beat a professional gamer for the first time.
[583] StarCraft has really been a thing that has been going on for a few years, but a moment like this has not occurred, had not occurred before yet.
[584] But are these agents impossible to beat?
[585] Absolutely not, right?
[586] So that's a bit what's, you know, kind of the difference is the agents play at grandmaster level.
[587] They definitely understand the game enough to play extremely well.
[588] But are they unbeatable?
[589] Do they play perfect?
[590] No. And actually, in StarCraft, because of these sneaky strategies, it's always possible that you might take a huge risk sometimes, but you might get wins, right, out of this.
[591] So I think as a domain, it still has a lot of opportunities, not only because, of course, we want to learn with less experience.
[592] We would like to, I mean, if I learn to play Protos, I can play Terran and learn it much quicker than Alpha Star can, right?
[593] So there are obvious interesting research challenges as well.
[594] But even as the raw performance goes, really the claim here can be, we are at pro level or at high grandmaster level.
[595] But obviously, the players also did not know what to expect, right?
[596] kind of their prior distribution was a bit off because they played this kind of new like alien brain as they like to say it right and that's what makes it exciting for them but also I think if you look at the games closely you see there were weaknesses in some points maybe Alpha Star did not scout or if it had had invisible units going against at certain points it wouldn't have known and it would have been bad so there's still quite a lot of work to do.
[597] But it's really a very exciting moment for us to be seeing, wow, a single neural net on a GPU is actually playing against these guys who are amazing.
[598] I mean, you have to see them play in life.
[599] They're really, really amazing players.
[600] Yeah, I'm sure.
[601] There's, there must be a guy in Poland somewhere right now training his butt off to make sure that this never happens again with Alpha Star.
[602] So that's really exciting in terms of Alpha Star having some holes to exploit.
[603] which is great and then you build on top of each other and it feels like starcraft on light go even if you win it's still not there it's still not there's so many different dimensions in which you can explore so that's really really interesting do you think there's a ceiling to alpha star you've said that it hasn't reached you know it's this is a big wait what let me actually just pause for a second how did it feel to to come here to this point to to beat a top of professional player.
[604] Like that night, I mean, you know, Olympic athletes have their gold medal, right?
[605] This is your gold medal in a sense.
[606] Sure, you're cited a lot.
[607] You've published a lot of prestigious papers, whatever, but this is like a win.
[608] How did it feel?
[609] I mean, it was, for me, it was unbelievable because first, the win itself, I mean, it was so exciting.
[610] I mean, So looking back to those last days of 2018, really, that's when the games were played.
[611] I'm sure I'll look back at that moment.
[612] I'll say, oh, my God, I want to be in a project like that.
[613] It's like, I already feel the nostalgia of like, yeah, that was huge in terms of the energy and the team effort that went into it.
[614] And so in that sense, as soon as it happened, I already knew it was kind of, I was losing it a little bit.
[615] So it's almost like sad that it happened and oh my God, like, but on the other hand, it also verifies the approach.
[616] But to me also, there's so many challenges and interesting aspects of intelligence that even though we can train a neural network to play at the level of the best humans, there's still so many challenges.
[617] So for me, it's also like, well, this is really an amazing achievement.
[618] But I already was also thinking about next steps.
[619] I mean, as I said, these agents play protos versus protos, but they should be able to play a different race much quicker, right?
[620] So that would be an amazing achievement.
[621] Some people call these meta reinforcement learning, meta learning, and so on, right?
[622] So there's so many possibilities after that moment.
[623] But the moment itself, it really felt great.
[624] We had this bet, so I'm kind of a pessimist in general, so I kind of send an email to the team, I said, okay, let's against TLO first, right?
[625] Like, what's going to be the result?
[626] And I really thought we would lose like five zero, right?
[627] I, I, we had some calibration made against the 5 ,000 MMR player.
[628] TLO was much stronger than that player, even if he played Protos, which is his off race.
[629] But yeah, it was not imagining we would win.
[630] So for me, that was just kind of a test run or something.
[631] And then it really, kind of, he was really surprised.
[632] And, unbelievably we went to this bar to celebrate and Dave tells me well why don't we invite someone who is a thousand MMR stronger in Protos like an actual protos player like that it turned up being mana right and you know we had some drinks and I said sure why not but then I thought well that's really going to be impossible to beat I mean even because it's so much ahead a thousand MMR is really like 99 % probability that mana would be TLO as Protos versus Protos, right?
[633] So we did that.
[634] And to me, the second game was much more important, even though a lot of uncertainty kind of disappeared after we kind of beat TLO.
[635] I mean, he is a professional player.
[636] So that was kind of, oh, but that's really a very nice achievement.
[637] But Mana really was at the top.
[638] And you could see he played much better.
[639] But our agents got much better, too.
[640] So it's like, and then after the first game, that if we take a single game, at least we can say we beat a game.
[641] I mean, even if we don't beat the series, for me, that was a huge relief.
[642] And, I mean, I remember hugging dummies.
[643] And, I mean, it was really like, this moment for me will resonate forever as a researcher.
[644] And, I mean, as a person.
[645] And, yeah, it's a really, like, great accomplishment.
[646] And it was great also to be there with the team in the room.
[647] I don't know if you saw, like, so it was really like.
[648] I mean, from my perspective, the other interesting thing is just like watching Kasparov, Now, watching Mana was also interesting because he didn't, he was kind of a loss of words.
[649] I mean, whenever you lose, I've done a lot of sports.
[650] You sometimes say excuses.
[651] You look for reasons.
[652] Right.
[653] And he couldn't really come up with reasons.
[654] Yeah, yeah.
[655] I mean, so with the off race for Protas, you could say, well, it felt awkward it wasn't, but here it was, it was just beaten.
[656] And it was beautiful to look at a human being being superseded by an AI system.
[657] And it's a beautiful moment for researchers.
[658] Yeah, for sure it was.
[659] It was, I mean, probably the highlight of my career so far because of its uniqueness and coolness.
[660] And I don't know.
[661] I mean, it's obviously, as you said, you can look at paper, citations, and so on.
[662] But this really is like a testament of the whole machine learning approach and using games to advance technology.
[663] I mean, it really was everything came together at that moment.
[664] That's really the summer.
[665] Also, on the other side, it's a popularization of AI, too, because it's just like traveling to the moon and so on.
[666] I mean, this is where a very large community of people that don't really know AI, they get to really interact with it.
[667] Which is very important.
[668] It's extremely important.
[669] We must, you know, writing papers helps our peers, researchers, to understand what we're doing.
[670] But I think AI is becoming mature enough that we must sort of try to explain what it is.
[671] and perhaps through games is an obvious way because these games always had built -in AI, so maybe everyone experienced an AI playing a video game even if they don't know because there's always some scripted element and some people might even call that AI already, right?
[672] So what are other applications of the approaches underlying Alpha Star that you see happening?
[673] There's a lot of echoes of, you said, transformer of language modeling and so on.
[674] Have you already started thinking where the breakthroughs in Alpha Star get expanded to other applications?
[675] Right.
[676] So I thought about a few things for like kind of next months, next years.
[677] The main thing I'm thinking about actually is what's next as a kind of a grand challenge because for me, like we've seen Atari and then there's like the sort of three -dimensional walls that we've seen also like pretty good performance from this Capture the Flag Agents that also some people at DeepMine and elsewhere are working on.
[678] We've also seen some amazing results on, like, for instance, Dota 2, which is also a very complicated game.
[679] So for me, like, the main thing I'm thinking about is what's next in terms of challenge.
[680] So as a researcher, I see sort of two tensions between research and then applications or areas or domains where you apply them.
[681] So on the one hand, we've done thanks to the application of StarCraft is very hard.
[682] We develop some techniques, some new research, that now we could look at else.
[683] else where, like, are there other applications where we can apply this?
[684] And the obvious ones, absolutely, you can think of feeding back to sort of the community we took from, which was mostly sequence modeling or natural language processing.
[685] So we've developed and extended things from the transformer and we use pointer networks.
[686] We combine LSTM and transformers in interesting ways.
[687] So that's perhaps the kind of lowest hanging fruit of feeding back to now a different field of machine learning that's not playing video games.
[688] Let me go old school and jump to the, to Mr. Allen touring.
[689] So the touring test, you know, it says a natural language test, a conversational test.
[690] What's your thought of it as a test for intelligence?
[691] Do you think it is a grand challenge that's worthy of undertaking?
[692] Maybe if it is, would you reformulate it or phrase it somehow differently?
[693] Right.
[694] So I really love the touring test because I, also like sequences and language understanding.
[695] And in fact, some of the early work we did in machine translation, we tried to apply to kind of a neural chatbot, which obviously would never pass the training test because it was very limited.
[696] But it is a very fascinating idea that you could really have an AI that would be indistinguishable from humans in terms of asking or conversing with it, right?
[697] So I think the test itself seems very nice, and it's kind of well -defined, actually, like the passing it or not, I think there's quite a few rules that feel, like, pretty simple and, you know, you could really, like, have, I mean, I think they have these competitions every year.
[698] Yeah, so the Leibner Prize, but I don't know if you've seen, I don't know if you've seen the kind of bots that emerge from that competition.
[699] they're not quite as what you would.
[700] So it feels like that there's weaknesses with the way touring formulated it.
[701] It needs to be that the definition of a genuine, rich, fulfilling human conversation needs to be something else.
[702] Like the Alexa Prize, which I'm not as well familiar with, has tried to define that more.
[703] I think by saying you have to continue keeping a conversation for 30 minutes, something like that.
[704] So basically forcing.
[705] the agent not to just fool but to have an engaging conversation kind of thing is that um i mean is is this have you thought about this problem richly like has and if if you have in general how far away are we from you worked a lot on language uh understanding language generation but the full dialogue the conversation you know just sitting at the bar having a couple beers for an hour that kind of conversation have you thought about it Yeah, so I think you touched here on the critical point, which is feasibility, right?
[706] So there's a great sort of essay by Hamming, which describes sort of grand challenges of physics.
[707] And he argues that, well, okay, for instance, teleportation or time travel are great grand challenges of physics, but there's no attacks.
[708] We really don't know or cannot kind of make any progress.
[709] So that's why most physicists and so on, they don't.
[710] work on these in their PhDs and as part of their careers.
[711] So I see the Turing test in the full Turing test as a bit still too early.
[712] Like I am, I think we're, especially with the current trend of deep learning language models, we've seen some amazing examples.
[713] I think GPD2 being the most recent one, which is very impressive, but to understand to fully solve passing or fooling a human to think that there's a human on the other side.
[714] I think we're quite far.
[715] So as a result, I don't see myself, and I probably would not recommend people doing a PhD on solving the Turing test because it just feels it's kind of too early or too hard of a problem.
[716] Yeah, but that said, you said the exact same thing about StarCraft about a few years ago.
[717] Indeed.
[718] To Demas.
[719] So I appreciate you'll probably also be the person who passes the touring test in three years.
[720] I mean, I think the, yeah, So we have this on record.
[721] This is nice.
[722] It's true.
[723] It's true.
[724] I mean, the, it's true that progress sometimes is a bit unpredictable.
[725] I really wouldn't have not, I, even six months ago, I would not have predicted the level that we see that these agents can deliver at grandmaster level.
[726] But I have worked on language enough.
[727] And basically, my concern is not that something could happen, a breakthrough could happen that would bring us to solving or passing the trink test, is that I just think the step.
[728] statistical approach to it, like this, it's not going to cut it.
[729] So we need a breakthrough, which is great for the community.
[730] But given that, I think there's quite a more uncertainty.
[731] Whereas for StarCraft, I knew what the steps would be to kind of get us there.
[732] I think it was clear that using the imitation learning part and then using these battle net for agents were going to be key.
[733] And it turned out that this was the case and a little more was needed, but not not much more.
[734] For Turing test, I just don't know what the plan or execution plan would look like.
[735] So that's why I myself working on it as a grand challenge is hard.
[736] But there are quite a few sub -challenges that are related that you could say, well, I mean, what if you create a great assistant, like Google already has like the Google assistant?
[737] So can we make it better and can we make it fully neural and so on?
[738] That I start to believe maybe we're reaching a point where we should attempt these challenges.
[739] I like this conversation so much because it echoes very much to StarCraft conversation.
[740] It's exactly how you approach StarCraft.
[741] Let's break it down into small pieces and solve those and you end up solving the whole game.
[742] Great.
[743] But that said, you're behind some of the sort of biggest pieces of work and deep learning in the last several years.
[744] So you mentioned some limits.
[745] What do you think of the current limits of deep learning and how do we overcome those limits?
[746] So if I had to actually use a single word to define the main challenge in deep learning, it's a challenge that probably has been the challenge for many years and is that of generalization.
[747] So what that means is that all that we're doing is fitting functions to data.
[748] And when the data we see is not from the same distribution or even if there are sometimes that it is very close to the distribution, But because of the way we train it with limited samples, we then get to this stage where we just don't see generalization as much as we can generalize.
[749] And I think adversarial examples are a clear example of this, but if you study machine learning and literature and, you know, the reason why SBMs came very popular were because they were dealing and they had some guarantees about generalization, which is unseen data or out of distribution or even within distribution where you take an image adding a bit of noise, these models fail.
[750] So I think really I don't see a lot of progress on generalization.
[751] in the strong generalization sense of the world.
[752] I think our neural networks, you can always find design examples that will make their outputs arbitrary, which is not good, because we humans would never be fooled by these kind of images or manipulation of the image.
[753] And if you look at the mathematics, you kind of understand.
[754] This is a bunch of matrices multiplied together.
[755] There's probably numerics and instability that you can just find corner cases.
[756] So I think that's really the underlying topic many times we see when even at the grand stage of like touring test generalization.
[757] I mean, if you start, I mean, passing the touring test, should it be in English or should it be in any language, right?
[758] I mean, as a human, if you could, if you ask something in a different language, you actually will go and do some research and try to translate it and so on.
[759] should the Turing test include that, right?
[760] And it's really a difficult problem and very fascinating and very mysterious, actually.
[761] Yeah, absolutely.
[762] But do you think it's, if you were to try to solve it, can you not grow the size of data intelligently in such a way that the distribution of your training set does include the entirety of the testing set?
[763] I think...
[764] Is that one path?
[765] The other path is totally new methodology.
[766] Right.
[767] It's not statistical.
[768] So a path that has worked well.
[769] it worked well in StarCraft and in machine translation and in languages scaling up the data and the model.
[770] And that's kind of been maybe the only single formula that still delivers today in deep learning, right?
[771] It's that scale, data scale and model scale really do more and more of the things that we thought, oh, there's no way it can generalize to this or there's no way it can generalize to that.
[772] But I don't think fundamentally it will be solved with this.
[773] And for instance, I'm really liking some style or approach that would not only have neural networks, but it would have programs or some discrete decision -making because there is what I feel there's a bit more.
[774] Like, I mean, the example of the best example I think for understanding this is I also worked a bit on, oh, like we can learn an algorithm with a neural network, right?
[775] So you give it many examples and it's going to sort the input numbers or something like that.
[776] But really, strong generalization is you give me some numbers or you ask me to create an algorithm that sorts numbers.
[777] And instead of creating a neural net, which will be fragile because it's going to go out of range at some point, you're going to give it numbers that are too large, too small and whatnot.
[778] If you just create a piece of code that sorts the numbers, then you can prove that that will generalize to absolutely all the possible inputs you could give.
[779] so I think that's the problem comes with some exciting prospects I mean scale is a bit more boring but it really works and then maybe programs and discrete abstractions are a bit less developed but clearly I think they're quite exciting in terms of future for the field do you draw any insight wisdom from the 80s and expert systems and symbolic systems symbolic computing do you ever go back to those sort of reasoning that kind of logic?
[780] Do you think that might make a comeback?
[781] You'll have to dust off those books.
[782] Yeah, I actually love actually adding more inductive biases.
[783] To me, the problem really is, what are you trying to solve?
[784] If what you're trying to solve is so important that try to solve it no matter what, then absolutely use rules, use domain knowledge, and then use a bit of the magic of machine learning to empower to make the system as the best system that will detect cancer or, you know, or detect weather patterns, right?
[785] Or in terms of StarCraft, it also was a very big challenge.
[786] So I was definitely happy that if we had to cut a corner here and there, it could have been interesting to do.
[787] And in fact, in StarCraft, we start thinking about expert systems because it's a very, you know, you can define, I mean, people actually build StarCraft bots by thinking about those principles, like state machines and rule -based, and then you could think of combining a bit of a rule -based system, but that has also neural networks incorporated to make it generalize a bit better.
[788] So absolutely, I mean, we should definitely go back to those ideas and anything that makes the problem simpler.
[789] As long as your problem is important, that's okay, and that's research driving a very important problem.
[790] And on the other hand, if you want to really focus on the limits of reinforcement learning, then of course you must try not to look at imitation data or to look for some rules of the domain that would help a lot or even feature engineering, right?
[791] So this is attention that depending on what you do, I think both ways are definitely fine and I would never not do one or the other if you're, as long as what you're doing is important and needs to be solved, right?
[792] Right.
[793] So there's a bunch of different ideas that that you developed that I really enjoy.
[794] But one is translating from image captioning, translating from image to text.
[795] Just another beautiful, beautiful idea, I think, that resonates throughout your work, actually.
[796] So the underlying nature of reality being language always.
[797] Yeah, somehow.
[798] So what's the connection between images and text, or rather the visual world and the world of language in your view.
[799] Right.
[800] So I think a piece of research that's been central to, I would say even extending into Stargraph is this idea of sequence to sequence learning, which what we really meant by that is that you can now really input anything to a neural network as the input X, and then the neural network will learn a function F that will take X as an input and produce any output Y. And these X and Ys don't need to be like static or like a features, like a fixed vectors or anything like that.
[801] It could be really sequences and now beyond like data structures, right?
[802] So that paradigm was tested in a very interesting way when we moved from translating French to English to translating an image to its caption.
[803] But the beauty of it is that really, and that's actually how it happened.
[804] I changed a line of code in this thing that was doing machine translation and I came the next day and I saw how it was producing captions that seemed like, oh my God, this is really, really working and the principle is the same, right?
[805] So I think I don't see text, vision, speech, waveforms as something different.
[806] As long as you basically learn a function that will vectorize these into and then after we vectorize it we can then use transformers, LSTMs, whatever the flavor of the month of the model is.
[807] And then as long as we have enough supervised data, really this formula will work and will keep working I believe to some extent model of these generalization issues that I mentioned before.
[808] But the test there is to vectorize so the former representation that's meaningful thing and your intuition now having worked with all this media is that once you are able to form that representation you can basically take any things any sequence is there going back to Starcraft is there limits on the length so we didn't really touch on the long -term aspect how did you overcome the whole really long -term aspect of things here is there some tricks So the main trick, so StarCraft, if you look at absolutely every frame, you might think it's quite a long game.
[809] So we would have to multiply 22 times 60 seconds per minute times maybe at least 10 minutes per game on average.
[810] So there are quite a few frames.
[811] But the trick really was to only observe, in fact, which might be seen as a limitation, but it is also a computational advantage.
[812] only observe when you act and then what the neural network decides is what is the gap going to be until the next action and if you look at most StarCraft games that we have in the data set that Blizzard provided it turns out that most games are actually only I mean it is still a long sequence but it's maybe like a thousand to 1 ,500 actions which if you start looking at LSTMs, large LSTMs, transformers, it's not, like, it's not that difficult, especially if you have supervised learning.
[813] If you had to do it with reinforcement learning, the credit assignment problem, what is it in this game that made you win?
[814] That would be really difficult.
[815] But thankfully, because of imitation learning, we didn't kind of have to deal with these directly.
[816] Although if we had to, we tried it.
[817] And what happened is you just take all your workers and attack with them.
[818] And that sort of is kind of obvious in retrospect because you start trying random actions.
[819] One of the actions will be a worker that goes to the enemy base and because it's self -play, it's not going to know how to defend because it basically doesn't know almost anything.
[820] And eventually what you develop is this take all workers and attack because the credit assignment issue in our rally is really, really hard.
[821] I do believe we could do better and that's maybe a research challenge for the future.
[822] but yeah even even in starcraft the sequences are maybe a thousand which i believe there is within the realm of what transformers can do yeah i guess the difference between starcraft and go is uh in go and chess stuff starts happening right away right so there's not yeah it's pretty easy through self play not easy but through self play is possible to develop reasonable strategies quickly as opposed to starcraft i mean in go there's only 400 actions But one action is what people would call the God action that would be if you had expanded the whole search tree, that's the best action if you did Minimax or whatever algorithm you would do if you had the computational capacity.
[823] But in StarCraft, 400 is minuscule.
[824] Like in 400, you couldn't even click on the pixels around a unit, right?
[825] So I think the problem there is, in terms of action space size is way harder.
[826] so and does surge is impossible so there's quite a few challenges indeed that make this kind of a step step up in terms of machine learning for humans maybe they playing starcraft seems more intuitive because it looks real i mean you know like the graphics and everything moves smoothly whereas i i don't know how to i mean go is a game that i would really need to study it feels quite complicated but for machines kind of maybe is the reverse yes which shows you the gap actually between deep learning and however the heck our brains work.
[827] So you developed a lot of really interesting ideas.
[828] It's interesting to just ask, what's your process of developing new ideas?
[829] Do you like brainstorming with others?
[830] Do you like thinking alone?
[831] Do you like, like, like, was it Ian Goodfell?
[832] He came up with Gans after a few beers.
[833] Right.
[834] He thinks beers are essential for coming up a new ideas.
[835] We had beers to decide to play another game.
[836] game of StarCraft after a week.
[837] So it's really similar to that story.
[838] Actually, I explained this in a deep mind retreat.
[839] And I said, this is the same as the gun story.
[840] I mean, we were on a bar and we decided, let's play again next week.
[841] And that's what happened.
[842] I feel like we're giving the wrong message to young undergrads.
[843] Yeah, no. But in general, like, do you like brainstorming?
[844] Do you like thinking alone, working stuff out and stuff?
[845] So I think throughout the years, also things changed, right?
[846] So initially I was very fortunate to be with great minds like Jeff Hinton, Jeff Dean, Ilius Sutskeber.
[847] I was really fortunate to join Brain at a very good time.
[848] So at that point, ideas, I was just kind of brainstorming with my colleagues and learned a lot.
[849] And keep learning is actually something you should never stop doing, right?
[850] So learning implies reading papers and also discussing ideas with others.
[851] It's very hard at some point to not communicate that being reading a paper from someone or actually discussing, right?
[852] So definitely that communication aspect needs to be there, whether it's written or oral.
[853] Nowadays, I'm also trying to be a bit more strategic about what research to do.
[854] So I was describing a little bit this sort of tension between research, for the sake of research, and then you have, on the other hand, applications that can drive the research, right?
[855] And honestly, the formula that has worked best for me is just find a hard problem, and then try to see how research fits into it, how it doesn't fit into it, and then you must innovate.
[856] So I think machine translation drove sequence to sequence, then maybe like learning algorithms that had to, like combinatorial algorithms led to pointer networks, StarCraft led to really scaling up imitation learning and the Alpha Star League.
[857] So that's been a formula that I personally like, but the other one is also about it, and I see need to succeed a lot of the times where you just want to investigate model -based REL as a kind of a research topic.
[858] And then you must then start to think, well, how are the tests?
[859] How are you going to test these ideas?
[860] You need kind of a minimal environment to try things.
[861] You need to read a lot of papers and so on.
[862] And that's also very fun to do and something I've also done quite a few times, both at brain, at deep mind and obviously as a PhD.
[863] So I think besides the ideas and discussions, I think it's important also because you start sort of guiding not only your own goals, but other people's goals.
[864] to the next breakthrough, so you must really kind of understand this, you know, feasibility also, as we were discussing before, right?
[865] Whether whether this domain is ready to be tackled or not, and you don't want to be too early, you obviously don't want to be too late, so it's really interesting, this strategic component of research, which I think as a grad student, I just had no idea to, you know, I just read papers and discussed ideas.
[866] And I think this has been maybe the major change, and I recommend people, kind of feed forward to success how it looks like and try to backtrack other than just kind of looking, oh, this looks cool, this looks cool.
[867] And then you do a bit of random work, which sometimes you stumble upon some interesting things, but in general, it's also good to plan a bit.
[868] Yeah, I like it, especially like your approach, I've taken a really hard problem, stepping right in and then being super skeptical about being able to solve the problem.
[869] I mean, there's a balance of both, right?
[870] There's a silly optimism and a critical sort of skepticism that's good to balance, which is why it's good to have a team of people that balance that.
[871] You don't do that on your own.
[872] You have both mentors that have seen or you obviously want to chat and discuss whether it's the right time.
[873] I mean, Demis came in 2014 and he said maybe in a bit we'll do StarCraft and maybe he knew and that's and I'm just following his lead which is great because he's he's brilliant right so these these things are obviously quite important that you want to be surrounded by people who you know are diverse they they have their knowledge there's also important to I mean I've learned a lot from people who actually have an idea that I might not think it's good but if I give them the space to try it I've been proven wrong many many times as well so that's great.
[874] I think it's, um, your colleagues are more important than yourself, I think.
[875] So, sure.
[876] Now, uh, let's real quick talk about another impossible problem.
[877] AGI.
[878] Right.
[879] What do you think it takes to build a system that's human level intelligence?
[880] We talked a little bit about the touring test, StarCraft, all of these have echoes of general intelligence.
[881] But if you think about just something that you would sit back and say, wow, this is really, uh, something that resembles human -level intelligence, what do you think it takes to build that?
[882] So I find that AGI oftentimes is maybe not very well -defined.
[883] So what I'm trying to then come up with for myself is what would be a result look like that you would start to believe that you would have agents or neural nets that no longer sort of overfit to a single task, right?
[884] but actually kind of learn the skill of learning, so to speak.
[885] And that actually is a field that I am fascinated by, which is the learning to learn or meta -learning, which is about no longer learning about a single domain.
[886] So you can think about the learning algorithm itself is general, right?
[887] So the same formula we applied for Alpha Star or StarCraft, we can now apply to kind of almost any video game or you could apply to many other problems and domains.
[888] But the algorithm is what's kind of generalizing.
[889] But the neural network, the weights, those weights are useless even to play another race, right?
[890] I train a network to play very well at Protos versus Protos.
[891] I need to throw away those weights.
[892] If I want to play now Terran versus Terran, I would need to retrain a network from scratch with the same algorithm.
[893] That's beautiful, but the network itself will not be useful.
[894] So I think when I, if I see an approach that can absorb or start solving new problems without the need to kind of restart the process, I think that to me would be a nice way to define some form of AGI.
[895] Again, I don't know the grandiose like age, I mean, should during test be solved before AGI.
[896] I mean, I don't know.
[897] I think, I think concretely, I would like to see clearly that meta learning happened, meaning there, there is.
[898] is an architecture or a network that as it sees new problem or new data, it solves it.
[899] And to make it kind of a benchmark, it should solve it at the same speed that we do solve new problems.
[900] When I define you a new object and you have to recognize it, when you start playing a new game, you played all the Atari games, but now you play a new Atari game.
[901] Well, you're going to be pretty quickly pretty good at the game.
[902] So that's perhaps what's the domain and what's the exact benchmark is a bit difficult.
[903] I think as a community, we might need to do some work to define it.
[904] But I think this first step, I could see it happen relatively soon.
[905] But then the whole, what AGI means and so on.
[906] I am a bit more confused about what I think people mean different things.
[907] There's an emotional psychological level that, like even the touring test, passing the touring test is something that we just pass judgment on as human beings, what it means to be, you know, as a dog, an AGI system.
[908] Yeah.
[909] Like what level, what does it mean?
[910] Right.
[911] Yeah, what does it mean?
[912] But I like the generalization and maybe as a community we converge towards a group of domains that are sufficiently far away.
[913] That would be really damn impressive if I was able to generalize.
[914] So perhaps not as close as Protas and Zerg.
[915] Like Wikipedia.
[916] Yeah, it would be a good step.
[917] And then a really good step.
[918] but then like from Stargraph to Wikipedia and back.
[919] Yeah.
[920] That kind of thing.
[921] And that feels also quite hard and far, but I think there's, as long as you put a benchmark out, as we discovered, for instance, with ImageNet, then tremendous progress can be had.
[922] So I think maybe there's a lack of benchmark, but I'm sure we'll find one and the community will then work towards that.
[923] And then beyond what AGI might mean or would imply.
[924] I really am hopeful to see basically machine learning or AI just scaling up and helping, you know, people that might not have the resources to hire an assistant or that they might not even know what the weather is like.
[925] But, you know, so I think there's in terms of the impact, the positive impact of AI, I think that's maybe what we should also not lose focus, right?
[926] The research community, building AI, I mean, that's a real nice goal.
[927] but and I think the way that deep mind puts it is and then use it to solve everything else, right?
[928] So I think we should paralyze.
[929] Yeah, we shouldn't forget of all the positive things that are actually coming out of AI already and they're going to be coming out.
[930] Right.
[931] But on that note, let me ask relative to the popular perception, do you have any worry about the existential threat of artificial intelligence in the near or far future that some people have?
[932] I think in the near future, I'm skeptical, so I hope I'm not wrong, but I'm not concerned, but I appreciate efforts, ongoing efforts, and even like a whole research field on AI safety emerging and in conferences and so on.
[933] I think that's great.
[934] In the long term, I really hope we just can simply have the benefits outweigh the potential dangers.
[935] I am hopeful for that, but also we must remain vigilant to kind of monitor and assess whether the trade -offs are there and we have enough also lead time to prevent or to redirect our efforts if need be, right?
[936] But I'm quite optimistic about the technology and definitely more fearful of other threats in terms of planetary level at this point.
[937] But obviously, that's the one I kind of have more power on.
[938] so clearly I do start thinking more and more about this and it's kind of it's grown in me actually to to start reading more about AI safety which is a field that so far I have not really contributed to but maybe there's something to be done there as well I think it's really important you know I talk about this as a few folks but it's important to ask you and shove it in your head because you're at the leading edge of actually what people are excited about in AI I mean the work with Alpha Star, it's arguably at the very cutting edge of the kind of thing that people are afraid of.
[939] And so you speaking to that fact and that we're actually quite far away to the kind of thing that people might be afraid of, but it's still worthwhile to think about.
[940] And it's also good that you're not as worried and you're also open to.
[941] Yeah, I mean, there's two aspects.
[942] I mean, me not being worried, but obviously we should prepare for it, right, for like, for things that could go wrong, misuse of the technologies as with any technologies, right?
[943] So I think there's there's always trade -offs.
[944] And as a society, we've kind of solved this to some extent in the past.
[945] So I'm hoping that by having the researchers and the whole community brainstorm and come up with interesting solutions to the new things that will happen in the future that we can still also push the research to the avenue that I think is kind of the greatest avenue which is to understand intelligence right how are we doing what we're doing and you know obviously from a scientific standpoint that is kind of the drive my personal driver of all the time that I spend doing what I'm doing really where do you see the deep learning as a field heading, where do you think the next big breakthrough might be?
[946] So I think deep learning, I discussed a little of this before.
[947] Deep learning has to be combined with some form of discretization, program synthesis.
[948] I think that's kind of as a research in itself is an interesting topic to expand and start doing more research.
[949] And then as kind of what will deep learning and able to do in the future?
[950] I don't think that's going to be what's going to happen this year, but also this idea of starting not to throw away all the weights, this idea of learning to learn, and really having these agents not having to restart their weights, and you can have an agent that is kind of solving or classifying images on ImageNet, but also generating speech if you ask it to generate some speech, and it should really be kind of almost the same network.
[951] but might not be a neural network.
[952] It might be a neural network with an optimization algorithm attached to it.
[953] But I think this idea of generalization to new task is something that we first must define good benchmarks, but then I think that's going to be exciting and I'm not sure how close we are, but I think if you have a very limited domain, I think we can start doing some progress and much like how we did a lot of programs in computer vision, we should start thinking, I really like a talk that that Leon Boutou gave at ICML a few years ago, which is this train test paradigm should be broken.
[954] We should stop thinking about a training test, sorry, a training set and a test set, and these are closed things that are untouchable.
[955] I think we should go beyond these.
[956] In meta -learning, we call these the meta -training set and the meta -test set, which is really thinking about if I know about ImageNet, why would that network, not work on M -Nist, which is a much simpler problem.
[957] But right now, it really doesn't.
[958] It, you know, but it just feels wrong, right?
[959] So I think that's kind of the, there's the, on the application or the benchmark sites, we, we probably will see quite a few more interest and progress and hopefully people defining new and exciting challenges, really.
[960] Do you have any hope or interest in knowledge graphs within this context?
[961] So this is kind of constructing, yeah, constructing graph.
[962] So going back to graphs, well, neural networks are graphs, but I mean a different kind of knowledge graph, sort of like semantic graphs or there's concepts.
[963] Yeah.
[964] So I think the idea of graphs is, so I've been quite interested in sequences first and then more interesting or different data structures like graphs.
[965] And I've studied graph neural networks in the last three years or so.
[966] I found these models just very interesting.
[967] from like deep learning sites standpoint but then how how what do we want why do we want these models and why would we use them what's the application what's kind of the killer application of graphs right and perhaps if we could extract a knowledge graph from wikipedia automatically right that would be interesting because then these graphs have these very interesting structure that also is a bit more compatible with this idea of programs and deep learning kind of working together, jumping neighborhoods and so on.
[968] You could imagine defining some primitives to go around graphs, right?
[969] So I think I really like the idea of a knowledge graph.
[970] And in fact, when we started, you know, as part of the research we did for StarCraft, I thought wouldn't it be cool to give the graph of, you know, all the prereactual.
[971] There's all these buildings that depend on each other and units that have prerequisites of being built by that.
[972] And so this is information that the network can learn and extract, but it would have been great to see or to think of really StarCraft as a giant graph that even also as the game evolves, you kind of start taking branches and so on.
[973] And we did a bit of research on this, nothing too relevant.
[974] But I really like the idea.
[975] Yeah, and it has elements that are, which is something you also worked with in terms of visualizing neural networks, as elements of having human interpretable, being able to generate knowledge representations that are human interpretable, that maybe human experts can then tweak or at least understand.
[976] So there's a lot of interesting aspect there.
[977] And for me personally, I'm just a huge fan of Wikipedia.
[978] And it's a shame that our neural networks aren't taken advantage of all the structured knowledge that's on the web.
[979] what's next for you what's next for deep mind what are you excited about what for alpha star yeah so i think the obvious next steps would be to apply alpha star to other races i mean that sort of shows that the algorithm works because we wouldn't want to have created by mistake something in the architecture that happens to work for protos but not for other races right so as verification i think that's an obvious next step that we are working on.
[980] And then I would like to see, so agents and players can specialize on different skill sets that allow them to be very good.
[981] I think we've seen Alpha Star understanding very well when to take battles and when to not do that, do that.
[982] Also very good at micromanagement and moving the units around and so on.
[983] And also very good at producing nonstop and trading off economy with building.
[984] building units, but I have not perhaps seen as much as I would like this idea of the poker idea that you mentioned, right?
[985] I'm not sure Starcraft or Alpha Star rather, has developed a very deep understanding of what the opponent is doing and reacting to that and sort of trying to trick the player to do something else or that, you know, so this kind of reasoning I would like to see more.
[986] So I think purely from a research standpoint, there's perhaps also quite a few things to be done there in the domain of StarCraft.
[987] Yeah, in the domain of games, I've seen some interesting work in sort of, and even auctions, manipulating other players, sort of forming a belief state and just messing with people.
[988] Yeah, it's called Theory of Mind, I guess.
[989] Theory of Mind, I guess.
[990] Theory of Mind, I guess.
[991] Theory of Mind, I guess.
[992] Theory of Mind on StarCraft is kind of, they're really made for each other.
[993] Yeah.
[994] So that would be very exciting to see those techniques applied to StarCraft or perhaps StarCraft driving new techniques, right?
[995] As I said, this is always the tension between the two.
[996] Wow, Oriol, thank you so much for talking today.
[997] Awesome.
[998] It was great to be here.
[999] Thanks.