805 points · by zawerf · 7y ago · 453 comments
That said, I'm not sure I agree that it was winning mainly due to better decision making. For context, I've been ranked in the top 0.1% of players and beaten pros in Starcraft 2, and also work as a machine learning engineer.
The stalker micro in particular looked to be above what's physically possible, especially in the game against Mana where they were fighting in many places at once on the map. Human players have attempted the mass stalker strategy against immortals before, but haven't been able to make it work. The decisions in these fights aren't "interesting"--human players know what they're supposed to do, but can't physically make the actions to do it.
While they have similar APM to SC2 pros, it's probably far more efficient and accurate so I don't think that alone is enough. For example, human players have difficulty macroing while they attack because it takes valuable time to switch context, but the AI didn't appear to suffer from that and was extremely aggressive in many games.
I think a far more interesting limitation would be to cap APM at 150 or so, or to artificially limit action precision with some sort of virtual mouse that reduced accuracy as APM increased.
IIRC OpenAI limits the reaction time to ~200ms when playing DoTA2. AI employing better strategies than humans will always be more interesting than AI that can out click humans.
A simpler model would be to limit the bot to, say, one action per 250ms, introduce a slight delay in his reaction time, require him to move the camera to gain detailed information and take further actions, and have camera movements count as actions.
The skepticism in this thread is absolutely justified but I think it's important to note the lengths to which DeepMind has gone to address and assuage the fears of superhuman mechanical skills being employed in these games.
This is compounded by the fact that almost all of AlphaStar’s actions are “useful” whereas a significant amount of the human actions are spammy.
You will typically see a human select a group of units, and fast-click a location in the general direction they want the units to move (to get them started moving that way), and then keep clicking to continuously update the destination to a more precise location. Every click counts as an action. An AI can be perfectly precise and “clicks” the right place the first time.
Meanwhile humans are literally spamming keys to keep their physical fingers loose and ready - they're not performing anything close to 400 useful APM on a regular basis (or in TLO's case - 1500 ... He kept walking his units straight into death while spamming keys).
Exactly, a human doing 500 APM during intense moments is going to be way different than an AI bursting 1000 APM with pixel-precision during the most crucial moment in a game.
TLO spent a ton of time at >1000 APM and walked his army directly into enemy shots all the time. MaNa had much better control at ~400 APM. So APM is really irrelevant to control - for humans.
I suspect the AI, on the other hand, makes each action precise & count for something.
This graph, which I think was supposed to show that the AI was being "human", IMO is pretty damning. We saw the APM spike to >1000 during a critical moment and we saw the APM at <30 during lulls, so we know it uses its APM at important moments, presumably with important pixel-precise actions.
https://deepmind.com/blog/alphastar-mastering-real-time-stra...
I like the idea of having action noise that's linearly related to APM
It isn't surprising that its fast, the surprising part is that it can make human-like decisions. The only way to compare whether its thinking is human-like is to restrain it from "brute forcing" the contest through speed.
The model has likely learned that the faster it does things the better the outcome. What it needs to be measured on is strategy.
The ceiling here is going to be incredibly high, much higher than the level of play that people are capable of, even when restricted to a single window.
Part of the difficulty here is describing what a 'fair' match might be. Specifically, I think fairness has to do with a goal many people have for AI: to improve human play. The strategies in Chess or Go that were employed could conceivably be used by human players. There aren't any hard restrictions preventing humans from learning from that play, even if the AI is entirely superior.
It would follow that a 'fair' SCII match would employ strategies that humans could implement. Making extra workers, for instance, might be a real lesson from AlphaStar play. The insane stalker micro, however, could never be done by a human.
From this perspective, I think the important takeaways were:
* The AI leaned heavily on super-human stalker micro.
* The AI had some strategic blind-spots, namely the immortal harass.
* The APM comparison isn't terribly meaningful; a lot of human APM is spammy/twitchy button presses that doesn't do all that much, whereas the AI can presumably make each action count. There were also AlphaStar APM spikes that likely go along with the stalker-micro issue.
Different problems have different difficulties. Solving simple problems quickly doesn't mean we'd also be able to just as easily solve the hard problems. Often the comparably simpler problems have the best reward/effort ratio and thus make quick progress, which doesn't need to be the case for hard problems.
One of the hardest parts about these kinds of human vs ai expositions is making sure the AI has explored the full possibility space, so that can handle all situations. The techniques at play lack the ability to perceive a completely new situation and formulate a good response. (Though anyone who's lost to cheese in games they later learned easy counters for know that humans, while better than state of the art AI, aren't perfect here either.)
"The AlphaStar league was run for 14 days, using 16 TPUs for each agent. During training, each agent experienced up to 200 years of real-time StarCraft play. "
MaNa probably played less than 2-3 years of Starcraft in his whole life (by that I mean 24hr x 365d x 3), and was learning with a much less focused/rigorous methodology.
Humans don't have to learn to process, recognize, and classify objects in visual sense-data, for example. We can do that from the moment we're born, because we already have hundreds of precisely-tuned "layers" laying around in our brains for doing just that. We just need to transfer-learn the relevant classes.
Do you have a citation for this? It doesn’t jibe with my understanding of development. For example, animals born paralyzed are blind: https://io9.gizmodo.com/the-seriously-creepy-two-kitten-expe...
All the stuff we've learned about games and so on have come from our current lifetime. I don't have caveman memory for how to fight a tiger.
This gives them reserves when attacked and some workers killed. They can also ramp up mining at a new base quickly by moving the extra workers there.
Apparently the benefits outweigh the costs for these workers for AlphaStar. It will be interesting to see if some pros decide to adopt the technique and if it improves human performance as well.
Disclaimer: I do not have much Starcraft experience.
Let's say you make 4 extra at a cost of 200 minerals and then lose 4 workers to harassment. You are out 200 minerals in both cases, but the prebuilt workers in the prebuilt case will mine an extra... 100 minerals? (40 + 30 + 20 + 10).
This doesn't take chronoboost into account though. I don't know, the gain is marginal, and the opportunity cost is having a smaller army (2 zealots for example)
Please correct my numbers if I've made a mistake, I forget build times and havent played since hots
The extra workers aspect was the most interesting decision-based adjustment AlphaStar made on conventional pro level wisdom of "standard" play. It has a couple of factors in play, that I trust the AI factored in and more and tested over several games for its long-term benefit to winning a game:
- every 8 probes you build requires a pylon as well. total cost of 500 minerals
- workers are safer in the main than in an unoccupied natural (long distance mining) to harassment and pressure
- when your expansion completes, having 4 workers vs 8 workers vs 16 workers potentially has huge impact to the immediate spike in income
- what you mention -- the prebuilt workers will dampen the impact of most worker harassment to purely the resource cost of the lost workers.
My guess was that well executed harassment by an opponent in practice games put AlphaStar in very limited situations with a crippled economy that it couldn't fight its way out of, so this was a catch-all harassment "counter" -- it's ok if you kill a few probes, at least it won't throw off my economy completely and I can still continue my overall gameplan.
After that I think the next most important aspect was planning ahead for a bigger income spike when their expansion was done without waiting to build out another 16 workers after the nexus was ready.
I'd love to watch the results of constraining the AI so instead of seeing the whole map at once it has to pan around the same way a human would to get updated information on each battle. Counting those "info-gathering" window pans against the actions tally might yield slightly fairer APM metrics. (EDIT: Turns out they built a new agent for game 11 to do just that)
One of my biggest beefs with strategy games of this genre occurred around the time sprites went 3D and the player viewports got smaller (presumably to showcase all the cosmetic detail, and since it became harder to distinguish between visuals when zoomed out farther). I always feel too constrained on the modern games - like I can't see enough of the map at once. In my opinion that "full size viewport" gives a multi-tasking edge to the engine that the player doesn't share (beyond the human cognitive overhead from context switching you already pointed out).
On the other hand I find it fascinating our AI's have become strong enough at our games that we're having to handicap them to avoid players crying foul that they're not fair.
An AI trained from human strategy might end up more limited than one that could learn from scratch. It could be stuck in a local maximum of play and be unable to escape.
An AI technique that requires a large dataset of pro play to learn will be much more limited in terms of applying it to other games.
In StarCraft 2, the game IS the interface. That is to say, the developers have constructed the game in such a way as to be difficult to control; and human mastery of the interface is a large percentage of the game. Strategy in the game is important, of course -- but this is not chess, where human beings are not limited by the interface of the game. In StarCraft, you are intentionally given a limited interface to monitor and control a gigantic game while under incredibly tight time controls.
And I should also note that Blizzard is extremely reluctant to add features that make it easier to control the game. I have a friend who works on the StarCraft 2 team. We talked at length about this one feature that he designed and proposed for the team to make a specific aspect of the game friendlier towards players. It was turned down for exactly the reasoning above -- the game is the interface. By making the game easier to control, it disrupts the entire experience; an StarCraft 2 that is easier to control is no longer StarCraft 2.
Essentially try to quantify the advantage of increased view area.
Attention/APM is often called the "third resource" (after minerals and gas), spending it wisely when you have several areas at any given time that could use attention is part of the strategic and tactical decisionmaking. For example, usually in a battle you wanna be paying most attention to the fight rather than your base, but sometimes it's actually better to jump out back to your base to increase production or economy, and knowing which situation is which can be challenging.
Obviously, if you make the game mechanics too easy to control (letting the computer do more of the work), then this part of the game becomes less interesting, because you don't have to weigh trade-offs as much anymore.
I would say yes, because StarCraft was very clearly balanced for human players. We already saw some indication that when played with super-human micro, mass blink stalkers is a stronger strategy than when humans are in control. Without the active intervention of game balancing, RTS metas tend to devolve into "mass one or two units" which was what happenes to every Command & Conquer game (and why SC is a respected eSport while C&C is not).
I suspect this will happen when you have agents playing parameters that don't match what the game was balanced for. The strategic landscape will shrivel up and the game cease to captivate us.
It was also extremely active with the stalkers, deciding to split them in three and not let Mana cross the map with his immortals.
What's that hireability like?
Damn I really need to watch these games :)
Wasn't the APM closer to half that of the pros?
https://storage.googleapis.com/deepmind-live-cms/images/SCII...
During the fights, the critical moments in when MaNa would top out at ~600 humanly inaccurate APM (this is 10 inputs per second), the AI would jump up to over 1000 - we don't know exactly what it was doing, but it was presumably pixel-precise. Meanwhile the physical inertia of the mouse is a challenge for humans at that speed - imagine trying to click five totally different places with perfect precision in a single second.
Additionally, and subsequent to the matches, we developed a second version of AlphaStar. Like human players, this version of AlphaStar chooses when and where to move the camera, its perception is restricted to on-screen information, and action locations are restricted to its viewable region.
I was really curious whether they would attempt moving the camera like a human. Sounds like it's still a work in progress, but very exciting! Even this isn't enough to make it fully like a human player, as I believe it is still getting numerical values for unit properties rather than having to infer them from the pixels on the screen. But it seems possible to fix that, likely at the cost of drastically increasing the training time.
The benefit of using pixels, of course, would be that the agent would become fully general. It would probably immediately work on Command & Conquer, for instance, while the current version would require deep integration with the game engine first. But I think the training time would be impractically long.
https://deepmind.com/blog/alphastar-mastering-real-time-stra...
I guess it makes sense that the AI would favor such a micro-heavy unit. I imagine it would be a nightmare to deal with perfect blinking.
If humans can, under ideal circumstances, see cloaked units... Maybe the only mechanic that shows up (like for bots or an API) is the inability to be targeted using an attack command (i.e. you can still be hit with splash damage from ground targeting)
don't get me wrong, it's a major accomplishment in AI regardless, but it's a significant advantage and it would be easier for me to appreciate the AI's skill if I didn't have to keep reminding myself that it can see the whole map at once. it's such an information advantage.
While it is an unfair advantage in competitive gaming, but in more realistic settings, there is no requirement that AI needs to have only 2 eyes. It can have as many as it could handle, while human can't scale the same way.
I watched the live broadcast of this announcement where they did a recap of all 10 previous matches (against TLO and Mana) and they talked about this concern. During today's announcement they presented a new model that could not see the whole map and had to use the camera movement to focus properly. The deepmind team said it took somewhat longer to train but they were able to achieve the same levels of performance according to their metrics and play-testing against previous version.
However...
They did a live match vs LiquidMana (6th match against Mana) against the latest version (with camera movement) and LiquidMana won! LiquidMana was able to repeatedly do hit-and-run immortal drop harassment in AlphaStar's base, forcing it to bring troops back to defend its base, causing it to fall behind in production and supply over time and ultimately lose a major battle.
> it could observe the attributes of its own and its opponent’s _visible units_ on the map directly
1. While it's true that a human player could see everything the AI is seeing, the human player has to spend time and clicks to go see those things, whereas the AI sees it all simultaneously without having to use any actions or spend any time to take it in.
2. Emphasis on the computer seeing it all simultaneously. The computer can see the state of two health bars on opposite sides of the map at the same time, or 100 healthbars in a hundred places at a time. A human cannot do that, and even trying to move the view around fast enough to do so would render it impossible to actually do anything else.
3. If it's true that seeing more at once is not advantageous, then it must also be true that seeing less at once is not disadvantageous. So by that reasoning a player playing on a 1 inch x 1 inch screen would not have any disadvantage, since after all they're getting just the same amount of information as long as they move the screen around enough! Reducto ad absurdum, a player with a 1 pixel x 1 pixel screen has no disadvantage either, because they have access to the same information as long as they move around quick enough. It quickly becomes evident that smaller screens inhibit your knowledge of the game state, and therefore larger screen benefit your knowledge of the game state.
When they were talking about delay they were talking about delay between new information -> deciding/acting, which I think obscures the fact that humans have to do new information -> deciding -> acting, where acting takes non-zero time.
After just decades in development, it is clear that the endeavors of those research scientist have finally bore fruit. And today its in the form of:
Intent based modeling, augmented with AI, which provides the reality we see today in both gaming and weapons systems.
The user, who must be human, is provided a range of inputs based on the desired outcome of the interaction with the systems and the real world.
What results, is truly remarkable.
A human is capable of multi-dimensional abstract thought, in a way that a computer cannot. As such - their intent is wired over to a swarm of objects with the most amazing capabilities.
A user can direct a swarm of either virtual bots or physical drones to accomplish a task. She can also combine the efforts of both physical and virtual for even greater effect.
Here we see a swarm of bots who are thwarted by a physical barrier.
The human driver can then instruct his virtual AI bots to attack the security system of the building to allow his drones to have passage.
But she does this through merely the intent for the portal to be open. The bots do the rest.
All the while the user is updated with real-time information on how the operation is progressing.
So, in the future, you may soon see just such technology applied to your kitchen or living room, where bots will cater to your every waking need - and sometimes your non-waking needs as well.
Here, there is the laughable graph of the computer apm over time. The key points here is that when there were the mass battles that won the game, the apm spiked to >1000. And if you look closely in slow motion, there was perfect split targeting. A human player wouldn't be able to perfectly select the exact number of stalkers to hit the enemy without wasting a surplus shot. They can, but not when it's mass stalkers. This efficiency is just beyond humans. The APM here indicates much more effective use of an action than a typical human.
This is super impressive as an achievement, but this is clearly not a smarter ai, but moreso an ai like the video a while ago where zerglings could perfectly micro against siege tanks to avoid splash damage. It is clearly better than humans in certain ways, but not smarter.
The APM metric includes all clicks a player makes. AlphaStar's APM is lower than a typical pro's, but that does not mean it is making fewer actions. All pros try to keep a high "tempo" by constantly clicking the screen even when they are not making any actions. e.g. Instead of sending a unit to a specific location with one click, they will click 5-6 times while dragging the mouse to that spot. The theory is that keeping a high tempo allows you to make more useful actions overall.
Unless AlphaStar's average and maximum APM is 3-4x lower than a pros, rather than just 2x lower average and the same maximum, I do NOT believe that this is a fair test of the AI's strategic decision making ability.
While the average was around 350ms, this number is skewed by a significant long tail extending up to 1300ms for some actions. The most common response is sub-200ms and the third most common response is 65ms-100ms. The best pros can consistently hit close to 200ms but I am not sure if they can even hit below 100ms, let alone 65ms.
But realtime game is not. As computer have edges in boring fileds (apm etc).
I feel the real challenge will be Imperfect information, turn based, and cooperation( teamplay based) for ai.
Unfortunately there are currently no game AFAIK with these characteristics...
Like a 2d turn based counter-strike or dota/lol would be really the good format game to solve.
Not super prestigious, but IMO still a good intermediate goal.
It would be interesting to have a game that would auto-balance itself, especially if you wanted to add extra content without having to worry about throwing everything off.
I suppose there's lots of interactions, but finding "well Zerg beats Protoss X% of the time", you could balance by messing slightly with resources or blanket buff.
Zerg — Too icky for some in the general public
Terran — Too human-like. Might clearly trigger the imagery of human-robot wars.
you can probably perfectly micro marines + marauders + medvacs with stim, but it's a lot harder than blink.
It is an impressive result, it seems pretty clear to me that as a force multiplier for developing decision tree software this technique works faster and more effectively than the waterfall techniques, and it gets better post release. But beyond the game theoretic applications I am still looking for an application where it reliably creates a better back end code generator for a new architecture faster than a person can.
E.g. the Dota game had 5 AI working as a team. That feels like it should demonstrate additional competence, but it’s not really clear that they worked as a team.
The Dota game allowed greater variation in starting conditions, but it’s not apparent that the Ai adapts it’s strategy to this well (e.g. hero choice).
Both of them are capable of creating a basic strat and excelling at micro. Neither appears to have great depth of strategy.
Milestones that we have yet to see with Deepmind
- generalize on maps - generalize on races - zero-style training
I would try with a Seaborn facet grid? I think they’ve got something custom, but this should get close (be aware this specific example is a kde so it will normalize total area)
On a second glance this won’t get the 3D horizontal offset.
Thus far the solutions to poker have involved solving the game tree through raw computational power and clever methods of information collapsing:
http://science.sciencemag.org/content/347/6218/145
But it seems the techniques used here might be both far more efficient, as well as able to better exploit human players (as opposed to playing a pure game theoretically optimal strategy, which is what they do now).
ie this is like when somebody explains Tic-Tac-Toe, there isn't anything interesting going on inside the machine, the insight was purely mathematical, that there are one or more optimal ways to play this game, and this is one of them.
You can literally look at the strategy right now, you can do it while playing against a program that plays by this strategy. But you won't beat it by doing that, that's the point of this optimal strategy, the best you can do is play this or some other equivalent optimal strategy back, in a home game you'll just pass chips back and forth forever.
In contrast Poker AI is a thing, and at _No Limit_ Heads Up the AI state of the art is clearly better than human, named Libratus - it is nothing like Cepheus, there is no fixed strategy.
For "Full Ring", the game of Poker as you've probably seen it played, which has more than half a dozen independent players, AI would be very challenging, not least because if humans realise they're at a disadvantage it would be essentially impossible to prevent them from colluding with other humans to get an advantage, even to some extent unconsciously.
I was essentially asking if the techniques used by DeepMind could be leveraged to create a much more powerful version of AI's like Libratus, or to become very strong at games too big to solve for GTO solutions, such as full ring.
> For "Full Ring", the game of Poker as you've probably seen it played, which has more than half a dozen independent players, AI would be very challenging
This has already been done. There was an AI called Sonia which played both HU and full ring at expert human level or beyond, and was not based on GTO solutions. It created a model of every player which updated in real time, and exploited them the way expert humans do.
I'm just curious if DeepMind would be able to achieve similar or better results.
Indeed versus a single opponent, you can play an "optimal" (e.g. Nash equilibrium strategy) and basically win/solve the game. But in a multiplayer setting (in poker and similar games), you rely on your ability to predict opponents. In the former you could essentially assume your opponent is as smart as possible ('rational' in game theory language), and if it is not rational it will necessarily do worse. In the latter however, by assuming every player is rational (e.g. playing N.E. strategies) you lack the ability to exploit weak players which are decidedly suboptimal, predict their moves, and capitalize. Thus winning is conditioned as much as the knowledge of your opponents, their skill and style, as in your own power to play probabilistic 'optimal' moves.
A good simple example is also Rock-Paper-Scissors: a N.E. strategy just plays randomly -- it clearly cannot lose even against the most skilled players every -- but it also cannot win versus weak, predictable opponents. So e.g. in a tournament setting it would always lose, depending on the tournament structure (in particular if tournament stages are not all pairwise elimination).
I find it a fascinating contrast to traditional game theory, and sort of conventional view of games, that there are "good players" and "bad players" in the sense of their execution being superior in an absolute sense, independent of opponent. In reality success in a variety of games (and real world scenarios) is won by tailoring your strategy to a particular opponent, using information from outside the game, and specifically predicting his plays vs. utilizing universal strategies (again this is particularly relevant in non-pairwise tournaments, non-zero sum games, etc).
In real life, almost always the "game" is non-zero sum, multiplayer, with non-rational players, etc., even in a sports setting. Roger Federer might play slack and save his body in the early stages of a tournament vs a known weaker player, and give it all vs his most fearsome opponents.
And also finally to quote "The Art of Strategy" (introductory game theory classic), 'There's always a bigger game.' (in real life it's the ultimately the entire Universe, and no one is quite sure of the Rules :p )
Game theory, poker profile, behavior profile, etc could give it a serious advantage over human players in addition to its advantage of never getting tired, frustrated, etc.
If you have player history you can construct perfect models for their playing habits and even update it as time goes on like a multi armed bandit problem. This can be simple probability heuristics and an optimization function.
The problem with it is that the machine becomes biased to past results. Top human players are good because they adapt. I would put my money on the humans
0: https://deepmind.com/blog/alphastar-mastering-real-time-stra...
Ignore the fact that the "Training Days" axis is drawn diagonally. The system is creating about 40 agents per day; by the end of day 14 it's made 610 or so. The graph shows, for any given time of training (vertical axis, going down), what is the distribution of trained agents that it's chosen in order to be unexploitable (you wouldn't want to choose rock all the time in rock-paper-scissors, for example). So, for example, at the end of day 14, it's using a selection of agents with numbers 595 through 610 or so, which means they've all been created within the last day.
Plug AlphaStar into a robot that physically interacts with a keyboard and mouse to control the game. This "robot" should only have what's relevant for playing the game and emulates a human i.e. a camera that looks at a screen (this is the only knowledge it has of the game), and two arms & hands with five digits that control the mouse and keyboard. Then limit its APM to the best a human can realistically do.
The other thing I want to see them address is the virtual training time. 200 years of StarCraft is insane. LiquidMana has been playing for ~20 years and of course he hasn't played the game 24/7. Lets pretend he has played StarCraft like it's a full-time job since he was 5; 8 hours a day, 5 days a week, for 20 years. That's ~42,000 hours of playing StarCraft.
Develop an A.I. that is only trained for that many hours of virtual game time.
If they can create an A.I. with those requirements, that can defeat top-level players, I will be completely blown away.
Transfer learning from the rest of life, games are designed to be understandable to humans with familiar concepts, that AIs don't start knowing.
Discussion with other players. Mana benefits immensely from every else's 20k hours of SC2 as well.
Selection bias, there are many many people who try SC2, only the people who are naturally good at it succeed. So in some sense we need to be counting the rejects training hours as well.
I would like to see advances on training AI using less data. I just wanted to comment that the comparison in number of hours isn't quite fair.
Anyone with this point of view does not seem to understand what is being shown here. This is not just "this ai beat this one player in this one match". It's an entire system of techniques for machine learning. The AI was not hard coded to learn those micro steps, like all other AIs have been. To ignore those things is to miss the point entirely.
- the context switching cost of multitasking
- the precision/speed tradeoff : pro players adjust the mouse speed according to what they want. Selecting exactly the units wanted is very difficult, AlphaStar seemed to do it perfectly.
- the timing precision of an action
With restrictions such as these, I'm honestly confident that AlphaStar won't beat human players anytime soon (once the human players adopt the interesting findings of the AI).
I'm mostly interested in how it will change the meta. Players are often biased by their experience, and regularly the meta shifts entirely without any significant balance update, simply by players finding original strategies
I'm more interested in the limits that an AI could be pushed to vs humans, and if humans can't match the AI's APM, just add more humans until they can. E.g. 1v7 would allow humans to manage multiple disparate flanks at once just like an AI, and still leave someone to free to manage macro play etc that suffers when a human focuses on micro.
1. AS studies games played by humans to learn what they do. 2. AS takes advantage of high-APM, high-precision blink stalker micro to defeat immortals (something no human can cognitively/mechanically accomplish). 3. Mana realizes he cannot play vs AS as if he were playing vs a human. 4. Mana discovers an AI exploit using the warp prism + immortals to force AS's army back, keeping his own base safe. This is a specific counter-AI strategy, not something that would have worked vs a human player. AS does not know how to properly react because it has not seen any replays of humans going up against an AI by exploiting it. 5. Mana gets enough breathing room to build up a large enough force to win the game.
In short, Mana won because he "solved the problem" of how to exploit this particular AI.
This is actually not a new strategy -- several years back, the stock SC2 AI would do the same thing: pull back when you attacked its base. I could win vs AI using the exact same trick that Mana used. Blizzard has since updated the AI not to fall for this trick.
The real test of DeepMind's learning abilities is thus: if AlphaStar had seen replays of that exploit vs AI, along with all other replays of humans vs AI over the years, would Mana still have been able to win?
Or how about a tiny flying robot with millisecond reaction times in a room with a crowd of people trying to catch it, being able to eg buzz and tag everyone without being so much as touched?
How about one robot which builds replicas or otherwise organizes some massive “real time strategy growth” across a city, versus the entire city and its police and army being called in? With the robot swarms coordinating distributed superhuman strategies and timing? I feel that, whatever we are discovering now, aliens who make it to Earth will have had hundreds of years advantage on that. It seems Monte Carlo Tree Search is the best we’ve got against the aliens, for now.
Think Ender’s game but for real. It will require something like that.
Anyone also remember the narration in Edge of Tomorrow? There the aliens had the additional advantage of resetting the clock to the beginning thus nullifying any win, but really with trillions of games being played by a league against itself, that rare “restart” seems quaint versus what we have here.
Or over eons perhaps long term strategy with mining asteroids with Von Neumann probes competing.
A truly crushing next step would be to make "World in Flames" into a computer game, and have Alpha-Star-Zero, which is coming, to become the best it can on that.
http://www.matrixgames.com/products/296/details/World.In.Fla...
If they do that, every single military on the planet should crap themselves, including the US, Nato, Russia, China, and EU. It means that 20 years or less to robots able to operate at every level in an army from soldier to general, and able to comprehensively defeat the best humans at it, at every level. The first nation to the battlefield with this wins the world. One ironic part is that an excellent application is non-battlefield warfare. You don't have to drive a tank to conquer the world; perhaps you can buy a factory or make a deal. The corporate interface here should also be compelling.
Perhaps Alphabet will finally be able to use this to make non-advertising profits.
Not only is the game of war not “written down” in digital form, there is far too much data to ever write down. Military strategists have been trying to model war forever. But no one can even agree on what the “game pieces” are, let alone list all of the Deus Ex Machina that might show up. An AI that is better than any human commander at tank warfare would have been just as dead as any human army when the opponent shows up with an H-bomb.
But being good at tank warfare also isn’t anything like being good at a tank game. To be good at tank warfare you need to be good at building factories. Pouring concrete in swamps. Convincing grannies to buy fewer cans of beans, and eat more squash. Figuring out when your workers really need to go home and sleep. Part of the game is just realizing thosethings are even things you might want to think strategize around.
And the nature of competition in real life is that as players gain advantages, opponents copy their skills and those advantages cease to work. Then you have to find new advantages in some aspect of the game that has never been documented before.
In a sense, high level real world competition is more like MAKING games than playing them. It’s about designing a competitive landscape where your opponent won’t be able to design their way out of it. Something AIs haven’t, to my knowledge, even begun to be able to think about.
However, they keep harping on the APM being similar to a top human and it's just not. Maybe the average for a whole game is, but during fights it was bursting over 1500 APM with perfect execution. This wasn't just spam clicking corrosive bile or something like a human might to get that high but truly coordinated targeting and unit movement. This had lead it to use pathological unit compositions that wouldn't be effective for human play (like pure stalkers beating immortals). If they set a hard max APM to something like 600 I think it would develop more useful strategies.
"In a final match against Komincz, streamed live on Twitch, the DeepMind team used a new agent that, unlike those in the other matches, could only see by moving the focus of the in-game camera. As a result, the AI was forced to move its units in a more focussed, human-like way. Despite dominating the game early on, AlphaStar lost. In all the games contested to date, the score is: AlphaStar 10 - Humans 1."
I'm not quite sure I follow the test then. How was DeepMind making decisions before? In a less-human-like way?
This, along with the documentary of the human go players vs the deep mind AI, seems to indicate we are entering an interesting time. The humans start out cocky, then gradually concede the high ground of whatever skill is supposed to be our exclusive domain. I think we will make it through to some new way of living with very capable machines. But, to transition there we are going to have some rough years. Just watching the Star Craft player's fingers flying at the end of the movie makes my carpal tunnel wrists ache. It reminds me of the folklore about "John Henry" trying to keep up with rail laying machine. TL/DR: In the story he beats it for a while, then falls over dead from the Herculean effort required to do so.
That said, it's an open question whether given all the constraints of the last live match and what was mentioned during the talk (that newer strategies keep getting discovered by humans and agents), whether humans could even win 50% of the time against an agent.
It's got a bit of randomness where engagements are not just pure deterministic math inputs so I guess that's why it never gained pro league attention but it would be hell of an interesting challenge for AI because of it.
for example, google has published voice synthesis samples, voices generated from text, that are indistinguishable from real human speech. it hasnt been perfected yet, but i think most people would agree that we basically now live in a world where voice recordings cant be automatically trusted the way they used to be. it completely changes the way you think about and navigate the world. it will open up a universe of new schemes, methods of fraud, etc etc that we will have to adapt to.
then there are deepfakes. there are limitations, and the results arent perfect, but its very early days. again i would say that the consensus among us is that we now live in a world where video evidence is basically no longer intrinsically trust-worthy in the way that it used to be.
i practically grew up inside a computer. but i am now sensing that as ML fills in, its going to be a very uncomfortable ride for me personally -- and i dont understand how it couldnt be for anyone else. and what about when AGI comes? just curious to see if anyone else shares my experience with this.
I will take this with a grain of salt.
And Starcraft is a competition because SC1 was a game that was easily adaptable for AI hobby coders and competitions. A little like they have this Robo Soccer world championship for Robo builders. It's part of the domain culture I guess.
It sounded like that was based partly on Supply (Army size). But the AI only knows it's own Army Size, and not the human's army size.
So how can the AI's outcome prediction be so accurate? At game 3 against Mana, the AI's outcome prediction changed from 60% win to 99% win, before the AI decide to go up the ramp. It had no way to know if the human had more army up that ramp
You can see this in the replay-- at seemingly random times, its outcome prediction jumps up, even when it hasn't had any interaction with its opponent. But that's precisely why it's going up-- it notices that its opponent has not executed a faster rush or cheese that it's unprepared for, hasn't expanded early, and the scout has not been destroyed.
Similarly, after having won a fight, the worst thing that could happen is that a bigger force emerge from your opponents base, destroying your army and giving them a chance to rebuild. When that does not happen, you know that your opponent probably doesn't have such an army (because otherwise they are falling behind in resources due to being bottled up). Either way, after a certain point it's worthwhile to press on to cause more damage, because you're now far enough ahead in resources that you will win regardless if they manage to repel that particular attack.
Is the outcome prediction score, itself, also produced by AI training?
It has to be, right? Because it's clearly not just calculating the outcome based on Army Size of the AI and the human. There must be some non-direct way it's calculating the outcome prediction.
I mean, the hard part is accurate outcome prediction. Once you have that, it's easy to train an AI by just throwing CPU's at the problem and making the AI play a crazy lots of games
1) Increased mining rate. Although there's a prescribed "maximum", as I understand it adding more workers, up to some limit, does yield more minerals beyond the prescribed.
2) Buffer against harassment. If you are over-saturated and lose two probes, you rate of income isn't affected.
3) Bootstrapping an expansion. All of the excess probes can be moved over to the new expo.
1) only one worker can mine from a mineral patch or gas geyser at a time
2) workers phase through each other while mining, so they don't lose time pathfinding around fellow workers.
3) every base has 4 "close" mineral patches and 4 "far" mineral patches. The close mineral patches are mined at full efficiency by only 2 workers; as soon as one finishes mining, the other has already returned and starts mining immediately. For the far patches, when one worker finishes mining, the second worker is only halfway to the minerals. Sticking a third worker on a far patch can cover that little mining gap, but the benefit is small (like ~30%).
4) therefore for efficient mining you want 16 workers on minerals. For "perfect" mining, you want 20 workers on minerals with the extra 4 on far patches only.
5) usually a triple-stacked close patch will automatically lose the excess worker to a far patch, but sometimes you need to "worker stack" manually to achieve this. You can see MaNa worker stacking manually at the beginning of his showmatch when he doesn't have anything else he could be doing with his excess apm. 24 workers on minerals guarantees maximum income because 4 workers will never fit on a patch; they'll start automatically reassigning themselves to different patches until they find a less crowded one.
6) more than 24 workers on minerals provides exactly 0 extra income. Still good to have extra workers though so you're not losing mining time when you build buildings, get harassed, etc.
7) every base has 2 vespene geysers, and 95% of the time these are in a position where 3 workers will saturate them perfectly. There are a couple of maps (or at least used to be... might be fixed now) where you can eke out the tiniest bit of extra gas by having 4 workers on a geyser.
8) every serious sc2 player already knows all of these mechanics
I personally think Artosis was overstating the innovation of DeepMind's worker over-saturation. I agree with something Rotty said earlier in the series; sometimes you make a suboptimal move and it works, but that doesn't mean it was the "correct" play. It just means that you papered over a flaw with stronger execution somewhere else.
I'm still very impressed with these games, just not with regards to the AI's build orders.
Edit: I recall that Rottie or someone said that there were 1-2 rare situations in HOTS where pros played like this.
I'm also more generally curious as to what the cutoff point at which adding an additional probe ceases having any value.
MaNa already started to use oversaturation when he played live game against the AI. I'd bet soon this will be the new meta, and everyone will play this way
That said, HOI4 could really use some AI love. Right now, I think the AI has a lot of hard coded values (when invasion should happen vs not). One of the potentially beautiful things about modern AI is that if you can clearly define your objectives, it's possible to find a parsimonious analytical solution to solve that problem. I have immense hope that these gaming AI systems will transform the way we game in the future.
...
Dear Mister Language Person: I am curious about the expression, "Part of this complete breakfast." The way it comes up is, my 5-year-old will be watching TV cartoon shows in the morning, and they'll show a commercial for a children's compressed breakfast compound such as "Froot Loops" or "Lucky Charms, " and they always show it sitting on a table next to a some actual food such as eggs, and the announcer always says: "Part of this complete breakfast." Don't they really mean, "Adjacent to this complete breakfast, " or "On the same table as this complete breakfast"? And couldn't they make essentially the same claim if, instead of Froot Loops, they put a can of shaving cream there, or a dead bat?
Answer: Yes.
I see so much brittleness in AI such as this. Humans are much less prone to “bugs”. In an evolutionary adversarial environment, the human brain invariably comes out on top.
"Artificial Intelligence Isn’t Just About Intelligence, but Manipulating Humanity: AlphaGo's true accomplishment isn't learning to play Go, but learning to play (and manipulate) us." (https://futurism.com/artificial-intelligence-isnt-intelligen...)
, around the last AlphaFoo.
"Imagine a flying saucer lands in Time Square and an alien steps out carrying the game of Go. He walks up the nearest person and says the classic line – “Take me to your best player.” Now, let’s assume that the alien spent years studying how humans play Go, watching replays of every major match.
If that was the situation, it would seem Humanity was being set up for an unfair challenge.
After all, the alien had the opportunity to thoroughly prepare for playing humans, while the humans had no opportunity to prepare for playing aliens. The humans would likely lose. And that’s exactly what happened last month when an “alien intelligence” named AlphaGo played the human Go master, Lee Sedol. The human lost in 4 out of 5 games. But, if we look at the big picture, it wasn’t a fair match."
Then come the HN comments.
For Alpha Go:
Oh this is impressive but can't generalize. Wake me up when it doesn't have to have information precoded/doesn't learn from human players
For alpha go 0:
So this is cool but not amazing because they're all perfect information games.
And now here we have this, and people who haven't even watched the presentation are yammering about stuff like the APM, or how this isn't impressive because of ... Well, something?
If I believed in a terminator scenario, I would point out that a robot, too, will presumably have higher APM than all of us desk warriors.
It really feels like there are just some people who are religiously attached to being the only known intelligent entities on the planet, to the point where, when presented with evidence that hey, this is actually a thing, they will stick their fingers in their ears and shout about how unreal/unfair it all is.
I invite you to have a look back at the other announcement threads from Deepmind and OpenAI. I decided not to directly quote people as I don't want this to get personal, but I couldn't just sit here and watch the same old story play out again without at least mentioning that these same people have been wrong, and wrong, and wrong, and will presumably continue to be wrong.
Exponential curves are unintuitive.
(I do agree though that HN is way too negative overall. Partly it's just because, negative comments are more interesting. "Hey, this is cool!" doesn't have too much content. Nitpicks give you something to talk about.)
(Still, I've imagined a site where commenting is explicitly broken into two columns: Positive comments and critical comments. Then you could self-select to bask in the positivity for a bit before diving into the nitpicks.)
Yes, now.
From the article:
“I was impressed to see AlphaStar pull off advanced moves and different strategies across almost every game, using a very human style of gameplay I wouldn’t have expected,” he said. “I’ve realised how much my gameplay relies on forcing mistakes and being able to exploit human reactions, so this has put the game in a whole new light for me. We’re all excited to see what comes next.”
AlphaStar plays like I'd expect a computer to play. It makes some very stupid decisions that suggest a lack of real "understanding" or strategic thinking, such as its wacky unit compositions, the packs of five observers moving around together, and its miserable response to the immortal drop in the last game. It won through superhuman multitasking and micro, which is where I'd expect it to shine.
AlphaStar is, in some respects, awful at SC2.
I think after training for maybe 20 thousand in-game years it will have decent strategy, while still lacking a real "understanding" of what a strategy is.
We probably will not see humanlike learning speed and adaptability before development of methods for learning hierarchical representations.
To take a terminator situation, sure the robot will be a lot better at gun fighting, but if we can kite it with trivial attacks to make it walk into an obvious trap (not really that different from what happens in Starcraft today) then it’s not so threatening.
Nobody denies that machines are better at small tasks that are founded on reaction time, precise inputs, and wide span of attention. But the thing we’re trying to actually get them better at is strategic planning.
The proof is in the pudding, and we are making more and more pudding everyday. Instead of caring about naysayers, we need to be working under the assumption AI is here to stay and rapidly expanding in scope, and we need to build the social and political structures to be able to handle it.
This would be a massive waste of resources depending on how far you misinterpret the nature of the “AI thats here to stay”. There is little to support that we’re near-approaching a general purpose, “true” AI, the kind of superintelligent, creative, potentially world-ending and self-improving thinking machine that brings us to the singularity. Its much fairer to characterize current technologies as an algorithm that excels in certain fields, with distinct limitations that we’re still exploring, and have some idea but not perfect of where those limits are.
Functionally, they just find probabilities matrixes for a certain sequence of actions, and can search the problem space much faster than we did before, by simulating the event indefinitely. And they come with the issue that anything that can’t be well-simulated and quickly can’t be “AI’d”, as well as the common issue of catastrophically failing due to not actually understanding the object in total (eg change a picture of a cat to an ostrich by editing key pixels). And afaik, they’ve shown no ability to “change the problem”, a key component of creativity (if you can’t find a good answer to something, consider changing the question; our “AI”s do not.)
And this is naturally why they excel at games (almost by definition a repeatedable simulation) that typically have a very well-defined question. But at the same time, we don’t expect current AI to be capable of taking its “strategies” forward to the next update of starcraft (the problem changes) without re-searching a lot of the problem space (there exist algorithms for training future networks; I don’t know how much progress they’ve made), because they don’t really have strategies in the first place, or a real model for how things interact (they struggle to predict new interactions without sinulating them, or rather, “experiencing” them).
Which is also why its difficult to imagine AI’s will ever truly be driving cars around with the current tech — rather, they’ll succeed likely as an awkward combination of nueral networks, expert systems, hueristics and safeguards. We’d naturally expect most sci-fi usecases of AI to be the same — eg political decision making. And they’ll be limited to the extent that we can render simulations.
And if we pretend these distinctly limited algorithms are in fact the predecessors to our post-singularity successors, simply because they’re able to do a few things we weren’t really expecting (just as computers have proved to be a whole lot more capable than the 60’s general population thought, but far less than what 60’s scifi thought), we’ll do a whole lot of work for quite a bit of nothing.
The fact that its called AI doesn’t mean we’re quickly approaching star trek’s Data AI. It didn’t mean it in the last few AI hype cycles either.
If people stopped moving the goalposts and spreading baseless hype, actual AI research would be much father along right now.
This is disappointing, but their PR is a success. Mainstream media is already saying "AI has beaten StarCraft". Another lie for the AI bubble I guess.
While the AI did have an advantage in terms of micro/camera view, it still was able to make decent decision making and independently come up with a bunch of interesting strategies. At the end of the day, that's really the goal of the research, not whether or not it uses the right number of APM or uses the camera properly. Those are just artificial restrictions put to make it look fair and entertaining.
The APM and camera restriction is not for entertainment, it's to develop intelligence rather than 1500+ APM. The interesting part of StarCraft II is decision making and the meta of the opponent, and we didn't see that today.
Remember their Dota2 bot that was beaten by a lot of players after a single day. I want to see if AlphaStar can really adapt to the real world, therefore the meta, the real challenge of StarCraft.
Apologies for the nitpicky correction, but that was Watson.
It can do context switches between micro/macro very quickly, which is where it's strength lie, and it did some very impressive micro in the later matches against MaNa, but it didn't win solely off the back of "computers are fast".
They did the same with AlphaGo back then. First get some "good" player in there to see if they are on the right track. Then get a better player in there. Finally, prepare for a real showdown. In this case it would be ShowTime, Neeb or even some Korean pro (e.g., Stats). Maybe its time to switch matchups and make it PvZ - get Serral and then let's see if the current SC2 champion is good enough to beat this AI.
At this point it seems like it’d be fairly complicated, but you could build a solid simulator for battles. Then direct humans and / or robots around the battle field as nessecary to win a battle.
Upload a virtual map utilizing some point clouds, estimate densities, start with estimating enemy combatants, add some scoring metrics negatively impacting civilian deaths and probably a lot of other stuff. Run real life scenarios in training environments, and bam.
The premise seems there.
- There needs to be a system for simulating real-world battles. (Since we need to iterate the AI, afterall.) In WW2 the WATU was a good simulation of German submarine vs. Allied Convoy battles, but I imagine that ground battles are messier. Link for background: https://www.youtube.com/watch?v=fVet82IUAqQ
- Autonomous directions. If a unit loses contact with the AI, what orders should they follow?
- Need to react quickly to changes in the effectiveness of weapons. If army-B has a Surface-to-air missile that has a 80% hit rate, rather than the estimated 40% hit rate, the AI needs to adapt.
- Different armies have different tolerances for causalities, both military and civilian.
I suspect you're getting downvoted because people don't like the idea of military-general AI. I don't really love it either, but it's going to happen. Hopefully we can encourage its programmers to include the Geneva convention rules for war.
AoE has monks which can take control of enemy units.
The fact that Starcraft has more micro potential should make AI development easier, not harder. Micro management is a relatively mechanic task that is time consuming for humans but which a computer should excel at.
There is a lot of tactical nuance and understanding that comes in micro, for a neural network/learning algorithm to understand and optimize is actually very impressive just as much as macro.
Knowing it's optimal to blink when your shield runs out before taking hull damage? To dance your weakened stalker to bait your opponent to overextend? To focus fire but not overkill? To wait for a projectile to be mid-air before blinking or picking in a transport? There's so much more to micro than precision and APM.
To your other points, SC maps have lots of ramps and cliffs and high-ground/low-ground impact (no bonuses, but vision constraints and battle surface area and choke points)
AI development is not easier because of micro potential, because it means the AI needs to be prepared to deal with a wider range of effectiveness for any given unit or set of units, they won't always scale linearly in impactfulness or between different player's playstyles
Also, if units are walking through a valley, units on the high ground can shoot the ones on the low ground but not vice versa.
I can't really judge AOE's complexity, but from what do you draw your conclusion? Just based on the number of rules?
They did that in these games. (Or at least, it didn't abuse absurdly high APM.)
It still had insane micro a) because it had a FoV which basically extended to the combined FoV of all if its units[1] rather than having to move a screen-size FoV, and b) when it micros it never really "misclicks" like a human would do under pressure.
(This was most obvious in how it could micro against MaNa's army on 3 fronts in game 4 and how it was able to basically perfectly drain the Immortal barriers in the game where MaNa actually should have been able to defend against a human mass stalker build ~100% of the time.)
One thing they weren't clear on was how it could tell how much health, etc. each enemy unit had -- did it have to spend an "action" (like a player would have to click) to do that? If so, then that's even more insane in terms of micro ability.
Anyway, disagree about BW. Perfect micro in BW is possibly even more devastating than in SC2, IMO, because there are all these weird glitches that you can do -- the best players can do them some of the time, but no players can do it perfectly all of the time.
[1] This was not the case for the final game which it lost.
>In its games against TLO and MaNa, AlphaStar had an average APM of around 280, significantly lower than the professional players, although its actions may be more precise. This lower APM is, in part, because AlphaStar starts its training using replays and thus mimics the way humans play the game.
https://deepmind.com/blog/alphastar-mastering-real-time-stra...
A few months (maybe 1 year ago) the best AIs tried vs some "retired" pro-gamers (like Stork) - it was not even close.
Would have loved to see DeepMind trying to show what's possible here.
Edit: And reviewing the game it lost, the decision making was questionable at best.
The real issue I have here is the game can be won by just outplaying the other at macro.
Edit:
They actually say exactly what I just said:
These results suggest that AlphaStar’s success against MaNa and TLO was in fact due to superior macro and micro-strategic decision-making, rather than superior click-rate, faster reaction times, or the raw interface.
It feels like bruteforce not really AI, that's my point.
If a computer knows everything about the game ( mvmt speed, projectile speed, ect ... ) how it is you call it smart where it's just computing power to know when to engage and when not.
> was in fact due to superior macro and micro-strategic decision-making
That's exactly the crux of the accomplishment! How are you writing this off as not impressive?! Like, what exactly do you want the AI to be able to do if not win by superior strategic decision-making??
> how can you call it smart when it's just computing power to know when to engage and when not.
But it ISN'T just computing power, any more than AlphaGo was. If it was, then they would have already done this years ago, wouldn't they? Anyone could just rent some servers off AWS and do it. it isn't even remotely that simple.
It's a major work of algorithmic innovation, and you don't seem to understand that.