Jaganmohan Chandrasekaran, Huadong Feng, Yu Lei, R. Kacker, D. R. Kuhn
{"title":"Effectiveness of dataset reduction in testing machine learning algorithms","authors":"Jaganmohan Chandrasekaran, Huadong Feng, Yu Lei, R. Kacker, D. R. Kuhn","doi":"10.1109/AITEST49225.2020.00027","DOIUrl":"https://doi.org/10.1109/AITEST49225.2020.00027","url":null,"abstract":"Many machine learning algorithms examine large amounts of data to discover insights from hidden patterns. Testing these algorithms can be expensive and time-consuming. There is a need to speed up the testing process, especially in an agile development process, where testing is frequently performed. One approach is to replace big datasets with smaller datasets produced by random sampling. In this paper, we report a set of experiments that are designed to evaluate the effectiveness of using reduced datasets produced by random sampling for testing machine learning algorithms. In our experiments, we use as subject programs four supervised learning algorithms from the Waikato Environment for Knowledge Analysis (WEKA). We identify five datasets from Kaggle.com to run with the four learning algorithms. For each dataset, we generate reduced datasets of different sizes using two random sampling strategies, i.e., pure random and stratified random sampling. We execute our subject programs with the original and the reduced datasets, and measure test effectiveness using branch and mutation coverage. Our results indicate that in most cases, reduced datasets of even very small sizes can achieve the same or similar coverage achieved by the original dataset. Furthermore, our results indicate that reduced datasets produced by the two sample strategies do not differ significantly, and branch coverage correlates with mutation coverage.","PeriodicalId":367586,"journal":{"name":"2020 IEEE International Conference On Artificial Intelligence Testing (AITest)","volume":"46 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"124466019","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Ontology-driven Security Testing of Web Applications","authors":"Josip Bozic, Yihao Li, F. Wotawa","doi":"10.1109/AITEST49225.2020.00024","DOIUrl":"https://doi.org/10.1109/AITEST49225.2020.00024","url":null,"abstract":"Vulnerabilities in existing software systems represent a great challenge for security assurance, where well known attacks like cross-site scripting (XSS) or SQL injections (SQLI) still represent a common threat for today’s web applications. Failure to cover these issues in verification might result in unforeseen consequences for users of such software systems. For this reason, we have to come up with a rigorous testing approach should that should combine knowledge about common attacks and the system under test. Ontologies, which is a concept originating from philosophy and also considered in AI research, provide means for formalizing such knowledge from which we want to obtain test cases in an automated fashion. In this paper, we follow this idea and present a security testing approach that relies on ontologies of attacks and the system under test. In particular, the used ontology depicts information from the domain of web applications as well as their communication protocol. Actually, such a model represents an attack ontology that serves as the initial step in a test generation process. In turn, the inferred output is used in order to test a SUT for vulnerabilities. The test case generation process converts ontologies into input models for combinatorial testing (CT), from which we obtain abstract test cases that can be automatically mapped to concrete ones. Besides outlining the foundations behind this approach, we also show its applicability considering case studies from the domain of web applications.","PeriodicalId":367586,"journal":{"name":"2020 IEEE International Conference On Artificial Intelligence Testing (AITest)","volume":"62 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"122403206","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Attribute-based Granular Evaluation for Performance of Machine Learning Models","authors":"Henri Trenquier, F. Ishikawa, Susumu Tokumoto","doi":"10.1109/AITEST49225.2020.00026","DOIUrl":"https://doi.org/10.1109/AITEST49225.2020.00026","url":null,"abstract":"There is an increasing demand for quality assurance of machine learning (ML) models as more and more ML applications are investigated in various domains. This means that we need to explicitly take account of the requirements and environmental assumptions for quality evaluation and improvement of ML models. The traditional approach has been performance evaluation, typically in accuracy, for the target dataset. However, this approach only focuses on the global accuracy over the whole dataset and obfuscates performance for individual specific aspects in the requirements and environmental assumptions. We then lack insights necessary to deal with high-priority requirements and to detect risks or weaknesses in specific situations. In response to this problem, we investigate a testing method based on attributes that capture aspects in the requirements and environmental assumptions. We divide the input space into explicit and explainable sub-spaces, which allows the divide-and-conquer style in a granular manner as we have done for traditional software testing. We demonstrate our method with simple attributes for CIFAR-10 and BDD100K datasets.","PeriodicalId":367586,"journal":{"name":"2020 IEEE International Conference On Artificial Intelligence Testing (AITest)","volume":"61 15","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"131637519","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Automated identification of metamorphic test scenarios for an ocean-modeling application","authors":"D. J. Hiremath, M. Claus, W. Hasselbring, W. Rath","doi":"10.1109/AITEST49225.2020.00016","DOIUrl":"https://doi.org/10.1109/AITEST49225.2020.00016","url":null,"abstract":"Metamorphic testing seeks to validate software in the absence of test oracles. Our application domain is ocean modeling, where test oracles often do not exist, but where symmetries of the simulated physical systems are known. In this short paper we present work in progress for automated generation of metamorphic test scenarios using machine learning.Metamorphic testing may be expressed as f(g(X))=h(f(X)) with f being the application under test, with input data X, and with the metamorphic relation (g, h). Automatically generated metamorphic relations can be used for constructing regression tests, and for comparing different versions of the same software application.Here, we restrict to h being the identity map. Then, the task of constructing tests means finding different g which we tackle using machine learning algorithms. These algorithms typically minimize a cost function. As one possible g is already known to be the identity map, for finding a second possible g, we construct the cost function to minimize for g being a metamorphic relation and to penalize for g being the identity map. After identifying the first metamorphic relation, the procedure is repeated with a cost function rewarding g that are orthogonal to previously found metamorphic relations.For experimental evaluation, two implementations of an oceanmodeling application will be subjected to the proposed method with the objective of presenting the use of metamorphic relations to test the implementations of the applications.","PeriodicalId":367586,"journal":{"name":"2020 IEEE International Conference On Artificial Intelligence Testing (AITest)","volume":"19 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"115382106","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Deepak Talwar, Sachin Guruswamy, Naveen Ravipati, M. Eirinaki
{"title":"Evaluating Validity of Synthetic Data in Perception Tasks for Autonomous Vehicles","authors":"Deepak Talwar, Sachin Guruswamy, Naveen Ravipati, M. Eirinaki","doi":"10.1109/AITEST49225.2020.00018","DOIUrl":"https://doi.org/10.1109/AITEST49225.2020.00018","url":null,"abstract":"Autonomous vehicles have the potential to completely upend the way we transport today, however deploying them safely at scale is not an easy task. Any autonomous driving system relies on multiple layers of software to function safely. Among these layers, the Perception layer is the most data intensive and also the most complex layer to get right. Companies need to collect and annotate lots of data to properly train deep learning perception models. Simulation systems have come up as an alternative to the expensive task of data collection and annotation. However, whether simulated data can be used as a proxy for real-world data is an ongoing debate. In this work, we attempt to address the question of whether models trained on simulated data can generalize well to the real-world. We collect datasets based on two different simulators with varying levels of graphics fidelity and use the KITTI dataset as an example of real- world data. We train three separate deep learning based object detection models on each of these datasets, and compare their performance on test sets collected from the same sources. We also add the recently released Waymo Open Dataset as a challenging test set. Performance is evaluated based on the mean average precision (mAP) metric for object detection. We find that training on simulation in general does not translate to generalizability on real-world data and that diversity in the training set is much more important than visual graphics’ fidelity.","PeriodicalId":367586,"journal":{"name":"2020 IEEE International Conference On Artificial Intelligence Testing (AITest)","volume":"67 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"122753813","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Cristina Landing, S. Tahvili, Hugo Haggren, Martin Längkvist, Auwn Muhammad, A. Loutfi
{"title":"Cluster-Based Parallel Testing Using Semantic Analysis","authors":"Cristina Landing, S. Tahvili, Hugo Haggren, Martin Längkvist, Auwn Muhammad, A. Loutfi","doi":"10.1109/AITEST49225.2020.00022","DOIUrl":"https://doi.org/10.1109/AITEST49225.2020.00022","url":null,"abstract":"Finding a balance between testing goals and testing resources can be considered as a most challenging issue, therefore test optimization plays a vital role in the area of software testing. Several parameters such as the objectives of the tests, test cases similarities and dependencies between test cases need to be considered, before attempting any optimization approach. However, analyzing corresponding testing artifacts (e.g. requirement specification, test cases) for capturing the mentioned parameters is a complicated task especially in a manual testing procedure, where the test cases are documented as a natural text written by a human. Thus, utilizing artificial intelligence techniques in the process of analyzing complex and sometimes ambiguous test data, is considered to be working in different industries. Test scheduling is one of the most popular and practical ways to optimize the testing process. Having a group of test cases which are required the same system setup, installation or testing the same functionality can lead to a more efficient testing process. In this paper, we propose, apply and evaluate a natural language processing-based approach that derives test cases’ similarities directly from their test specification. The proposed approach utilizes the Levenshtein distance and converts each test case into a string. Test cases are then grouped into several clusters based on their similarities. Finally, a set of cluster-based parallel test scheduling strategies are proposed for execution. The feasibility of the proposed approach is studied by an empirical evaluation that has been performed on a Telecom use-case at Ericsson in Sweden and indicates promising results.","PeriodicalId":367586,"journal":{"name":"2020 IEEE International Conference On Artificial Intelligence Testing (AITest)","volume":"297 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"116521778","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Improving Automated GUI Testing by Learning to Avoid Infeasible Tests","authors":"Neil Walkinshaw","doi":"10.1109/AITEST49225.2020.00023","DOIUrl":"https://doi.org/10.1109/AITEST49225.2020.00023","url":null,"abstract":"Most modern end-user software applications are controlled through a graphical user interface (GUI). When it comes to automated test selection, however, GUIs present two major challenges: (1) It is difficult to automatically identify feasible, non-trivial sequences of GUI interactions (test cases), and (2) each attempt at a test case execution can take a long time, eliminating the possibility of rapidly attempting large numbers of alternatives. In this paper we present an iterative approach that infers state-machine models from previous test executions, and increases the utility of tests by learning which sequences to avoid. The approach is evaluated on a selection of Java applications, and the results indicate that our approach is successful at achieving higher code coverage and longer sequences than the state of the art, albeit with a time-overhead caused by the repeated invocation of a Machine Learner.","PeriodicalId":367586,"journal":{"name":"2020 IEEE International Conference On Artificial Intelligence Testing (AITest)","volume":"1139 ","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"133321815","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}