MLOps - Simplifying ML Deployment in Production
Shadab Hussain
GenAI | Quantum | Startup Advisor | Speaker | Author | Google Developer Expert for GenAI | AWS Community Builder for #data
Machine Learning is used almost everywhere. It helps organizations make data driven-decisions to save time by creating efficient workflows, reduce costs by optimizing spending, unlock untapped revenue opportunities, etc. These goals are hard to achieve without having a robust and solid framework to follow. MLOps provide this solid framework.
MLOps as a solution provides a set of standard practices for developing, experimenting, testing, deploying, monitoring, and operating ML systems. Applying these practices lets the analytics team focus more on experimentation and problem-solving rather than managing ML systems to put ML models in production.
MLOps serves as a guide that helps to achieve goals no matter the constraints, be it sensitive data, fewer resources, small budget, and so on. MLOps as a practice is flexible. Teams can experiment and plug-play with different settings to keep what best fits their use case.
How Does an End-to-End MLOps Lifecycle Look Like
MLOps applies to the entire ML lifecycle – data gathering, model creation (software development lifecycle, continuous integration/continuous delivery), orchestration, deployment, health, diagnostics, governance, and business metrics.
Following are the principles considered on which end-to-end MLOps practices are developed:
Challenges in MLOps Implementation
Establishing these systems where surveillance authorities can be granted access to compliance assessments will be a challenge.
领英推荐
Understand where your company stands in the MLOps journey
To up the MLOps strategy, it is very important for an organization to understand the current state of the entire end-end practice. This can help companies to understand the starting point and to establish the progressive requirements essential to up the MLOps capability one step at a time rather than being overwhelmed with the requirements of a fully matured environment.
Conclusion
Machine Learning solutions are not just data-processing systems but rather decision-making systems. Thus requires to hold higher standards than best quality software delivery projects. As the number of ML initiatives is increasing across organizations be it any industry, the problems around ML are becoming more evident.
For example, if we consider the healthcare industry, there are many use cases of AI/ML, from drug discovery to assisting in the diagnosis of several diseases. There are many ethical concerns related to this, which need to go through several manual checks for compliance and governance adhesion before putting it into production. Let’s consider one of the many scenarios:
“Consider we have trained a model for tumor detection, and we validated it on the test data, and is adhering with compliances as well. We enabled model monitoring jobs as well, but still how to get to know if model decay is happening, when to retrain it, what criteria need to be considered for retraining if we are looping in real-time feedback to monitor model performance, in disease prediction, to validate certain disease it can take months to diagnose these, in those scenarios how to update the model.”
MLOps helps to solve some of these issues, but there are certain scenarios where still a lot of things need to be done.
MLOps in practice is growing and still on the early path towards maturity and it is likely that many practices that are commonly seen today, will be abandoned for better approaches over the next few years as teams get more exposure to the full scope of this problem domain.
With this, as these decision-making solutions increasingly displace human decision-makers in commerce and government, a new class of governance problems is encountered, collectively known as ‘Responsible AI’. These introduce a range of challenges around complex issues such as ethics, fairness, and bias in ML models.
Hence, as the challenge around the ML landscape increases, it becomes of utmost importance for organizations to hold on to MLOps practice.
This article was co-authored with Mansit Suman . Our DMs are open for queries.