Deep Learning
Deep Reinforcement Learning: Pong from Pixels
This is a long overdue blog post on Reinforcement Learning (RL). You may have noticed that computers can now automatically learn to play ATARI games (from raw game pixels!), they are beating world champions at Go, simulated quadrupeds are learning to run and leap, and robots are learning how to perform complex manipulation tasks that defy explicit programming. It turns out that all of these advances fall under the umbrella of RL research. I also became interested in RL myself over the last year: I worked through Richard Sutton's book, read through David Silver's course, watched John Schulmann's lectures, wrote an RL library in Javascript, over the summer interned at DeepMind working in the DeepRL group, and most recently pitched in a little with the design/development of OpenAI Gym, a new RL benchmarking toolkit. So I've certainly been on this funwagon for at least a year but until now I haven't gotten around to writing up a short post on why RL is a big deal, what it's about, how it all developed and where it might be going. It's interesting to reflect on the nature of recent progress in RL. Similar to what happened in Computer Vision, the progress in RL is not driven as much as you might reasonably assume by new amazing ideas. In Computer Vision, the 2012 AlexNet was mostly a scaled up (deeper and wider) version of 1990's ConvNets. Similarly, the ATARI Deep Q Learning paper from 2013 is an implementation of a standard algorithm (Q Learning with function approximation, which you can find in the standard RL book of Sutton 1998), where the function approximator happened to be a ConvNet. AlphaGo uses policy gradients with Monte Carlo Tree Search (MCTS) - these are also standard components.
Top /r/MachineLearning Posts, May: TensorFlow Tricks; Machine Learning Tutorials; Google TPUs
In May on /r/MachineLearning we get jokes, more jokes, bad news about freely-available study material, good news about some other freely-available study material, some videos, news from Google, and a walkthrough for setting up a deep learning machine. This bit of news has made the rounds over the past week, so you may have already heard: Andrej Karpathy has been forced to take down the previously publicly-available videos for his Convolutional Neural Networks course at Stanford. This is a link to the tweet announcing it. Long-time Python tutorial make sentdex has shared his latest series of machine learning video tutorials, aimed at beginner to intermediate programmers. The most recent series is an in-depth machine learning course, aimed at breaking down the complex ML concepts that are typically just "done for you" in a hand-wavy fashion with packages and modules.
Systems infrastructure for deep learning software in flux
Deep learning appeared after a long gestation, or all of a sudden. You can take your pick, depending on where you were when mainstream media discovered a collection of statistical and artificial intelligence techniques that seemed to promise a new era of automated predictive analytics. The vote here is for a long gestation, although it's fair to say there is some suddenness about the way deep learning software is pushing a new class of analytics in which applications repeatedly churn through large sets of data, learning to predict likely outcomes as they go. A lengthy birthing process seems in play because, really, deep learning is an updated take on the machine learning process, which in turn was a new take on neural networks, an early form of artificial intelligence in which simulations mimic the human brain's neuron activity by weighting outputs and building connected sets of meaning. What marks deep learning software is use of multiple processing layers.
Deep Belief Nets - Ep. 7 (Deep Learning SIMPLIFIED)
An RBM can extract features and reconstruct input data, but it still lacks the ability to combat the vanishing gradient. However, through a clever combination of several stacked RBMs and a classifier, you can form a neural net that can solve the problem. This net is known as a Deep Belief Network. The Deep Belief Network, or DBN, was also conceived by Geoff Hinton. These powerful nets are believed to be used by Google for their work on the image recognition problem.
ConvNetJS Deep Q Learning Reinforcement Learning with Neural Network demo
This demo follows the description of the Deep Q Learning algorithm described in Playing Atari with Deep Reinforcement Learning, a paper from NIPS 2013 Deep Learning Workshop from DeepMind. The paper is a nice demo of a fairly standard (model-free) Reinforcement Learning algorithm (Q Learning) learning to play Atari games. In this demo, instead of Atari games, we'll start out with something more simple: a 2D agent that has 9 eyes pointing in different angles ahead and every eye senses 3 values along its direction (up to a certain maximum visibility distance): distance to a wall, distance to a green thing, or distance to a red thing. The agent navigates by using one of 5 actions that turn it different angles. The red things are apples and the agent gets reward for eating them. The green things are poison and the agent gets negative reward for eating them.
How We Trained an Algorithm to Predict What Makes a Beautiful Photo -- Stories from EyeEm
EyeEm's Head of R&D Appu Shaji explains how his team developed a deep learning technology that understands aesthetic taste and applies it to your photos. As a child I waited anxiously for the arrival of each new issue of National Geographic Magazine. The magazine had amazing stories from around the world, but it was the stunning photographs that really stood out to me. The colors, shadows and composition intrigued me, as well as a union of visual arrangement and storytelling. This childhood fascination with photographs sparked a curiosity to understand their behavior, nuances and semantics. Ultimately, this curiosity drove me to study computer vision, which has empowered me to develop systems for understanding images from a computational and scientific perspective.
Deep Reinforcement Learning: Pong from Pixels • /r/MachineLearning
My favorite post in a while, look forward to seeing more. I actually have a question for you (or anyone else who reads this) I have some experience with Box2D and other stuff OpenAI/Gym uses and I'd love to create some games/sims that people could train there AI's for, is there a good guide line I could use when making these?
Deep Reinforcement Learning: Pong from Pixels
This is a long overdue blog post on Reinforcement Learning (RL). You may have noticed that computers can now automatically learn to play ATARI games (from raw game pixels!), they are beating world champions at Go, simulated quadrupeds are learning to run and leap, and robots are learning how to perform complex manipulation tasks that defy explicit programming. It turns out that all of these advances fall under the umbrella of RL research. I also became interested in RL myself over the last year: I worked through Richard Sutton's book, read through David Silver's course, watched John Schulmann's lectures, wrote an RL library in Javascript, over the summer interned at DeepMind working in the DeepRL group, and most recently pitched in a little with the design/development of OpenAI Gym, a new RL benchmarking toolkit. So I've certainly been on this funwagon for at least a year but until now I haven't gotten around to writing up a short post on why RL is a big deal, what it's about, how it all developed and where it might be going. It's interesting to reflect on the nature of recent progress in RL. Similar to what happened in Computer Vision, the progress in RL is not driven as much as you might reasonably assume by new amazing ideas. In Computer Vision, the 2012 AlexNet was mostly a scaled up (deeper and wider) version of 1990's ConvNets. Similarly, the ATARI Deep Q Learning paper from 2013 is an implementation of a standard algorithm (Q Learning with function approximation, which you can find in the standard RL book of Sutton 1998), where the function approximator happened to be a ConvNet. AlphaGo uses policy gradients with Monte Carlo Tree Search (MCTS) - these are also standard components.