AI in QA in AI. AI in QA in AI. AI in QA in AI. Sami Kaltala Head of Quality Assurance Symbio Europe

Similar documents
Embedding Artificial Intelligence into Our Lives

Neural Networks The New Moore s Law

MSc(CompSc) List of courses offered in

CMSC 372 Artificial Intelligence. Fall Administrivia

CSC384 Intro to Artificial Intelligence* *The following slides are based on Fahiem Bacchus course lecture notes.

COMP219: Artificial Intelligence. Lecture 2: AI Problems and Applications

Transforming while performing Deep Dive: Artificial Intelligence. Hype or not?

Artificial Intelligence. Shobhanjana Kalita Dept. of Computer Science & Engineering Tezpur University

A.I in Automotive? Why and When.

COMPUTATONAL INTELLIGENCE

Artificial Intelligence: An overview

Neuro-Fuzzy and Soft Computing: Fuzzy Sets. Chapter 1 of Neuro-Fuzzy and Soft Computing by Jang, Sun and Mizutani

Chapter 1: Introduction to Neuro-Fuzzy (NF) and Soft Computing (SC)

ENHANCED HUMAN-AGENT INTERACTION: AUGMENTING INTERACTION MODELS WITH EMBODIED AGENTS BY SERAFIN BENTO. MASTER OF SCIENCE in INFORMATION SYSTEMS

ES 492: SCIENCE IN THE MOVIES

2018 Avanade Inc. All Rights Reserved.

CSC 550: Introduction to Artificial Intelligence. Fall 2004

Knowledge Enhanced Electronic Logic for Embedded Intelligence

Artificial Intelligence and Robotics Getting More Human

Outline. What is AI? A brief history of AI State of the art

CSTA K- 12 Computer Science Standards: Mapped to STEM, Common Core, and Partnership for the 21 st Century Standards

Random Administrivia. In CMC 306 on Monday for LISP lab

OVERVIEW OF ARTIFICIAL INTELLIGENCE (AI) TECHNOLOGIES. Presented by: WTI

Classroom Konnect. Artificial Intelligence and Machine Learning

Application of AI Technology to Industrial Revolution

신경망기반자동번역기술. Konkuk University Computational Intelligence Lab. 김강일

Visvesvaraya Technological University, Belagavi

How do you teach AI the value of trust?

Disrupting our way to a Very Human City

Using Deep Learning for Sentiment Analysis and Opinion Mining

Industry 4.0: the new challenge for the Italian textile machinery industry

The robots are coming, but the humans aren't leaving

This list supersedes the one published in the November 2002 issue of CR.

FP7 ICT Call 6: Cognitive Systems and Robotics

Artificial Intelligence and Deep Learning

CS 730/830: Intro AI. Prof. Wheeler Ruml. TA Bence Cserna. Thinking inside the box. 5 handouts: course info, project info, schedule, slides, asst 1

Architecting Systems of the Future, page 1

Advanced Techniques for Mobile Robotics Location-Based Activity Recognition

AI in Computer Games. AI in Computer Games. Goals. Game A(I?) History Game categories

LECTURE 1: OVERVIEW. CS 4100: Foundations of AI. Instructor: Robert Platt. (some slides from Chris Amato, Magy Seif El-Nasr, and Stacy Marsella)

Introduction to Artificial Intelligence

Appendices master s degree programme Artificial Intelligence

Artificial Intelligence: Definition

Technology trends in the digitalization era. ANSYS Innovation Conference Bologna, Italy June 13, 2018 Michele Frascaroli Technical Director, CRIT Srl

The first topic I would like to explore is probabilistic reasoning with Bayesian

Journal Title ISSN 5. MIS QUARTERLY BRIEFINGS IN BIOINFORMATICS

Logic Programming. Dr. : Mohamed Mostafa

CSCE 315: Programming Studio

Deep Learning Overview

Looking ahead : Technology trends driving business innovation.

ENTRY ARTIFICIAL INTELLIGENCE

Proposers Day Workshop

Who am I? AI in Computer Games. Goals. AI in Computer Games. History Game A(I?)

Goals of this Course. CSE 473 Artificial Intelligence. AI as Science. AI as Engineering. Dieter Fox Colin Zheng

Cognitive robots and emotional intelligence Cloud robotics Ethical, legal and social issues of robotic Construction robots Human activities in many

23270: AUGMENTED REALITY FOR NAVIGATION AND INFORMATIONAL ADAS. Sergii Bykov Technical Lead Machine Learning 12 Oct 2017

Simulationbased Development of ADAS and Automated Driving with the Help of Machine Learning

Transformation to Artificial Intelligence with MATLAB Roy Lurie, PhD Vice President of Engineering MATLAB Products

AIEDAM Special Issue: Sketching, and Pen-based Design Interaction Edited by: Maria C. Yang and Levent Burak Kara

THE AI REVOLUTION. How Artificial Intelligence is Redefining Marketing Automation

Open Source Voices Interview Series Podcast, Episode 03: How Is Open Source Important to the Future of Robotics? English Transcript

ND STL Standards & Benchmarks Time Planned Activities

HUMAN COMPUTER INTERFACE

Distributed Robotics: Building an environment for digital cooperation. Artificial Intelligence series

Transer Learning : Super Intelligence

Artificial Beacons with RGB-D Environment Mapping for Indoor Mobile Robot Localization

How to AI COGS 105. Traditional Rule Concept. if (wus=="hi") { was = "hi back to ya"; }

Outline. Introduction to AI. Artificial Intelligence. What is an AI? What is an AI? Agents Environments

! The architecture of the robot control system! Also maybe some aspects of its body/motors/sensors

ICT4 Manuf. Competence Center

Robotesting: Are you ready for that yet?

LabVIEW based Intelligent Frontal & Non- Frontal Face Recognition System

ARTIFICIAL INTELLIGENCE (AI): HYPE OR HOPE?

AI MAGAZINE AMER ASSOC ARTIFICIAL INTELL UNITED STATES English ANNALS OF MATHEMATICS AND ARTIFICIAL

- Basics of informatics - Computer network - Software engineering - Intelligent media processing - Human interface. Professor. Professor.

Ar#ficial)Intelligence!!

The Evolution of Artificial Intelligence in Workplaces

Automotive Applications ofartificial Intelligence

VIEW POINT CHANGING THE BUSINESS LANDSCAPE WITH COGNITIVE SERVICES

COMPUTER SCIENCE AND ENGINEERING

AI for Autonomous Ships Challenges in Design and Validation

CS344: Introduction to Artificial Intelligence (associated lab: CS386)

AI: The New Electricity to Harness Our Digital Future Lindholmen Software Development Day Oct

User Experience Questionnaire Handbook

The five senses of Artificial Intelligence. Why humanizing automation is crucial to the transformation of your business

The Five Senses of Intelligent Automation

Application of Soft Computing Techniques in Water Resources Engineering

Master Artificial Intelligence

AI and Cognitive Science Trajectories: Parallel but diverging paths? Ken Forbus Northwestern University

Artificial Intelligence in Law: Facts, Futures & Risks

AI Application Processing Requirements

OECD WORK ON ARTIFICIAL INTELLIGENCE

Behaviour-Based Control. IAR Lecture 5 Barbara Webb

Business benefits of microservices

11/13/18. Introduction to RNNs for NLP. About Me. Overview SHANG GAO

ACCENTURE INNOVATION ARCHITECTURE USES AN INNOVATION-LED APPROACH TO HELP OUR CLIENTS DEVELOP AND DELIVER DISRUPTIVE INNOVATIONS, AND TO SCALE THEM

KÜNSTLICHE INTELLIGENZ JOBKILLER VON MORGEN?

Digital Disruption Thrive or Survive. Devendra Dhawale, August 10, 2018

The Nature of Informatics

Individual Test Item Specifications

Transcription:

AI in QA in AI Sami Kaltala Head of Quality Assurance Symbio Europe Pekka Vainiomäki Vice President Strategic Engagements Symbio Europe AI in QA in AI AI in QA in AI ML

Symbio is a global software engineering and R&D services company Think Global, Act Local Our Offering We co-create innovative ideas with you and help you to co-develop them to transformative digital solutions & services that connect, engage, and amaze your customers. Innovation Artificial Intelligence & Robotics ai Embedded Solutions </> Digital Intelligence of Things ai Quality www.symbio.com Assurance & Testing

CONTENTS PART 01 Setting the scene ai What is AI? Looking behind the hype PART 02 New opportunities AI in QA Making use of AI in QA PART 03 New Challenges ML QA in AI Testing ML based systems

CONTENTS PART 01 Setting the scene ai What is AI? Looking behind the hype PART 02 New opportunities AI in QA Making use of AI in QA PART 03 New Challenges ML QA in AI Testing ML based systems

DEFINITIONS: ARTIFICIAL INTELLIGENCE INFORMAL SCIENCE MORE BUZZ Intelligence exhibited by machines Machines mimicking cognitive functions associated with humans Playing strategic games, natural language processing, driving a vehicle etc. AI effect: AI is whatever hasn t been done yet Study of Intelligent Agents any device perceiving it s environment and taking actions maximizing it s success in some goal Such agents may also learn, hence Machine Learning (c. 1959) Or use knowledge i.e. Knowledge Representation and Reasoning And bunch of other stuff Deep Learning machine learning with a cascade of many layers of non-linear processing units Shallow Learning not deep GOFAI Symbolic AI, that was when grandpa was doing studies Artificial General Intelligence or Strong AI or Full AI, i.e. hypothesised human level AI Superintelligence

SO WHEN DO WE GET GENERAL AI? OR SUPERINTELLIGENCE? Difficult to predict but there s so much media buzz on this that let s spend a few minutes on the topic 1 Superintelligence? 2 Ask the experts? 3 Track-record? Human level AI Rapidly leads to Superintelligence Combined likelihoods for human level AI from several AI Expert polls: by 2022 10% probability by 2040 50% probability by 2075 90% probability Most of these people expect that Superintelligence might follow in about 30 years. Some are bit more enthusiastic If you asked the same question 50 years ago from the same set of people (i.e. the guys who led the field mid 1960s) the answer was that general AI will be there in about 20 years It s a bit like worrying about the overpopulation on Mars 6

YOUR OFFERING WILL BE DATA-DRIVEN WHERE ARE WE TODAY? Big Data CPU / GPU Cloud DX zettabytes today MapReduce Deep Learning Compute Storage Abstraction level Ease of use Automatic Computing Engine by Alan Turing Machine Learning and AI Super Intelligence (?) Photo by Markus Spiske on Unsplash

A SIGNIFICANT OPPORTUNITY FOR ALL Reduce costs Create experiences Bet 10% 10X AI Add value Change the game

Why? IT S A TOOLBOX! AI is not a single field of research or one specific approach Reasoning Knowledge representation Planning Natural Language Motion & Manipulation Social Intelligence Creativity Story generation Problemsolving Rule Learning Perception Engines Smart Metaheuristics Well Affective Speech Linguistic Expert Search Robotics! Computing recognition creativity Systems Semisupervised Machine Decision Process Markov Game Ontology Linear Recommender Topic Ladder Semantic Theory Engineering Programming Software Engines modelling Networks Indexing Vision Q-functions Robotics Decision Description Mathematical Gradient Boosting Sentiment Generative Long Short- Theory Logics Optimization Pattern recognition Tactile Intelligence Analysis Gated Recurrent Units Adversarial Term Memory Deep Bayesian Convolutional Probabilistic Probability Swarm Intelligence Conversational Intelligence Random Forests Machine Feedforward Networks networks Roadmaps Theory Control Question Semantic Evolutionary Algorithms Q-learning Translation Conceptual Text Machine Relational Deep Reinforcement Theory Answering Networks Graphs Dynamic Programming Reinforcement Learning Mining Listening Reasoning Source Robotic Mapping Support Computational Constraint Fuzzy Logic Simulated Annealing Active learning Deep Recurrent Networks Separation Policy Learning Vector Machines Design Propagation Bayesian inference Solver Approximation Transfer Learning Zero-Shot learning Siamese Networks Routing Reverse Reinforcement

CONTENTS PART 01 Setting the scene ai What is AI? Looking behind the hype PART 02 New opportunities AI in QA Making use of AI in QA PART 03 New Challenges ML QA in AI Testing ML based systems

HOW DO YOU COMBINE HUMAN LABOUR AND INTELLIGENT MACHINES? Machines can do much better in many areas The right person will win handsdown in others Locate a piece of information Identify patterns React faster Poorly defined problems Abstraction or generalization Think outside of the box Ingest 1000 s of docs Find optimal solutions AI Eliminate bias Brute-force learning Understand bias Learn right away Conflicts & dilemmas Common sense Tirelessly repeat same logics Good enough with natural language Compassion and empathy Dream up new approaches 11

WHAT YOU REALLY NEED IS A SMART COMBINATION OF BOTH Machines can do much better in many areas What if you combine those strengths? The right person will win handsdown in others Locate a piece of information Identify patterns React faster Tedious highly repetitive tasks Creativity with experience Poorly defined problems Abstraction or generalization Think outside of the box Ingest 1000 s of docs Find optimal solutions AI Eliminate bias Brute-force learning Large scale data processing Ambiguity, no precedents Understand bias Learn right away Conflicts & dilemmas Common sense Tirelessly repeat same logics Good enough with natural language Compassion and empathy Dream up new approaches 12

TOOLS ARE HERE TO AUGMENT NOT TO REPLACE ROLE OF THE TESTER WILL CHANGE Automate test execution Generate test scripts A perfect fit for Quality Assurance! Understand user experience Consider best and worst usage Screen scraping, machine vision Traceability and predictability Repeat faster, more accurate, cheaper Empathy for the end-user Manage and guide automation Validate and act on findings Learn from history Test suite optimization Optimize & analyse testing Understands business & tech Understand business value Apprehend technology context Impact analytics Interpret analytics findings Test scenario mining Grasp shortcomings of automation 13

THE NEW TESTER: THE AUTOMATOR NOT THE AUTOMATED Knows how to use the tools Understands automation possibilities Uses the power of analytics and data science Grasps end-user and business context Approves & interprets automation results Handles the more complex issues Photo by Drew Graham on Unsplash

CASE ROBOT AIDED TEST AUTOMATION Multi-Device UI Test Automation with RATA IF YOU CAN TOUCH IT, RATA CAN TEST IT! Non-intrusive black-box testing for devices Both functional and non-functional testing Platform independent either touch or software based Solution Optical Character Recognition (OCR) and Icon detection enable UI changes without extensive rework of test automation scripts Model-based approach for generating pseudo-random test paths Optofidelity robot, imaging and high speed cameras Automated reporting and analytics RATA has been successfully applied in several industries Automotive High tech / consumer devices Industrial Equipment Check out our RATA video: https://www.youtube.com/watch?v=n_915xmrgao THE REAL VALUE One-time set-up can run 24/7 Accelerated R&D and testing cycles Improved test quality and repeatability Also performance, stability, longevity testing Easy benchmark / competitor analysis Ability to test new kinds of control and activation methods Test device performance without modifications or connections

FUTURE DIRECTIONS: MACHINE LEARNING FOR LQA Localization Quality Assurance is a complex domain with a lot of routine work Average failure rate Layout / Context 15% Error categories Functional 5% Machine Learning to help? Some easy categories Text overlapping UI elements Pass 95% 5% Failed Typos, grammar errors, unlocalized, truncated, Some harder e.g. 80% Technically correct translation but still not right In a typical situation error rates are rather low Localization / Linguistic Some easy, some harder error categories Inconsistency issues Machine translation tools are developing fast but they will not solve our problem 16

SO A DEAD END? NOT SO! You need that smart combination of human and machine capabilities Tester to focus on ¼ of total test cases, identified as suspicious 20% 5% Keep rate of false negatives low at the cost of high rate of false positives 75% of cases not requiring attention from a human Even very high amount of false positives will not dilute benefits 75% Correct negatives False positives Correct positives Other benefits will also follow Immediate feedback Regression testing Cycle time reduction Improved quality Less error leakage More interesting for tester

IN SUMMARY The role of the tester will evolve towards the automator_ and problem solver Evolving role Augment not replace True Test Automation? It s excruciatingly hard to get machine learning / automation to work perfectly Tools today already offer possibilities to move from automated testing to true test automation 18

CONTENTS PART 01 Setting the scene ai What is AI? Looking behind the hype PART 02 New opportunities AI in QA Making use of AI in QA PART 03 New Challenges ML QA in AI Testing ML based systems

THE CHALLENGE: HOW DO YOU ENSURE QUALITY FOR DATA-DRIVEN PRODUCTS? System architecture for our hypothetical ML enabled solution User interface Network connectivity Application logic Multimedia Security Sensors Data processing Model building Model execution Sound Graphics Smartphone replication Memory management Co-processor First observation In a real application the Machine Learning (ML) components will only constitute a small part of the whole Peripherals Core A bit of reflection You probably used ML since you wanted to 1. infer something out of data 2. get self-customizing behaviour; and/or 3. you just plain could NOT even start to program it by hand More likely with central impact to CX New paradigm: Data is code! Let s consider a bit what could go wrong here

Your data? Your data again? Your ML engineer? Other people? It s a picture of a basketball player This API just started to behave funny It s just not converging how it should be That seems to be an ostrich Your training data might be biased or otherwise unfit in so many different ways Earlier you had code dependencies now you re also getting data dependencies Although tools are getting easier to use, a small typo could still produce a valid model that just does not train right Adversarial attacks appear to work well. Consider for example automated process for handling insurance claims 21

Data defines the behaviour of your system Test the data! Test the distributions. List possible sources of error. E.g. can your system end up impacting it s own training data? Your data pipeline processes data in complex fashion Keep track of data dependencies. Version your models and data. Clean up your data. Monitor it. Consider live validation. The tools are a bit black box and complex to use Consider coding patterns to follow. E.g. unit tests to just validate (ML related) code, not behaviour. Consider approaches such as mutation testing. There could be complex ways to misuse them too Is it realistic (e.g. it s possible and there s good benefit / risk ratio)? If so good luck! Use detection schemes * * It s all still rather new but even zero-knowledge attack detection (i.e. attacker does not know there s a detector in place) seems difficult. Schemes such as neural fingerprinting appear very promising.

IN SUMMARY Quality Assurance just got way more complex luckily were are already familiar with code Think of data as code Look for and use (good old) best practices Be bold and also be careful out there! However many data science / machine learning practitioners may not be familiar with Agile & DevOps You definitely should start exploring, the future will be data driven just keep in mind it s all rather new 23

Folks, it s time for Q&A AI in QA in AI AI in QA in AI AI in QA in AI ML