You are on page 1of 7

07/05/2020 Quality Assurance for Machine Learning Models - Part 1

Search Sasken Blog

Quality Assurance for Machine Learning


Models - Part 1
   Nov 4, 2019 5:32:47 AM

Why QA is Critical for Machine Learning Models

Machine learning (ML) can be de ned as a subset of Arti cial Intelligence (AI) providing

computer systems the ability to automatically learn from data provided to perform speci c

tasks. This eliminates the need of providing explicit instructions for the systems to function

on a regular basis.

https://blog.sasken.com/quality-assurance-for-machine-learning-models-part-1-why-quality-assurance-is-critical-for-machine-learning-models 1/7
07/05/2020 Quality Assurance for Machine Learning Models - Part 1

Traditional ML methodology has focused more on the model development process. This

involved selecting the most appropriate algorithm for a given problem. In contrast, the

software development process focuses on both development and testing of the software.

Fig 1: Cross Industry Standard Process for Data Mining (CRISP-DM)

Testing in relation to ML model development focuses more on the model’s performance in

terms of its accuracy. This activity is generally carried out by the data scientist developing
the model. These models have signi cant real-world implications as they are crucial for
decision making at the highest level.

Therefore, from a quality assurance perspective, a rigorous testing process is necessary to

ensure the stability and e cient performance of these models. This involves cutting down
on biases in their development, to ensure accurate data driven decisions.

The Need for Continuous Validation of ML Models

There are various hurdles to overcome in the development of ML models. Some of the
challenges that mandate the need for a QA validation team and the process of on-going

validation are speci ed below:

1. Variation in data used for model development and real-world data in production setting
ML and deep learning models are never completely accurate all the time. A critical

reason behind this is the fact that data used to develop these models, and the data in
the actual deployment is bound to have variations. Consider a model predicting

operating conditions only for normal working conditions and one failure scenario. In
production if a di erent failure scenario is encountered model predictions will be
inaccurate, as the developed model would not have been trained on such scenarios.

https://blog.sasken.com/quality-assurance-for-machine-learning-models-part-1-why-quality-assurance-is-critical-for-machine-learning-models 2/7
07/05/2020 Quality Assurance for Machine Learning Models - Part 1

2. No Apriori knowledge of correct results for data validation

Traditional software testing has the bene t of an Oracle mechanism. Wherein, the
program’s functioning can be evaluated against a predetermined output to evaluate its

proper functioning. With regards to ML, any Oracle mechanism is possible only through
constant human intervention, to ensure accurate labelled data is present for the e cient

working of the models. For example, creating image tags for object identi cation in
computer vision applications.

3. Constant monitoring of deployed ML models

During the initial development stage multiple models are built. Once the most accurate
model is selected, the other variants are usually discarded. However, it would be a better

practice to retain the alternative models and monitor their performance separately. This
helps provide future models that could guarantee higher accuracy based on new data.

4. Inclusion of additional data sources and features previously not considered


As the complexity of platforms and models increases over time, organizations will look

towards including additional sources of data to make ML models more robust. This
requires additional e orts towards rebuilding the models and re-evaluating the revised

model to ensure better accuracy and model robustness.

5. Constant re-evaluation of data quality


A frequent issue when working with data is the presence of junk values, missing data

and incorrect readings. When it comes to model generation and its predictive ability, a
data scientist has to monitor the incoming data constantly. Doing so validates its
usability for accurate predictions in real life scenarios, preventing model failure.

6. Inherent human bias in model development process

ML models are developed manually keeping in mind certain assumptions regarding data
distribution, with a speci ed development methodology. If the correct assumptions and
methodologies are not taken into consideration, the models developed will be
ine cient, providing biased results which can negatively impact operations and decision

making capabilities.

Therefore, it is essential to ensure the presence of systems to monitor and improve upon
ML models even after deployment.

Part 2 will cover elements of Black Box Testing in the context of AI and ML models.

Read more about Sasken's expertise providing e cient Digital Testing strategies.

https://blog.sasken.com/quality-assurance-for-machine-learning-models-part-1-why-quality-assurance-is-critical-for-machine-learning-models 3/7
07/05/2020 Quality Assurance for Machine Learning Models - Part 1

Posted by:
Vignesh Radhakrishnan
Data Scientist- Applications and Data Services Practice

  Quality Assurance   Arti cial Intelligence   Testing   Model Development  

Machine Learning   Black-box Testing

Want To Know More About This Topic?


Name

Job Title

Email*

Business emails only

Your Query

Submit

Sharing

     

NEXT POST
https://blog.sasken.com/quality-assurance-for-machine-learning-models-part-1-why-quality-assurance-is-critical-for-machine-learning-models 4/7
07/05/2020 Quality Assurance for Machine Learning Models - Part 1

Building a Scalable Next-Gen Transportation Solution Leveraging


DevOps and Cloud

You might also like

Message Signaled Interrupts in PCI/PCIE : Advantages over INTx

Security is getting a heavy boost in Android Q

Topics

Wireless

Smart Devices

Smart Device and Wearables

Platforms

connectivity

Data Analytics

https://blog.sasken.com/quality-assurance-for-machine-learning-models-part-1-why-quality-assurance-is-critical-for-machine-learning-models 5/7
07/05/2020 Quality Assurance for Machine Learning Models - Part 1

Cross Platform Technologies

Semiconductor

Telecom

Mobility

More articles by author

Productizing Machine Learning Models - An Introduction

Quality Assurance for Machine Learning Models - Part 2

Recent Posts

Sensor Fusion: Paving the way for Autonomous Vehicles

Assessing Antenna Options for Connected Vehicles

Android Project Mainline: Addressing Fragmentation and Security Issues

Harnessing the Bene ts of Next-Gen Machine Tools in the Manufacturing Industry

https://blog.sasken.com/quality-assurance-for-machine-learning-models-part-1-why-quality-assurance-is-critical-for-machine-learning-models 6/7
07/05/2020 Quality Assurance for Machine Learning Models - Part 1

Sasken is a specialist in Product Engineering and Digital Transformation providing


concept-to-market, chip-to-cognition R&D services to global leaders in
Semiconductor, Automotive, Industrials, Smart Devices & Wearables, Enterprise Grade
Devices, Satcom and Transportation industries.

CORPORATE HEADQUARTERS

Sasken Technologies Ltd


(formerly Sasken Communication Technologies Ltd)
139/25, Ring Road, Domlur, Bengaluru 560071, India
CIN# L72100KA1989PLC014226

BLOG
CAREERS
CONTACT
EVENT
INVESTORS
NEWS

TOP
© Sasken Technologies Ltd 1989 - 2018 Terms of Use Privacy Policy Cookie Policy

https://blog.sasken.com/quality-assurance-for-machine-learning-models-part-1-why-quality-assurance-is-critical-for-machine-learning-models 7/7

You might also like