Deep Q-Learning (Space Invaders)

#artificialintelligence 

Ever since I learned about neural networks playing Atari games I wanted to reimplemnted it and learn how it works. Below you can see an AI playing Space Invaders. I trained it during my batch at Recurse Center on little over 50M frames. It is more awesome if you realize that the AI was trained in a similar way a human would learn: the only inputs are screen and number of gained (or lost) points after each action taken by the AI. DQN does much better then a best-action strategy (do nothing but shoot) and random strategy.