Why so many Machine Learning Implementations Fail?
- 2018-06-30 04:05 AM
I’d like to let you in on a secret: when people say ‘[machine learning](https://medium.com/@kozyrkov/the-simplest-explanation-of-machine-learning-youll-ever-read-bebc0700047c)’ it sounds like there’s only one discipline here. There are two, and if businesses don’t understand the difference, they can experience a world of trouble.
A tale of two machine learnings
Imagine hiring a chef to build you an oven or an electrical engineer to bake bread for you. When it comes to machine learning, that’s the kind of mistake I see businesses making over and over.
If you’re opening a bakery, it’s a great idea to hire an experienced baker well-versed in the nuances of making delicious bread and pastry. You’d also want an oven. While it’s a critical tool, I bet you wouldn’t charge your top pastry chef with the task of knowing how to build that oven; so why is your company focused on the equivalent for machine learning?
Are you in the business of making bread? Or making ovens?
Machine learning research
What they don’t tell you is that all those machine learning courses and textbooks are about how to build ovens (and microwaves, blenders, toasters, kettles… the kitchen sink!) from scratch, not how to cook things and innovate with recipes.
If you build machine learning algorithms, your focus is general purpose tools for others to use. (Kitchen appliances, if you prefer the analogy.) This business is called machine learning research and is typically done by places like academia or Google.
When it comes to machine learning, many organizations are in the wrong business.
You need quite a lot of education to be in this line of work, because there’s a long history here. Some popular algorithms have been around for centuries. For example, the method of least squares for regression, was published in 1805. Trust me, humanity has come a long way in 200 years.
Today, there are some pretty sophisticated appliances out there… how are you going to build a better microwave if you don’t know how this one works? Of course you need all that immersive study! Becoming a researcher takes years and there’s a good reason that the 101 course starts with the basics of calculus.
Applied machine learning
Most businesses just want to get cooking — to solve their business problems. They have no interest in selling microwaves, and yet often make the mistake of trying to build those appliances from scratch. It’s hard to blame them — the current hype and education cycle dominantly focuses on research, instead of application.
If you’re innovating with recipes, don’t reinvent the wheel. Those microwaves exist already. You can get them for free from many places. And if setting up your own machine learning kitchen sounds like a chore, providers like Google Cloud Platform let you use theirs, complete with appliances, ingredients, and recipe books.
If you’re innovating in the kitchen, don’t reinvent the wheel.
For most applications, your team doesn’t need to understand the mathematics of backpropagation in neural networks any more than a chef needs to know the wiring diagram for a microwave. But there’s a lot that you do need to know if you’re planning on running an industrial-scale kitchen, everything from curating your ingredients to checking that your dishes are good before you serve them.
Crashing and burning with machine learning
Unfortunately, I see a lot of businesses failing to get value from machine learning because they don’t realize that the applied side is a very different discipline from the algorithms research side. Instead, leaders try to start their kitchens by hiring those folks who’ve been building microwave parts their whole lives but have never cooked a thing. What could possibly go wrong? If that works out, it’s because you got lucky and accidentally hired an engineer who is a great chef.
But usually you’re not lucky. There are only so many hours in one lifetime, and if you spend them learning how a microwave is wired, you’ve got fewer to devote to mastering the art of pastry or business. Where — and when! — would your PhD-trained artificial intelligence researcher have gained the skills required for applied machine learning? If you set your heart on the hybrid who’s an expert in both, no wonder you’re complaining about the talent shortage!
Whom should you hire instead? Just like in an industrial kitchen, you need an interdisciplinary team with leadership that understands this space. Otherwise, projects fizzle and go nowhere.
Hiring the right team for the job
If you’re selling cutting-edge appliances, hire researchers. If you’re innovating in recipes to sell food at scale, you need people who figure out what’s worth cooking / what the objectives are (decision-makers and product managers), people who understand the suppliers and the customers (domain experts and social scientists), people who can process ingredients at scale (data engineers and analysts), people who can try many different ingredient-appliance combinations quickly to generate potential recipes (applied ML engineers), people who can check that the quality of the recipe is good enough to serve (statisticians), people who turn a potential recipe into millions of dishes served efficiently (software engineers), people who keep the interdisciplinary team on track (project/program managers), and people who ensure that your dishes stay top notch even if the delivery truck brings you a ton of potatoes instead of the rice you ordered (reliability engineers).
While these needn’t be separate individuals, be sure you’ve got each role covered. And before you fling your rotten tomato at me for providing such an incomplete caricature, I’ll freely admit that there’s much more to say about hiring for applied machine learning. Let’s outsource that to a future post.
Speaking of outsourcing, if your team has tried all existing tools and can’t make a recipe that meets your business objectives, it makes sense to think about adding skills in building appliances (researcher). Whether or not you hire that person to your permanent staff or outsource the job to an experienced algorithms research firm depends on the scale and maturity of your operation.
Another reason to connect with researchers is that your prototype is so successful that using custom-built appliances makes sense at the massive scale you’re lucky enough to operate at. (What a great problem to have!)
Experts should be talking about this, but they aren’t. They’re not owning up to the fact that there’s really two machine learnings here, and so the world is training people in building all these algorithms but not in using them.
My team is working to fix that. We’ve created a new discipline to cover the applied side and we’ve already trained over 15,000 staff members in it. We’re calling it decision intelligence engineering, and it spans all the applied aspects of machine learning and data science.
To put it another way, if research machine learning is building microwaves and applied machine learning is using microwaves, decision intelligence engineering is using microwaves safely to meet your goals and using something else when you don’t need a microwave.