230 points · by sus_007 · 9y ago · 121 comments
"Hey everyone, I just wanted to make a quick statement about this article that was posted in WIRED. If Tom had told me that his intention for this article was to focus on the loss of ANY bot, Facebook or not, I would not have given him the information that I did to write this article. I am normally a huge fan of Tom's AI articles, but I think that this is a shameful clickbait title that focuses on the wrong side of the story.
It turns out that there may actually be a bug with how Facebook's serialization library interacted with our tournament environment, causing their strategy selection to not work properly, causing a huge drop in performance for their bot. We will be investigating this over the next few days to see if it was my mistake in setting things up that caused this, or if maybe something as simple as a windows firewall setting to be at fault. Unfortunately with competitions like this, competitors do not have access to our tournament environment / machines to fully 100% test all of their code on, and sometimes issues like this can arise. I appreciate Facebook's effort in this competition and applaud them for actually having the balls to submit an open source bot, knowing the scrutiny they would face if it wasn't already superhuman. It's a real shame that this is what media chooses to focus on. Tom also asked me what time the results would officially be made public so that the article could be released at the same time, but instead the article ended up being published 7am the next morning so everyone could wake up to the headline :( Also the word "quietly" implies some sort of sneaking around on the part of Facebook, when their registration has been publicly visible for months.
Note: There is nothing factually incorrect in this article, I just believe its focus is in poor taste, and hurts the SCAI community as a whole, and unfairly singles out a single competitor."
I'm surprised this one hasn't been called out yet but Starcraft: Brood War and Starcraft II are completely different games, not just different versions.
And apart from what was already mentioned regarding information on the scene, this link is pretty useful: http://sscaitournament.com/index.php?action=tutorial
An older post on this topic: http://www.teamliquid.net/blogs/485544-intro-to-scbw-ai-deve...
Facebook: facebook.com/groups/bwapi
As for SSCAIT in particular: http://wiki.teamliquid.net/starcraft/SSCAIT
From a high level, it seems like the elements for an AI to learn are mostly the same: Resource gathering and optimization, map/location battle optimizations, building/technology decisions...
It's not like Starcraft: verison X is different than Starcraft: version Y is different the way Starcraft and Hearthstone are different games.
One thing to add is the openBW project (http://www.openbw.com). It is truly amazing: The guys there managed to reverse engineer the full SCBW engine (I thought that's nearly impossible, as the whole flow depends a lot on implementation details, some of the details are even considered bugs, which turned out to be just the right implementation to balance the game perfectly...).
The number of units in SC2 make it much harder to micro for humans, hence the game provides help. But the human player experience shouldn't define the AI player behavior; especially one that is to learn the game on it's own.
Breaking down the goals, components, and constraints of the games, I'd actually say SC1 and SC2 are pretty similar games, especially to an AI on both micro and macro levels.
Which is not to say that there weren't impressive parts. I don't think a human could stutter step that many dragoons that well. But there's clearly a lot left to do in terms of tactics.
That particular scene at the sunken colonies was equally frustrating to watch. I fixed the most likely cause of that behavior shortly after the tournament deadline.
But for sure, you're correct. There's a lot left to do on all fronts. There's noticeable progress every year -- none of last year's entries finished much over 50% -- and the growing research community should help accelerate that even more.
The biggest problems I'm personally facing at the moment are midgame macro with imperfect information -- how many Gateways do I need to be producing from before I can safely take a third base or transition to endgame tech? -- and engaging Terran mech armies. It's very hard to know when or how to engage a Terran mech army, and you usually only get one chance to get it right. Dithering results in bleeding units you can't afford to lose.
The biggest problem in general is that rules-based approaches are asymptoticly approaching the limit of their capabilities. Either of the problems I've described are big undertakings but only scratch the surface of what PurpleWave needs to advance. Machine learning is the way forward. But so far real time strategy games have proved remarkably impenetrable.
Consider that professional players often place their initial buildings to provide Scarab-proof escape routes for their workers against Reaver drops that arrive ten minutes later. Such placements are only effective if you know to react to Reaver drops by funneling your workers through them to glitch the Scarabs. How are you going to let your bot learn that on its own? There's a lot of work to do.
I had no hope of having a competitive score on the leaderboard, but I loved playing around with that little world.
Edit: Found more info on dinosaur island: https://github.com/robertdimarco/puzzles/tree/master/faceboo...
Lessons learned: don't run CTFs "too close" to your real infrastructure.
[1] http://www.telegraph.co.uk/technology/facebook/8708392/Stude...
Edit: HN mods updated title to be less click-baity (thanks). Earlier it said "FACEBOOK QUIETLY ENTERS STARCRAFT WAR FOR AI BOTS, AND LOSES". The "and loses" at the end was misleading.
Both absolute and relative timing have to be handled. And relative since specific salient action...
Plus the real reward is very sparse. Say, crippling mineral production early may or may not snowball. Likewise being a unit or two up...
As to the sparsity of reward, I'm not sure this is such a big problem. Once the AI learns that e.g. 'resources are good', it can then learn how to optimize resource production. You could even give the process a head start by learning a function of time+various resources+assorted features to win rate from human games to use as the reward function.
Do you really need a 'research paper on machine learning' to understand that?
And Google still hasn't figured out how to best their search advertising network business, so I assume that people click on ads, even if I'm not in that demographic.
You should really watch a child play a game that has interstitial ads. It's quite obvious that they often click on ads because they want to learn more (maybe not fully convert, but intentionally click).
I am curious if that millions in revenue is for Microsoft (not surprising) or advertisers (more interesting) - I would love to read through their thought process either way.
http://wiki.teamliquid.net/starcraft/Micro_Training_Maps
They are supposed to be mini maps where your bot can train separate aspects of the game on a much smaller scale.
Extremely useful if you're an aspiring bot author.
The public exploited tricks to beat it. They did not beat it 'handily'.
Afterwards, the pros who do beat it only manage to do so ~2-3 times for every 100 games played. I believe they have been playing the same version that was shown at The International and not an iterated version.
Correct, we've been playing a number of pros using the same bot played at TI. We do have a stronger version which is just two days more of training (gets a 70% win rate vs the one at TI), but haven't seen a need to test it out. We'll likely do a blog post in upcoming weeks with more stats and commentary from the pros; would be curious what people would like to know!
Incidentally, the various exploits that people used are all similar to how we actually develop the bot. We try to find areas of the strategy space it hasn't explored, and then make a small tweak to encourage it to explore that area. Lots of progress comes from removing hardcoded restrictions, which are nice to get started. So the fact there exist exploits wasn't surprising to us — what would be surprising would be exploits we couldn't fix.
1v1 has always been a proof-of-concept for us. The fun part is really 5v5, which is what we're working on now (and hiring for! ping me if you're interested: gdb@openai.com).
Anyone have links to the matches?
AIs have a long way to go to beat good human starcraft players.
Just from a pure economy standpoint, any computer process has quite an advantage from just optimizing action queues and keeping idle workers working.
People have already created TAS programs that can take out infinite numbers of enemies with minimal stock (ex: medvac/tank vs. infinite ultralisks). Or have zerglings that perfect 1 siege blast per 1 zergling splitting.
As far as micro, AI already has proven capability to absolutely dominate human micro, like not even close.
As far as build paths and macro decisions, AI isn't there yet but all it takes is one player and one programmer to come up with an in-the-middle and well-rounded build path that doesn't lose to any cheese; Sacrifice some economy to just have an army at all times_ and the AI will micro dominate the rest in extremely, humanly impossible army trades (I mean winning a 40 stock vs. 200 stock army battle).
Honestly just imagine having ONE mutalisk perfectly micro all-game, never receive death damage that just outputs as much damage as humanly possible at every angle. And you could have all 20-140 of your army stock doing this at all points in the game.
No contest. Just hasn't had time devoted to it yet.
And EVEN THOUGH they have access to ridiculous APM and the ability to do BS cheese strategies like that, they STILL suck.
Seriously, go watch some of these games. The AIs are freaking terrible, despite the fact that they basically cheat at the game.
Also, the AIs "perfect" micro, frankly only applies at the individual unit level. IE, they can kite like no tomorrow with a singular marine, but as soon as you have anything more complicated than that, such as "fight with 10 marines", well you learn that the AIs can't so much as form a concave.
Yeah, those 10 marines are all INDIVIDUALLY stutter stepping, but it turns out that perfect stutter stepping doesn't matter much when your army is cut in half, due it being split up.
Controlling more than a couple units "perfectly" (with regards to each others actions) seems to be out of reach of any AI out there.
It turns out that being really good at narrow micromanagement situations doesn't add up to winning complete games. StarCraft is messy and difficult.
harder more complete way: read this "Deep Reinforcement Learning: An Overview", https://arxiv.org/abs/1701.07274 progressively implementing subparts in Python and openai gym https://gym.openai.com/read-only.html
Few links: