I’ve understood and accepted the truth since, and my life changed for the better. I have seen the light.
Web-apps are awesome
Over the past 20 years, web browsers have evolved from clunky applications displaying articles with hypertext and images, into our default environments for work and play. Like it or not, huge chunks of our daily activities happen inside web browsers — whether it’s communication, education, entertainment, or work. Integration of web technology into our daily workflow is so deep it’s sometimes hard to notice it (let alone not take it for granted!).
Let’s take a step back here.
The words you’re reading were written in Google Docs — an in-browser app. Unless you’ve been faxed this article by an uncle — I’m willing to bet you’re reading these words using a web browser. If you’re a data scientist, most of your work is probably done in Python, using various additional tools to make your life easier. You’re using interactive browser apps like Jupyter Notebooks to write, document, and present your work.
Jupyter notebook (a miracle of technology)
If you want to create interactive plots within Python, Bokeh is a go-to option. It allows enriching charts in ways impossible for any static visualization tools — mouseover labels, animations, and so on.
If you use TensorFlow as your deep learning library, chances are you are familiar with using TensorBoard for tracking the training process, visualizing embeddings or computational graphs.
Mentioning these three tools doesn’t even scratch the surface of powerful browser-based apps data scientists benefit from.
All of these tools are charmingly sleek; their output engaging and interactive.
They are all a joy to use, whether you are developing with them, or interacting with the output.
Neural networks are hard (to share with people)
In the past 3 years, deep learning frameworks like TensorFlow, PyTorch, and Keras, have sprung like delicious mushrooms after the rain. They have simplified the process of going from an idea to creating a robust statistical model capable of solving a problem in your field. Whether you use deep learning in AI research or art, medicine or astrophysics, entertainment or education: sharing and communicating your models with others is invaluable.
As my pastor says:
“A picture is worth a thousand words; AI-powered web app is worth a thousand and twenty-eight pictures.”
Historically, the process of wrapping your AI model in an in-browser service or experience has been complex and frustrating. This made disseminating the result of deep learning work in an accessible, visually pleasing form an additional, discouraging roadblock. Think of all the good that could be done with more effective means of scientific communication (think: more distill.pubs around). It’s hard to overstate how much more engaging the experience of absorbing a deep learning paper is, when you are able to interact with the very model it’s describing. Think of all the useful (educational or otherwise) applications of deep learning that exist merely as code on GitHub and never got an interactive frontend to attract a wider audience.
“The interactivity…” — the pastor would often add — “ is the missing cherry on top of a righteous linear algebra cake”.
The Neural Network Playground by Google is a well-known example of an interactive deep learning demo. I remember the joy of playing with these interactive examples while getting a grasp of the basic concepts in machine learning. I know there are many other data scientists, whose interest in deep learning got ignited and propelled by this, and similar demos.
When it comes to AI, whether it’s an educational demo, a little scavenger hunt game, a part of a research project on t-SNE, or a new musical instrument, interactivity allows the user to be more engaged with the experience. Interactivity can turn a passive viewing experience into a playful, memorable use of user’s attention. What’s cool about in-browser AI is that “interactivity” here is not limited to pointing and clicking at things: users can feed locally run models with various sources of input like their camera or microphone.
The possibilities for innovative applications of in-browser AI seem endless. See our growing repository of interactive applications of machine learning for more inspiring examples.
In-browser AI has never been simpler (or safer)
Once you do, make sure to spread the word and share your deep learning models — with millions of people on the internet — or only a few that matter to you.