220 points · by kahlonel · 8y ago · 132 comments
I wonder if this is an artifact of the training methodology: maybe if your team is very weak then your choices are also weaker, and reinforcement learning doesn't work as well?
When the win percentage for Go AIs gets to around 5%, every action it can take results in a losing game so it can't make the difference between normal play and super strange moves anymore.
When every choice is really bad, humans tend to still go with their normal strategy and wait for their chance to turn things around, but bots assume the opponent is playing perfectly, so they act like their winrate is going to stay near zero no matter what they do.
Several levels of weak opponents should be used, with varying probabilities, to tune the AI’s robustness against real-world, imperfect competitors.
Taking a tier 2 tower nets everyone on the team 120 gold (a further 150+ gold goes to the hero who gets the last hit), and losing Sven probably gave the opposing team less than was gained.
Perhaps the AI simply placed more value on increasing the total net worth of the team than it valued saving the life of one of its core heroes. Additionally, there was no guarantee that he would have been able to escape, as Sven was deep on the enemy's side of the map, and there's a very real possibility that he could have been ganked from someone in the jungle had he attempted to retreat.
- Potential chance the enemy team would deny the tower before another friendly hero could take it (netting Sven's team 0 gold for the time spent whacking away at it)
- Map vision (removing a T2 often cuts a significant section of map awareness away, since the tower is no longer providing vision or protection)
- XP gains (Sven won't gain any XP while dead, nor from killing the tower)
- Creep equilibrium (this is less important, or at least thought about less often, later on in the game and past T1 towers, but might've been a factor in drawing the creep clash point to a particular location)
- Dictating team net worth averages (to some extent, if they predicted a loss in opponents forcing a teamfight or predicted a likely pickoff, gold lost could be minimized now by taking a death early, lowering the average net worth on the team).
Obviously, there are others and these can also be mixed and matched in various ways (e.g. cutting off map vision so they can more safely farm additional jungle creeps).
Not saying any of these aspects _were_ a part of the decision to trade Sven for a tower, but.. just wanted to include a few more subsurface aspects that _could_ be used in such a decision.
I'm not sure if the AI can surrender (I only managed to watch the first two games as it was rather late at night) but it might be a path to explore; having the AI give up if the game cannot be won anymore.
I wonder if this situation can be fixed by adding more randomness. For example, force AI'1 to be in a losing position to AI'2, but then suddenly switch the power level of AI'2 to be much weaker (where mistakes happen) so that AI'1 learns how to fight its way out of tough situations.
"We’ve increased the reaction time of OpenAI Five from 80ms to 200ms. This reaction time is much closer to human level, though we haven’t seen evidence of changes in gameplay as OpenAI Five’s strength comes more from teamwork and coordination than reflexes."
Dota & HON had people mod their client to give an optional bigger FOV resulting in bans for cheating.
I'd assume the bots don't have to specify their screen position, plus no orientation response means a limitation on this wouldn't be meaningful anyway. What I'm saying is there's a big difference between 'I see lion on the mini-map down there' and 'lion showed for 1 frame on the other side of the map, his HP is 324, he has a TP scroll, no boots and a health pot.'
Something I noticed is the bots seem to like range and AoE far more than the normal human meta. The humans being limited in the distance they can see to one screen were frequently just failing to appreciate how dangerous 2-3 bots half a screen away were to them.
Quite a few teamfight wins came from the bots inevitably causing far more damage to the entire enemy team via heros like DP & Gyro. But this isn't really perfect teamfight execution. I'd have really liked to see a mirror match.
Well, maybe not technically, but it does make it much much easier to take in all of that info and process it. You can't expect a human player to keep a perfect record of all heroes' hp, mana, all damage being dealt, all abilities being used etc. during a chaotic fight, yet the API yields this information effortlessly.
> The micro- and reaction time edge is also being dulled to being more human-like.
And yet, the bots showed superhuman near instant reaction times. 200ms is a very low amount to process very complex/confusing audiovisual data and react precisely.
Humans, not so much, as in all top-level competitions, human abilities improve minimally at the top, because we have millions of humans competing against each other until the plateau of human performance is reached. Then you can push that a bit more with drugs (see doping in sports). And after that, you are pretty much done.
So it's only a matter of time and effort until AIs are fully unbeatable.
That's just not true in doto. The player base improves quite a bit over time. The top pro plays from only a few years ago are not impressive anymore.
given more practice bots would beat humans. that's the point, train bots, which are faster to train than humans to beat humans.
To "beat" Atari games, AIs trained using reinforcement learning had to put in significantly more than the 10k hours one would expect a human to put in in order to become expert. So, AIs won't beat humans in tasks where training data is costly; however these cases are not interesting to researchers and hence you won't hear from the respective results.
Cases it already happened: board games such as Chess and Go, Poker, diagnostics of certain diseases using medical images
Cases where AI is still clearly inferior: video understanding, natural language understanding, motor control esp of hands and legs, general medicine, driving
Hard-to-classified cases (AI is better for some instances, worse for others): image tagging and classification, speech recognition (speech-to-text), diagnostics of certain other diseases using medical images (which might need to take into account other information outside of images)
More examples esp counter examples are welcome.
This is a misnomer.
The only variant of Poker where AI beats humans is heads-up (two-player) variant, which is simplest form of poker and also rarely played. The AI was (marginally) beating humans there by playing a game-theory-optimal strategy. For poker games with 3+ players, the GTO strategy (Nash equilibrium) no longer exists, so AIs need to use more standard techniques (search-based, reinforcement learning etc.), which are, at the current state of the art, laughably weak at poker.
Not to mention, that in poker the actual hierarchy of players' skill is not 100% obvious. You could distinguish at least two areas of skills:
- play vs other experts
- play vs amateurs/weaker players. Here' the goal is not to come out ahead (which, in long term, is a given), but to _maximize_ the dollar amount taken from these players, which is a skill in itself.
The observation applies to a given variant of poker (or any other domain). So if an AI beats humans with 10000-hour experience in that variant, the best experts in that specific variant are not far-off targets.
Superficially similar problems might in fact require very different techniques to solve as your example illustrates.
Edit: I looked up how much time it takes to train: "OpenAI Five plays 180 years worth of games against itself every day, learning via self-play." [1]
I believe there's a connotation with problems, that if the best algorithm to solve it is exponential (brute-force search), then we truly don't understand the (underlying structure of the) problem.
There's some of this in dota, but there's a cap on the skill level for most playable characters that pros generally get "close enough" to, and beyond that the strategic depth comes from area control decisionmaking. Theres over 100 heroes and many of them have really weird abilities, like the possibility of creating a temporary wall (earthshaker) or the ability to teleport anywhere on the map every 20 seconds (furion). I could be wrong though, maybe the AI is winning games by playing heroes with long range and perfectly microing them to harass and prevent the other team from ever getting gold/xp.
As somebody who plays StarCraft casually (gold/low plat in ladder), this is not true. It's even less true for pro players. The level of strategy in StarCraft is impressive, it's really hard to guess in which direction games will go when two very good players are playing against each other.
Sure, perfect execution when it comes to one strategy (say, mech-heavy Terran) will give you the largest advantage against your opponent, but failing to scout appropriately and guess what your opponent is up to means your strategy is dead. You also have to decide when to attack, how much you're willing to sacrifice to damage somebody's economy, when you want to focus one economy vs building units, ...
The video you sent with zerglings is a gimmick made for fun (it's a hard-coded AI using the siege tank's aim logic to divert zerglings from that). That would not win you a game. (because most likely a pro Terran would have destroyed your base before that)
I do think a simulated reaction time or limited actions per second might be more fair, if they don’t have that already..
Like I could imagine OpenAI getting stuck in a subset of the draft pool for which it trained against, like maybe the top 10 of 18 champs. And then picking outside of that meta causes it to fall back on much less robust training/strategy.
Ideally the pause would do nothing to the game. (It could be that the game has some glitches but let's assume it's solid.) Then one could assume that the pause does nothing regarding the AI players. But that is not true because the AI itself is not paused (I assume) and it has to handle this unusual input. This might throw off some versions of it and it probably learns how to handle the pause and how to use it to gain a small advantage. So it's all part of the game. Similar to when a human team uses the pause for tactical purposes.
- Item-usage for things such as smoke and wards (which were recently added to their reportoire) are not well captured by the bots yet. And the buying of wards were confirmed as a scripted event. It seems hard for them to capture the long term sparse reward of these. Smoke might not be needed by a perfect agent, but wards should be. The developer interview noted that it's not very clear what the reward for an agent warding even should be.
- Some of the big advantages OpenAI gains are in team fights, where it's 200ms reaction time (upped from 80ms to resemble human reaction time more) still strikes me as something that tilts it into a solid mechanical advantage. On several occasions OpenAI's Lion managed to disable a human player performing (what I assume to be) a move which shouldn't be interruptable. (blink-->shift+ctrl ultimate ability on earthshaker) This could have tilted teamfights in the human team's favor a few times if it wasn't stopped by the "machine-like" reflexes of OpenAI.
- Positioning before team fights by OpenAI are scary. There are very few openings, and every individual agent is protected by its team.
- Likewise is the map movement scary most of the time. Being able to recall just enough agents back to defend while simultaneously taking out strategic objectives of the human team. Also Blitz(caster) has noted earlier OpenAI's ability to focus on the winnable lanes and sacrifice the others, prioritizing well. (and exploiting map mechanics unknown to most pros until a few years ago)
- When the AI takes down a tier 1 tower, they seem to be very quick to take down the remaining tier 1 towers, instantly capitalizing on their map control advantage, and expanding it.
Some interesting things / bugs:
- Sniper bot throwing multiple spells on the same location right away (even though the damage doesn't stack) effectively simply wasting his mana and cooldowns, for no gain.
- Sniper using his ultimate ability to pressure the lower hp characters of the human team continously. Usually it's more often used more as a finisher, and might be an artifact that appears from the AI having access to an unkillable courier that ferries a lot of healing/mana regenerating items.
Some additional info learned from the interview of some of the devs:
- Incentivizing killing Roshan (a boss character in the middle of the map, which yields a one-time ressurection item for one player, after being killed) is done by varying roshan's HP down to a really low amount, making sure the AI experiences the upside to this. Otherwise it would require all 5 agents gathering there, expending their magical abilities and investing a lot before actually seeing a reward. (which is unlikely to happen)
- Game length in self-play sessions are above 60 minutes around 1% of the time.
Fogged (the human player) commented on this and said he messed up. If he had shift-queued the spell, or just used it immediately after blink, it would've landed [0].
Cancelling an initiation with instant spells (Lion hex, Rubick lift, etc) does happen frequently in high level human play as well, where you continuously pre-cast the spell, cancel, walk back slightly, repeat, on the out-of-range initiating enemy, to have the spell interrupt the initiation as soon as the initiating enemy blinks in to range. I do agree that the bots have a solid mechanical advantage, just pointing out that this specific scenario does frequently happen in human play as well (albeit not on every single initiation).
[0] https://www.reddit.com/r/DotA2/comments/94vdpm/openai_hex_wa...
This is the key - if we had machine learning techniques that allowed it to reason at the level of "what happens if I kill this?", we could explore more of the interesting state space more quickly. Perhaps there are advances in intrinsic reward systems that allow this.
Basically can I run the same sim on my laptop and watch them play? I can see some code on Github but dont know if the actually neural net data is available too.
If anyone knows the answer that will be great thanks
Just wanted to double check - can someone else verify this before I spend weeks seeing if I can get it to work?
A 1024 unit LSTM only takes up a few megabytes of memory, and the multiplications at runtime are O(N^2) and not O(N^2 M), because you don't have a minibatch of updates to run.
Even when reducing tagging accuracy to below human level, they still performed better.