Lonesome Ducky wrote:These days there are a lot of people who want to apply neural networks to almost every aspect of ai. But where it really shines is pattern recognition, e.g. face and letter detection, as you can easily supply it the tens of thousands of samples it needs to learn and the objective can't easily be achieved by other types of ai. But here, it will take ages for the neural network to learn anything while a much simpler, less computation intensive, ai can easily do the job better. I'd recommend not using neural networks for something like this.
Maybe you could actually combine the neural network with the base ai. The base ai could make the big decisions, while you could let the neural network learn to make small changes in those plans. This way, your ai will be functional from the start, but it can adapt at least somewhat.
I agree with this; if you're actually set on creating an AI which incorporates an ANN you should do a hybrid where the ANN makes minor decisions to kind of let the gameplay vary based on the player's actions
An ANN in itself is very cool from a developer's point of view, but my opinion (and as far as I know, the opinion of a lot of other game devs) is that you should try to avoid them for most purposes when it comes to game development (although in some genres they could be of some use)
HerrAlmanack wrote:if you really are dead set on using neural networks, you probably have already heard of this, but I've seen some examples of OpenCL, and you can use that you harness your GFX card computation to do massive neural network computations. of course the idea is novel, and would be limited by things like hardware requirements, if you want to reach the masses with your game, that is.
The concept of GPGPU to handle these problems is a very efficient and interesting idea, but as you said it's rather new and not supported in the majority of GPU's out there today
I hope to see an evolution of this in game development as soon as newer hardware (eg. DX11-compliant hardware) gets more mainstream; I'm doubting whether to integrate compute shader features in my engine to share the workload more between the CPU and GPU myself, I think it's a very fascinating concept but it would require a lot of work to be able to make it compatible with 'older' hardware
EDIT: Post 900! w00t!