News for hackers. Stuff that matters.
Re:More on Dota 2 by lvoudour on Thursday August 17, 2017 @06:47AM (#15035473)
I know it has been mentioned a lot the past few days, but since the articles keep flowing about it I'll mention it again:

It's a great feat and kudos to the openai team, but it is VERY unfair for the human players who rely on a sensory interface vs a direct API connection. That's unlike chess or go where the interface isn't important. The really impressive feat will be an AI that uses the same sensory information to make decisions (and I really hope that's where the openai will head next)

Re:More on Dota 2 by BaronSamedi on Thursday August 17, 2017 @08:00AM (#15035892)
I completely disagree. An API is software's natural input mechanism just like the senses are a human's natural input mechanism. Having the AI use human senses unfairly handicaps it. More importantly, however, is that this is not the key problem.

The key problem is teaching the AI strategy and tactics. What heroes to pick? Where to lane them? When to rotate? What items to buy? What spells to level up? What enemies to target with which spells and in which order? These are the hard problems and they are very hard indeed. A 5v5 AI will have to become expert at risk calculation, Pareto optimization, basic military principles, and many more things. Compared to these problems, the choice of input mechanism is trivial.

Re:More on Dota 2 by _dps on Thursday August 17, 2017 @08:38AM (#15036161)
I'm almost entirely ignorant of DOTA 2, but the coverage suggests to me that it is winning mainly through what I would call "micro" excellence (firing at just the right range, careful maneuvering, and so on). It's clear that this kind of precision control is extremely advantaged by having direct access to the state of the game, rather than having to estimate it in real-time from vision data.

So, to me, based purely on the news coverage, it's not clear that it has learned anything like "superhuman" levels of strategy. We already know that computers have superhuman reaction times and precision calculation abilities, so it seems to me the interesting question is whether an advantage would remain after factoring those out.

Re:More on Dota 2 by skgoa on Thursday August 17, 2017 @09:52AM (#15036741)
As someone who plays dota, this bot really isn't that impressive. The hero they chose is seen as a very difficult one to master for humans, precisely because judging distances, current life, current mana, damage etc. is so difficult to do on the fly and even if you can keep track of all of that in your head, you need extremely precise inputs to outplay your opponent. Yet by going through the API, they handed all of that to their bot on a silver platter. They pretty much let the bot sidestep the core challenge of this hero, while it was kept in place for the human players.

On top of that they also reduced the complexity of the game quite significantly by limiting items etc., which further reduced what humans could do against the bot. Even then, the bot utterly failed once humans were allowed to use a tiny bit of creativity.

And that's not even taking into account that this was not even close to the complexity of a real dota match. The big challenge in dota is in the decision making with incomplete information and in coordinating 5 people with only voice and the ability to ping the mini map, in a giant "search space" created by hundreds of different heroes, items and game mechanic interactions.

Re:More on Dota 2 by Bartweiss on Thursday August 17, 2017 @12:12PM (#15038046)
Interesting, thanks.

Several years ago, League of Legends released an upgraded suite of bot characters. One of them, Cassiopeia, had to be turned down enormously from her best play to make her viable. She could beat many of the game's devs (mid-tier hobbyists) and was a non-zero threat to professional players. This was, to my knowledge, achieved with little or no machine learning at all.

The defining traits were similar to what we see here. She had area of effect spells with casting delays, meaning that the ability to precisely evaluate how other players could move was crucial. And she had a spell which refreshed based on the effect of those AOEs, meaning that millisecond precision was a major source of her ability to deal damage. And her ultimate was an exceedingly touchy and unpredictable disable based on the angle opponents were facing (in a game with instantaneous turning). Even top-tier pro players regularly lost its effect because of latency or judgement issues.

The results, by all accounts, were terrifying. She was barely competent strategically, but as long as she could afford items (and admittedly, the LoL bots don't need to farm) she could win all of her tactical fights simply by inhuman precision.

The OpenAI project is more admirable than that. It uses real farm, makes item purchasing decisions, and apparently has a rate-limited API. (That last seems especially important.) But I still wonder how much of the bot capabilities are derived simply from inhuman accuracy.

Re:More on Dota 2 by mabramo on Thursday August 17, 2017 @11:01AM (#15037372)
In terms of Dota, I don't think it's that impressive, but it is still cool. I'll be impressed when I see a 5v5 with bots that adapt to the opponents' strategy. I do think that it currently could be an excellent tool for mid-laners and cores to practice. OpenAI is also blowing the door open to Dota AI development and we will soon see bot tournaments. Engineers will develop AI and put them against one another in standard 5v5 matches with a pick/ban phase and all.

In terms of AI, I don't /think/ there's anything groundbreaking here. Correct me if I'm wrong, as I don't follow AI research, but this technology is nothing we haven't already seen. I believe the development of AI for Dota is a publicity move to get people excited about what AI could be for humanity. This might be the way to introduce AI to non-technologists and get people excited about it.

Re:More on Dota 2 by quiteawhile on Thursday August 17, 2017 @12:07PM (#15038003)
> This might be the way to introduce AI to non-technologists and get people excited about it.

Yeah, I'm almost positive that this exhibition is intended mostly to raise awareness and create this hype. Go and Chess, for most people, are simple games compared to Dota2, so if Elon is worried about AI and want people to be more aware of the threat he perceives it certainly helps to make this big show and get all those impressions with a game that is considered by the majority of people (especially younger) to be more complex/harder than what has been done before.

Re:More on Dota 2 by ziikutv on Thursday August 17, 2017 @12:21PM (#15038125)
Could not have agreed more with my friend here.

The bot would be more impressive if it used vision or buffer to analyze everything. The bot has all of the information which a human does not have. If the human had the same information I think it would be a better competition.

To me it seems that this bot is good only by the fact that is has information and input advantage.

I also want to clarify that this is not an unflavourful feat and that I think it is cool. But I noticed that a lot of members in the Dota community did not know of the bot API which is likely the case here.

Re:More on Dota 2 by naikrovek on Thursday August 17, 2017 @10:53PM (#15043143)
The bot cannot observe the game more quickly than a human, and can only take action as fast as a human.

Read the whole thing.

Re:More on Dota 2 by hobofan on Thursday August 17, 2017 @08:51AM (#15036251)
I agree. I don't think there was anything too novel in there, but it is a necessary foundation they need before advancing on to the strategy part, or they would just be out-microed there.

I think there a little bit of strategy already in there since it learned about positioning, and not exposing itself too much (which is of course easier without fog of war). The only thing I was excited to see was the creep blocking, but the chance that this would turn out to be hand-trained was pretty high.

Re:More on Dota 2 by doikor on Thursday August 17, 2017 @08:45AM (#15036213)
> it is winning mainly through what I would call "micro" excellence

This is partly it. From the interviews with the pros it mostly close to perfect micro, calculating results very well (it knows when it will win the 3 raze spam + 2 autoattacks with 2hp left and thus wins the match etc. for a human that would be hard to calculate) and due to those two it punishes every small mistake the human player makes very hard.

From the actual thinking parts it had to learn creep control (pushing too far just gives free exp/last hits to the other player etc.) and itemization (what counters what, when to get ward etc.)

Re:More on Dota 2 by grimskin on Thursday August 17, 2017 @10:07AM (#15036884)
> it's not clear that it has learned anything like "superhuman" levels of strategy

But still, it's learned "human" levels of strategy, and that actually amazing. And let's not forget, that this is only beginning, more stuff to come. IIRC - some third-party StarCraft AI actually invented a trick that was later used by human players on pro-level tournaments.

Re:More on Dota 2 by GenKali on Thursday August 17, 2017 @10:50AM (#15037269)
Indeed - I believe it was a highly successful build order that strayed from the 'norm' at the time. I was quite into SC2 at the time and this was something of a big deal.
Re:More on Dota 2 by graphitezepp on Thursday August 17, 2017 @01:22PM (#15038787)
It was the 7 roach rush. Used extractor trick which was generally considered a bad idea by humans due to being economically bad as well as a double overlord which is also against general build principles, but it turned out that it smoothed into an insanely efficient early attack.
Re:More on Dota 2 by jasonwatkinspdx on Thursday August 17, 2017 @12:56PM (#15038498)
> winning mainly through what I would call "micro" excellence

This certainly is an advantage for the bot. But it's also clear the bot understands some sophisticated parts of dota. It understands how to control the creep equilibrium via the aggro mechanics. Skill at this is one of the things that separates pros from casual dota players. In the video footage you can see sumail and rtz are surprised by this aspect of the bot. It also understands how to cancel salves as well as bait with them. That's all pretty impressive for a bot trained up from self play.

Re:More on Dota 2 by lvoudour on Thursday August 17, 2017 @08:26AM (#15036068)
>Compared to these problems, the choice of input mechanism is trivial

I don't know why you think the visual/aural problem is trivial. The biggest achievement of AIs so far in this field is classification of static images

Re:More on Dota 2 by bingojess on Thursday August 17, 2017 @08:52AM (#15036266)
Trivial may not be the best word but what they were trying to get the AI to do was learn dota strategy and tactics. It's like teaching alphaGo to play go with a camera.
Re:More on Dota 2 by mirceal on Thursday August 17, 2017 @09:30AM (#15036561)
I disagree. The representation of state is hard for machines. Go/Chess are very simple state wise when compared to Dota. By giving it API access you have eliminated guesswork/approximations from the overall picture
Re:More on Dota 2 by BaronSamedi on Thursday August 17, 2017 @10:41AM (#15037171)
I apologize if my statement was misleading. I do not think the visual problem itself is trivial. I think the choice of input mechanism is tangential to the hard problems actually faced by the AI designers: strategy and tactics.
Re:More on Dota 2 by velobro on Thursday August 17, 2017 @10:45AM (#15037208)
The Dota 2 bot is no different than Aimbots in FPS games. The bot was able to access the api to perfectly target the exact location and instantly cast a spell, much like an Aimbot can instantly get headshots.
Re:More on Dota 2 by graphitezepp on Thursday August 17, 2017 @01:26PM (#15038841)
It's a good comparison honestly. They stripped away all the complexity of dota to this one single scenario were the things bot's are naturally going to be good at (last hitting, precise distance evaluation) matter over strategy.
Re:More on Dota 2 by marricks on Thursday August 17, 2017 @10:12AM (#15036927)
I use to think that before I read about embodied cognition [1]. I think a lot of the harder and real challenges come from acting as an agent in an environment with often fuzy information.

Not only do challenges come in the form of input mechanism but potentially many rewards as well in terms of how humans process and off-load information.

While I don't think DotA would be the most important example, I think having a more realistic interface is a good step.

[1] https://en.m.wikipedia.org/wiki/Embodied_cognition artificial intelligence section probably most relevant

Re:More on Dota 2 by gerardnll on Thursday August 17, 2017 @10:13AM (#15036933)
Real life doesn't have APIs that's why AI applied to robots and cars and whatever have to be able to interpret inputs like humans.
Re:More on Dota 2 by rasz on Thursday August 17, 2017 @03:01PM (#15039786)
>What items to buy?

hardcoded by a pro dota 2 player hired as a consultant

Re:More on Dota 2 by ManlyBread on Friday August 18, 2017 @06:19AM (#15044942)
The items are often bought depending on multitude of factors, there's no one "cookie cutter" build. On top of that the AI should be able to find more optimized buying strategies on it's own.
Re:More on Dota 2 by Houshalter on Thursday August 17, 2017 @08:18AM (#15036011)
The goal of this project is to make progress in reinforcement learning. Having an AI plan and learn strategies to play a game. This is a separate problem from machine vision, which is being worked on by tons of other people. Adding a machine vision requirement wouldn't help them with their goal and would take 100x more computing resources.

OpenAI could probably afford to do it, but it no smaller researchers or hobbyists would be able to compete.

Re:More on Dota 2 by motoboi on Thursday August 17, 2017 @12:12PM (#15038051)
You forgot to mention the people working on physical robots, waiting for software to get better.
Re:More on Dota 2 by fridek on Thursday August 17, 2017 @07:01AM (#15035545)
Exactly my thoughts after Elon Musk's tweet: https://twitter.com/elonmusk/status/896163163581825025

Unless AI is constrained to pro player max pointer move delta, click rate, and vision latency, I don't really see much difference between AI and a team of kids running with aimbot shouting "cyka cyka".

Re:More on Dota 2 by alkonaut on Thursday August 17, 2017 @07:22AM (#15035675)
With the correct rates and latencies it should be possible to be fair though?

I.e., if an event occurs in the game, it's placed in a queue and the AI "sees" events pop out the other end of that queue, at a minimum latency and at a maximum rate (i.e. if too many things happen at once the AI is overloaded).

After that the AI makes decisions and puts the command in a command queue. The command queue works the same way: commands pop out the other side (to the game) after a minimum latency and at a maximum rate, to simulate the minimum roundtrip from input to action, and the maximum action rate.

Re:More on Dota 2 by Bartweiss on Thursday August 17, 2017 @12:14PM (#15038072)
Latency ought to be easily enforced, yeah. The other vagaries of human play, like pixel-precision on mouseclicks and mathematical precision calculating damage and health, are harder to model. But I don't think they'll be impossible, and I think they soon won't be a disaster for the AI.
Re:More on Dota 2 by hobofan on Thursday August 17, 2017 @07:10AM (#15035612)
> Actions accessible by the bot API, chosen at a frequency comparable to humans

I would guess that this already includes all the delays you are asking for.

Re:More on Dota 2 by gpm on Thursday August 17, 2017 @07:47AM (#15035826)
That's limiting the input bandwidth to the same as what's available to a human, but not limiting the input latency.

Just like with network traffic, they are two different numbers.

Re:More on Dota 2 by hobofan on Thursday August 17, 2017 @08:05AM (#15035921)
Very much depends on how you employ the frequency limits. If you say "You can only do 300 actions per minute", the bot could make all 300 actions in the first second if it sees that as optimal, breaking the latency limits. If you however say "You can only do 1 action after waiting 200ms since the last action", the bot will have to choose one optimal action every 200ms, effectively limiting the input latency.
Re:More on Dota 2 by gpm on Thursday August 17, 2017 @08:23AM (#15036049)
No. Because the bot can choose the next action at the end of the 200ms, with all the information available then, not at the start.

Bandwidth limits are typically of the "You can only do 1 action (send 1 packet) 200ms since you sent the last packet", not "You can only send 300 packets per minute".

Re:More on Dota 2 by hobofan on Thursday August 17, 2017 @08:39AM (#15036170)
How about "You have to choose an action at the end of 200ms, with the information at the start"?

At the end of the day we can be nitpicky and speculate all day long, but we won't know for sure what they achieved/didn't achieve unless they publish something more concrete than a blog post that is intentionally written in accessible language, which has the side effect eroding some of the more specific measures that were taken to ensure a level playing field.

Re:More on Dota 2 by gpm on Thursday August 17, 2017 @09:37AM (#15036632)
If they did than then they are simulating latency, but I see nothing to suggest they did that.
Re:More on Dota 2 by thewhitetulip on Thursday August 17, 2017 @07:17AM (#15035655)
No, there is a difference. The human player has to see, react and then shot. The computer has a direct API.

gun.shoot()

as opposed to

image of a gun falls on the retina process the info sent by the eye synapses fired etc

:)

Re:More on Dota 2 by hobofan on Thursday August 17, 2017 @07:27AM (#15035706)
I considered that, and I don't think there is. The frequency of the actions is already a result of the "actual time it takes to executr the action" + "all human delays". If you limit the bot to that frequency, everything is accounted for.

----

EDIT: On second thought, there might be a difference, in that this leaves the bot with more time to think, unless you limit the time of that. Not sure if that would dramatically influence the performance though.

Re:More on Dota 2 by thewhitetulip on Thursday August 17, 2017 @11:07PM (#15043228)
The thing is, every human has a different response time, but the bot doesn't have one. The day a bot will play the game like humans, a physical robot holding a console remote etc then maybe it'd be cancelling out the API advantage that the bot has.

but this doesn't undermine the achievement that they have made. It is phenomenal that an AI can play a complex game like DOTA.

Re:More on Dota 2 by hobofan on Thursday August 17, 2017 @07:06AM (#15035590)
And the response as I've seen it on other threads: It probably doesn't make a big difference, and will outperform humans there too, and it would be a huge waste of computing power to train it that way.

I think OpenAI should show that the AI can derive (a close aproximation of) the API data from videos, but I don't think that building a closed training loop would add much value here.

Re:More on Dota 2 by lvoudour on Thursday August 17, 2017 @07:24AM (#15035689)
>And the response as I've seen it on other threads: It probably doesn't make a big difference, and will outperform humans there too, and it would be a huge waste of computing power to train it that way.

Well they may be right about the "outperform" part but they are dead wrong about the waste of time/effort/energy part. I mean if (at least human-like) real-time video/audio recognition and decision making is not an impressive AI feat, I don't know what is. I'm no expert in the field but claiming that plugging into an API and crunching numbers is more important than sensory-based decision making, just doesn't sound right

Re:More on Dota 2 by hobofan on Thursday August 17, 2017 @07:50AM (#15035844)
> sensory-based decision making

You can pretty cleanly split that up into two different problems: "sensory-based data extraction" and "data-based decision making"

Though I haven't worked in the field of self-driving cars, I am fairly confident that they employ a similar split: One part that takes in all the (pre-processed) data from LIDAR, cameras, etc. and maps that to a simplified model of the surroundings, and another part that makes the driving decisions based on the simplified model.

Sensory->data mapping doesn't raise a lot of eyebrows anymore if you can generate as much sensory information as you want to explore all possible states, as it is possible with Dota.

Re:More on Dota 2 by lvoudour on Thursday August 17, 2017 @08:06AM (#15035932)
To me though as an outside observer it seems that the dota problem is harder than the car problem. There's too much action going on, too many visual/aural cues to keep track of, team cooperation/coordination, fog of war, etc.

Car AI is important because there are real life-or-death consequences, but the problem (again to my limited experience) seems more tractable: path choices are limited, action is rare, there's no team element and there's no competition. Even for human drivers driving a car in a city or motorway is a tedious, mostly repetitive task. Now, competitive driving raises the stakes and we haven't seen any self-driving car tackling that problem yet (which will definitely raise a lot of eyebrows)

Re:More on Dota 2 by hobofan on Thursday August 17, 2017 @08:31AM (#15036101)
> there's no team element and there's no competition

I don't think that this is true, considering all the other humans on/near the road, that can influence the system by making actions of their own.

> There's too much action going on, too many visual/aural cues to keep track of, team cooperation/coordination, fog of war, etc.

I dont see how this is different from a car at all.

- too many visual/aural cues to keep track of -> everything you can see, car horns, etc.

- team cooperation/coordination -> as I said everyone else on/near the road

- fog of war -> blind spots & people hidden behind objects

From some experience in the AI world, I can say that I've seen systems that are good enough that they should be able to solve most of those subproblems in the limited system that is Dota. Yes, fog of war might also be interesting given that you have an agressive opponent. The real novel things lie at the strategy level, like picking a hero, buying items, etc., because, like AlphaGo, they demonstrate reasoning in systems with a large action space and delayed payoff.

Re:More on Dota 2 by radarsat1 on Thursday August 17, 2017 @07:41AM (#15035793)
It's their long-term goal: https://blog.openai.com/universe/
Re:More on Dota 2 by haeffin on Thursday August 17, 2017 @12:54PM (#15038483)
You can't get the things you get from the API from videos alone. If a player wants to see the amount of mana an enemy has, he has to click on the enemy, you don't see it usually. Same for items. There is an active component in information gathering in Dota (and those actions take time/clicks away from other things you could do at the same time).
Re:More on Dota 2 by hacker_9 on Thursday August 17, 2017 @07:26AM (#15035701)
Depends what the aim is, to create general AI? Or just a good DOTA bot? If the goal is the former, then vision will play a huge part.
Re:More on Dota 2 by Fnoord on Thursday August 17, 2017 @09:04AM (#15036350)
The comparison goes indeed moot, for a myriad of reasons.

Interface is one of the many.

If we look at a game such as WoW we can observe the fights in group content (dungeons and raids) have become more difficult over time. The WoW development team cites a few reasons for that: 1) players have become better so the difficulty has gone up, and 2) boss mods (software) have become better. This software aids the user in observing/notifying (sensing actions) , and executing (processing information and deciding upon it) mechanics on a fight and are available thanks to the LUA engine and API. Ironically, even without such software, that game has improved majorly in communicating mechanics to the player over the years (WoW is from 2004).

Hence aspects like the UI and API are going to affect the quality of gameplay of humans as well. For AI it would only be API.

Furthermore, there is network lag, interface lag, input lag, and cognitive lag. Only the latter seems fair game to me.

Re:More on Dota 2 by dumbmatter on Thursday August 17, 2017 @10:08AM (#15036894)
Yeah, it's like Watson on Jeopardy. It could buzz in faster than a human, so it got to answer every question that it thought it knew, which was most of them. Problem is, the human competitors surely also knew most of them (maybe even more than Watson) but they couldn't buzz in fast enough.
Re:More on Dota 2 by madez on Thursday August 17, 2017 @08:02AM (#15035904)
> The really impressive feat will be an AI that uses the same sensory information to make decisions (and I really hope that's where the openai will head next)

Impressive? Yes. Interesting? Not as much. We consider AI important not because it can play Dota. We consider stronger AI important for making our lives easier by solving problems. For AI to solve our problems we will not unnecessarily restrict it to our sensory information.

Re:More on Dota 2 by hossbeast on Thursday August 17, 2017 @11:25AM (#15037569)
Until they ditch the API, I don't want to read about them claiming to have "beaten" a human opponent. It's nonsense. I'm sure your AI is impressive, but you're not even playing the same game.
Re:More on Dota 2 by autokad on Thursday August 17, 2017 @02:10PM (#15039267)
one thing AI bots can be good for is testing to see if games are balanced. For instance, I am a zerg player and I bought star craft 2, but it was immediately clear to me that the game was heavily unbalanced. I quit playing.

whether you agree protos was over-powered or not, I think we can all agree that game developers can benefit from AI with human limitations. it can help them design better games