Getting In On The Deep Learning Hype
If you read tech/culture magazines, watch videos of tech events or talk to businesses about innovation, you’ll know that deep learning and artificial intelligence are everywhere.
But if artificial intelligence is still poorly understood, deep learning is positively shrouded in a fog of academic mystery.
Why? For one, AI as a whole has popular applications (robots, personal assistants in phones and home devices, driverless cars), but deep learning as a concept mostly has academic diagrams that look like this:
While these high-level drawings may form the lingua franca of the academic world, it’s not one to capture the imagination of the wider public. So a lot of companies who use deep learning architectures, instead, attempt to explain it like this:
This is easier to follow. There’s an input image which goes through several layers of computation, which finally gives us a classification. Here, the system recognizes the object in the picture as a bird.
But there are still problems with this representation.
The biggest problem is that it does nothing to help people understand how profound deep learning can be, or why it’s changing the way we live.
Sundar Pitchai says that we’re evolving in computing from a ‘mobile-first’ to an ‘AI-first’ world. Mark Zuckerberg believes AI will overtake human perception in 5–10 years. Both companies say that deep learning is becoming the core of everything they do.
But before we get to the why, it’s important to understand what deep learning is. Because if we want to make effective business decisions in the currentmachine intelligence landscape, talk about tech or even keep up with tech that’s becoming exponentially better every passing year, we need to be able to explain how deep learning works in simple, effective ways.
Understanding the Basics
Every complex object is made up of a number of features. To truly define an object, we need to identify these features and find the patterns that connect them.
For example, a cube can be representationally broken down into edges, edge locations and the patterns in which they’re connected.
The human brain does this very well. It has several ‘levels’ of neurons. At each level, a complex sensory input like a sound or an image is broken down into abstractions and representations. In effect, each neural layer is a feature extractor. When the brain finally ‘recognizes’ the input and the context around it, we react accordingly.
Deep learning systems are inspired by the mammalian brain and are algorithmically modeled after it. There are stacks of neural networks called RNNS. Each stack takes an input from the previous stack, transforms it into a more abstract version and feeds it into the next level.
As Anand (Mad Street Den Co-founder and CTO) puts it,
“[Our brain] is extremely small and uses extremely little power. We’re trying to make equivalent electronic brains.”
The deeper the stacks, the more complex the functions of the system and the better it can handle complicated inputs. Deep learning gets its name from these ‘deep’ stacks and it’s, simply put, one of many machine learning systems. Machine learning, in turn, is one of the set of algorithms and techniques that make up artificial intelligence.
This is a fairly standard explanation. But if you have no idea what deep learning is, it’s still an overly simplistic one. Things get more interesting when we dig in a bit deeper, and that’s where good visualizations come in.
Playing with Visualizations
One of the best deep learning visualizations we have today is a part of Tensor Flow — Google’s open source machine learning platform. This year, Martin Wattenberg and Fernanda Viégas gave a brilliant keynote talk called ‘Seeing Machines Think’ at the OpenVis Conference .
In the talk, they demonstrate how a deep learning system works with a toy neural network visualization that you can play with right now.
Imagine two sets of dots: blue and orange. These dots can represent any data set you want. Now your machine learning system needs to correctly identify how the blue and orange dots are distributed in an image.
Pick a fairly simple pattern: blue dots grouped together on the top right, orange on the bottom left. With just a few arrangement models (or features — a vertical and a horizontal color split together make a diagonal split possible) and a couple of hidden neural layers, it’s easy to find the pattern in the image.
But increase the complexity of the input data where the dots are arranged in a spiral, and the same features no longer work. You need more features, more hidden layers and more neurons in each layer.
The connecting lines depict the confidence of the prediction that each neuron is making and they become darker or lighter over time. The system is, in essence, learning.
With the right features and hidden layers, the system can now tell where the blue dots are and where the orange dots are.
Taking the Conversation Forward
At Mad Street Den, we work heavily with computer vision and machine learning and it’s important for us to explain what we do with simple narratives everyday. For instance, we’ve talked about what computer vision really is to get to the heart of how machines ‘see’ to do wonderful things.
We’re also continually exploring alternate methods inspired by neuroscience and neuromorphic principles which we believe will help overcome some of the limitations of deep learning as we know it today. So it’s equally crucial for us to encourage and build deep learning conversations within developer communities.
The standard of public discourse around artificial intelligence has been rising over the years as developers dive in to experiment and build real-world applications with deep tech. Open source activity around deep learning is buzzing with life. And the world is sitting up and paying attention.
We talked to HasGeek which is hosting India’s first Deep Learning Conference this week in Bangalore and they’ve been seeing incredibly high interest levels around the topic:
“We received more good talk proposals than we could fit in a day. We thought we were over-provisioning our seating capacity for the conference, but it may not be enough…and we’re at almost 3X capacity for the workshops.”
It’s no coincidence. The more people get excited about deep learning, the better AI products get in the real world. Entrepreneur, engineer or enthusiast, it’s time we all become machine learning-literate and take the conversation — and our future — forward.