SlideShare a Scribd company logo
1 of 28
Download to read offline
STeP-IN SUMMIT 2018 - Machine Learning
AI driven test automation
in the AI first world
Shubhradeep Nandi
AI First World
❖ Technology projects predominantly are now Datascience Projects
➡ Guided by data
➡ once live requires no manual intervention
2
Images belong to their respective owners and this is just for illustration purposes only
❖ What needs to be done for adoption
❖ Exhaustive testing on the claims of the product(QA team)
❖ Explicability of the underlying model(Both DEV & QA team)
❖ Machine Learning
❖ Deep Learning but Why ?
❖ Classification in the AI world
3
Refreshing a few basic concepts
Images belong to their respective owners and this is just for illustration purposes only
❖ Before - We were
testing an
Application.
❖ Now - We are
still going to test
an Application.
4
What did not change?
Images belong to their respective owners and this is just for illustration purposes only
What got changed?
❖ Before - Rule based AI(Automation with
pure test/train) for testing a rule based
workflow driven application.
❖ Now - Self Learning AI for testing a
combination of
‣ Deterministic -The workflows that are
rule driven in the app
‣ Non-Deterministic -The workflow that
are driven by AI with learning elements
The ‘Shift’ in Testing Paradigm
Deterministic vs Non- Deterministic
5
Images belong to their respective owners and this is just for illustration purposes only
What????
Insurance driven by AI
6
Open up the App
Upload your supporting docs
Pay the Premium
Customer Onboarding
Auto Verification
Deterministic rule based
Non Deterministic driven by AI
Images belong to their respective owners and this is just for illustration purposes only
Register by filling up the form
Insurance driven by AI
7
Claim Settlement
Upload image of damage
Real time validation and estimation using AI
Claims are settled
Open up the App
Deterministic rule based
Non Deterministic driven by AI
Images belong to their respective owners and this is just for illustration purposes only
The AI mindset
❖ What is AI?
❖ Is it all Math?
❖ Is it all Algorithm?
❖ Is it all Programming?
❖ Does it all depends on the tool/team that builds it?
8
Creating the holistic test framework in the AI first World
❖ Identify and Understand the scope of the Application
❖ Segregate the Deterministic Workflow from the Non
Deterministic Workflow
❖ AI for testing the Deterministic workflow of the App
❖ AI for testing the Non Deterministic workflow of the
App
9
5 blocks to understand the scope of application
What is the input for the application?
1. Define the possible inputs captured
2. Define the order of capture
10
Understand the application flow
1. The business requirement
2. The behavioural workflow
Segregate the Non-Deterministic Portion
1. Learning models involved
2.Learning model behaviour matrix
What is the hierarchy?
1. Identify the primary/secondary workflow
2. Identify the learning workflow
Quantify the learning property
1. Data Properties
1. Size of Data
2. Noise Level
2. Degree of Automation - Automatic/Semi-Automatic
3. Supervision - Supervised/UnSupervised/Reinforced
4. Time(Online/offline or Lazy/Eager)
Segregating the Deterministic Workflow from non-
Deterministic Workflow
11
Deterministic Non Deterministic
Images belong to their respective owners and this is just for illustration purposes only
AI for testing the Deterministic workflow(non AI) of the App
12
1 2 3
1. Expose deterministic steps of ML
2. The application Blueprint is created
3. The Cognitive Script generation
Automation with cognitive approach
Images belong to their respective owners and this is just for illustration purposes only
AI for testing the Deterministic workflow(non AI) of the App
❖ Recorder and Meta Modelling to automate scripts generation
❖ Elastically scale functional, load and Performance Testing using deep forecast models
❖ Self Healing Tests with Deep Learning
❖ Analytical reports and Visualisation for explanations
13
Automation with Deep Learning approach
Images belong to their respective owners and this is just for illustration purposes only
AI for testing the Non Deterministic workflow(AI) of the App
14
Images belong to their respective owners and this is just for illustration purposes only
Object Classification and Detection - The most sought after AI
usecase
❖ There is an enormous rise of autonomous vehicles, smart
video surveillance, facial detection and various entity
identification applications
15
Images belong to their respective owners and this is just for illustration purposes only
16
❖ Some use cases are very critical -
❖ Outcome should be highly accurate
❖ Objects has to be detected, classified, and, delivered in fraction of a second
Object Classification and Detection - The most sought after AI
usecase
Images belong to their respective owners and this is just for illustration purposes only
17
❖ Deep learning framework CNN(Convolutional Neural Network)
has achieved the state of start in Object Classification and Detection
Object Classification and Detection - The most sought after AI
usecase
Images belong to their respective owners and this is just for illustration purposes only
How to build a AI framework to test this Deep Learning usecase ?
18
Approach to build the framework
1.Checking the CNN robustness using Perturbations
using Generative Neural Networks - Fellow et al.
2.Neural Network correctness with Linear Programming
or SMT Solvers - Katz et al.
19
Images belong to their respective owners and this is just for illustration purposes only
Approach to build the framework
3. Systematic approach with Synthetically generated
Datasets
20
Scalable
Realistic instead of
perturbations
Images belong to their respective owners and this is just for illustration purposes only
Modules of the Framework
21
Generator Sampler Visualizer
Generate realistic
Images of objects
Provide modification
points to the Image
generator
Sampled Modifications
against Metrics of
Interest
Generator
❖ Modification functions are used to represent a subset of feature space.
❖ Low dimensional modification allow us to test Convolutional Neural
Networks on a compact domain
22
Mathematical Relationship
f : X —> Y
X’ ⊆ X
Generator (y : M —> X’)
Every Modification(m) m ∈ M
y(m) ∈ X’
X —> Feature Space
Y—> Output
M —> Modification Space
y —> Modification Function
m —> Individual Modifications
Images belong to their respective owners and this is just for illustration purposes only
Sampler
❖ Identify a low discrepancy sequence methodology to
competently produce sample sequences that provide
high coverage of the abstract space.
➡ D(K,X) = abs(#(K)/m - vol(K))
❖ Capitalise on the Active Learning capability to reduce
process expense.
➡ Gaussian Progression for non parametric regression
23
D—> Dimension space
K —> subset of Dimension Space,
m —> modification as tupple
vol —> Volume
Visualizer
❖ Intersection over Union and CNN Confidence Score -
A standard approach to measure accuracy for Object
Detection and Classification.
24
Images belong to their respective owners and this is just for illustration purposes only
Connecting the 3 Modules
function ANALYZERCNN
repeat
p ← sampler(P)

x ← generator(p)
y ← f(x)

D.add(m, x, y)
until condition(D)
visualizer(D)
end function
25
Where can I apply this?
26
Images belong to their respective owners and this is just for illustration purposes only
Few of the Many…
❖ Healthcare - Radiology, Cardiology, Dermatology…
❖ Insurance - Claims, Customer on-boarding…
❖ Life Sciences - Drug Discovery, Pharmacovigilance…
❖ Manufacturing - Industrial Vision, Quality Inspection…
27
Thank You
28
Email :- shunandi@gmail.com or shubhradeepn@msystechnologies.com
Images belong to their respective owners and this is just for illustration purposes only

More Related Content

What's hot

Machine Learning in Software Engineering
Machine Learning in Software EngineeringMachine Learning in Software Engineering
Machine Learning in Software Engineering
Alaa Hamouda
 

What's hot (20)

SSBSE 2020 keynote
SSBSE 2020 keynoteSSBSE 2020 keynote
SSBSE 2020 keynote
 
Machine learning for sensor Data Analytics
Machine learning for sensor Data AnalyticsMachine learning for sensor Data Analytics
Machine learning for sensor Data Analytics
 
Build a Sentiment Model using ML.Net
Build a Sentiment Model using ML.NetBuild a Sentiment Model using ML.Net
Build a Sentiment Model using ML.Net
 
Odin2018_Minh_ML_Risk_Prediction
Odin2018_Minh_ML_Risk_PredictionOdin2018_Minh_ML_Risk_Prediction
Odin2018_Minh_ML_Risk_Prediction
 
Common Problems in Hyperparameter Optimization
Common Problems in Hyperparameter OptimizationCommon Problems in Hyperparameter Optimization
Common Problems in Hyperparameter Optimization
 
SBST 2019 Keynote
SBST 2019 Keynote SBST 2019 Keynote
SBST 2019 Keynote
 
Speeding-up Software Testing With Computational Intelligence
Speeding-up Software Testing With Computational IntelligenceSpeeding-up Software Testing With Computational Intelligence
Speeding-up Software Testing With Computational Intelligence
 
Machine Learning With ML.NET
Machine Learning With ML.NETMachine Learning With ML.NET
Machine Learning With ML.NET
 
Regression testing
Regression testingRegression testing
Regression testing
 
Machine Learning in Software Engineering
Machine Learning in Software EngineeringMachine Learning in Software Engineering
Machine Learning in Software Engineering
 
MLSEV Virtual. Applying Topic Modelling to improve Operations
MLSEV Virtual. Applying Topic Modelling to improve OperationsMLSEV Virtual. Applying Topic Modelling to improve Operations
MLSEV Virtual. Applying Topic Modelling to improve Operations
 
Neel Sundaresan - Teaching a machine to code
Neel Sundaresan - Teaching a machine to codeNeel Sundaresan - Teaching a machine to code
Neel Sundaresan - Teaching a machine to code
 
Measuring the Code Quality Using Software Metrics
Measuring the Code Quality Using Software MetricsMeasuring the Code Quality Using Software Metrics
Measuring the Code Quality Using Software Metrics
 
Alexandra johnson reducing operational barriers to model training
Alexandra johnson   reducing operational barriers to model trainingAlexandra johnson   reducing operational barriers to model training
Alexandra johnson reducing operational barriers to model training
 
Salt City Digital - Automation Testing
Salt City Digital - Automation TestingSalt City Digital - Automation Testing
Salt City Digital - Automation Testing
 
SigOpt at O'Reilly - Best Practices for Scaling Modeling Platforms
SigOpt at O'Reilly - Best Practices for Scaling Modeling PlatformsSigOpt at O'Reilly - Best Practices for Scaling Modeling Platforms
SigOpt at O'Reilly - Best Practices for Scaling Modeling Platforms
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Testing As A Bottleneck - How Testing Slows Down Modern Development Processes...
Testing As A Bottleneck - How Testing Slows Down Modern Development Processes...Testing As A Bottleneck - How Testing Slows Down Modern Development Processes...
Testing As A Bottleneck - How Testing Slows Down Modern Development Processes...
 
The Myths and Facts Surrounding Software Testing
The Myths and Facts Surrounding Software TestingThe Myths and Facts Surrounding Software Testing
The Myths and Facts Surrounding Software Testing
 
Software Estimation
Software EstimationSoftware Estimation
Software Estimation
 

Similar to AI driven classification framework for advanced Test Automation

DN18 | Demystifying the Buzz in Machine Learning! (This Time for Real) | Dat ...
DN18 | Demystifying the Buzz in Machine Learning! (This Time for Real) | Dat ...DN18 | Demystifying the Buzz in Machine Learning! (This Time for Real) | Dat ...
DN18 | Demystifying the Buzz in Machine Learning! (This Time for Real) | Dat ...
Dataconomy Media
 
ICLR 2020 Recap
ICLR 2020 RecapICLR 2020 Recap
ICLR 2020 Recap
Sri Ambati
 
لموعد الإثنين 03 يناير 2022 143 مبادرة #تواصل_تطوير المحاضرة ال 143 من المباد...
لموعد الإثنين 03 يناير 2022 143 مبادرة #تواصل_تطوير المحاضرة ال 143 من المباد...لموعد الإثنين 03 يناير 2022 143 مبادرة #تواصل_تطوير المحاضرة ال 143 من المباد...
لموعد الإثنين 03 يناير 2022 143 مبادرة #تواصل_تطوير المحاضرة ال 143 من المباد...
Egyptian Engineers Association
 
Testing Autonomous Cars for Feature Interaction Failures using Many-Objective...
Testing Autonomous Cars for Feature Interaction Failures using Many-Objective...Testing Autonomous Cars for Feature Interaction Failures using Many-Objective...
Testing Autonomous Cars for Feature Interaction Failures using Many-Objective...
Lionel Briand
 
Machine Learning Model for Gender Detection
Machine Learning Model for Gender DetectionMachine Learning Model for Gender Detection
Machine Learning Model for Gender Detection
TecnoIncentive
 

Similar to AI driven classification framework for advanced Test Automation (20)

Opinion Mining and Classification Technique to help make better choices befor...
Opinion Mining and Classification Technique to help make better choices befor...Opinion Mining and Classification Technique to help make better choices befor...
Opinion Mining and Classification Technique to help make better choices befor...
 
An Introduction to Face Detection
An Introduction to Face DetectionAn Introduction to Face Detection
An Introduction to Face Detection
 
ann1.pptx
ann1.pptxann1.pptx
ann1.pptx
 
DN18 | Demystifying the Buzz in Machine Learning! (This Time for Real) | Dat ...
DN18 | Demystifying the Buzz in Machine Learning! (This Time for Real) | Dat ...DN18 | Demystifying the Buzz in Machine Learning! (This Time for Real) | Dat ...
DN18 | Demystifying the Buzz in Machine Learning! (This Time for Real) | Dat ...
 
Fast Parallel Similarity Calculations with FPGA Hardware
Fast Parallel Similarity Calculations with FPGA HardwareFast Parallel Similarity Calculations with FPGA Hardware
Fast Parallel Similarity Calculations with FPGA Hardware
 
Software Development and Quality
Software Development and QualitySoftware Development and Quality
Software Development and Quality
 
ICLR 2020 Recap
ICLR 2020 RecapICLR 2020 Recap
ICLR 2020 Recap
 
Face detection system design seminar
Face detection system design seminarFace detection system design seminar
Face detection system design seminar
 
IRJET- Face Detection and Tracking Algorithm using Open CV with Raspberry Pi
IRJET- Face Detection and Tracking Algorithm using Open CV with Raspberry PiIRJET- Face Detection and Tracking Algorithm using Open CV with Raspberry Pi
IRJET- Face Detection and Tracking Algorithm using Open CV with Raspberry Pi
 
لموعد الإثنين 03 يناير 2022 143 مبادرة #تواصل_تطوير المحاضرة ال 143 من المباد...
لموعد الإثنين 03 يناير 2022 143 مبادرة #تواصل_تطوير المحاضرة ال 143 من المباد...لموعد الإثنين 03 يناير 2022 143 مبادرة #تواصل_تطوير المحاضرة ال 143 من المباد...
لموعد الإثنين 03 يناير 2022 143 مبادرة #تواصل_تطوير المحاضرة ال 143 من المباد...
 
AI for Software Engineering
AI for Software EngineeringAI for Software Engineering
AI for Software Engineering
 
Testing Autonomous Cars for Feature Interaction Failures using Many-Objective...
Testing Autonomous Cars for Feature Interaction Failures using Many-Objective...Testing Autonomous Cars for Feature Interaction Failures using Many-Objective...
Testing Autonomous Cars for Feature Interaction Failures using Many-Objective...
 
IRJET - Smart Vet Locator for Hybrid Pets
IRJET -  	  Smart Vet Locator for Hybrid PetsIRJET -  	  Smart Vet Locator for Hybrid Pets
IRJET - Smart Vet Locator for Hybrid Pets
 
ODSC APAC 2022 - Explainable AI
ODSC APAC 2022 - Explainable AIODSC APAC 2022 - Explainable AI
ODSC APAC 2022 - Explainable AI
 
Integrating AI in software quality in absence of a well-defined requirements
Integrating AI in software quality in absence of a well-defined requirementsIntegrating AI in software quality in absence of a well-defined requirements
Integrating AI in software quality in absence of a well-defined requirements
 
Pydata Chicago - work hard once
Pydata Chicago - work hard oncePydata Chicago - work hard once
Pydata Chicago - work hard once
 
Presentation1.2.pptx
Presentation1.2.pptxPresentation1.2.pptx
Presentation1.2.pptx
 
[DSC Europe 22] Developing Visual AI Solutions for Online Marketplaces - Mlad...
[DSC Europe 22] Developing Visual AI Solutions for Online Marketplaces - Mlad...[DSC Europe 22] Developing Visual AI Solutions for Online Marketplaces - Mlad...
[DSC Europe 22] Developing Visual AI Solutions for Online Marketplaces - Mlad...
 
Deep reinforcement learning framework for autonomous driving
Deep reinforcement learning framework for autonomous drivingDeep reinforcement learning framework for autonomous driving
Deep reinforcement learning framework for autonomous driving
 
Machine Learning Model for Gender Detection
Machine Learning Model for Gender DetectionMachine Learning Model for Gender Detection
Machine Learning Model for Gender Detection
 

More from STePINForum

More from STePINForum (10)

Am I a Social Monster?
Am I a Social Monster?Am I a Social Monster?
Am I a Social Monster?
 
Blockchain and AI - Match made in Heaven
Blockchain and AI - Match made in HeavenBlockchain and AI - Match made in Heaven
Blockchain and AI - Match made in Heaven
 
Self Healing - Bringing Intelligence into Automation
Self Healing - Bringing Intelligence into AutomationSelf Healing - Bringing Intelligence into Automation
Self Healing - Bringing Intelligence into Automation
 
Quality engineering in a world with AI and IoT
Quality engineering in a world with AI and IoTQuality engineering in a world with AI and IoT
Quality engineering in a world with AI and IoT
 
How accurate are the Wearable fitness tracker showing 10000 steps in a day: A...
How accurate are the Wearable fitness tracker showing 10000 steps in a day: A...How accurate are the Wearable fitness tracker showing 10000 steps in a day: A...
How accurate are the Wearable fitness tracker showing 10000 steps in a day: A...
 
Performance Testing Internet of Things
Performance Testing Internet of ThingsPerformance Testing Internet of Things
Performance Testing Internet of Things
 
Continuous Testing: Preparing for DevOps
Continuous Testing: Preparing for DevOpsContinuous Testing: Preparing for DevOps
Continuous Testing: Preparing for DevOps
 
Blockchain and AI: Powering the future
Blockchain and AI: Powering the futureBlockchain and AI: Powering the future
Blockchain and AI: Powering the future
 
Docker–Grid (A On demand and Scalable dockerized selenium grid architecture)
Docker–Grid (A On demand and Scalable dockerized selenium grid architecture)Docker–Grid (A On demand and Scalable dockerized selenium grid architecture)
Docker–Grid (A On demand and Scalable dockerized selenium grid architecture)
 
Jugaadu Automation - The Real Desi Test Automation Story
Jugaadu Automation - The Real Desi Test Automation StoryJugaadu Automation - The Real Desi Test Automation Story
Jugaadu Automation - The Real Desi Test Automation Story
 

Recently uploaded

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 

AI driven classification framework for advanced Test Automation

  • 1. STeP-IN SUMMIT 2018 - Machine Learning AI driven test automation in the AI first world Shubhradeep Nandi
  • 2. AI First World ❖ Technology projects predominantly are now Datascience Projects ➡ Guided by data ➡ once live requires no manual intervention 2 Images belong to their respective owners and this is just for illustration purposes only ❖ What needs to be done for adoption ❖ Exhaustive testing on the claims of the product(QA team) ❖ Explicability of the underlying model(Both DEV & QA team)
  • 3. ❖ Machine Learning ❖ Deep Learning but Why ? ❖ Classification in the AI world 3 Refreshing a few basic concepts Images belong to their respective owners and this is just for illustration purposes only
  • 4. ❖ Before - We were testing an Application. ❖ Now - We are still going to test an Application. 4 What did not change? Images belong to their respective owners and this is just for illustration purposes only What got changed? ❖ Before - Rule based AI(Automation with pure test/train) for testing a rule based workflow driven application. ❖ Now - Self Learning AI for testing a combination of ‣ Deterministic -The workflows that are rule driven in the app ‣ Non-Deterministic -The workflow that are driven by AI with learning elements The ‘Shift’ in Testing Paradigm
  • 5. Deterministic vs Non- Deterministic 5 Images belong to their respective owners and this is just for illustration purposes only What????
  • 6. Insurance driven by AI 6 Open up the App Upload your supporting docs Pay the Premium Customer Onboarding Auto Verification Deterministic rule based Non Deterministic driven by AI Images belong to their respective owners and this is just for illustration purposes only Register by filling up the form
  • 7. Insurance driven by AI 7 Claim Settlement Upload image of damage Real time validation and estimation using AI Claims are settled Open up the App Deterministic rule based Non Deterministic driven by AI Images belong to their respective owners and this is just for illustration purposes only
  • 8. The AI mindset ❖ What is AI? ❖ Is it all Math? ❖ Is it all Algorithm? ❖ Is it all Programming? ❖ Does it all depends on the tool/team that builds it? 8
  • 9. Creating the holistic test framework in the AI first World ❖ Identify and Understand the scope of the Application ❖ Segregate the Deterministic Workflow from the Non Deterministic Workflow ❖ AI for testing the Deterministic workflow of the App ❖ AI for testing the Non Deterministic workflow of the App 9
  • 10. 5 blocks to understand the scope of application What is the input for the application? 1. Define the possible inputs captured 2. Define the order of capture 10 Understand the application flow 1. The business requirement 2. The behavioural workflow Segregate the Non-Deterministic Portion 1. Learning models involved 2.Learning model behaviour matrix What is the hierarchy? 1. Identify the primary/secondary workflow 2. Identify the learning workflow Quantify the learning property 1. Data Properties 1. Size of Data 2. Noise Level 2. Degree of Automation - Automatic/Semi-Automatic 3. Supervision - Supervised/UnSupervised/Reinforced 4. Time(Online/offline or Lazy/Eager)
  • 11. Segregating the Deterministic Workflow from non- Deterministic Workflow 11 Deterministic Non Deterministic Images belong to their respective owners and this is just for illustration purposes only
  • 12. AI for testing the Deterministic workflow(non AI) of the App 12 1 2 3 1. Expose deterministic steps of ML 2. The application Blueprint is created 3. The Cognitive Script generation Automation with cognitive approach Images belong to their respective owners and this is just for illustration purposes only
  • 13. AI for testing the Deterministic workflow(non AI) of the App ❖ Recorder and Meta Modelling to automate scripts generation ❖ Elastically scale functional, load and Performance Testing using deep forecast models ❖ Self Healing Tests with Deep Learning ❖ Analytical reports and Visualisation for explanations 13 Automation with Deep Learning approach Images belong to their respective owners and this is just for illustration purposes only
  • 14. AI for testing the Non Deterministic workflow(AI) of the App 14 Images belong to their respective owners and this is just for illustration purposes only
  • 15. Object Classification and Detection - The most sought after AI usecase ❖ There is an enormous rise of autonomous vehicles, smart video surveillance, facial detection and various entity identification applications 15 Images belong to their respective owners and this is just for illustration purposes only
  • 16. 16 ❖ Some use cases are very critical - ❖ Outcome should be highly accurate ❖ Objects has to be detected, classified, and, delivered in fraction of a second Object Classification and Detection - The most sought after AI usecase Images belong to their respective owners and this is just for illustration purposes only
  • 17. 17 ❖ Deep learning framework CNN(Convolutional Neural Network) has achieved the state of start in Object Classification and Detection Object Classification and Detection - The most sought after AI usecase Images belong to their respective owners and this is just for illustration purposes only
  • 18. How to build a AI framework to test this Deep Learning usecase ? 18
  • 19. Approach to build the framework 1.Checking the CNN robustness using Perturbations using Generative Neural Networks - Fellow et al. 2.Neural Network correctness with Linear Programming or SMT Solvers - Katz et al. 19 Images belong to their respective owners and this is just for illustration purposes only
  • 20. Approach to build the framework 3. Systematic approach with Synthetically generated Datasets 20 Scalable Realistic instead of perturbations Images belong to their respective owners and this is just for illustration purposes only
  • 21. Modules of the Framework 21 Generator Sampler Visualizer Generate realistic Images of objects Provide modification points to the Image generator Sampled Modifications against Metrics of Interest
  • 22. Generator ❖ Modification functions are used to represent a subset of feature space. ❖ Low dimensional modification allow us to test Convolutional Neural Networks on a compact domain 22 Mathematical Relationship f : X —> Y X’ ⊆ X Generator (y : M —> X’) Every Modification(m) m ∈ M y(m) ∈ X’ X —> Feature Space Y—> Output M —> Modification Space y —> Modification Function m —> Individual Modifications Images belong to their respective owners and this is just for illustration purposes only
  • 23. Sampler ❖ Identify a low discrepancy sequence methodology to competently produce sample sequences that provide high coverage of the abstract space. ➡ D(K,X) = abs(#(K)/m - vol(K)) ❖ Capitalise on the Active Learning capability to reduce process expense. ➡ Gaussian Progression for non parametric regression 23 D—> Dimension space K —> subset of Dimension Space, m —> modification as tupple vol —> Volume
  • 24. Visualizer ❖ Intersection over Union and CNN Confidence Score - A standard approach to measure accuracy for Object Detection and Classification. 24 Images belong to their respective owners and this is just for illustration purposes only
  • 25. Connecting the 3 Modules function ANALYZERCNN repeat p ← sampler(P)
 x ← generator(p) y ← f(x)
 D.add(m, x, y) until condition(D) visualizer(D) end function 25
  • 26. Where can I apply this? 26 Images belong to their respective owners and this is just for illustration purposes only
  • 27. Few of the Many… ❖ Healthcare - Radiology, Cardiology, Dermatology… ❖ Insurance - Claims, Customer on-boarding… ❖ Life Sciences - Drug Discovery, Pharmacovigilance… ❖ Manufacturing - Industrial Vision, Quality Inspection… 27
  • 28. Thank You 28 Email :- shunandi@gmail.com or shubhradeepn@msystechnologies.com Images belong to their respective owners and this is just for illustration purposes only