r/MachineLearning • • Jan 24 '19

We are Oriol Vinyals and David Silver from DeepMind’s AlphaStar team, joined by StarCraft II pro players TLO and MaNa! Ask us anything

Hi there! We are Oriol Vinyals (/u/OriolVinyals) and David Silver (/u/David_Silver), lead researchers on DeepMind’s AlphaStar team, joined by StarCraft II pro players TLO, and MaNa.

This evening at DeepMind HQ we held a livestream demonstration of AlphaStar playing against TLO and MaNa - you can read more about the matches here or re-watch the stream on YouTube here.

Now, we’re excited to talk with you about AlphaStar, the challenge of real-time strategy games for AI research, the matches themselves, and anything you’d like to know from TLO and MaNa about their experience playing against AlphaStar! :)

We are opening this thread now and will be here at 16:00 GMT / 11:00 ET / 08:00PT on Friday, 25 January to answer your questions.

EDIT: Thanks everyone for your great questions. It was a blast, hope you enjoyed it as well!

1.2k Upvotes

1.0k comments sorted by

168

u/NikEy Jan 25 '19 edited Jan 25 '19

Hi guys, really fantastic work, extremely impressive!

I'm an admin at the SC2 AI discord and we had a few questions in our #research channel that you may hopefully be able to shed light on:

  1. From the earlier versions (and in fact, the current master version) of pysc2 it appeared that the DM development approach was based on mimicking human gameplay to the fullest extent, e.g. the bot was not even able to get info on anything outside of the screen-view. With this version you seemed to have relaxed these constraints, since feature layers are now "full map size" and new features have been added. Is that correct? If so, then how does this really differ from taking the raw data from the API and simply abstracting them into structured data as inputs for the NNs? The blog even suggests that you take raw data and properties directly as data in list form and feed it into the NNs - which seems to suggest that you're not really using feature layers anymore at all?
  2. When I was working with pysc2 it turned out to be an incredibly difficult problem to maintain knowledge of what has been built, is in-progress, has completed, and so on, since I had to pan the camera view all the time to get that information. How is that info kept within the camera_interface approach? Presumably a lot of data must still be available in full via raw data access (e.g. counts of unitTypeID, buildings, etc) even in camera_interface mode?
  3. How many games needed to be played out in order to get to the current level? Or in other words: how many games is 200 years of learning in your case?
  4. How well does the learned knowledge transfer to other maps? Oriol mentioned on discord that it "worked" on other maps, and that we should guess which one it worked best on, so I guess it's a good time for the reveal ;) In my personal observations AlphaStar did seem to rely quite a bit on memorized map knowledge. Is it likely that it could execute good wall-offs or proxy cheeses on maps that it has never seen before? What would be the estimated difference in MMR when playing on a completely new map?
  5. How well does it learn the concept of "save money for X", e.g. Nexus first. It is not a trivial problem, since if you learn from replays and take the non-actions (NOOPs) from the players into account, the RL algo will more often than not think that NOOP is the best decision at non-ideal points in the game. So how do you handle "save money for X" and do you exclude NOOPs in the learning stage?
  6. What step size did you end up using? In the blog you write that each frame of StarCraft is used as one step of input. However, you also mention an average processing time of 50ms, which would exceed real time (which requires < 46ms given 22.4fps). So do you request every step, or every 2nd, 3rd, maybe dynamic?

I have lots more questions, but I guess I'll better ask these in person the next time ;)

Thanks!

67

u/OriolVinyals Jan 25 '19

Re. 2: Yes, we did relax the view of the agent a bit, mostly due to computational reasons -- games without camera moves last for about 1000 moves, whereas with camera moves (humans do spam a lot!) can be 2 to 3 times longer. We do use feature layers for the minimap, but for the screen you can think of the list of features as “transposing” that information. In fact, it turns out that even for processing images, treating each pixel independently as a list, works quite well! See https://arxiv.org/abs/1711.07971

→ More replies (1)

61

u/OriolVinyals Jan 25 '19

Re. 1: Indeed, with the camera (and non-camera) interface, the agent has the knowledge of what has been built as we input this as a list (which is further processed by a Neural Network Transformer). In general, even if you don’t keep such a list, the agent will know what has been built as the memory of the agent (the LSTM) keeps track of all previously issued actions, and all the camera locations visited in the past.

58

u/OriolVinyals Jan 25 '19

Re. 3: At an average duration of 10 minutes per game, this amounts to about 10 million games. Note, however, that not all agents were trained for as long as 200 years, that was the maximum amongst all the agents in the league.

47

u/OriolVinyals Jan 25 '19

Re. 6: We request every step, but the action, due to latency and several delays as you note, will only be processed after that step concludes (i.e., we play asynchronously). The other option would have been to lock the step, which makes the playing experience for the player not great : )

14

u/OriolVinyals Jan 25 '19

Re. 4: See above for an answer.

4

u/Grenouillet Jan 25 '19

4. When Oriol mentioned that it "worked" did he mean, "agents train on map X work on map Y" or "the ladder system works on all maps". I can't imagine it being the first.

10

u/OriolVinyals Jan 26 '19

The former. Agents did manage to play reasonably, for example they can still beat all built in AIs on those maps. They aren't as good as on Catalyst, though!

56

u/David_Silver DeepMind Jan 25 '19

Re: 5

AlphaStar actually chooses in advance how many NOOPs to execute, as part of its action. This is learned first from supervised data, so as to mirror human play, and means that AlphaStar typically “clicks” at a similar rate to human players. This is then refined by reinforcement learning, which may choose to reduce or increase the number of NOOPs. So, “save money for X” can be easily implemented by deciding in advance to commit to several NOOPs.

→ More replies (6)

325

u/gwern Jan 24 '19 edited Jan 25 '19
  1. what was going on with APM? I was under the impression it was hard-limited to 180 WPM by the SC2 LE, but watching, the average APM for AS seemed to go far above that for long periods of time, and the DM blog post reproduces the graphs & numbers mentioned without explaining why the APMs were so high.
  2. how many distinct agents does it take in the PBT to maintain adequate diversity to prevent catastrophic forgetting? How does this scale with agent count, or does it only take a few to keep the agents robust? Is there any comparison with the efficiency of the usual strategy of historical checkpoints in?
  3. what does total compute-time in terms of TPU & CPU look like?
  4. the stream was inconsistent. Does the NN run in 50ms or 350ms on a GPU, or were those referring to different things (forward pass vs action restrictions)?
  5. have any tests of generalizations been done? Presumably none of the agents can play different races (as the available units/actions are totally different & don't work even architecture-wise), but there should be at least some generalization to other maps, right?
  6. what other approaches were tried? I know people were quite curious about whether any tree searches, deep environment models, or hierarchical RL techniques would be involved, and it appears none of them were; did any of them make respectable progress if tried?

    Sub-question: do you have any thoughts about pure self-play ever being possible for SC2 given its extreme sparsity? OA5 did manage to get off the ground for DoTA2 without any imitation learning or much domain knowledge, so just being long games with enormous action-spaces doesn't guarantee self-play can't work...

  7. speaking of OA5, given the way it seemed to fall apart in slow turtling DoTA2 games or whenever it fell behind, were any checks done to see if the SA self-play lead to similar problems, given the fairly similar overall tendencies of applying constant pressure early on and gradually picking up advantages?
  8. At the November Blizzcon talk, IIRC Vinyals said he'd love to open up their SC2 bot to general play. Any plans for that?
  9. First you do Go dirty, now you do Starcraft. Question: what do you guys have against South Korea?

130

u/OriolVinyals Jan 25 '19

Re. 1: I think this is a great point and something that we would like to clarify. We consulted with TLO and Blizzard about APMs, and also added a hard limit to APMs. In particular, we set a maximum of 600 APMs over 5 second periods, 400 over 15 second periods, 320 over 30 second periods, and 300 over 60 second period. If the agent issues more actions in such periods, we drop / ignore the actions. These were values taken from human statistics. It is also important to note that Blizzard counts certain actions multiple times in their APM computation (the numbers above refer to “agent actions” from pysc2, see https://github.com/deepmind/pysc2/blob/master/docs/environment.md#apm-calculation). At the same time, our agents do use imitation learning, which means we often see very “spammy” behavior. That is, not all actions are effective actions as agents tend to spam “move” commands for instance to move units around. Someone already pointed this out in the reddit thread -- that AlphaStar effective APMs (or EPMs) were substantially lower. It is great to hear the community’s feedback as we have only consulted with a few people, and will take all the feedback into account.

Re. 5: We actually (unintentionally) tested this. We have an internal leaderboard for the AlphaStar, and instead of setting the map for that leaderboard to Catalyst, we left the field blank -- which meant that it was running on all Ladder maps. Surprisingly, agents were still quite strong and played decently, though not at the same level we saw yesterday.

9

u/PM_ME_STEAM Jan 25 '19

https://youtu.be/cUTMhmVh1qs?t=7901 It looks like the AI definitely goes way over 600 APM in the 5 second period here. Are you capping the APM or EPM?

19

u/OriolVinyals Jan 25 '19

We are capping APM. Blizzard in game APM applies some multipliers to some actions, that's why you are seeing a higher number. https://github.com/deepmind/pysc2/blob/master/docs/environment.md#apm-calculation

→ More replies (3)
→ More replies (74)

45

u/OriolVinyals Jan 25 '19 edited Jan 26 '19

Re. 8: Glad to see the excitement! We're really grateful for the community's support and we want to include them in our work, which is why we are releasing the 11 game replays for the community to review and enjoy. We’ll keep you posted as our plans on this evolve!

→ More replies (3)

41

u/David_Silver DeepMind Jan 25 '19

Re: 3

In order to train AlphaStar, we built a highly scalable distributed training setup using [Google's v3 TPUs](https://cloud.google.com/tpu/) that supports a population of agents learning from many thousands of parallel instances of StarCraft II. The AlphaStar league was run for 14 days, using 16 TPUs for each agent. The final AlphaStar agent consists of the most effective mixture of strategies that have been discovered, and runs on a single desktop GPU.

→ More replies (11)

72

u/David_Silver DeepMind Jan 25 '19

Re: 2

We keep old versions of each agent as competitors in the AlphaStar League. The current agents typically play against these competitors in proportion to the opponents' win-rate. This is very successful at preventing catastrophic forgetting, since the agent must continue to be able to beat all previous versions of itself. We did try a number of other multi-agent learning strategies and found this approach to work particularly robustly. In addition, it was important to increase the diversity of the AlphaStar League, although this is really a separate point to catastrophic forgetting. It’s hard to put exact numbers on scaling, but our experience was that enriching the space of strategies in the League helped to make the final agents more robust.

→ More replies (2)

59

u/David_Silver DeepMind Jan 25 '19

Re: 6 (sub-question on self-play)

We did have some preliminary positive results for self-play, in fact an early version of our agent defeated the built-in bots, using basic strategies, entirely by self-play. But supervised human data is very helpful to bootstrap the exploration process, and helps to give much broader coverage of advanced strategies. In particular, we included a policy distillation cost to ensure that the agent continues to try human-like behaviours with some probability throughout training, and this makes it much easier to discover unlikely strategies than when starting from self-play.

→ More replies (2)

51

u/David_Silver DeepMind Jan 25 '19

Re: 4

The neural network itself takes around 50ms to compute an action, but this is only one part of the processing that takes place between a game event occurring and AlphaStar reacting to that event. First, AlphaStar only observes the game every 250ms on average, this is because the neural network actually picks a number of game ticks to wait, in addition to its action (sometimes known as temporally abstract actions). The observation must then be communicated from the Starcraft binary to AlphaStar, and AlphaStar’s action communicated back to the Starcraft binary, which adds another 50ms of latency, in addition to the time for the neural network to select its action. So in total that results in an average reaction time of 350ms.

→ More replies (5)

44

u/David_Silver DeepMind Jan 25 '19

Re: 7

There are actually many different approaches to learning by self-play. We found that naive implementations of self-play often tended to get stuck in specific strategies or forget how to defeat previous strategies. The AlphaStar League is also based on agents playing against themselves, but its multi-agent learning dynamic encourages strong play against a diverse set of opponent strategies, and in practice seemed to lead to more robust behaviour against unusual patterns of play.

42

u/David_Silver DeepMind Jan 25 '19

Re: 6

The most effective approach so far did not use tree search, environment models, or explicit HRL. But of course these are huge open areas of research and it was not possible to systematically try every possible research direction - and these may well prove fruitful areas for future research. Also it should be mentioned that there are elements of our research (for example temporally abstract actions that choose how many ticks to delay, or the adaptive selection of incentives for agents) that might be considered “hierarchical”.

29

u/Prae_ Jan 25 '19

I'm very interested in the generalization over the three races. The league model for learning seems to work very well for miror match-ups, but it seems to me that it would take a significantly greater time if it had to train 3 races in 9 total match-ups. There are large overlaps between the different match-ups, so it would be intersting to see how well it can make use of these overlaps.

→ More replies (8)
→ More replies (35)

160

u/celeritasCelery Jan 24 '19 edited Jan 25 '19

How does it handle invisible units? Human players can see the shimmer if they are looking really close. But if AI could see that, invisibility would be almost useless. However if it can't see them at all, it seems it would give a big advantage to mass cloaked unit strategies, since an observer would have to present to notice anything.

72

u/OriolVinyals Jan 25 '19

Funnily enough, at first we ignored seeing the “shimmer” of invisible units. Agents still were able to play as you can still build a detector, in which case units would reveal as usual. However, we later added a “shimmer” feature, which activates if that position has a cloaked unit.

→ More replies (27)

25

u/Nevermore60 Jan 25 '19 edited Jan 25 '19

Seeing the shimmer of a cloaked unit is certainly an advantage, but you have to remember that that still doesn't allow you to target the unit without detection.

That said, I think you're right that AlphaStar's "perception" of the subtle shimmer, as well as all other subtle visual information on the screen (e.g., the exact health and position of 45 different enemy units all on the screen at once) is far too precise.

To level the playing field and truly pit the strategic abilities of AlphaStar against human players while controlling for all other advantages, AlphaStar would have to rely on optical perception -- i.e., looking at a screen of the game and visually processing the information on the screen -- rather than instantaneously digitally perceiving all information available in a window.

→ More replies (8)

33

u/Mefaso Jan 25 '19 edited Jan 25 '19

I think they pointed out, that some agents went for all dark templar strategies, which would be pointless if they can be seen, so I'd assume they can't see them.

Also in one of the tlo games they built tons of observers

→ More replies (6)

7

u/2Punx2Furious Jan 25 '19

invisibility would be almost useless

You still can't target invisible units if you don't have a detector, unless you use AOE. Anyway, you can see in the first game that it built a ton of observers, probably for that reason.

→ More replies (7)

44

u/Inori Researcher Jan 25 '19
  1. Your agent contains quite a number of advanced approaches, including some very unconventional such as the transformer body. What was the process of building it like, e.g. was every part of the agent added incrementally, improving the overall performance at each step? Were there parts that initially degraded the performance, and if yes then how were you able to convince others (yourself?) to stick with it?
  2. Speaking of the transformer body, I'm really surprised that essentially throwing away the full spatial information worked so well. Have you given any thought as to why it worked so well, relative to something like the promising DRC / Conv LSTM?
  3. What is the reward function like? Specifically, I'm assuming it would be impossible to train with pure win/loss, but have you applied any special reward shaping?

Very impressive work either way! GGWP!

18

u/OriolVinyals Jan 26 '19
  1. Others in the team and myself developed the architecture. Much like one tunes performance on ImageNet, we tried several things. Supervised learning was useful here -- improvements on the architecture were mostly developed this way.
  2. I am not surprised at all. Transformer is, IMHO, a step up from CNNs/RNNs. It is showing SOTA performance everywhere.
  3. Most agents get rewarded for win/loss, without discount (i.e., they don't care to play long games). Some, however, use rewards such as the agent that "liked" to build disruptors.

GG.

9

u/NikEy Jan 26 '19

Hey Oriol,

(1) Can you clarify your answer on the reward shaping? Are you saying that for most agents you're ONLY looking at the win/loss and not "learning along the way"? So if an agent wins, you weight all the actions in the game positive, and if it loses, you weight them all negative?

(2) How was the disruptor reward-shaping introduced? Does a random percentage of agents get higher rewards for certain unit types?

15

u/OriolVinyals Jan 26 '19
  1. Yes. Supervised learning makes agents play more or less reasonably. RL can then figure out what it means to win / be good at the game.
  2. If you win, you get a reward of 1. If you win, and build 1 disruptor at least, you get a reward of 2.

39

u/EnderSword Jan 24 '19

I was wondering if you've seen the AI Agents show any signs of 'deceiving' its opponent, through hiding buildings, cancelling something after it was scouted, giving a false impression of an attack in one area or mimicking a build order only to change it etc...?

55

u/OriolVinyals Jan 25 '19

We have indeed seen agents building and canceling buildings when scouted. It would be hard to know why AlphaStar did it, but it does happen sometimes.

38

u/TovarishGaming Jan 24 '19

First of all, thank you for your hard work and for being a part of today's awesome event!

@Deepmind team: We saw AlphaStar do some Blink Stalker micro today that everyone seemed to agree was simply above-human possibility. Do you expect to see this with other races? I imagine Zerg spreading creep tumors exactly every 4 seconds will lead to insane creep spread or things like that. What are you most excited to see?

@TLO: you said initially that you were still confident you would win while playing as Zerg. After seeing Mana's match today, and knowing that Deepmind will continue to learn exponentially, do you still feel confident in your rematch?

54

u/OriolVinyals Jan 25 '19

I would be quite excited to see how self play would pan out if agents played all three races. Will the asymmetries help agents, as they’ll encounter more situations than in a mirror match?

→ More replies (2)

55

u/LiquidTLO1 Jan 25 '19

When I said that I was definitely referring to the level of the agent I played back then. I still believe I would be able to beat a Zerg agent in a zvz that is playing on a similar level as the one MaNa faced.

However it’s very hard to tell how much stronger AlphaStar will become in the future. I don’t think it as simple as to say it’ll become exponentially better. All that aside, I’m extremely eager for a Zerg rematch, that’s for sure.

13

u/shadiakiki1986 Jan 25 '19

Deepmind will continue to learn exponentially,

Why do you say "exponentially"?

→ More replies (4)

33

u/kroken81 Jan 24 '19

How large is the "memory" of alphastar, how much data does it have to draw from while playing?

51

u/OriolVinyals Jan 25 '19

Each agent uses a deep LSTM, with 3 layers and 384 units each. This memory is updated every time AlphaStar acts in the game, and an average game takes about 1000 actions.

20

u/BornDNN Jan 25 '19

How many parameters does one single agent possess, regarding the approximate amount of 175 petaflop training-days?

47

u/OriolVinyals Jan 25 '19

Our network has about 70M parameters.

→ More replies (1)

26

u/Alpha_sc2 Jan 25 '19

I they mentioned they used LSTMs which means that the "memories" are encoded implicitly in a fixed-size hidden state.

→ More replies (1)
→ More replies (6)

67

u/mlearner13 Jan 24 '19

Will you cap the next iterations to more human like capabilities?

12

u/OriolVinyals Jan 25 '19

See other answers in the AMA regarding APMs.

34

u/upboat_allgoals Jan 24 '19

The game that MaNa won, was a significant step towards humanlike capabilities.

On the other hand, as a demonstration of asymmetric information games, we've seen a conclusive demonstration of operational effectiveness, but perhaps more in the vein of a perfect "missile command" play rather than a perfect strategic usage.

How will the team address state space coverage and what are the advanced techniques there?

24

u/J0rdian Jan 25 '19

They fixed the camera issue so the only thing that is unrealistic is the perfect apm. The fact it can have perfect 1500+ apm is insane. That would probably be the same as 3000+ apm for a normal person.

In my opinion they need to hard cap it's apm compared to it's average. It shouldn't be going above 600-700 apm. Even that might be way too much. Just because of how inefficient humans are with apm and how efficient ai can be.

→ More replies (8)
→ More replies (7)

79

u/SwordShieldMouse Jan 24 '19

What is the next milestone after Starcraft II?

76

u/OriolVinyals Jan 25 '19

There are quite a few big and exciting challenges in AI research. The one that I’ve been mostly interested is along the lines of “meta learning”, which is related to learning quicker from fewer datapoints. This, of course, very naturally translates to StarCraft2 -- it would be great to both reduce the experience required to play the game, as well as being able to learn and adapt to new opponents rather than “freezing” AlphaStar’s weights.

→ More replies (3)

24

u/[deleted] Jan 25 '19

It's got a ways to go on SC2. AlphaStar needs harder limits on it's peak APM and reaction time as well as changes to the interface to put it on equal footing with humans. TLO doesn't play Protoss at an exceptionally high level. The APM numbers for Mana vs AlphaStar are much more indicative of the advantage AlphaStar had in terms of APM in high micro situations.

→ More replies (3)

31

u/ZephyrBluu Jan 25 '19

I mean, they haven't really hit the SC2 milestone yet. It would be like saying Open AI hit the Dota 2 milestone when their bot was winning 1v1's.

47

u/upboat_allgoals Jan 24 '19

Will you actually pass the true SC2 milestone, the real version with a vastly larger state space of three races that it seems the agent already has trouble against?

→ More replies (5)

16

u/[deleted] Jan 24 '19

Also more generally, what do you think are some of the important upcoming areas of research in the field?

→ More replies (4)

41

u/Firefritos Jan 24 '19

Was there any particular reason Protoss was chosen to be the race for the AI to learn?

21

u/OriolVinyals Jan 26 '19

Also Protoss made sense as it is the most technologically advanced race. And we love technology at DeepMind!

41

u/NikEy Jan 25 '19

according to DeepMind in our discord: "because it was the least buggy" - referring to various issues with other races in the Blizz API in the early days

(ironically the merging of Archons wasn't possible until a few months ago, and that was a huge problem for protoss bots)

→ More replies (8)

53

u/heyandy889 Jan 24 '19

in the stream Oriol said choosing Protoss limited variables

so basically the same reason why my friends taught me Protoss to learn the game xD

→ More replies (1)

20

u/p2deeee Jan 25 '19

Could we see the visualization for the game Mana won? Would be interesting to see its win probability evaluation

did you ever consider a "gg" functionality when win probability <1%?

11

u/OriolVinyals Jan 25 '19 edited Jan 26 '19

This is indeed a possible way to “GG” but we have not implemented it yet. (we haven't looked into that visualization yet)

→ More replies (2)

18

u/SeriousGains Jan 24 '19

@Deepmind team: We didn't see much of Alphastar's ability to use AoE caster spells like the oracle's statis ward, high templar's storm or sentry's force field. Is this a greater challenge to teach the AI or have these strategies been deemed inefficient through Alpha league play tests? Also, will we ever get to see an unlimited APM version of Alphastar?

@TLO: Do you think caster units have the potential to give AI's a greater advantage over human players? For example would Alphastar playing as zerg be even more difficult to beat with ravagers, infestors and vipers?

29

u/OriolVinyals Jan 25 '19

A few agents uses stasis ward and force fields. High templar storm is far more rare in high level PvP. We are not interested in unlimited APM StarCraft.

24

u/LiquidTLO1 Jan 25 '19

Possibly, the control it exhibited so far could make caster units stronger.

However I also believe the decision making when to use spells effectively might be more difficult for AlphaStar to master than we might think. The action space for SC2 is so vast, it’s hard to tell what is easy for the agents and what is difficult without seeing it experimentally, I believe.

24

u/Alpha_sc2 Jan 25 '19

In one of the games AlphaStar got 18 disruptors, is that not enough aoe?

40

u/asgardian28 Jan 24 '19

Thanks for combining my 2 favorite hobbies Sc2 and machine learning, awesome and congrats!

With AlphaZero you demonstrated on chess and go that the computer playing itself only, without being biased by human games, was yielding a superior agent.

Still wilt AlphaStar, you started with imitation learning (presumably to get some baseline agent that doesnt pulls all its workers from mining for instance)

Do you intend to develop an AlphaStarZero, removing the imitation learning phase, or is it a necessary phase in learning Sc2?

15

u/OriolVinyals Jan 26 '19

Thank you! See other answers here, but in short so far it's been the only way to not get attracted to early game strategies (such as worker rush, all ins, etc.).

→ More replies (1)

28

u/JesusK Jan 25 '19 edited Jan 25 '19

AlphaStar seemed to end up going for the same group of units that it could abuse with perfect Micro, while the average was in the 300-400, during some micro intensive moments it would spike heavily and control in inhuman ways. Also when talking about APM you have to remember most APMs a player does are spam to check for information rather than micro.

While it was still doing decisions on how to proceed based on partial information, it was clear that it relied heavily on this micro units and this seemed to be the norm, so it was a lot less of adapting to what the opponent was doing, or countering unit compositions and more of checking if they could win with the stalker army they had.

Thus, I was wondering if you considered heavily limiting the APM, in an attempt promote the AI into going for more tactical maneuvers and builds instead.

Even more, if you could train an AI to play at lets say only 100 APM, and then drop it in the league with the the AlphaStar we saw, it would need to come up with different approaches to win games given that it cannot just compete in a stalker vs stalker game thus promoting more tactical adaptation from AlphaStar.

Is this even possible or in consideration trying to push the AI into paths that do not allow it to abuse micro?

25

u/OriolVinyals Jan 25 '19

Training an AI to play with low APM is quite interesting. In the early days, we had agents trained with very low APMs, but they did not micro at all.

→ More replies (3)

25

u/Felewin Jan 24 '19

Is it possible that, by learning via mimicry of human replays, the AI is gimped – biased by learning bad habits? Or will it ultimately overcome them, given enough experience, meaning that the human replays are more useful than starting from scratch as a way of jumpstarting the learning process?

5

u/OriolVinyals Jan 26 '19

I answered this question in the wrong spot. So here goes again: When we see things like high APMs, or misclicks, it may be from imitation indeed. In fact, we often see very spammy behavior of certain actions for the agents (spamming move commands, microing probes to mine unnecessarily, or flickering the camera during early game).

18

u/Kaixhin Jan 24 '19

Given what happened with previous Alpha* iterations, seems like imitating humans to start with is easier but suboptimal, possibly but not necessarily in the long run too. With StarCraft they don't even have the benefit of MCTS, so it's much more difficult to get reasonable strategies purely from self-play from scratch. That said, it's presumably what they'd like to achieve in the near future.

→ More replies (2)

63

u/[deleted] Jan 24 '19 edited Jan 25 '19
  1. So there was an obvious difference between the live version of AlphaStar and the recordings. The new version didn't seem to care when its base was being attacked. How did the limited vision influence that?
  2. The APM of AlphaStar seems to go as high as 1500. Do you think that is fair, considering that those actions are very precise when compared to those performed by a human player?
  3. How well would AlphaStar perform if you changed the map?
  4. An idea: what if you increase the average APM but hard cap the maximum achievable APM at, say, 600?
  5. How come AlphaStar requires less compute power than AlphaZero at runtime?

3

u/OriolVinyals Jan 26 '19

We have answered 1, 2, 3, and 4 elsewhere. Regarding 5, AlphaStar doesn't use search, which I thin is quite cool & surprising : )

52

u/njc2o Jan 24 '19

Vis a vis #2, that's my huge problem with pitting it against humans. SC2 is inherently a physical game. Your mouse can only be at one place at a time. Physically pressing keys and clicking mouse buttons is a huge layer between the brain and the actual units. Your eyes can only focus on one point on the screen, and your minimap awareness either requires eye movement or peripheral vision.

That the AlphaStar could see the whole map (minus fog of war) is a huuuge advantage. 1500 APM is crazy, while keeping up perfect blink micro on three fronts and not having to manage control groups or moving a mouse or camera. I'd love to see an actual physical bot be the interface between the software and the game. Have it interpret screen data as we see it. Force it to click on a unit to see its upgrades, and not just "know" it. Force it to drag its mouse from boxing a group of units to casting a spell. THAT would be a true competition with human opponents.

The obvious value of this is developing a unique understanding of the game completely independent from the meta or traditional understanding of the game (more or less). Utterly fascinating, and it'd be so cool to see AI ideas impacting the pro scene.

Really exciting times, and I'm amazed by the progress made. Just disappointed by the imbalance in the competitive aspects.

→ More replies (18)

11

u/hexyrobot Jan 25 '19

I disagree with your first point. Mana was able to win in large part to the fact that the AI would over react and move it's whole army back to it's base every time he moved in with his warp prism and immortals. That over reaction meant it didn't move across the map when it had a larger army and gave him time to build the perfect counter composition.

10

u/Nevermore60 Jan 25 '19

As you said, the all-seeing AlphaStar that swept MaNa 5-0 was just....too good. And ultimately I think that probably had a lot to do with the fact that it wasn't limited by a camera view. The way that it was able to micro in the all-stalker game was just god like and terrifying.

As to the new version, it seems a bit more fair, but I have some questions about how the "camera" limitation works. My guess is that in the new implementation, the agent is limited to perceiving certain kinds of specific visual information (e.g., enemy unit movement, friendly units' specific health) to when that information is within the designated camera view. /u/OriolVinyals, /u/David_Silver, is that correct?

As a follow-up question, does the new, camera-limited AlphaStar automatically perceive every bit of information within the camera view instantaneously (or within one processing time unit, e.g. .375 seconds)? That is, if AlphaStar moves the camera to see an army of 24 friendly stalkers, does it instantaneously perceive and process the precise health stats of each one of the stalkers? If this is the case, I still think this is an unnatural advantage over human players -- AlphaStar still seems to be tapped into the raw data information feed of the game, rather than perceiving the information visually. Is that correct? If so, the "imperfect information" that AlphaStar is perceiving is not nearly as imperfect as that that a human player perceives.

I guess I am suggesting that a truly fair StarCraft AI would have to perceive information about the game optically, by looking at a visual display of the ongoing game, rather than being tapped into the raw data of the game and perceiving that information digitally. If you can divorce the AI processor from the processor that's running the game, such that information only passes from the game to the AI processor optically, that'd be the ultimate StarCraft AI, I think.

/u/OriolVinyals, /u/David_Silver, if either of you read this, would love your thoughts. Excellent work on this, I thought the video today was amazing.

→ More replies (4)

10

u/Dinok410 Jan 25 '19

While most of the focus seems to be on the visual aspects of the game, I'm curious if Alpha uses any form of sound recognition to help assess the situation. At least for me as a player I've encountered several situations in which sounds actually let you react faster than sight, be it the sound of units firing or dying, a medivac dropping units on the corner of your screen, or even the basic announcer stuff. So, does it utilise sound in any way or, if not, are there plans to implement it in the future?

4

u/OriolVinyals Jan 26 '19

It would be super interesting if we used sound, but we don't.

→ More replies (1)

9

u/legoboomette Jan 24 '19

Why don't you continue training the agents after these exhibitions? Like with AlphaZero as well, it would be interesting to know just how good they would get after more than just a few hours or a week of training.

19

u/OriolVinyals Jan 25 '19

We prefer to move the research forward, rather than just running the league forever : )

12

u/NoseKnowsAll Jan 25 '19

One concern with these networks is that extra time does not dramatically improve their performance. If you look at their AlphaZero paper, you'll see that the performance improved from complete novice to average master in chess extremely quickly. Getting to GM skill took a bit longer. Getting to become a challenger to the StockFish engine took a lot longer. It's unlikely it improves much more with more time.

→ More replies (2)

28

u/[deleted] Jan 24 '19 edited Jan 24 '19

Firstly, amazing job! Congrats to everyone on the team. This is an incredible feat, and it's a joy to watch the decision making and especially the reactions of those playing and commenting.

  1. Could you go into some more detail on the networks used (especially the LSTMs), and what the visualization with the 3 regions with the pink colormaps meant. How does the network compare to the DQN networks used for playing atari, and the MCTS network used in Alphago zero?
  2. How did you evaluate which 5 versions of AlphaStar were the least likely to be exploited? Were they simply the 5 strongest players?
  3. I seem to recall someone mentioned briefly that there were reaction times of 50ms from AlphaStar? That seems faster than human capabilities.
  4. Is there a version of AlphaStar trained purely using self-play, like Alphago Zero?
  5. What did the likelihood of winning plot look like for the last live game? Did the game realize it had lost at the same time as the commentators? How did this compare for the other games?

6

u/OriolVinyals Jan 26 '19
  1. I have given some more details here, and also do check the blog.
  2. We used the Nash.
  3. The blog has the distribution over reaction times. The average is 350ms.
  4. See in this AMA.
  5. We haven't looked into it yet.

10

u/Arkitas Jan 25 '19

To your 3rd question, their blog contains a comment about reaction time:

" Additionally, AlphaStar reacts with a delay between observation and action of 350ms on average. "

→ More replies (3)

7

u/AxeLond Jan 25 '19

I looked over one of the replays, game 4 vs MaNa and I could spend the whole game looking over just how AlphaStar handles it's workers. 2/3 and 16/16 workers on gas/minerals is 100% efficient and 3/3 and up to 24/16 has diminishing returns. It seems to have very hard priorities like on 2 bases it maintains exactly 48 workers with 17 on minerals in the main base and 19 in the natural. After not building probes for almost 2 minutes when the third base finishes it build 1 extra probe from 48 to 49 and doesn't build any more for the rest of the game.

If you see an agent doing something specific like this is it possible to dissect it's brain to find out if there's a specific rule it follows to decide if it should build a 49th worker or not, or is it just impossible to understand what types of rules the neural network follows to decide what it should do in specific situations?

9

u/OriolVinyals Jan 25 '19

This is very interesting analysis, thanks! As you say, it is very hard to know why AlphaStar is doing what it's doing -- understanding neural networks is an exciting and incredibly active topic of neural network research.

6

u/TopherDoll Jan 25 '19

During the event you showed the process the agent goes through to make decisions and it included an Outcome Prediction model. So I wonder how that was created:

  1. Was it a Win Probability model like we see in traditional sports (based on factors like map vision, supply, tech, etc) or it is based more on the years and years of games played by AlphaStar and just an estimation?
  2. Is it based on asymmetrical information or on perfection information?
  3. Is this something you could build outside AlphaStar and into the game because it would be quite useful in determining the best decision or included in tournament broadcasts.

13

u/OriolVinyals Jan 25 '19
  1. It was based on AlphaStar years and experience of playing the game.
  2. It was based on perfect information -- we took the value from player 1 and player 2 and subtracted them.
  3. I agree it would be useful! We will keep you all posted if we have something new to announce.
→ More replies (2)

5

u/NexYY Jan 25 '19

Should I put SC2 as an aspiring AI Developer in my CV?

I’ve usually felt rather regretful when sometimes procrastinating in StarCraft2, instead of advancing my Computer Science skills. ^_^

(Research at DeepMind is the goal)

15

u/OriolVinyals Jan 25 '19

I played quite a bit of StarCraft back in the day, and in retrospect I would say it was a very positive experience, especially given how it’s shaped my motivation to work on AI, study computer science, and so on. So I would say work hard on your CV, definitely put SC2 as a hobby, and GL!

5

u/maxisawesome538 Jan 25 '19

I'm relatively new to ML, and I often get discouraged. Doing things on my own is fine, but excruciatingly slow and ends up being painful examples of how I'm still an amateur. I know there's lots of online resources, and I've taken like 3 different classes online, but the field still feels like an in-club that I'm not a part of. I'm applying to residencies, but I'm clearly out matched compared to other candidates. Without any mentorship, how am I supposed to get to a place or job in which I can grow if I'm not already skilled to begin with? Any tips on persevering or ways to get my foot in the door?

10

u/OriolVinyals Jan 25 '19

Perhaps the best way to get mentorship and knowledge is to get into an MS/PhD program if you are ready to take a long term view on your career in ML. It sounds like you’ve also tried to apply for residency programs, which is great. Perhaps to increase your chances, try to narrow down your focus and find a concrete problem. Mentorship is difficult but some of us do like getting emails and are always happy to advise (although we can be slow replying sometimes!).

→ More replies (2)

15

u/IrnBroski Jan 25 '19 edited Jan 25 '19

LHi, i've been spamming your discord with questions, i'll ask them in here instead.

a) it seems to me that your goal is not simply to create an AI that can beat everyone at starcraft, but to try and create an AI that can create novel strategies like AlphaGo did. this is because you purposely limited APM and also camera movement in the final showmatch. i think the perfect mechanical precision with which AlphaStar can operate creates a similar advantage to unlimited APM - is this something you have thought about? do you have any plans to emulate a lack of clicking precision and mouse movement? you mentioned in your discord about the inherent difficulties in where to draw the line at emulating humans e.g. things like nervousness (introduce more randomness if ai thinks it's losing? ) - but i think you should nerf the AI until a point when mechanics won't be what wins games for the AI, but novel strategies. Fitt's Law seems relevant here.

a) ii) do you think AlphaStar displayed any novel strategies yesterday? some viewers have mentioned things like oversaturation of mineral lines (making more workers than is traditionally expected) and AlphaStar's willingness to run up ramps. do you see these things as new developments in the understanding of the game or are they actually deficiencies masked by superior mechanics? How would you differentiate the two?

b) why did you choose LSTMs as opposed to different neural network models? i'm aware that LSTMs are suited to time-sensitive data, but are there any other types of neural network that could work and have you tried those? your stated ultimate goal is general AI - do you believe that this AI will be based upon an LSTM? have you considered creating an entirely new architecture for a neural network?

c) are you hiring? i play a lot of SC2 and i like AI. i can make you tea. im uk based.

d) are alphastar bots entirely neural network based or are there any things that are hard coded into them e.g. openings or choices of units? or does it differ from bot to bot? i noticed that different bots favoured different compositions. are there any bots that have no hard code?

e) if cloaked units are hardcoded into the API, does the AI treat them differently from uncloaked units?

f) have you considered something like an attention pool to simulate human finite attention - certain actions require certain amounts of attention and you can't spend more than you have. i guess this is hard to quantify but is linked to question a) about trying to force the algorithm to create novel strategies

g) would it be easier/quicker to process having a smaller field of vision (e.g. one screen instead of the whole map) since less data to process?

h) are you going to team up with boston dynamics to make an actual starcraft playing robot? have you already? is it called serral?

i) you mentioned that the trained alpha star runs on a consumer grade GPU - can you tell us what GPU it is?

j) do you consider using raw frame by frame image data instead of data input directly from API?

k) do you have any plans to resolve the huge technical oversight of no glhfs and no ggs?

Keep up the good work guys, still hugely impressive, nobody was expecting mana and tlo to be five oh'd . But we want more!

22

u/OriolVinyals Jan 25 '19

d. There is no hard coding whatsoever.

16

u/David_Silver DeepMind Jan 25 '19

After two hours of AMA, I am getting quite thirsty :) https://deepmind.com/careers/

→ More replies (3)

3

u/real_kdbanman Jan 25 '19

What were the major differences between the models used against TLO and those that faced MaNa?

Was it just more training time? Maybe some hyperparameter tweaks? Or something else?

5

u/OriolVinyals Jan 26 '19

Just more training.

3

u/Jojo_Fr Jan 25 '19

You are doing a fantastic job and you have gone down in history!

Could you please elaborate further on the future scientific utility of AlphaStar. I realized that AlphaStar is a leap forward in games with imperfect information.

But on which scientific sector or other AlphaStar will he be able to help precisely?

Thanks.

4

u/OriolVinyals Jan 25 '19

Thanks for the feedback, we are glad you enjoyed it and were very happy to share the news with all of you!

The techniques behind AlphaStar could be useful in solving lots of other problems. Its neural network architecture is capable of modelling very long sequences of likely actions - with games often lasting up to an hour with tens of thousands of moves - based on imperfect information. Each frame of StarCraft is used as one step of input, with the neural network predicting the expected sequence of actions for the rest of the game after every frame. Making complex predictions over very long sequences of data is likely to be required in many scientific areas like weather prediction, climate modelling, language understanding, for example.

Some of our training methods may also be useful to improve the safety and robustness of AI systems in general, particularly in safety-critical domains like energy, where it’s essential to address complex edge cases.

→ More replies (1)

5

u/OpticalDelusion Jan 24 '19

Many questions from this project, and similarly OpenAI with Dota 2, center around "fairness" from the perspective of competition - ping, APM, etc.

From a research perspective, to what extent is it necessary or desirable to make the algorithm learn in a fair or human-like way?

Are the considerations put in place only more superficial, like an APM cap or delays between decision and action, or is there more substantive work being done to embed physical constraints into the model itself?

14

u/OriolVinyals Jan 25 '19

It is important that we play the games that we created and collectively agreed on by the community as “grand challenges” . We are trying to build intelligent systems that develop the amazing learning capabilities that we possess, so it is indeed desirable to make our systems learn in a way that’s as “human-like” as possible. As cool as it may sound to push a game to its limits by, for example, playing at very high APMs, that doesn’t really help us measure our agents’ capabilities and progress, making the benchmark useless.

Embedding physical constraints, although interesting, would be quite difficult to model in itself.

2

u/NexYY Jan 25 '19

Where are the strategies “saved” and how are they interlinked? Are you using a special memory augmented neural network architecture (similar to DNC), which is yet unknown?

I would be surprised if the standard NTM/DNC would allow such complex sequence of decision making.

6

u/OriolVinyals Jan 25 '19

The agent’s memory is a deep LSTM, but the weights of the network can indeed represent quite a few interesting strategies.

2

u/TheMeiguoren Jan 25 '19 edited Jan 25 '19

How much is hard-codes into the game, and how is this represented? For example, is the tech tree baked in in some way, or does Alpha Star learn on its own that the way to cannon rush is to first build a forge?

In the latter case, I would imagine that the neural net with a cannon rush strategy wouldn’t have a goal at the start of the game of making cannons, but to have a goal of making a forge and building up a bank of minerals. Then once it sees the game state with a forge building and a lots of minerals, it then thinks that cannon rushing is the best way forward.

A follow up question that I think I’m poking at here, is how much is AlphaStar predicting future game states it wants to end up at (something’s humans do), and how much is it acting “instinctually” based on the current game state and its history of past learning?

7

u/OriolVinyals Jan 25 '19

We did not hard code anything from the game. The agent that plays is a single neural network that conditions on everything that happened in the past, but doesn't use search (or predicts future game states).

2

u/g3rain1 Jan 25 '19

In the games we saw, the use of different strategies was due to different agents playing each time. Are individual agents capable of varied styles of play or do they just do the same kind of thing every game?

3

u/OriolVinyals Jan 25 '19

Yes, some agents do have several openings, and of course react to different openings as well.

57

u/4567890 Jan 24 '19

For the pro players, say you are coaching AlphaStar. What would you say are the best and worst aspects of its game? Do you think its victories were more from decision making or mechanics?

104

u/SC-MaNa Jan 25 '19

I would say that clearly the best aspect of its game is the unit control. In all of the games when we had a similar unit count, AlphaStar came victorious. The worst aspect from the few games that we were able to play was its stubbornness to tech up. It was so convinced to win with basic units that it barely made anything else and eventually in the exhibition match that did not work out. There weren’t many crucial decision making moments so I would say its mechanics were the reason for victory.

→ More replies (6)

20

u/AxeLond Jan 25 '19

The balls it had at times was crazy. It would run straight into MaNa's army and snipe 1 high priority unit and then back off without a second of doubt. That would be so hard for a human to do since making the decision to commit or back off can be very tough in the moment.

At least in the exhibition match the first 8 or so minutes looked great and it had perfect strategy and build order, execution wasn't the best but still on a pro level. However it looked like it just ran out of ideas past 9 minutes and mostly ran around doing random stuff like it wasn't expecting the match to go on for this long and had no plans whatsoever, just completely clueless on what to do now.

It should have started building forges for more upgrades, robo and templar archives for end game units to push it's advantage. Instead it kinda sat back and did nothing until MaNa attacked it with his deathball and +2 weapon upgrades vs no weapon upgrade and just basic units. AlphaStar was up 3 bases vs 2 bases and was so far ahead, if a pro were to take over from AlphaStar at around 8:00 he could have easily won the game vs MaNa just by doing some kind of late-game strategy.

→ More replies (1)

37

u/althaz Jan 25 '19

I can answer part of this. Alpha's micro was inhumanly good in the matches we saw against Mana.

In game 1 vs Mana, Mana simply made a mistake, he probably would have won that match if he had played correctly. I say probably because of how insane Alpha's stalker micro was, maybe it would have hung on and won.

After that though, the micro was insane. The casters kept talking about Alpha not being afraid to go up ramps and into chokes. That's because it could predict and see exactly how far away enemy units were and was ridiculously good at not getting caught out. Couple that with how good its stalker micro was both with and without blink and it made engagements that would be extremely one-sided in a human vs human match go the opposite way.

Alpha's mechanics were perfect, but that wouldn't have mattered vs a pro player like Mana if its decision making wasn't also superb.

One thing worth talking about with its mechanics is the sheer precision - there are no misclicks, so despite the limited speed, the precision was more than enough for Alpha to destroy in battles where it had equal or even slightly worse armies.

Now, on the bigger strategic decisions I don't know - was building more probes like Alpha did the right way to go, or did it win despite that, for example? I'm not at TLO or especially Mana's level, but I actually always over build probes. It's worked out fairly well for me.

→ More replies (12)

94

u/DreamhackSucks123 Jan 24 '19

Many people are attributing AlphaStar's single loss to the fact that the algorithm had restricted vision in the final match. I personally dont find this to be a convincing explanation because the warp prism was moving in and out of the fog of war, and the AI was moving its entire army back and forth in response. This definitely seemed like a gap in understanding rather than a mechanical limitation. What are your opinions about the reason why AlphaStar lost in this way?

70

u/David_Silver DeepMind Jan 25 '19

It’s hard to say why we lose (or indeed win) any individual game, as AlphaStar’s decisions are complex and result from a dynamic multi-agent training process. MaNa played an amazing game, and seemed to find and exploit a weakness in AlphaStar - but it’s hard to say for sure whether this weakness was due to camera, less training time, different opponents, etc. compared to the other agents.

→ More replies (2)

36

u/SnowAndTrees Jan 25 '19

It's micro (unit control in fights) also seemed noticeably worse in that game than in the previous one, where it beat Mana's immortal heavy army with stalkers, which generally wouldn't be possible in a normal game, as immortals hard counter stalkers.

→ More replies (7)
→ More replies (9)

34

u/[deleted] Jan 24 '19

Hey guys! I was in awe while watching the stream, amazing stuff! Are you considering to release any AlphaStar vs. AlphaStar games?

11

u/CrisprCookie Jan 25 '19

I for one would be speficially interested in the super-human version AlphaStar vs. AlphStar. Seems like these could be some interesting matches.

If this will not happen, I would be interested in why. Are the AS vs AS simply not recordable in a proper way to release the replay ? Or does this make it possible for potential future human opponents to prepare for the match, wouldn't this be a more realistic aproach, since humans can prepare for human opponents ?

→ More replies (1)

84

u/denestra Jan 24 '19

@Deepmind team: Will we be able to play against AlphaStar at some point in the future?

54

u/David_Silver DeepMind Jan 25 '19

This is not something we’re able to do at the moment. But we're really grateful for the community's support and have tried to include them in our work, which is why we had the livestream event and released the 11 game replays to review and enjoy :) We’ll keep you posted as our plans on this evolve!

33

u/jinnyjuice Jan 25 '19

Unlikely any time soon -- we still can't play against AlphaZero on go (baduk/weiqi), shougi, and chess. It will probably be in more distant future.

→ More replies (19)

8

u/hexyrobot Jan 25 '19

They would need to have a gaming rig with a nice GPU for every virtual agent, so my guess is no. That said I wouldn't be surprised if they did some more show matches against pro players.

→ More replies (18)

73

u/harmonic- Jan 24 '19

Agents like AlphaGo and AlphaZero were trained on games with perfect information. How does a game of imperfect information like Starcraft affect the design of the agent? Does AlphaStar have a "memory" of its prior observations similar to humans?

p.s. Huge fan of DeepMind! thanks for doing this.

63

u/David_Silver DeepMind Jan 25 '19

Interestingly, search-based approaches like AlphaGo and AlphaZero may actually be harder to adapt to imperfect information. For example, search-based algorithms for poker (such as DeepStack or Libratus) explicitly reason about the opponent’s cards via belief states.

AlphaStar, on the other hand, is a model-free reinforcement learning algorithm that reasons about the opponent implicitly, i.e. by learning a behaviour that’s most effective against its opponent, without ever trying to build a model of what the opponent is actually seeing - which is, arguably, a more tractable approach to imperfect information.

In addition, imperfect information games do not have an absolute optimal way to play the game - it really depends upon what the opponent does. This is what gives rise to the “rock-paper-scissors” dynamics that are so interesting in Starcraft. This was the motivation behind the approach we used in the AlphaStar League, and why it was so important to cover all the corners of the strategy space - something that wouldn’t be required in games like Go where there is a minimax optimal strategy that can defeat all opponents, regardless of how they play.

→ More replies (4)

21

u/keepthepace Jan 25 '19

Does AlphaStar have a "memory" of its prior observations similar to humans?

Not from the team but I am pretty sure the answer is yes, in the DOTA architecture they use a simple LSTM to keep track of the game state over time.

→ More replies (6)
→ More replies (1)

70

u/4567890 Jan 24 '19 edited Jan 24 '19

Several times you equate human APM with AlphaStar's APM. Are you sure this is fair? Isn't human APM inflated with warm-up click rates, double-entering commands, imperfect clicks, and other meaningless inputs? Meanwhile aren't all of AlphaStar's inputs meaningful and super accurate? Are the two really comparable?

The presentation and blog post references "average APM," but isn't burst APM something worth containing too? I would argue Human burst APM is from meaningless input, while I suspect AlphaStar's burst APM is from micro during the heavy battle periods. You want a level playing field and a focus on decision making, but are you sure AlphaStar wasn't using its burst APM and full map access to reach superhuman levels of unit control for short periods when it mattered most?

20

u/Undisabled Jan 25 '19

The only problematic use of burst APM that was noticeable to me came in Game 4 of the MaNa replays. That Stalker fight that spanned 3 screens and caused AlphaStar to reach 1500 APM certainly was superhuman and likely will not be a problem now that they have implemented the camera usage.

In regards to the "meaningful and super accurate" inputs from AlphaStar, that is certainly an advantage that has to be taking into account, however others have noted that the EAPM of AlphaStar wasn't too outrageous. I'm not sure their source, but if the EAPM is <200, I think it may be a non-issue. There were several spots in many of the games where AlphaStar can be seen misplaying the micro, similar to how a human might.

I'm not saying there isn't work to be done, but I do think the live game was more balanced than people give it credit for.

→ More replies (1)

10

u/[deleted] Jan 25 '19

AlphaStar's interface also granted it 1000's of APM worth of free information that would normally require actions to acquire. Most of this information was probably unneeded, but AlphaStar got it all for free. In general, there's quite a few routine actions that humans perform that are completely useless for AlphaStar. It's hard to compare the numbers as a result. Human's also lose precision and accuracy when moving quickly, but AlphaStar always executes the exact command that it intended.

→ More replies (1)
→ More replies (3)

57

u/weiqiplayer Jan 24 '19

How long until AlphaStarZero (training from scratch without imitation learning) comes out?

39

u/David_Silver DeepMind Jan 25 '19

This is an open research question and it would be great to see progress in this direction. But always hard to say how long any particular research will take!

→ More replies (3)
→ More replies (1)

31

u/LolThisGuyAgain Jan 24 '19

Loved the games tonight!

Was just wondering how the AI uses vision. For example, if it sees a glimmer moving across, is it able to recognise that it is a cloaked unit, or if it sees a widow mine pot hole, can it recognise that there's a widow mine there without detection (given enough training)? I guess i wanna know what input it receives

20

u/upboat_allgoals Jan 24 '19

This is described in the blog post a bit, but it seems it's low res such that it hasn't detected the glimmer. MaNa had pretty great observer use in the game he won.

→ More replies (1)

14

u/[deleted] Jan 24 '19

During the Go match- commentators said: “it’s pretty close” while AlphaGo thought 70% win.

I had a deja vu.

Was that indeed repeated today?

→ More replies (1)

14

u/Mogarfnsmash Jan 24 '19

For Blizzcon 2019, is it possible that we will have Pro players vs Alphastar show matches on the main stage? Or will the technology not be there yet?

14

u/[deleted] Jan 25 '19

For MaNa,

You adopted the mass probe strategy for the final game. Did you practice it against humans first, or was it a decision just for this game? Do you think it worked in your favour (I can't help but imagine yes, given the level of Oracle harass)? And will you be using it in PvP?

24

u/SC-MaNa Jan 25 '19

I have tried a few games of the constant probe production but not against very good protoss players yet. I can not tell yet if this is the right approach, because the after-blizzcon patch has changed the way you can scout in PvsP. However in the exhibition game itself it has worked out well. I will surely test it out and hopefully that will be the first thing that I have learnt from AlphaStar.

→ More replies (1)

12

u/SuccessfulPackage Jan 24 '19 edited Jan 25 '19
  1. What would be your estimate of the time for the AI to learn the other match ups and other map ?
  2. Would it be interesting to put the AI in a situation she never faced before (new map with weird layout, etc) to see if the previous experiences would be of any use to her ?
  3. Do you think one day we will be able to create a model that enable AI to conceptualize the game based on his experience? (would be cool to see if AI develop bias too)
  4. If we were to flood AI with stupid strategy (drone rushing all the time) would it mess up with weights and make the AI dumber?

Good luck for the rest ! May the peak of humanity evolution Serral guard our race !

TY for your work :3

→ More replies (4)

12

u/iMPoopi Jan 24 '19

Hi, congrats for the amazing work so far!

I have a few questions regarding the latest game (vs MaNa, exhibition game on the camera interface):

It seems that the AI was ahead after the initial harass, and after dealing with MaNa two zealots counter harass (a lot more income, superior army value albeit maybe not as strong composition).

Do you think that if you were to replay the game again and again from that point in time (in human time since MaNa would have to play again and again as well), the agent in its current iteration would be able to win at least one game? The majority of the games? Or MaNa could find "holes" at least one time, or even again and again?

Do you think your current approach would be able to decide that making a phoenix to defend against the warp prism harass would be better than keep making oracles?

Does the agent only try to maximize the global probability of winning, and only makes decision based on that, or can he isolate certain situations (for example the warp prism harass) as critical situations that needs to be sorted in an entirely different way than the game overall.

For example are you able to know if the AI kept queuing oracles because overall it'll still help win the game, or if it made oracle because it was the "plan" for this game?

How high level can the explainability of your agent go?

Thank you for your time, and congratulations again for the amazing work in our beloved game and in machine learning.

12

u/QuestionMonkey Jan 24 '19
  1. Would you ever consider open-sourcing your code?
  2. In the visualization you showed, the times when the white arrow appeared (and the agent was "looking at" the game) didn't follow a consistent rhythm. As I understand LSTM networks, each set of layers in the network corresponds to a given "time step". What defines these time steps in AlphaStar? Are there certain things that define a new time step?

18

u/jinnyjuice Jan 25 '19

Would you ever consider open-sourcing your code?

Knowing all the iterations for AlphaGo to AlphaZero, very unlikely any time soon.

12

u/emanuelpalomar Jan 24 '19 edited Jan 24 '19

What happened in the live game? When MaNa harassed AlphaStar's base, it just walked back and forth aimlessly with it's Stalkers, it looks like it's very brittle when pushed outside its training distribution even a little bit and doesn't really understand the game?

Since adverserial attacks (pun intended) like this are a common problem with neural networks, how do you intend to address this weakness?

→ More replies (1)

2

u/Hollow_Tube Jan 25 '19

Amazing games I was just wondering, are all of AlphaStar's decisions deterministic? That is, given the same scouting information, will it always go for the same build order?

Also has this iteration of AlphaStar ever tried to canon rush?

2

u/[deleted] Jan 25 '19

I am also interested in the determinism question. For example, if two fixed agents play against each other, will the matches always be the same? Another way to put it: is the agent's stochastic behavior determined only be the observed human opponent actions?

(Question for /u/OriolVinyals /u/David_Silver)

4

u/OriolVinyals Jan 26 '19

The agent is not deterministic. We sample an action at each time step from a policy head which assigns a non-zero probability to all possible actions.

→ More replies (3)

10

u/TheSkunk_2 Jan 25 '19 edited Jan 25 '19

Incredibly impressive and entertaining showcase. Congratulations!

Question 1: Distinct Agents

Is there a plan to move away from distinct, separate agents that the team curates (or randomly choses) to play in a specific order for a series? In my opinion it detracts from the accomplishment. I think the final live match against Mana is a good example of a flaw of this approach: other agents frequently used Phoenix, but because this particular agent is separate and distinct, it only built Stalkers and Oracles and never built a Phoenix to handle the Warp Prism.

Part of being a professional SC2 pro-gamer is mind-gaming your opponent and deciding which builds to play in which maps in a series. Some of the most ballsy SC2 pros have had to make the incredibly difficult decision do to an incredibly risky cheese in the deciding match of a series. The AI consciously deciding what builds to use on what maps of the series would be truly impressive.

Similarly, it seems to have less ability to switch up builds this way. In a real match, a player might initially have one plan, but decide to be cheesy if they scout their opponent being greedy, or decide to stop cheesing if it's scouted. However, by hand-picking Agents that were incentivized to develop specific builds, developers are essentially hand-picking the AI play-style before the match. The ramifications of this can be seen in many of the show-matches where the AI stuck with it's play-style even when it was not a good idea to do so.

Question 2: Short-Term Memory

In one of the matches, the AI can be seen using Phoenix to lift up a Stalker from Mana's advancing army, and then dropping it when it realized the rest of the army is coming. It did this repeatedly, wasting tons of valuable phoenix energy. This made me wonder if the AI has any kind of short-term memory -- does it literally forget the army exists as soon is it goes out of vision? Do you have any other comment on this particular mishap?

Question 3: Future Improvement

What are the DeepMind team's goals for fixing the AI's current weaknesses? You could simply use the current model, but train it longer - months instead of weeks - and beat stronger players, but this (to me) would be a disappointing approach. Are future goals to learn new maps, new races, new match-ups, and simply brute-force train the Agent(s) to until they can beat the raining world champion, or are there plans to to adjust the agent on a systematic level to shore up it's weaknesses in scouting, map vision, adaptability, and make it less reliant on individual separate agents and superhuman micro/multitasking? Is a version that starts from ground zero instead of using imitation learning planned?

Question 4: I Want to Play It

You'll here this a lot -- the SC2 community wants to play DeepMind themselves. I believe you expressed a desire to make this happen, so I wanted to frame this more specifically: what hurdles do you see preventing this from happening? For us laymen, what technical challenges are involved in say, publishing a separate ladder or game client where players can play against a changing rotation of DeepMind agents? If the main obstacle is the added development costs and time needed to make this happen, has DeepMind and Blizzard considered something like a WarChest to fund the inclusion of DeepMind client/ladder?

Question 5: Mana and TLO's Thoughts

Congratulations on the show! I would love for either of you to write a more detailed blog about your experience and post it to teamliquid.

My question is what you think of AlphaStars play in retrospect. Do you see abusable facets of it's play now (in hindsight) that you didn't originally see during the match? Do you agree with some fans that it's micro/multitasking (particularly the 1,500 APM 3-pronged Stalker surround micro) is unfair and needs to be limited more? How much of the AI's success would you attribute to the sheer unexpectedness of it's play-style and the general unfamiliarity of the play environment (TLO not being aware he was facing distinct agents each match, the fact that you both had to play on an old patch) and how much of it is the inherent strategy/play-style of the agent?

19

u/SC-MaNa Jan 25 '19

It’s hard to say if there is an abusable strategy, because AlphaStar uses different agents every game. However, the approach to the game seems to be a little similar in all of the matches. I definitely did not realise in the first 5 matches that AlphaStar never fully commits to an attack. It always has a ready back-up economy to continue the game. While playing human players, most of the time the attack or defense is dedicated and that is the plan. So when I saw a lot of gateways earlyon and little to no tech in sight I was very afraid of losing in the next minute. That lead to me being overdefensive and not managing my economy properly. I think in the few games that I have played AlphaStar its biggest advantage was my lack of information about it. Because I did not know what to expect and how to predict its moves I was not playing what I feel comfortable with.

18

u/LiquidTLO1 Jan 25 '19

We can only speak about the agents we saw play so far, but from what we experienced there is definitely a lot of things you can do to the agents to throw them off. They seemed weak vs forcefields in particular, didn’t fully respect choke points and ramps and also surprisingly had a harder time with multi-tasking than I expected. It would often pull back a large amount of it’s units to deal with a small amount of harrass.

I partially agree that apm spikes might still be problematic. However in the defense of AlphaStar there is a hard cap to how many actions it can take, it can decide how to assign them though. So while it exhibits incredibly fast micro, it might make itself vulnerable by using up all its actions on a specific task like that. In the end I’m sure the team on deepmind will address the way they go about APM if it really turns out to be an issue. Right now it’s probably too early to tell if it’s a problem considering how few matches we saw so far. It’ll require longer term testing from professional SC2 players to find out.

Playing against a completely unknown opponent that we knew nothing about, not even the approximate skill level, was a factor in our matches. I was training pvp for my benchmark matches, however most of the matches I played I faced relatively standard build orders. The way AlphaStar played I never encountered before and that’s where my inexperience in pvp showed.

→ More replies (1)

9

u/Imnimo Jan 24 '19

Many of DeepMind's recent high-profile successes have demonstrated the power of self-play to drive continuous improvement in agent strength. In competitive games, the intuitive value of self-play is clear - it provides an opponent of an appropriate difficulty which never gets too far ahead or falls too far behind. I'm curious about your thoughts on applying the self-play dynamic to cooperative games such as communication learning and mutli-agent coordination tasks. In these settings, is there an additional risk of self-play leading to convergence to trivial or mediocre strategies, due to the lack of a drive to exploit an opponent and avoid being exploitable? Or could a self-play system like AlphaZero be slotted into a cooperative setting pretty much as-is?

9

u/LetoAtreides82 Jan 24 '19 edited Jan 25 '19

Thank you for demonstrating your project to us, I very much enjoyed it. I was a former StarCraft 2 player and often I had dreamed of what it would be like to have an AI master the game. I have a few questions:

  1. Can we expect another demonstration soon, perhaps another 5 games against Mana with a much improved version of the camera interface agent?
  2. Are there plans to challenge one of the current top three players in the world in the near future?
  3. Would it be possible to make a version of AlphaStar that can play on the StarCraft 2 ladder against actual players? It'd be interesting to see how high of an MMR it can achieve on the ladder.

9

u/DeadWombats Jan 25 '19

One moment that particularly impressed me was when AlphaStar decided it was losing a fight and recalled its army to prevent more losses.

How does AlphaStar gauge confidence during a battle? What circumstances does it consider before deciding to pursue or retreat?

→ More replies (1)

25

u/fhuszar Jan 25 '19

Isn't the unit-level micro-management aspect inherently unfair in favour of computers in StarCraft?

In Go, any sequence of moves AlphaGo makes, Lee Sedol can easily imitate, and vice versa. This is because there is no critical sensorimotor control element there.

In StarCraft, when you play with a mouse and keyboard, there is a motor component. Any sequence of moves that a human player makes, AlphaStar can "effortlessly" imitate, because from its perspective it's just a sequence of symbols. But a human player might struggle to imitate an action sequence of AlphaStar, because a particular sequence of symbols might require unreasonable or very difficult motor sequence.

The metaphor I have in mind here is playing a piano: keystrokes-per-minute is not the only metric that describes the difficulty of playing a particular piece. For a human, hitting the same key 1000 times is a lot easier than playing a random sequence of 1000 notes. From a computer's perspective, hitting the same key 1000 times and playing a random sequence of 1000 notes is equally difficult from an execution standpoint (whether you can learn the sequence or not is besides my point now)

8

u/OldConfusedMan Jan 24 '19

Fantastic accomplishment today; have to admit I was cheering for AlphaStar! I work in machine translation; can you explain a bit about the natural language techniques you borrowed for your AlphaStar, and what innovations you believe could flow back to machine translation

→ More replies (1)

7

u/Nostrademous Jan 25 '19 edited Jan 25 '19
  1. Any plans to release a full write-up of the algorithms and their inter-connections and inter-relations?
  2. Seems 20-year research is new again all over the place (i.e., your work on Relational Deep RL for example), what do you think will be the next old-becomes-new approach?
  3. What are you thoughts on hierarchical RL approaches?
  4. In you writeup (https://deepmind.com/blog/alphastar-mastering-real-time-strategy-game-starcraft-ii/) you seem to indicate Dota2 as an "easier" game than SC2, is that your stance or just bad wording? and how come?

Thanks

6

u/Felewin Jan 24 '19

Do you expect the behavior to eventually condense toward a particular strategy, or to further diverge into counter-strategies? What trend do you see for amount of strategic diversity as experience increases?

→ More replies (1)

6

u/AspiringInsomniac Jan 24 '19

- How hard is it to generalize the algorithms used to be able to train an NN to perform on a generic map? ie. have an NN that can play on a map that it hasn't trained on (but otherwise all other mechanics the same)

- You mentioned that there are a variety of agents and you handpicked them to play against the human player for some interesting play. Is there any plan to create a "superagent" which would be an AI to pick strategies based on trying to win series of games? One could imagine an AlphaStar League where matches are best-of-N's.

6

u/[deleted] Jan 24 '19

Do you have plans to continue training AlphaStar? Because in it's current state, while it is impressive, has no chance on taking on the world champion Joona Sotala.

11

u/orso-nero Jan 24 '19 edited Jan 25 '19

How long have you been working on this, how many researchers were involved and what was the most challenging part of the problem?

→ More replies (1)

11

u/GlaciusTS Jan 24 '19 edited Jan 25 '19

Got some outside the box, futurist questions here:

  1. How do you feel an AI like Deepmind could transform how we design video games in the comic years?
  2. Have you considered developing an AI to aid in creating video games?
  3. What are your thoughts on the prospect of an AI Dungeon Master: an AI the crafts a world and story around what the individual players enjoy, as they are playing the game? And do you see this being possible in the coming years?
  4. How has joining Google influenced your work and has Ray Kurzweil had much influence on what you do?
  5. Why do you think people fear that AI will, for some reason, abandon its priorities and be a detriment to mankind?
  6. How do you feel the economy should prepare for when AI can do any job a human can?
  7. Once you attain self-improving AGI, it is clearly going to be a very powerful tool that puts anyone who uses it at a major advantage. Do you intend to put it in as many hands as possible once we get there?

5

u/BlueAntelope Jan 24 '19

Is there a specific reason, why Protoss was picked as the race to play? And will there be showcases for Terran and Zerg and non-mirror matchups in the future?

→ More replies (1)

5

u/BigLupu Jan 24 '19

How far are you from a Alpha Star that can play all match-ups and beat top pros in TvZ, TvP and ZvP + the mirrors?

Does programming the "rules" take terribly long? Can we see a match on the current patch as the patch drops or do you require too much time to "change the premise"?

→ More replies (2)

5

u/real_kdbanman Jan 25 '19

During one of the interviews between matches, /u/OriolVinyals mentioned that for the five matches against TLO, five different models were "distilled down" and used to play the matches. I'm not sure I'm remembering the exact phrasing correctly, so correct me if I'm wrong. But I'm pretty sure I remember the phrase "distilled down."

Now that you're answering to a more technical crowd, can you explain in more detail how the models were chosen for the matches?

Related: I started watching the stream under the assumption that the same model would be used to play all matches, and that any variation in strategy (build order, unit preference, aggression, etc.) would be from that same model reacting to the game. But after watching, I'm not so sure. Was a different model used for each match?

→ More replies (3)

5

u/HolyFuror Jan 25 '19

@Deepmind Team & @TLO + @Mana It is my understanding that our human players were effectively facing 5 different AlphaStar opponents. A human player in a best of 3 or 5 situation, learn their opponent's weak points and take advantage of them in following matches. How do you feel our pros would have fared against the same AlphaStar on a best of 3 series?

→ More replies (2)

5

u/DeadWombats Jan 25 '19

Were there any mundane or obvious aspects of StarCraft 2 that AlphaStar had trouble learning? When it is struggling, do you keep a "hands-off" policy and let the AI figure things out, or do you ever step in to teach it something that should have been trivial?

5

u/KingVendrick Jan 25 '19

So, in all the games the AI just disrespects the ramps completely. The humans dutifully built buildings on top of ramps, only for AlphaStar to mass units under it, and start banging against the door, and most of the time getting through in the third or fourth try. And in a few games, that play decided the match. It's over once AlphaStar passes through that defense.

BUT in the 3rd or 4th game against Mana, AlphaStar does build buildings on top of a ramp, but sadly Mana never gets to the point of threatening it, so AlphaStar must know that it is a valid defense.

Which means there are matches of AlphaStar training where AlphaStar successfully defended a ramp with buildings on top, so what does it do differently there? Are buildings-on-top-of-ramps a bad defense, or do we just not know how to defend correctly?

Can we see those matches?

5

u/kippodan Jan 25 '19

Any plans for a showmatch against a top korean pro (or Serral)? Also different maps and not just PvP?

5

u/jackfaker Jan 25 '19

@Mana Did you ever consider cannon rushing, proxy gating, dt rushing or some other gimmicky build for your match yesterday? In a similar vein, did you intentionally go for a safe macro build because you believed it to be your best chance of winning, or did you feel like winning straight up would make a bigger statement?

8

u/SC-MaNa Jan 25 '19

I was thinking of doing something unusual. However I was told I get to play only 5 games against AlphaStar and I wanted to make sure that from every match I would be certain that the outcome is based on skill. Using risky strategy that ends the game early was not something I wanted to do. After watching the replays I am quite certain that if I would have opted to go for Dark Templar rush or any non-macro opening the AI would be able to outmicro me or luckily have detection in place. Maybe if I get to play AlphaStar again I will try this approach.

5

u/WISEWENZEL Jan 25 '19

What is your favourite meme?

8

u/[deleted] Jan 24 '19

Will the Starcraft DeepMind project continue or is this the last we will see of DeepMind Starcraft? Does the team want to adventure into something else already?

For TLO: based on how AlphaStar works right now, how do you think you would lose vs. a Zerg vs. Zerg bot?

8

u/rip_BattleForge Jan 25 '19

Hello Oriol and David,

I am currently part of a 6-person group who have just recently been cleared to start our Bachelor thesis on the topic of machine learning in Starcraft II. However, a caveat is that during these 400 hours we must work on a "non-solved" issue and at least somewhat break new ground. What problem space do you think would be fitting for a group like ours? Is there any relatively small area which you have left somewhat unresearched or do you have any general ideas?

Thanks in advance!

4

u/itsKastle Jan 24 '19

You utilize human replays and imitation learning to get through the first phase of learning the game. Is there any plan in the future to make it completely self learned like AlphaZero was? If not, would it be computationally feasible to improve it with approaches like curriculum learning?

4

u/heyandy889 Jan 24 '19

@TLO @MaNa

Thank you for participating! Your expertise is invaluable.

How does AlphaStar compare to other bots you have played?

Thinking a few years down the line, what capabilities would you like to see in a Starcraft AI?

4

u/PEEFsmash Jan 25 '19

I humbly request more replays asap! Including the replay pack of the cannon rush God agent pls

4

u/greyestone Jan 25 '19

@Oriol and David: Could you give an idea as to what extent AlphaStar is a 'Starcraft II playing AI' vs a 'PvP on Catalyst playing AI'? How far do you think we are from an agent that can play random on unfamiliar maps?

@TLO and MaNa: How do you think AI will affect the future of esports? Do you see AIs being used to train and develop new strategies and tactics being common? What do you think about the idea of an esports league pitting AI vs AI?

→ More replies (2)

4

u/djangoblaster2 Jan 25 '19 edited Jan 25 '19

Hi DeepMind!

When will the preprint paper come out? looking forward to reading it!

(Since for alphazero, I think the preprint came out over a year before the final paper).

4

u/jackfaker Jan 25 '19

@Dario AlphaStar seemed to struggle vs warp prism harass, perhaps because it never developed that strategy itself. As a zerg player, what do you think would be the most abusive techniques vs AlphaZero in ZvP, and what would be your level of confidence vs the AI Mana played today if it could play PvZ?

→ More replies (1)

4

u/AnvaMiba Jan 25 '19

Impressive work!

  • About the Nash distribution thing from Balduzzi et al., if I understand correctly the issue is that in games like rock-paper-scissor and presumably StarCraft the optimal strategies are mixed, hence deterministic agents are exploitable. Your solution was to train a population of agents and then sample 5 from the Nash distribution for the match. Wouldn't it have been possible to train a single agent that executed a mixed strategy? Is it hard to add meaningful stochasticity to DeepRL agents beside some uniform or softmax noise on the actions?
  • You mention that you train on 200 years of gameplay experience per agents. How many agents, and hence how many total years of gameplay experience were used to train the final league?
  • Did you use any type of curiosity reward to incentivize exploration?

7

u/Nikota Jan 25 '19

Does the DeepMind team plan to open source any of their "Alpha" agents at any point?

1

u/ShivanBird Jan 25 '19

How many GPUs and other computer resources do you have? What's the minimum amount needed to train a machine to beat a skilled amateur?

3

u/OriolVinyals Jan 26 '19

Define the level for an "skilled amateur" : ) With 16 TPUs, and one / two days of training, you can create a fairly decent Platinum level player.

→ More replies (1)

1

u/4arly Jan 25 '19

If your agents have to play as a team, would the natural language be a good choice for the communication? Do you plan to enable some kind of mixed human-AI teams?

I've just asked this question on Twitter, so sorry if you double check it.

Thank you in advance

2

u/OriolVinyals Jan 25 '19

Great question! Collaborations between human-AI also sounds quite nice, and something we explicitly tried in the CTF work: https://deepmind.com/blog/capture-the-flag/ It would also be great if our agents could communicate their learnings more explicitly -- I really did love the fact that MaNa took one of AlphaStar learnings!

1

u/jrwren Jan 25 '19

When can I watch AlphaStar play against AlphaStar?

Have you done this? What was it like?

It was mentioned that TLO played against 5 different AlphaStars. How many different AlphaStars do you have that play at a high level?

3

u/OriolVinyals Jan 25 '19

The AlphaStar league is all about AplhaStar vs AphaStar : ) When training the league, we had about 20/30 competitors training at the same time. You can check the blog post for cool animations of the league: https://deepmind.com/blog/alphastar-mastering-real-time-strategy-game-starcraft-ii/

9

u/[deleted] Jan 24 '19

How much influence does the quality of the replays used for imitation learning have?

If instead of using replays of platinum and above you'd only use bronze level replays would the system end up the same way after maybe a bit more training time?

How much of the strategic choices are "just" refined versions of strategies seen in replays?

→ More replies (2)

6

u/NaturalCausez Jan 24 '19

Is DeepMind hiding on the ladder in StarCraft?

→ More replies (2)

8

u/JustOneAvailableName Jan 24 '19

First I'd like to thank you. I got thoroughly hyped during the stream and didn't expect this difficult of a problem to be tackled any time soon. Am really looking forward to the paper/conference.

Secondly I am wondering what you would say the problem was about the harassment technique used by MaNa. Was that strategy simply not encountered during the training? If so, do you have any ideas (some new method of exploration?) how to introduce more different tactics to AlphaStar?

Lastly, what steps do I need to take to get an internship or do my master thesis at Deep Mind?

7

u/heyandy889 Jan 24 '19

you can expect an internship to be highly competitive, there is some info on their website https://deepmind.com/careers/

→ More replies (1)

8

u/starcraftdeepmind Jan 25 '19 edited Jan 25 '19

During many battles, AlphaStar's APM often was sustained in the 600-900 range.

  1. Was it a conscious decision to not cap max APM?
  2. Do you think AlphaStar would have been able to defeat pro gamers with a max APM cap of 500?
  3. Do you think the games showed that the statistic of Average APM isn't very useful, considering the pattern AlphaStar has of low average, but very high max APM during battle?

The average EAPM isn't the issue. It's AlphaStar's ability to use 600-1000+ EAPM for sustained amounts of time during battle. This is a different concept to both average EAPM and 'burst EAPM'. The A.I. has Matrix-like bullet time.

For anyone who doubts, go back and watch any large battle (where the phenomenon is most clear) and what the stats on two APM numbers over the whole battle. You will see AlphaStar's APM is often 3-4 times higher than the human opponent. That's 3-4 times the volume of actions during battle!

→ More replies (1)

3

u/[deleted] Jan 24 '19

What do you think your harder challenge will be in improving your bot in the future?

3

u/[deleted] Jan 24 '19

Today was amazing! How long until we can see it in a tournament? I bet IEM or Redbull would be down to organize something. I can’t wait to see what it’s Zerg macro looks like.

3

u/[deleted] Jan 24 '19

What algorithm was powering the agent/agents of AlphaStar? And will there be any publication release of it?

3

u/heyandy889 Jan 24 '19

@DeepMind

How big of a leap is it from "perfect information, turn-based" to "imperfect information, real-time?" (Also, is that an accurate characterization of the achievement?)

3

u/4Robato Jan 25 '19

It seems like the AlphaStar league (I think it was called that way, sorry if it had another name!) has proven to be a really good method to train the Agents.

The performance has been amazing so far but in the live game with the Agent playing with the vision, we've seen that it made some mistakes without adapting properly like when Mana used the two immortals on the Prism to drag the army back at home. (I guess we can also argue for days if it was really a mistake, maybe there was nothing the Agent could do to improve the situation?) Can this be solved by simply training the Agents more or does this method have some limitations? If so, have you thought on any ideas for how to improve it?

Thank you very much on the hard work put behind all this! It's really impressive the performance you've obtained and I was honestly expecting it to be a lot weaker. Congratulations! :)

3

u/randomchickibum Jan 25 '19

Are you using any evolutionary algorithm to share information among the agents?

3

u/OCLBlackwidow Jan 25 '19 edited Jan 26 '19

@Deepmind team: Would you consider, if possible, to let an agent 'loose' on the SC2 ladder, to see how far it could go in ranking?

This way, would the learning process be more effective for beating players, rather than it playing different iterations of itself?

I love following the project, and loved the demonstration today. I'm hyped for the future alphastar and its hopefully meta-breaking strategies!

3

u/MADscientist314159 Jan 25 '19

@Deepmind thanks so much for making this a reality! My question is what happens when there is a patch update?

3

u/skybert88 Jan 25 '19

Amazing work guys, I watched the whole stream and I've been following the Deepmind for a while now. Really cool stuff!

In the last game against Mana, the AI did not build a phoenix to deal with the drop harass in the base which ultimately cost it the game.

Are you able to provide the logic of why it just kept running the units back and forth repeatedly and never building a phoenix?

I am very curiosu about it, as it seemed similar to a logic error/issue when it came to Alphago as well, in that one game where the AI made a recursive error loop of wrong choices or so.

3

u/[deleted] Jan 25 '19

Has Blizzard (or any other game company for that matter) expressed interest in licensing or purchasing trained models to throw into future iterations of their games, to replace their hand-crafted AIs?

My interest level in playing (and buying) Starcraft II would very much be re-kindled with the prospect of getting to play offline matches against human-level+ AIs whenever I wanted.

Also, how feasible do you think it would be to target the training sessions towards producing an AI at an arbitrary level of proficiency (easy, medium, hard etc) without being too predictable?

3

u/FatWeek Jan 25 '19

After hearing feedback from TLO and MaNa, will you be adjusting your the reward function or parameters to improve the play and rerun the alphastar league? If so, will you be retraining or continue training the same agents?

Were all of the agents good or were there some very bad agents?

3

u/Cipio Jan 25 '19

Will you be removing the apm and reaction time limitations to see how far you can push the skill of a bot? I would like to watch the two best bots match up to each other with no limitations!

3

u/[deleted] Jan 25 '19
  1. Is there any way to visualize or otherwise appreciate the activations etc of the LSTMN at various states in the game to gain a bit more insight into what AlphaStar is "thinking" at the time? I know with CNNs in computer vision you can get nice visualizations of the layers to ever more complex features. Not so sure about LSTMNs...
  2. Regarding architecture, you mention the LSTMN. Is that the only component in the decision making process? In my mind, an LSTMN (and any neural network, really) corresponds to the "thinking fast" system of humans: Gut feeling and intuition. Are there any ideas on marrying these approaches with explicit knowledge-based systems and inference? So maybe my question could be rephrased as: What is the extent of actual explicit knowledge that AlphaStar has about the game, if any?
  3. Is it fair to say that the nature of reinforcement learning leads to the fact that AlphaStar won't do *too* well in situations that it hasn't seen in the 200 years of play time? (As an example, if I show a million pictures of dogs to a CNN, it'll get the idea. But it can still fail spectacularly if the million-and-first picture is of a very rare and weird breed).
  4. In the exhibition match, was AlphaStar aware that it was losing? At what point? Would really be interesting to dive into the activations etc to understand why it didn't, e.g., just build a Phoenix, or leave more Stalkers in the base. Which it did beautifully against the Oracles in an earlier game.
  5. Let's say a patch to the game removes a unit completely and introduces a completely new one. How screwed is AlphaStar in that case?

EDIT: To end, huge congratulations on this fantastic milestone for the machine learning and gaming communities.

3

u/ablacklama Jan 25 '19

As someone who's trained Deep Reinforcement Learning Agents before, i remember there being times where changing one part of the reward function or network could make my AI go from useless to great.

Did your team have any really spectacular breakthrough moments when building AlphaStar? And if so, what were they and how did they effect the project?

3

u/jackfaker Jan 25 '19 edited Jan 25 '19

@David Silver and Oriol Vinyals

  1. Has any experimentation been done with switching the agent mid-game based on some predictive function?
  2. Beyond biasing certain units to build and other agents to beat, has any unique reward shaping to explore strategy dynamics been used? Such as "base trade bias", "allin bias", "hidden base bias", "excessive scouting bias", "upgrade bias", "tech switch bias", "maximize probe kill bias", etc. I am totally onboard with Oriol's point about AlphaStar discovering new ways of playing that go against conventional wisdom, and I believe AlphaStar's unpredictability is a huge asset in its ability to set the tempo vs professional players and avoid being exploited.

I also wanted to say that the adept shade pathing, canceling of the stargate vs TLO, proxy robo, and double oracle harass was absolutely brilliant to see. Extremely impressive tactics and strategy emergence.